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

3129 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 5 w6 |3 }! O" W0 F, @& C9 `

2 w2 K( Z5 a( u

  1. $ ?0 w! D* H* u: |3 J3 P
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######* @* _3 P3 R" H2 C0 g
  3. ; E1 e5 V3 r' l: V- U
  4. ### What we need ###1 d* e( s) P( Y& G
  5. Naturally, we will need a MySQL server to store the data for us, this document ; o" P1 ]0 d9 d6 N$ T1 b/ q$ E6 ~
  6. will not explain how this can be done - there are documents out there for the
    & m0 u8 z% A2 B8 F* X: t
  7. interested. The requirements include a (empty) database for TeamSpeak to use2 y- j8 Z6 J" `8 e( {6 g# M
  8. and a user account (username + password) that has the permissions to do stuff7 f1 X3 i$ o$ q. j
  9. with the database. Additionally, you will need a vendor library installed on the
    # Y' d1 i: ^8 y" Q
  10. local machine, this came with my MySQL install.
    & N/ q$ v( F, y; }
  11. These instructions will not tell you how you might transfer your data from the
    , w4 q& Y8 H$ z5 K8 E
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL$ z) [4 W! u+ F0 _  {& d) u+ G
  13. database.! d; u9 [: g7 V7 n8 m
  14. Some users have reported ways to import a SQLite database into MySQL, but at5 \) N! o$ }  C* _
  15. the time of writing, there are still too many issues - check the current status
    - V! p+ F5 [' W  P, ]  i, P
  16. in the TeamSpeak forums if you are interested.
    . f/ r' I% L; Z- m
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    : D; R3 R% d+ }- z) H+ Y& @; Q0 i' f
  18. Borland was used. This driver can only interface with the client library that ; D! z% g# h$ |8 m$ Q5 @2 n* v
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this; ]: r2 o7 o# L
  20. client library - basically all you have to do is to use a 3.x client library as
    ; l6 ]* ~% r) c0 H; Y9 A  G! e
  21. "VendorLib" and a 4.x database to connect to.
    2 I6 J6 Y) T& Y! i0 _
  22. If you need more info about dbExpress, you can contact Borland., y0 \$ B) L; X5 q9 E4 ?) b+ O8 g
  23. / u, F! C8 ]6 }7 Y6 q( E" [
  24. ### Doing the work ###, R3 B0 K. T- t) m+ ?
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ' E8 w/ W/ e( X2 y
  26. the perquisites right, just open your server.ini file, and add this section at
    ' `- \9 d. ~8 Y6 ~' e$ s0 B0 `1 [
  27. the end:$ ]! F& c1 p, W8 k$ A6 W
  28. ---cut here---5 E; s8 X% N) C' Y9 Z- E9 h: ]
  29. [DBEXPRESS]
    * k% p3 o4 w# k9 u* [
  30. sqldir=mysql_sql
      }* R! q; H5 r6 M" S
  31. Drivername=mysql
    $ Y8 Z) x/ a( ]  R! a2 {  X& @% l; C1 d
  32. Database=Your_Database_Name_Here
    5 Y4 x7 u- Y5 g# M+ l
  33. Hostname=The_PC_the_MySQL-Server_is_on( ^1 F9 f" d1 ?& Q
  34. User_name=User_name_on_the_MySQL-Server7 v- A. ]2 K; j- v/ ?6 _
  35. Password=Password_to_go_with_above_user_name& q3 j3 y8 `' O+ m
  36. GetDriverFunc=getSQLDriverMYSQL# N: k; Z  u8 q: k. v) c8 y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    / R8 b/ O1 v! I, H- p8 |
  38. LibraryName=path_to_libsqlmy_libary' s7 ?- j  M+ _/ [, ]) h- j$ U
  39. Active=1
    5 [5 p! \" {" m( ~: u. X
  40. ---cut here---% J4 [* _3 S7 m
  41. In my environment (a linux box with a MySQL server running locally) I have:  N8 X, y1 x  A( ]
  42. ---example---
    , f* k9 s3 K! c+ |5 G" A9 Q. L
  43. [DBEXPRESS]
    8 `& D2 y: g9 o& U
  44. sqldir=mysql_sql
    / J  C8 w. Q" v. u) v
  45. Drivername=mysql5 i, C- w* A& o. i; _
  46. Database=test
    * e! o& g8 b& I8 m
  47. Hostname=localhost
    & x1 E/ D: a; [. M8 k
  48. User_name=testuser' n% [( ~$ _/ g1 S  [6 Y
  49. Password=my_password$ m: ~1 X, T* k; V2 H! T2 @
  50. GetDriverFunc=getSQLDriverMYSQL
    * O* L4 T; K4 F' `
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0: D" |5 G( |0 K, O  y
  52. LibraryName=./libsqlmy.so
    / F9 }, p/ h! V
  53. Active=1* c$ T; t: h" i4 W$ j0 I7 Z; h% k
  54. ---example---0 @& `; L% K7 i+ T5 ~* t$ q5 R

  55. ' ~5 g' s' g; V% T
  56. On a windows box, also running the MySQL server locally, it would be:
    1 c3 y( i: Z- K
  57. ---example---
    6 u' M1 `6 _* N  b  b9 B
  58. [DBEXPRESS]
    ) g: W% W3 ]% `; U3 P' _& h( y9 R
  59. sqldir=mysql_sql7 D4 @8 l# i; U5 |% z9 S/ E0 A
  60. Drivername=mysql% e& F4 f( |4 e/ V/ [3 s
  61. Database=test
    $ o0 o  m' u( ~& s; g5 M
  62. Hostname=127.0.0.1
    / X% r! b/ L: }, l
  63. User_name=testuser
    " C2 D; z! R1 \( D' j$ |
  64. Password=my_password. j( q5 o' ]( @" }  g$ W
  65. GetDriverFunc=getSQLDriverMYSQL4 q/ l2 _2 j/ S; s
  66. VendorLib=libmysql.dll+ m4 K& O& c& s
  67. LibraryName=dbexpmysql.dll1 z' x7 p/ P8 I4 s: W' E
  68. Active=1
    ; |: p# o/ v1 X% {
  69. ---example----& h' P& y; d; U/ [% k
  70. - written 02.03.04 by pwk.linuxfan
    ( N0 A- l& ^. ]* [3 f& @
  71. / k% p. t; V. y: G. |. ]# {8 m
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看2 I1 o9 c4 ^7 v  b8 ]3 j8 S7 Z
  1. ) C9 P1 ]+ u5 Z$ }2 v, V* q
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### % Y) K. c; {0 d
  3. + M+ x0 a; i1 y& |7 t
  4. # # #我们所需要# # #
    7 n: l2 P" T4 A' D2 a
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
      f9 T& C" H# U& ?$ @; x
  6. 不会解释如何做到这一点-也有文件存在,为8 S9 `9 e: v) E1 f$ A8 ^: H7 D
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用0 D1 C& S' i0 g, h1 W0 Y
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西3 t) [$ [# Y3 e, p8 C
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    3 m+ h+ a$ c* ]  k6 w7 ~- p
  10. 本地机器,这是我的MySQL安装。 - K  m: `7 g# @8 f+ |
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从$ }5 w  ~* Z; f6 X# T
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    1 b6 ?% r$ |7 O2 j
  13. 数据库。
    5 S0 s0 E' C, ^5 {* y7 P+ Q1 V
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    9 G% V9 G% A/ |6 Y, m' F6 b+ }
  15. 编写本报告的时候,仍然有太多的问题-检查现状2 P, ^+ V7 e6 m, N# [% }
  16. 在teamspeak论坛,如果你有兴趣。
    " R; R4 g1 f( z2 x, m* j
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    0 u' l1 y/ B8 f1 s: r% B' H  \" e
  18. Borland公司使用。这个司机只能界面与客户端库
    & P' |5 y: P. F7 T* v2 v, g6 ?( J( n5 Z
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这$ j2 X0 a7 K: ?
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为. T4 w6 Z9 _, S7 i
  21. " vendorlib " ,并解数据库连接。 5 W1 l4 o# P& ?2 w. A# |
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ! _0 S1 v! J- c* O' H2 H$ s

  23. ! d7 E+ a4 X7 J- d! k8 J3 d
  24. # # #做好工作# # # 2 z" W! v0 Q2 P- y
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    9 X- T, e1 H3 A3 Q/ M' j+ V  F1 D
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ' s% E$ O7 @* _, g7 l$ l& G  u
  27. 结束: / X& {2 _$ t  D1 B# m& s, b; z  ?
  28. ---削减这里--- 8 y' T8 U6 X7 X) R' `8 p( y6 R
  29. [ dbexpress ]
    / O4 S1 t' Q. A1 v
  30. sqldir = mysql_sql 4 L2 s3 F4 T4 j5 e7 @
  31. drivername = MySQL中
    4 D) c! s( u4 a+ [- R2 {+ P
  32. 数据库= your_database_name_here
    7 `7 z' @# T3 r, h; D
  33. 主机= the_pc_the_mysql - server_is_on
    ) s, C; Q+ z* ], F( B/ |1 Z
  34. user_name = user_name_on_the_mysql服务器# G4 u  ^; t3 W6 B2 ^  j/ T
  35. 密码= password_to_go_with_above_user_name
    ( g4 L6 k5 o& ?4 Y
  36. getdriverfunc = getsqldrivermysql ; F* P* T+ t- y1 t5 i9 `
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ( v4 e. N* h2 p  Q# d
  38. libraryname = path_to_libsqlmy_libary + |4 l2 w# Z! n* U; F3 @% N
  39. 积极= 1 $ G$ \  r0 C) `4 n' Q
  40. ---削减这里--- % G- I1 L  \- f' D2 V. C
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 3 ?& ]* K" i; n- Z' i
  42. ---例如---
    ) F9 ~: d$ x3 z* m. h# E
  43. [ dbexpress ] ! D4 K$ h. Q* O$ I
  44. sqldir = mysql_sql
    # {% S! X6 M! U+ A
  45. drivername = MySQL中
    7 W# |) M( P+ ?+ f% m5 a+ {
  46. 数据库=测试
    ( j6 y7 L& c! F" v) C8 D
  47. 主机=本地主机
    8 `6 V* y) f' ^- C0 _$ F" t  ?; X3 L
  48. user_name = testuser
    : m$ l9 e1 s, \- t. R' Y2 r: }4 V
  49. 密码= my_password
    6 x* a1 g  H$ f0 A( U7 X
  50. getdriverfunc = getsqldrivermysql ' ~* X5 `/ O" h2 g5 V: z$ D2 s
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    6 G% J0 I9 ~% T. i. `
  52. libraryname =. / libsqlmy.so - M$ }# X# u8 A
  53. 积极= 1 , P( _7 J* C5 Y3 |5 j
  54. ---例如--- 3 u2 }- c9 t+ ?8 I

  55. ! I- m1 ~' @- v5 T& o) g
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ) @# f/ Z3 l, p( q( D$ M" O. ^+ ~
  57. ---例如--- : _1 m" I( j' @
  58. [ dbexpress ]
    * d8 P; B: Y1 |( v% C# z
  59. sqldir = mysql_sql
    3 y$ e( d9 n) C8 J; F3 N" e
  60. drivername = MySQL中
    , }# w. m; J% W
  61. 数据库=测试
    $ u/ @2 E4 o) _) M% y4 H
  62. 主机= 127.0.0.1 9 `% D! m2 e8 w5 @6 X/ d
  63. user_name = testuser . ~9 G3 @! |5 Q& y. |9 T5 @
  64. 密码= my_password
    $ t% s# h8 Z) Y$ N# l
  65. getdriverfunc = getsqldrivermysql # C$ t6 L1 s' r1 i1 a- m
  66. vendorlib = libmysql.dll在' c7 c5 S0 e0 x. T
  67. libraryname = dbexpmysql.dll # R: @# G, E( t  ]" B
  68. 积极= 1   A& B& g3 O8 [6 h
  69. ---例如---- : h# j7 ^" C/ ^( C
  70. -写在0 2.03.04由p wk.linuxfan9 o+ o) P/ P7 o4 w1 Y
复制代码
发表于 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  ~, E! N% M  O5 V4 U/ T, h; d

# M/ i) V" \7 W3 Y+ pbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-6 20:16 , Processed in 0.086223 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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