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

3464 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 2 B" K+ i- k- P0 K3 H$ y

3 l/ o8 o7 R! F) Y; m* n, F0 s
  1. ) `* m! G' {) o
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ; i' t& D+ N# {" v+ b: `. W$ v

  3. , G5 R- I4 X3 U  `; e* H. t, L# A
  4. ### What we need ###0 G2 Z# Y1 y) `8 R: E; Q
  5. Naturally, we will need a MySQL server to store the data for us, this document # M9 O  E0 j. a$ C1 j% D6 p2 R2 u, G0 d
  6. will not explain how this can be done - there are documents out there for the ) a. e* C) _- }# K0 _9 c
  7. interested. The requirements include a (empty) database for TeamSpeak to use- K/ q! P! o9 y5 W* z
  8. and a user account (username + password) that has the permissions to do stuff
    6 c( W5 n# i+ r
  9. with the database. Additionally, you will need a vendor library installed on the
    ; Z: ]* H+ \2 f2 J( ~7 @
  10. local machine, this came with my MySQL install.
    " n4 I! O6 _6 B
  11. These instructions will not tell you how you might transfer your data from the
    4 z" L- w* Z* O: f" X, l8 c
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL# \0 v" P: z$ }
  13. database.6 }( G$ V: T9 |/ ?
  14. Some users have reported ways to import a SQLite database into MySQL, but at6 h5 y' K( m" `2 u' `
  15. the time of writing, there are still too many issues - check the current status
    ' J* k1 w6 e6 K5 e! d" l. n* |1 Z1 J
  16. in the TeamSpeak forums if you are interested.
    3 r% V$ Q/ L8 Q2 s& ]
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ! G6 Z+ Z8 O8 K2 q4 I
  18. Borland was used. This driver can only interface with the client library that 4 o) N2 t4 p) t: K3 z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this9 X' X- ~9 B8 ?# Q0 P- m2 G8 W
  20. client library - basically all you have to do is to use a 3.x client library as
    ! L3 I  T1 }% C, G+ p9 l: e
  21. "VendorLib" and a 4.x database to connect to.+ g' f+ b* N3 M: n" S$ t% I4 J  P$ T2 X( i
  22. If you need more info about dbExpress, you can contact Borland.
    5 a: f; o1 ~# K# w1 \/ L

  23. * c5 |9 N. r5 i1 Z; z
  24. ### Doing the work ###, d9 l  e$ {# c( X# n
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    & J, ]% a- p) j: V  |4 c
  26. the perquisites right, just open your server.ini file, and add this section at
    7 l) O4 ]0 S2 r; [2 ]* ~+ T; d
  27. the end:
    $ L0 L0 o! c# H( F* K$ Z# |
  28. ---cut here---
    ; K6 m0 R' A. Q4 C6 C
  29. [DBEXPRESS]7 x! z& u: n- u. c. }. v
  30. sqldir=mysql_sql& @9 b* S9 j( Z
  31. Drivername=mysql
    . B. Y( `7 r# G, o5 F: |- x
  32. Database=Your_Database_Name_Here
    0 s! L* K  r6 I3 _- d" C
  33. Hostname=The_PC_the_MySQL-Server_is_on
    " m, w7 Z0 y# j1 O% ?* W; S5 c
  34. User_name=User_name_on_the_MySQL-Server* N/ V- @( y& N! N' h0 R. L. A
  35. Password=Password_to_go_with_above_user_name
    * m5 Q) C4 M, b  |7 R2 X- Q/ b( R
  36. GetDriverFunc=getSQLDriverMYSQL
    ! W) ?8 ^; k: U
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib5 p5 b! D; R% s0 q% c6 s) H
  38. LibraryName=path_to_libsqlmy_libary
    ! Q! x( a' T: N  }' w4 a
  39. Active=10 H: n, S9 O& `! |" T% a& {
  40. ---cut here---
    $ i' F, i/ F# g" _5 p, a* C: t( e( v7 Y
  41. In my environment (a linux box with a MySQL server running locally) I have:' C5 \+ {2 s4 |6 _& l  @  s9 s5 D
  42. ---example---
    & K" |. z9 s4 `5 }% X
  43. [DBEXPRESS]- X6 Y$ h) d2 A* D  }) X9 t
  44. sqldir=mysql_sql
    1 w. C* f# |9 f2 p8 N: l; [
  45. Drivername=mysql
    / |- l: @' I3 i9 p, A1 u( Z. i1 }* h0 ]% @
  46. Database=test' J$ ~. l# n# R3 d: A
  47. Hostname=localhost% G) x$ t" ?$ `( Y! d
  48. User_name=testuser) j% f5 j! ]* b1 m) [/ ]; z
  49. Password=my_password
    ; k% i. g2 u& E- {# s' z( {9 |
  50. GetDriverFunc=getSQLDriverMYSQL* V) w; ~3 v( I9 f/ U! a
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    # ?( y3 O9 T$ H% ?* M* T
  52. LibraryName=./libsqlmy.so
    - f: Q) [, T/ |! ~+ x
  53. Active=1$ H: `1 I( a" V# U! V/ L# N
  54. ---example---
    + i7 H. j$ W" N0 x  A+ x2 z

  55. 3 @" C/ z- W4 X; F/ H
  56. On a windows box, also running the MySQL server locally, it would be:
    " g3 w; ~1 W+ x6 |1 v# N2 h
  57. ---example---
    1 |8 @% _' i9 J. M& b
  58. [DBEXPRESS]5 m: y5 u6 p$ t7 A, g
  59. sqldir=mysql_sql
    8 ~$ ?7 H5 Q7 U3 t0 u9 z
  60. Drivername=mysql7 w) n( k; h+ f8 I1 X
  61. Database=test: K: d4 C1 c4 E9 h. x. q; X
  62. Hostname=127.0.0.1
    5 V5 X) ?+ f) C- p8 x' F  ?
  63. User_name=testuser& C3 G" s) r! x! t9 A& J
  64. Password=my_password
    % e3 h( N  H% G( X; W
  65. GetDriverFunc=getSQLDriverMYSQL1 u' i* Y: t, B/ u$ s
  66. VendorLib=libmysql.dll
    * q7 u6 S* @7 C/ v0 c( Z8 h
  67. LibraryName=dbexpmysql.dll
    . _3 ]2 J; R- t% E
  68. Active=1
    2 M5 S' T' ~' I: Z5 [) p3 N0 Z
  69. ---example----
    : w0 K5 R* g& X3 e* L5 U1 ]
  70. - written 02.03.04 by pwk.linuxfan
    $ X! R( [' Q/ B6 d( [* a
  71. . d1 ?/ e, n8 y2 s
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
  s. S* ~3 t, m0 L; ~2 g1 j

  1. 6 Q$ W& g% q5 }) t
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    : e; [4 T6 S" P2 p5 L; q" J
  3. ( O( h; L+ R5 {! o7 W' u6 D
  4. # # #我们所需要# # # + t  ^( ], o3 X7 B) Q
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    8 Z2 J9 T3 l& x0 Q' n* q
  6. 不会解释如何做到这一点-也有文件存在,为
    ) ?+ Y' |5 v9 `' v
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    - \: C( R$ ^& g1 d2 k4 d$ s
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    # m& |0 ~, N  G( Q9 B- K
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    : F0 o1 f- ]: F8 Z1 S7 O
  10. 本地机器,这是我的MySQL安装。 3 e3 X) S( a* F* O
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ! S4 M1 ?, X4 A+ K; q+ \
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    3 h+ z0 O* a% h3 [6 s5 ~
  13. 数据库。 7 A, n9 A  r1 \+ m! g/ b* a
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    + K1 e( o5 ^( k# J8 k4 i( W
  15. 编写本报告的时候,仍然有太多的问题-检查现状
      J6 i0 r) q7 B+ K
  16. 在teamspeak论坛,如果你有兴趣。
    7 Q/ g/ u6 l' K. c4 I' f9 a
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机2 W+ r1 B( ]. x( O/ |
  18. Borland公司使用。这个司机只能界面与客户端库
    5 W. v2 R  Z% J% k. G9 {
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这1 b+ c" P" w4 E9 f: y- ?
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    5 P: r1 P" w5 N1 Q0 u5 G; Y& U1 D
  21. " vendorlib " ,并解数据库连接。
    2 I4 U% t( K; S! O4 |
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    & n" ^/ I) C: R1 q. u
  23. ; X) N: k! M/ z! ]1 t; a7 _
  24. # # #做好工作# # # / J7 l) s) y3 l) n
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ! _0 G0 j  C. a' t# A$ H6 Q4 W- o
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    / {" ?; L8 n6 _% V
  27. 结束:
    ) t" W  A; c# F3 ?8 ~
  28. ---削减这里---
    4 m, @; m6 n: r; ~0 e9 @! S
  29. [ dbexpress ] 9 ^) |) O0 h: }- a- b
  30. sqldir = mysql_sql
    ; n! q! m# N1 A5 e  X# [
  31. drivername = MySQL中' K& `) O2 Y& N$ s
  32. 数据库= your_database_name_here 1 ~) \2 N! C- |+ Q
  33. 主机= the_pc_the_mysql - server_is_on
    4 {& U% Y# U/ T. Q* m9 x! p& A
  34. user_name = user_name_on_the_mysql服务器' C! }# o  Y$ R
  35. 密码= password_to_go_with_above_user_name
    # x  w' I9 Q2 l9 ]
  36. getdriverfunc = getsqldrivermysql 3 L$ i7 |$ b2 ?8 f
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    , Q) j( R2 a* z! k! Z( _/ A
  38. libraryname = path_to_libsqlmy_libary % G) F9 F2 E$ ]0 s) @, Z$ w& Y
  39. 积极= 1
    ) a4 J2 u7 i$ ~5 ?5 }& ~
  40. ---削减这里--- 8 R& u! P; u1 X) e( k
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    2 Z$ r$ n# S& l
  42. ---例如---
    % X# j/ `) F( w- r8 e
  43. [ dbexpress ]
    5 i3 s" d: C4 G* y0 }. _
  44. sqldir = mysql_sql
    " S4 \( Y! W7 E' o% v
  45. drivername = MySQL中
    ' I' j+ X" `( a
  46. 数据库=测试  ~* H7 f% p% x3 D* ]) D) D
  47. 主机=本地主机
    + G! J+ C0 t% K* o3 _6 U9 x3 A
  48. user_name = testuser ; t! R4 y+ W4 l( v' d
  49. 密码= my_password 2 g6 J& x$ y/ N# l0 h3 \- N. q
  50. getdriverfunc = getsqldrivermysql
    2 |; j' X' [! i. p4 z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 $ x3 b& K# V' W2 e+ x/ P7 K
  52. libraryname =. / libsqlmy.so
    7 p& o- q% A$ ~
  53. 积极= 1
    * [9 d/ ]. u  `' k& y3 G% g- G
  54. ---例如---
    1 S3 i; c" f1 @

  55. 4 ~2 d4 u, a& F! s% e; m: b; y
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    9 b4 y  `: F8 o  F8 l6 @
  57. ---例如---
    3 z4 A& M2 E  f8 U- g* i
  58. [ dbexpress ]
    + m: b% U% I9 f! i- Z' W
  59. sqldir = mysql_sql
    ' Z3 {% b8 t8 p" W6 h2 H* ]) f
  60. drivername = MySQL中
    . I% Y4 Q' E' Q
  61. 数据库=测试
    3 a# ~0 h5 d3 Y7 |. E0 }1 }
  62. 主机= 127.0.0.1 " g3 L% z2 R9 _( I
  63. user_name = testuser
    # g+ K+ z+ b3 o! G
  64. 密码= my_password
    / S% e5 v: s( C" h2 _/ V3 I- e
  65. getdriverfunc = getsqldrivermysql % x! d, F0 v3 L2 ^# H7 ~" x5 i4 I" C
  66. vendorlib = libmysql.dll在
    1 @( `2 A' |; [# \  F% l- l7 J8 H2 p
  67. libraryname = dbexpmysql.dll 2 k* L7 D1 h0 F2 U9 x4 y: y
  68. 积极= 1
    0 g, O; F  j  Q6 R( o7 ~5 x
  69. ---例如---- $ n0 q+ D/ P* \. c( ~& Q
  70. -写在0 2.03.04由p wk.linuxfan  e' @, w: \+ T' V0 l* F9 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# T) o: l& d5 ~  b; G/ Y- Q, T! l
$ ]) p& R% L7 o. @' ~& F* y
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-2 14:57 , Processed in 0.067780 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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