完美国际电信一霹雳区交流版 收藏本版 今日: 0 主题: 1794

2876 17

锡灵,你英文好,麻烦进来帮个忙--(或者谁的英文自己觉得不错的话也可以)

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
/ Q$ B2 w4 F4 E- _1 u" I- H6 X+ u; E1 E6 o# l

  1. 4 X& {+ @* d2 j0 y, C
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######1 z9 O9 X. L& _  j" q
  3. + M& M5 w4 J0 k4 E  w. a
  4. ### What we need ###- r8 x( H2 G9 \9 X% r& p, N
  5. Naturally, we will need a MySQL server to store the data for us, this document
    + j5 |; f( X1 I
  6. will not explain how this can be done - there are documents out there for the
    : E1 ?# z/ f& `2 U  K% g
  7. interested. The requirements include a (empty) database for TeamSpeak to use( f4 q/ b; R6 \* p) ?) d4 `
  8. and a user account (username + password) that has the permissions to do stuff" }( W0 n) L' }2 p# Z
  9. with the database. Additionally, you will need a vendor library installed on the, M6 ~$ y& D  k9 N7 [; O  B
  10. local machine, this came with my MySQL install.5 @. a3 ^( ~5 J
  11. These instructions will not tell you how you might transfer your data from the5 @+ W7 f3 i3 U( N
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    7 F! I1 S" B( u# d% N0 p3 t
  13. database.- h- I/ a: P1 q* e( a0 R
  14. Some users have reported ways to import a SQLite database into MySQL, but at( M! P( [8 p7 B' c& I; a
  15. the time of writing, there are still too many issues - check the current status
    & f- ^; W6 d7 `# v& R: ?+ f
  16. in the TeamSpeak forums if you are interested.% K6 J; ]0 L+ R7 [8 X# b
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from5 B# v6 Y- G& q. D' g0 S* p$ `
  18. Borland was used. This driver can only interface with the client library that
    + k4 t+ }; T% s
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    7 Q( r0 ]# P# {2 o" U
  20. client library - basically all you have to do is to use a 3.x client library as
    ; z$ p2 O( O! [3 o! S6 v
  21. "VendorLib" and a 4.x database to connect to.
    : \8 ?4 y5 }& {) ]* Z. p' E/ N; R
  22. If you need more info about dbExpress, you can contact Borland.$ J- @7 v$ w' o5 Y: B/ [/ H

  23. % a. n+ L6 ~  B* z- \  H7 Z; j1 f8 F
  24. ### Doing the work ###
    ' t, M1 J* A0 U6 l" v
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    5 d+ u$ b  z1 X- b' S$ F$ y  V" P" V
  26. the perquisites right, just open your server.ini file, and add this section at$ F/ n$ Z4 L, \4 `+ Z& s; R
  27. the end:
    8 e& Q) G& K: t  l
  28. ---cut here---6 b9 t0 G+ X, P) b! D  p
  29. [DBEXPRESS]$ R- e% G' p# ^( i7 \% Y
  30. sqldir=mysql_sql& X3 g7 y# W" ]9 J
  31. Drivername=mysql
    0 g0 i  m% C. K
  32. Database=Your_Database_Name_Here8 X% C5 v8 m/ [" a, n; \, \9 _) {9 A
  33. Hostname=The_PC_the_MySQL-Server_is_on% y4 U# h- T, ^- |% v
  34. User_name=User_name_on_the_MySQL-Server
    & G6 q3 Y4 X+ l
  35. Password=Password_to_go_with_above_user_name
    / v6 F6 o, T7 O  D7 E
  36. GetDriverFunc=getSQLDriverMYSQL# H5 N. j; z; n5 H1 g; i7 y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib- R6 C! A4 U8 ^+ I4 v3 I2 g) _( B  I/ A
  38. LibraryName=path_to_libsqlmy_libary
    8 N& }) R4 A2 Q$ [
  39. Active=17 t- X3 e3 N6 m
  40. ---cut here---- P/ p4 \- O( w3 `: H, A- M
  41. In my environment (a linux box with a MySQL server running locally) I have:+ ?6 ]9 P2 v2 G* H# O
  42. ---example---
    * p8 N0 ^, l" L
  43. [DBEXPRESS]! Q5 W* Z  s; D" r; |$ |
  44. sqldir=mysql_sql, B0 t7 ^& ?& k, v/ n1 ^' {
  45. Drivername=mysql, M, f) K/ s% V* n: \+ D; t; }; Q/ E
  46. Database=test
    * f5 ^' a; n6 C$ V& |' A( r
  47. Hostname=localhost5 k" T" I+ X7 i2 q, y
  48. User_name=testuser5 p  A- h) b- `) Y3 [4 v
  49. Password=my_password
    ; t2 R, @% Q4 T2 {
  50. GetDriverFunc=getSQLDriverMYSQL6 Z+ x& ?. v$ R" O8 p1 A, V
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    - O9 w# v1 |7 b) V4 T! s2 r- U
  52. LibraryName=./libsqlmy.so
    3 S0 D& V* P; f7 s4 F
  53. Active=18 g1 \# D) H" T0 S
  54. ---example---. j" D- p% }1 \: ]5 K- @# L$ o
  55. ' j- [7 M5 m; g9 t0 x: g; n
  56. On a windows box, also running the MySQL server locally, it would be:
    " ?! l" a, n; W, m" [
  57. ---example---
    * M( x  E0 Q; m3 E
  58. [DBEXPRESS]
    / P) ]. V- _$ y
  59. sqldir=mysql_sql$ H, p  G3 Y$ q# B, Z
  60. Drivername=mysql+ n* \4 M: j, C  A
  61. Database=test
    / x6 d/ `3 }5 k3 W
  62. Hostname=127.0.0.1+ Q& s% W0 s, F" H7 u. m
  63. User_name=testuser
      g( T: G: o$ a0 r3 Q2 a
  64. Password=my_password
    % ]+ V7 V! w6 @4 x+ j& a
  65. GetDriverFunc=getSQLDriverMYSQL
    / n8 T  m' D0 g/ [5 l9 d2 M
  66. VendorLib=libmysql.dll
    : g9 B+ H6 D5 A6 Q
  67. LibraryName=dbexpmysql.dll
    ; Z3 ^3 j! Z7 Q& y
  68. Active=1: w  w' r9 V6 m1 f4 }2 d
  69. ---example----3 I6 [* ~2 R/ V0 T% e7 R
  70. - written 02.03.04 by pwk.linuxfan
    $ e( f* r# V3 J1 N9 z

  71. 8 x! v" b! z; y. J. @& y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看0 L9 D, A% s' g5 h5 X* S2 m% e/ x
  1. & |5 `: |9 J" |0 I8 }
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    . h0 ]6 Z/ V" Z9 W# e9 K

  3. 7 C: a. Y0 g5 }
  4. # # #我们所需要# # # # L0 u! B+ ]- l" j: K9 F
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    4 |2 a3 ~- a5 q) @, k0 q) E7 I
  6. 不会解释如何做到这一点-也有文件存在,为+ n8 g; Z! Y" R' I( f' D" G$ l
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用- q1 D" ?1 V. n3 t
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ' Z, M. T$ X$ d1 O6 x
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ! \: q' H9 `& R. Y
  10. 本地机器,这是我的MySQL安装。
    1 w1 B9 c. Z& m, E! Z2 K; C6 D
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    1 G. R7 i4 p7 s: \4 H
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL # D1 @: O! z; P) h) V0 i( P* a9 @  ?
  13. 数据库。 0 V* z# H* H( Y9 r. b7 Q  l
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    . c& @* @4 a( S
  15. 编写本报告的时候,仍然有太多的问题-检查现状- Q2 |; r* n+ }0 ]/ W1 J
  16. 在teamspeak论坛,如果你有兴趣。   z1 Y' t) W5 z
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    " @% _$ t+ u+ K7 E
  18. Borland公司使用。这个司机只能界面与客户端库* J0 D* n3 H% P% C8 i
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这" x& G0 ?1 ^$ m( U7 H# X* f8 `# Z$ N
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    4 b  A! ~( x5 R( w/ U
  21. " vendorlib " ,并解数据库连接。
    , Z- c1 W0 p; u* s; @4 I, p! A" g% k
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ! u1 l* d* A: J0 B0 t
  23. 7 k  I/ C& t) V' d) T( ]9 t
  24. # # #做好工作# # # & J; {3 P8 C/ }$ ]) l4 Q
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    2 D) Q* S; Q: A/ d2 I
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    & j3 {" `' ~  `8 \/ k, a( R. f
  27. 结束: * R4 P% J1 r& e0 l6 F+ d; n/ t
  28. ---削减这里--- & B. |  E! H: I; |& J
  29. [ dbexpress ]   Z" w! K5 u. J9 w! F6 ?' p
  30. sqldir = mysql_sql 8 P9 A7 p6 ~( d% B# i/ A
  31. drivername = MySQL中
    ' b. X# b! s; i
  32. 数据库= your_database_name_here
    . d2 T5 `/ ]1 }  G( K# x( w4 t
  33. 主机= the_pc_the_mysql - server_is_on
    + O1 A9 |; Y- f5 N! e/ q
  34. user_name = user_name_on_the_mysql服务器
    3 \4 p6 b( C9 U* p8 ~
  35. 密码= password_to_go_with_above_user_name ! |' T( j! Q; m# E0 K$ k
  36. getdriverfunc = getsqldrivermysql / \1 Q! A; u: I6 I- B* `3 k/ j6 w
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    * M+ m! W6 M& ^6 O1 z; H' n
  38. libraryname = path_to_libsqlmy_libary $ X' n" z: g; `6 O9 s2 t3 |
  39. 积极= 1
      x7 {$ I. ^% B( R. T) z( `! W
  40. ---削减这里--- & y5 h9 a4 ^2 _6 Z6 Y- {2 k
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    : [% C0 P. g# M0 [
  42. ---例如---
    ; E+ Q, W2 Q: w2 a3 T: y' P
  43. [ dbexpress ] 5 K; k3 S8 b9 F9 \1 b. k
  44. sqldir = mysql_sql
    3 ]: m( w" O' n8 m* g4 R
  45. drivername = MySQL中8 [' o6 y/ R  e! b' ]
  46. 数据库=测试& z0 m( L3 |* N0 {: f
  47. 主机=本地主机
    / m$ T# H/ A! I! v# C9 S
  48. user_name = testuser
    ; q0 a+ ~0 {( ?- S. _& ~
  49. 密码= my_password ) r. c6 X, @' B4 ?7 O
  50. getdriverfunc = getsqldrivermysql 4 O6 C6 N) j, W+ m4 k  o" V  O
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    5 H! J9 s: K9 N6 F, s5 B
  52. libraryname =. / libsqlmy.so
    % J6 b5 R5 R! X9 p7 V& `& s* O+ n
  53. 积极= 1
    + m( X7 L' H+ Y3 x' b
  54. ---例如--- ' O6 F; j+ G* W8 N- t5 z6 w
  55. ; m* n# `7 l1 m
  56. 对Windows中,也运行MySQL服务器本地的,那就是: % C% v% O4 V% e; i" y
  57. ---例如---
    5 i! [+ }& k% e7 h$ ~5 \9 V' \
  58. [ dbexpress ]
    $ y( O+ j! S+ U1 B9 D3 U: {
  59. sqldir = mysql_sql 9 A" B- ]( P+ {+ q0 I
  60. drivername = MySQL中
    * \/ p3 }' O; `( |
  61. 数据库=测试
    & W- I: J+ G8 `& L, G
  62. 主机= 127.0.0.1
      X: y; |4 W5 H5 I' f  D% r
  63. user_name = testuser
    . @+ w. G9 Q* |; \$ S
  64. 密码= my_password 1 e( U5 [1 s+ Z
  65. getdriverfunc = getsqldrivermysql
    - U3 k8 I4 O, s$ h3 Z3 }- |7 q% ?
  66. vendorlib = libmysql.dll在, h  E6 r. C" p6 f0 d7 B# z" N7 z: \
  67. libraryname = dbexpmysql.dll / O, M0 P( x" M0 }
  68. 积极= 1 9 C* Z/ b7 A* s& e5 |0 e
  69. ---例如----
      h/ S! r  Q- ~- g( V) \
  70. -写在0 2.03.04由p wk.linuxfan
    6 C& J. F7 w! [" l. H" a
复制代码
发表于 2008-1-18 15:57:50 | 显示全部楼层
zhu48t zhu48t zhu48t 火星语言
发表于 2008-1-18 16:02:23 | 显示全部楼层
我现在正在我们自己的服务器上调试TS与论坛结合,这篇文章里的大概操作方法我是明白了,但是我怕翻译过来可能有点出入,所以还是要专业的英文水平高的人看看才行:xhan
发表于 2008-1-18 18:45:35 | 显示全部楼层
那你只有找哪个马来人了。。。
发表于 2008-1-20 18:35:58 | 显示全部楼层
zhu45t 俄有自知之明
发表于 2008-1-21 11:37:51 | 显示全部楼层
比 考4级还难懂!!
发表于 2008-1-21 13:54:07 | 显示全部楼层
怎么不问我呢 我晕
发表于 2008-1-21 14:15:44 | 显示全部楼层
sorry for the late, i think the best way is i go to TS and translate for you. coz now i cannot type chinese words
6 k/ M( ]- e# g9 @3 l- _! r7 i" h
) L* ^, ]$ T+ @( u7 obut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

傲天阁游戏公会
联系我们
咨询电话 : 020-88888888
事务 QQ : 85075421
电子邮箱 : admin@admin.com

小黑屋|手机版|Archiver|傲天阁游戏公会 ( 粤ICP备14058347号 )|免责声明

GMT+8, 2026-7-11 15:22 , Processed in 0.096068 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表