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

2764 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan , G( N& ~: f1 d6 p8 I

) b' }4 {# D; k+ l$ l3 R4 G  v

  1. 2 }4 c/ ?( @/ b* C0 n
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ( f. ?' |5 j0 |& s5 a
  3. " h4 Q  E* v4 J: M* n9 p; p) m) C
  4. ### What we need ###, N# Q/ h% |# I$ G8 h7 c; I) V. s
  5. Naturally, we will need a MySQL server to store the data for us, this document
    6 V) n  }; _4 B* C: H$ V" ~
  6. will not explain how this can be done - there are documents out there for the
    ! p. `% B1 v5 S/ ?! N" f% s
  7. interested. The requirements include a (empty) database for TeamSpeak to use3 [3 D7 n' Z0 j9 f8 q* u; e
  8. and a user account (username + password) that has the permissions to do stuff& K6 T* ~4 u( y
  9. with the database. Additionally, you will need a vendor library installed on the6 X- B  a, c. F
  10. local machine, this came with my MySQL install.9 t1 K7 m# ~$ r5 ?
  11. These instructions will not tell you how you might transfer your data from the( ~. l# p& m; ^# y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ( C7 }/ I! ^  F# u# Q# |
  13. database., W7 t2 s' i! R" Z4 D. y8 R
  14. Some users have reported ways to import a SQLite database into MySQL, but at8 `$ U7 z/ k) H  K3 g- s) {0 ?0 w
  15. the time of writing, there are still too many issues - check the current status9 X4 [" k" h  Q, d* p: r
  16. in the TeamSpeak forums if you are interested.: D6 X& \. d% n- M; x
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from8 D. Y. g7 q/ ?1 O
  18. Borland was used. This driver can only interface with the client library that 5 O6 E0 z' u$ m& K
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this( d" l- H8 j7 S# L6 f5 `8 F5 z
  20. client library - basically all you have to do is to use a 3.x client library as ! S, P  r" t0 `! Y" U! i7 i& @
  21. "VendorLib" and a 4.x database to connect to.
    4 Z. B) e- H' G* e) Z6 I
  22. If you need more info about dbExpress, you can contact Borland.
    1 x( ]7 f4 a' q8 s7 W  }+ _
  23. 5 {( s) D- v( p
  24. ### Doing the work ###
    7 t. w% F5 @$ ^# S$ B% F9 O2 s, c
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all9 y5 J5 l& S$ G* [* A: i
  26. the perquisites right, just open your server.ini file, and add this section at. T! }3 g8 v, g
  27. the end:
    . u" t2 Q, L9 d8 e! @) T, B, {
  28. ---cut here---
    ! q! E, x; u0 B3 m; e
  29. [DBEXPRESS]
    1 }7 R( X; U( |7 v% ?
  30. sqldir=mysql_sql7 b: g& R& y: c) w' @& A! M' K5 g
  31. Drivername=mysql
    ) c' i6 H( ?8 L1 T
  32. Database=Your_Database_Name_Here
    6 D8 v: p" }& w0 j) k' \
  33. Hostname=The_PC_the_MySQL-Server_is_on
    7 \* U" p/ g4 R- q
  34. User_name=User_name_on_the_MySQL-Server
    8 {" Y: m! J4 X. P) i( h
  35. Password=Password_to_go_with_above_user_name
    $ E& |# k" R0 n: D, @, `3 i, C. F  V
  36. GetDriverFunc=getSQLDriverMYSQL7 I$ a+ f7 v# y  ?
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    * e; g3 s  S; X8 L. R
  38. LibraryName=path_to_libsqlmy_libary
    - ^) G+ O1 N/ n# p3 d- n
  39. Active=1" b/ j4 h( U2 m  \, s
  40. ---cut here---
    % c8 V6 Y: P  B, p0 r3 s: Z
  41. In my environment (a linux box with a MySQL server running locally) I have:
    & k" d, d/ H4 R7 j
  42. ---example---
    % }( W+ T! O9 G' A' X
  43. [DBEXPRESS]
    1 c8 n. v, J' F) O
  44. sqldir=mysql_sql
    3 m8 J2 w5 B7 Q( z' x
  45. Drivername=mysql0 J8 i$ ]% c8 r+ m
  46. Database=test
    9 C/ X" M% Y% G9 l! N  W
  47. Hostname=localhost
    2 A6 ?- I, B& k$ k
  48. User_name=testuser2 X2 S6 _3 w) D- V7 c
  49. Password=my_password, m, }9 q; r& o' f1 I7 Z
  50. GetDriverFunc=getSQLDriverMYSQL
    1 T7 G3 C: r: Y9 m% Q9 e3 A; i- K
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    * a* [5 H. }, R$ H, Y9 V7 n# e
  52. LibraryName=./libsqlmy.so& w, \5 q7 f* ^3 F/ L2 n# X5 e
  53. Active=1
    / e/ x' k$ i7 y+ e$ L* c8 Q( k
  54. ---example---2 D  K8 t# W% q' ?" X
  55. # a% _( D& X% G" ]5 ?: b
  56. On a windows box, also running the MySQL server locally, it would be:
    ; P" ^% n# Q% v4 U1 ~" ]" J
  57. ---example---# n5 K3 K6 g7 X
  58. [DBEXPRESS]
    8 [" X( w1 [! z7 I
  59. sqldir=mysql_sql, |+ P4 g. n; W+ K) |
  60. Drivername=mysql
    , X9 X( u* x, C& A* [2 H( ]" k4 P
  61. Database=test9 e( b3 v8 g; }/ e1 ?
  62. Hostname=127.0.0.15 {' x$ J% L" N" ]$ H
  63. User_name=testuser" Q9 _  z" [" \% a" N; j
  64. Password=my_password- M3 K# {7 D$ H$ e, i$ f% d
  65. GetDriverFunc=getSQLDriverMYSQL
    ( o. s# h! z, N0 \
  66. VendorLib=libmysql.dll
    - y: A! `; A. Z8 X6 [* C' n
  67. LibraryName=dbexpmysql.dll* N! D: E& t; f# \( J
  68. Active=19 Q. A7 p/ n6 {. I0 o) w
  69. ---example----
    ; {' T4 r- }9 U
  70. - written 02.03.04 by pwk.linuxfan
      w  ^1 Y' Z; w4 D' ^1 s
  71. 9 u, Z8 [- q5 y; [- n4 ]
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
/ |. {0 P( k, T

  1.   I! _5 v$ z1 |- i- M
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ! R7 D- H! f3 T
  3. 0 ^" V( k. r# q$ L5 [- \# j
  4. # # #我们所需要# # #
    ' N9 _3 J) h! i% V1 p# D: _3 n
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件% C8 c! h# d4 L' R# k( Y* \
  6. 不会解释如何做到这一点-也有文件存在,为
    2 E# \+ f# ~4 i" k' T1 Y
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用  v; {2 u  a+ M. Y8 w; @4 O  E- x0 r
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    . N7 ?( {# V# v6 d3 e
  9. 随着数据库。此外,你需要一个卖方图书馆安装于2 B, A- {, U/ H0 X! U* ]
  10. 本地机器,这是我的MySQL安装。 + e, j! x& e5 t$ X3 e/ u: }" s
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从0 l, C4 E+ K$ B7 @7 P! f
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    & X* B% O1 C" _$ }9 C" c, h
  13. 数据库。 6 C' z5 a# K  q$ i
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    : f! P" o- g1 X7 ^
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    2 h7 Q+ b4 ]& b" x
  16. 在teamspeak论坛,如果你有兴趣。
    * M/ }+ i9 Z8 m5 q
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机/ P7 X: w! @( i' u! \. j& `$ S+ n
  18. Borland公司使用。这个司机只能界面与客户端库4 E0 e5 f; i4 |& u( r% o1 F
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    1 b+ ~; d' G3 e% H; B6 L
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为+ y* ~1 w  @7 Y- y) u/ \' k4 `  G
  21. " vendorlib " ,并解数据库连接。
    : i3 c# f( c7 S
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    % y9 Z3 j9 m/ @6 n  y  `5 g
  23. ( g' q, R  e- c& v7 _. ~" K
  24. # # #做好工作# # # ; R& O# R' C" z
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都) e2 e. |3 H0 h% ~7 B( y
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在! n2 x  b' ~* f3 c
  27. 结束:
    3 `2 t" Z) E9 c  a# r& d
  28. ---削减这里--- + V9 p- m/ ~6 d% o6 C
  29. [ dbexpress ]
    " m( K2 d6 p) R6 }
  30. sqldir = mysql_sql ) r) D$ Y9 w, T! G1 h4 m- M1 M
  31. drivername = MySQL中) }: Z$ I1 C& ], S; L  X/ w
  32. 数据库= your_database_name_here
      b" [* N6 ?$ K& m: I, O
  33. 主机= the_pc_the_mysql - server_is_on 6 |( P! A% _7 `. r4 @1 H+ F+ b
  34. user_name = user_name_on_the_mysql服务器3 y0 o. f9 j" R! P9 O7 z
  35. 密码= password_to_go_with_above_user_name
    8 Z2 M& B: q5 A8 A1 u$ u3 T9 _; p
  36. getdriverfunc = getsqldrivermysql 7 o, k1 E$ s9 _- l0 @
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    - V  }" P7 p& y- N" l; r
  38. libraryname = path_to_libsqlmy_libary
    ; s" ~+ Q: m8 ?. S9 C
  39. 积极= 1 ) m1 e9 s5 a+ E! G0 A
  40. ---削减这里---
    6 M9 g0 {& D: R% G& ?# Z! @
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: % d& l, ^$ M; Q- m$ v" W3 Z0 l' |- \
  42. ---例如--- 4 r# e# }$ e5 q- e) ]
  43. [ dbexpress ]
    : [0 w2 z; Z8 h
  44. sqldir = mysql_sql " K( |+ ]  O5 A8 `1 Z( f/ X
  45. drivername = MySQL中
    # W/ o2 \3 A9 Y& p6 v
  46. 数据库=测试
    % Y( L8 p% d1 m0 x& r3 r, \/ R: `
  47. 主机=本地主机
    + i9 v+ [$ z  ?& G& e
  48. user_name = testuser % D& Z8 `$ j7 ]& t( X, B
  49. 密码= my_password ) w: b0 m/ [- E; |' H' D1 N
  50. getdriverfunc = getsqldrivermysql
    0 Y. `, n! p% l
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    - \# p1 f% V% K  s( k2 g
  52. libraryname =. / libsqlmy.so * T, C0 W3 a& ^8 j. ^/ l3 I
  53. 积极= 1 ) \- N3 L5 H8 W8 T+ C1 C( |
  54. ---例如--- 5 ]8 F( ~( b& P, D" I( y! r
  55. & b: T3 z, h3 ?" V/ o2 M) S
  56. 对Windows中,也运行MySQL服务器本地的,那就是: + p, O  U6 S2 k8 L; F2 h
  57. ---例如--- - h; U4 I" f* k2 C, r/ b$ h2 s
  58. [ dbexpress ] 8 a8 F8 V% p" r& s9 w
  59. sqldir = mysql_sql 1 {; R1 P* S3 ~. q5 L' I/ E7 A
  60. drivername = MySQL中7 s0 U$ F* x! X! W5 |- u+ d
  61. 数据库=测试
    1 B4 q* Y2 }5 p& d# L, h9 l3 N
  62. 主机= 127.0.0.1
    ' g% V* y% o6 @8 H
  63. user_name = testuser
    6 r9 t& i+ y/ E$ ]0 H+ R4 k5 ]
  64. 密码= my_password
    $ `1 R8 L( C& F( R
  65. getdriverfunc = getsqldrivermysql : r* B: N3 h# _+ L; p7 W
  66. vendorlib = libmysql.dll在
    + b  e0 Y5 S* |! Z" o) T9 T2 C
  67. libraryname = dbexpmysql.dll ' E, U0 G' Z. a* ^3 {1 H
  68. 积极= 1
    0 a) @5 L. h. c* R8 ~3 U) A
  69. ---例如----
    : o1 K, c4 F) A6 q
  70. -写在0 2.03.04由p wk.linuxfan
    8 ~& L( d! H2 ?5 Q
复制代码
发表于 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 words3 b/ h+ e' |- g: f0 a, ]7 Q  }
) v( N  O$ x: [  m
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-15 17:52 , Processed in 0.096845 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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