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

2409 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
: N" ^4 E; |2 |% o  T  h
$ ^2 P2 }2 A$ J$ R0 q

  1. $ W( A0 {+ D/ N9 c* g
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    3 t* S9 z! o- k9 D

  3. 9 @) E( n% r) t0 ]5 q3 J
  4. ### What we need ###: o# S. k3 F: f0 l" ~  F
  5. Naturally, we will need a MySQL server to store the data for us, this document ; k. i% G& {% q  E! q
  6. will not explain how this can be done - there are documents out there for the ! s  A& [/ O' I* S1 a
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    * T. \9 o0 \! A* O* _' q
  8. and a user account (username + password) that has the permissions to do stuff
    ; x' F4 B- v0 ~
  9. with the database. Additionally, you will need a vendor library installed on the
    . S0 A! k  Q: o$ \7 R1 t& }5 A
  10. local machine, this came with my MySQL install.0 f( d; R+ `, }! b$ s% T: P
  11. These instructions will not tell you how you might transfer your data from the1 _+ y5 ?; I0 v. l  v# X7 a1 i! h$ I
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    / |1 |3 K( E8 a
  13. database.$ h( b0 Q3 T/ E  b6 k; i
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    7 [" C- o0 Y- D
  15. the time of writing, there are still too many issues - check the current status' k) O. F3 z5 I* ~3 ~
  16. in the TeamSpeak forums if you are interested.1 t2 g; |, e# ^, v, o
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from1 \1 a) q) I5 A2 J. o
  18. Borland was used. This driver can only interface with the client library that
    $ l/ M9 K0 U) Q3 ~: V8 y3 K
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    % a1 X6 V' c* k0 T. O. \
  20. client library - basically all you have to do is to use a 3.x client library as
    ; i2 |7 {0 e8 `/ b3 h7 M/ v7 R
  21. "VendorLib" and a 4.x database to connect to.
    3 E0 ?. ~+ @% ?# H: I
  22. If you need more info about dbExpress, you can contact Borland.. t1 a" r3 I# N  x
  23. ! j& ?% i! ]+ x1 X. U+ i
  24. ### Doing the work ###- ^6 h2 g9 M3 z) N+ R
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all* b6 ?* f; `9 v) h
  26. the perquisites right, just open your server.ini file, and add this section at
    - B/ {- k5 @2 ]5 U) M
  27. the end:8 e+ X  W' b* m/ @
  28. ---cut here---- M8 L* e5 ?/ J3 D; I' O# j
  29. [DBEXPRESS]
    6 R: j9 x5 V& i
  30. sqldir=mysql_sql6 _* C+ z0 G# ]4 D/ l3 y- ~
  31. Drivername=mysql
    ) n# T7 u1 ?  b' n  V: {! r$ E) v
  32. Database=Your_Database_Name_Here0 d. P9 R" E# M
  33. Hostname=The_PC_the_MySQL-Server_is_on
    1 g$ {+ n' j( d. H6 \- V5 R
  34. User_name=User_name_on_the_MySQL-Server+ l+ ^6 c1 f+ q/ ?" O4 [/ s
  35. Password=Password_to_go_with_above_user_name% `. D5 q; Q7 M' O+ A  A# p3 G9 X
  36. GetDriverFunc=getSQLDriverMYSQL0 O9 {9 p0 G/ P% t% o( _
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    * D+ a6 w/ c' T1 s0 J8 o* e6 z
  38. LibraryName=path_to_libsqlmy_libary( l) i3 j3 S6 Q& H! E/ B& _
  39. Active=1
    9 k1 r( j6 q9 ^# ?0 A2 \. i0 e4 O
  40. ---cut here---: I0 |/ D! A$ i' q
  41. In my environment (a linux box with a MySQL server running locally) I have:  t* L6 T6 Q6 w3 S2 E! {
  42. ---example---$ L6 O* T# g1 f' t. |
  43. [DBEXPRESS]# U: [& G, ^9 |& R
  44. sqldir=mysql_sql
    . U4 V9 q# q1 G& o9 ~! A
  45. Drivername=mysql, v, ~% z' ]9 }) h
  46. Database=test
    # v+ t% h. ]% x; R
  47. Hostname=localhost+ G: l. _. b  y. N; k
  48. User_name=testuser; r) E: v% @8 S! f& ~, Z. S) E
  49. Password=my_password% J" C6 A1 q3 H% ^# N) w
  50. GetDriverFunc=getSQLDriverMYSQL
    $ {$ O" j! N6 {% |' _
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    . A+ z8 t6 X6 m4 F/ ~) {4 B1 ]% n
  52. LibraryName=./libsqlmy.so
    0 \7 _0 V! B" r
  53. Active=1
    : I& n: G) q3 S
  54. ---example---
    ' g8 E3 p' _, l! J5 C
  55. ( s! z* t8 I, r' g; Q3 k
  56. On a windows box, also running the MySQL server locally, it would be:
    / c" Q& d- D% C# j- n) v
  57. ---example---
    0 ~: Z9 N" _  R. a; W, W
  58. [DBEXPRESS]2 D4 J, N& U3 f8 |3 k6 {1 |- `0 ^
  59. sqldir=mysql_sql
    5 |  Q3 ^9 U! }( y0 j; f: Z
  60. Drivername=mysql
    + {3 T' s3 e: A+ t! X/ y$ w0 ]
  61. Database=test
    6 j# O1 ~6 s6 l. W3 q& D1 w) z
  62. Hostname=127.0.0.1
    5 b. {, h3 @8 y- c" v
  63. User_name=testuser4 w: f! W+ k) }0 R; L2 ~; N3 Y" T, C
  64. Password=my_password
    , l( i" R' O: U" P4 e: M1 g4 L" w/ Z
  65. GetDriverFunc=getSQLDriverMYSQL9 C5 ~" P( m; E5 V
  66. VendorLib=libmysql.dll  {' j: {1 y7 c# w" p- w) g( I9 r
  67. LibraryName=dbexpmysql.dll7 d0 a# f3 }) ?/ C" I. ~- O+ D' A
  68. Active=1$ p: t* E- H( k$ G, P
  69. ---example----, |2 j1 W8 v* A; e+ _! V$ K8 H5 H
  70. - written 02.03.04 by pwk.linuxfan/ ?2 a: m9 ?1 x

  71. - j) k! l# g" L
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看7 Z% J2 c3 r- @
  1. ! o3 X2 i- S( a& A9 p* H2 L
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    2 e3 F) m8 z/ t: a

  3. 8 p4 t# l0 Z/ |' [, V# d
  4. # # #我们所需要# # #
      f2 r- _+ V* n; I9 C3 ^9 x$ P7 `
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    / _# H% l4 f; [2 y4 f( d/ G
  6. 不会解释如何做到这一点-也有文件存在,为
    : W; t5 O, A* a
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    1 t7 r7 P% d/ [; i3 ], C  y" t8 M- Z
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西% [3 n5 p3 Z' @! B& m0 Q. B
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    $ E* o0 W3 G2 o) q' a8 v
  10. 本地机器,这是我的MySQL安装。 2 s7 E/ ]" N) _% U9 Y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    - b4 O2 i2 L6 l( b0 l! ~
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 6 T: D  i) t% V  V7 D' D: q
  13. 数据库。
    : G; r. s' }) A0 _: X$ H# a# b
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在0 }+ \  ]( ~% Y/ S( ?
  15. 编写本报告的时候,仍然有太多的问题-检查现状  t4 [0 s" X* g& h/ m
  16. 在teamspeak论坛,如果你有兴趣。 ' v' G3 g, E- E% e4 n
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机+ }8 @! i; d, x! c5 H+ V( Q; r. b
  18. Borland公司使用。这个司机只能界面与客户端库
    , _: D9 w  j- _' B
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这5 d- }6 R4 @! V5 B
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    , L. Z( x0 u, \5 F  J
  21. " vendorlib " ,并解数据库连接。
    8 e: _1 U. l: d8 E) d
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ' I4 z; V4 Q. O- N/ z1 t
  23. ( m# H8 C& i- v
  24. # # #做好工作# # # / c% X2 z. ~# s2 c3 ^
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ! u$ x0 x" n- ~1 X
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在. ^% e0 }3 F& _7 ^( k9 W, S, B
  27. 结束:
    " Q/ E/ I  D, H7 A; i) v
  28. ---削减这里---
    ' g4 K. w9 P: g1 `' b$ j# r
  29. [ dbexpress ] 8 b5 V. o$ Y' x7 c) d
  30. sqldir = mysql_sql
    0 T$ ]: R. r: r/ a
  31. drivername = MySQL中! ~( C5 Z; {+ n, l- T. o
  32. 数据库= your_database_name_here
    & C9 \" L/ M! Y' [* [$ I- J2 c% E8 S1 _; H
  33. 主机= the_pc_the_mysql - server_is_on 3 i; n7 H9 o5 C+ q
  34. user_name = user_name_on_the_mysql服务器
    ; O1 J7 I9 Q6 ~: I: V4 v; {$ k
  35. 密码= password_to_go_with_above_user_name ) B7 r# W& I% G- D( {
  36. getdriverfunc = getsqldrivermysql 0 c0 K6 R# n- e/ z5 K
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 7 O8 E6 [5 ~% L3 c2 ^/ P
  38. libraryname = path_to_libsqlmy_libary
    # }0 n9 C/ G& @0 Y4 }1 S5 k6 I
  39. 积极= 1
    ; K# B( B7 f' @* y4 c
  40. ---削减这里--- ( \' q7 b, m: k; i( G
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ( R9 t% ?5 {; T# P& W1 ~$ Y' v
  42. ---例如---
    : p1 q3 [- t5 J
  43. [ dbexpress ] 8 K- s9 Y4 ^* \' ^1 m" w
  44. sqldir = mysql_sql
    8 M6 U. v+ b0 m( }
  45. drivername = MySQL中
    ! S8 [+ P% L( G! z
  46. 数据库=测试6 `! i! |) h* P% N( y
  47. 主机=本地主机
    3 \2 g' D1 a8 n- S
  48. user_name = testuser , |  S, ]+ c9 ?9 u: r: J- }
  49. 密码= my_password , z1 v" x' m( s6 A
  50. getdriverfunc = getsqldrivermysql 8 m/ ~. I" ^& ?6 h1 b: }5 U
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ! N/ e. h3 t+ X( e+ q' b4 J
  52. libraryname =. / libsqlmy.so
    ( B; m/ P! N2 N/ Q. e- t( u+ f
  53. 积极= 1
    9 p* m- K0 ~- c5 |) C1 ~; z6 o
  54. ---例如--- % |  B+ I6 t& e2 m# q7 m

  55. 3 Q8 t: x. h  [" z. X
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    " V1 `" f$ b# l- n' C/ Z9 V
  57. ---例如---
    1 D1 Q: Y! j2 V" _' U6 r& S1 ]
  58. [ dbexpress ] 7 D3 z4 A1 n3 U; E( Z" g
  59. sqldir = mysql_sql * k2 W+ w0 t% a, Q+ T4 ]8 L
  60. drivername = MySQL中4 j! j! O. Q# @. Y& b, K
  61. 数据库=测试
    4 X$ R# y* K8 ~! g3 {
  62. 主机= 127.0.0.1 % M' J, m& r: q3 n9 s
  63. user_name = testuser
    3 Q& K; W) _! s
  64. 密码= my_password & P. ?$ [1 |+ B1 h- }( ]
  65. getdriverfunc = getsqldrivermysql + O/ d( M. O. }9 Y
  66. vendorlib = libmysql.dll在# a' ^$ T5 V% F* f3 r8 `
  67. libraryname = dbexpmysql.dll 9 {1 }$ F' P7 G: n
  68. 积极= 1
    6 A0 o( }$ J% a; \
  69. ---例如---- 7 c8 h; j) Z5 r7 j& M
  70. -写在0 2.03.04由p wk.linuxfan2 i- `# t; H. l+ @0 B9 M
复制代码
发表于 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, N. n' D: R) B5 n( E3 _' R7 b8 B

* F4 h; L4 e. h6 d7 obut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-26 10:45 , Processed in 0.097028 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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