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

2421 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
$ `2 S/ ]$ y- L% S8 R7 V8 |1 u! I8 P$ b, p3 [; }! `$ T3 n* g
  1. 6 y" x: }* M2 Y; Z8 ~5 b
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######* s* `1 |$ `5 h6 C  n/ [

  3. 4 K3 s* ]# F  c4 R# b
  4. ### What we need ###) x, k8 k' N+ H8 l' w
  5. Naturally, we will need a MySQL server to store the data for us, this document 6 n0 x8 k3 m, d
  6. will not explain how this can be done - there are documents out there for the ! I* H: g4 ]; g9 B4 {  [3 K3 m
  7. interested. The requirements include a (empty) database for TeamSpeak to use* g% j" g0 U  O" n, Y
  8. and a user account (username + password) that has the permissions to do stuff3 q# Y* {9 R! V/ E% n
  9. with the database. Additionally, you will need a vendor library installed on the+ g8 z3 X9 r" g3 O
  10. local machine, this came with my MySQL install.
    " f5 W! M& R. e& e3 O# P
  11. These instructions will not tell you how you might transfer your data from the) a8 K' i% b7 A9 V1 Z
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL5 X8 ]" `9 `: S; j6 p9 F
  13. database.
    ! a7 Y4 ]; m0 k& K3 c' z4 O0 n
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ' Y6 n& T! H+ O1 w+ c
  15. the time of writing, there are still too many issues - check the current status# j/ n  L& P/ r6 ~% q- V: w# g
  16. in the TeamSpeak forums if you are interested.2 p; ~- [. `' h5 c2 g) ^* ]& O6 {
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ( n+ A' q2 ~7 w0 A2 J: c  u; D
  18. Borland was used. This driver can only interface with the client library that 6 q5 O+ |: n+ i0 d: {
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this; Z* s) u+ f) ^4 e$ C
  20. client library - basically all you have to do is to use a 3.x client library as / w% C4 X3 ]- O, e
  21. "VendorLib" and a 4.x database to connect to.
    # F3 o  K& v! H' r
  22. If you need more info about dbExpress, you can contact Borland.9 `% Q0 l7 b2 M9 B0 L

  23. 0 S5 a1 g) q8 C
  24. ### Doing the work ###) O; u) w4 }, |/ D0 {. O8 ~' D
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    2 j8 R2 C4 j# t/ x
  26. the perquisites right, just open your server.ini file, and add this section at
    3 s3 X2 O1 |% w; ?& T1 I* x
  27. the end:
    / B. n: \- {# Z4 ?
  28. ---cut here---
    4 [) l3 M8 _7 f# |
  29. [DBEXPRESS]5 I) Z1 _  c1 j- @" _
  30. sqldir=mysql_sql
    6 F$ K3 f4 \8 ?" ]; `
  31. Drivername=mysql% I8 m' X' v) }
  32. Database=Your_Database_Name_Here
    " s2 W6 g: r. H6 s$ L  ?3 `
  33. Hostname=The_PC_the_MySQL-Server_is_on
    # z4 A( R) V- K; \& t
  34. User_name=User_name_on_the_MySQL-Server
    ! c# Y( \8 g, D3 w! [0 \! _
  35. Password=Password_to_go_with_above_user_name
    0 y. I" f( B" [$ P4 D7 Z  [2 A% W
  36. GetDriverFunc=getSQLDriverMYSQL
      Z# ?# r7 g6 h4 o5 }" ]: @
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    6 Y. v( ]0 S% L) A6 t! m% N
  38. LibraryName=path_to_libsqlmy_libary* G( e8 z7 U, a+ j+ N
  39. Active=1& s; M; U' o: g  @9 `
  40. ---cut here---
    ! S& _  R$ C+ j1 n1 _
  41. In my environment (a linux box with a MySQL server running locally) I have:
    0 _6 j6 v( T1 c* _! G
  42. ---example---
    ; S  R+ n& S; u& w, E& M
  43. [DBEXPRESS]
    % t- e: N. _, j8 n$ c, J
  44. sqldir=mysql_sql
    6 x, K- b- M0 S. q4 r% v( _
  45. Drivername=mysql
    ' n( H' f& i9 T% b: Z
  46. Database=test% F" ^5 ^8 I% _) X
  47. Hostname=localhost
    , E5 }( @& u: l# r
  48. User_name=testuser) x! c8 O2 f8 }2 z+ n' a3 \
  49. Password=my_password& P! ~% n* t; A4 b6 g+ M
  50. GetDriverFunc=getSQLDriverMYSQL6 g' I3 N6 J8 d% ]  |9 n
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0, |4 g3 _6 v- j; y5 ~2 ]; O
  52. LibraryName=./libsqlmy.so
    # d' a# O4 P) p$ e: k; {
  53. Active=13 ]" H& i' A2 i+ J" z3 M9 N" r
  54. ---example---, H" q( y5 R# s9 [3 T. @  b. }
  55. / o1 p5 x- l9 s' D3 K- u& J. ]: e
  56. On a windows box, also running the MySQL server locally, it would be:
    ' {7 z2 z; o  ]% G7 s
  57. ---example---
    9 [1 p2 V( Q3 i5 A5 z' m2 l
  58. [DBEXPRESS]) n) Q, T9 V7 `& V5 x
  59. sqldir=mysql_sql
    3 C7 m* s  D% ~% b2 s+ }
  60. Drivername=mysql
    $ V1 m4 r8 l9 j
  61. Database=test3 z$ V. D9 v5 q
  62. Hostname=127.0.0.1) c1 O- T1 }$ K& j3 ^7 R
  63. User_name=testuser8 g+ v, a( b: V# C
  64. Password=my_password
    + N- k$ _+ {% C+ k4 X
  65. GetDriverFunc=getSQLDriverMYSQL$ x- K( ]% W1 I1 ~. l
  66. VendorLib=libmysql.dll: p8 F7 s  P' \9 l+ R
  67. LibraryName=dbexpmysql.dll8 S4 M$ D3 G; Z* O' i" M3 r# W
  68. Active=1# `0 `" @0 N! n+ U$ W5 @3 m
  69. ---example----
    * n9 ~- w& Z  m9 R6 S" e, }0 }
  70. - written 02.03.04 by pwk.linuxfan3 a! \# x' m$ Z" i0 ]1 b% W

  71. / E) m5 U1 o$ o* u9 j$ g
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
/ ]: Q+ O. E* w3 i
  1. & ?% R6 y" @+ A* c5 p, J
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ) w8 w% n1 p  |7 T9 ]) z
  3. ' N$ y1 S# B/ J9 ^$ _, x, J
  4. # # #我们所需要# # # : M; k5 ]3 l' ^/ H
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    2 d1 j+ t' l; {1 p7 X$ Y. O7 W
  6. 不会解释如何做到这一点-也有文件存在,为5 ^% A" Z; Q5 I8 b# c4 {5 u
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    * O* i  N4 Y6 i  U+ \6 R" }  A! A
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ! W% }# t# p. ^4 \6 y- c
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ! k, b' Q% R% B, c" c! ^; T4 F3 r! z" \
  10. 本地机器,这是我的MySQL安装。
    : J, t3 @( G1 ~, [1 k. U$ }+ y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    6 E7 }/ z2 Q* }
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL & n1 f3 G' U2 b6 A7 V& [0 r
  13. 数据库。 1 Q" f. I3 s  B: ?6 m$ Y
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    - z1 V" I* S" k. @) H5 K: \
  15. 编写本报告的时候,仍然有太多的问题-检查现状8 g1 l! U  _# S  P& i
  16. 在teamspeak论坛,如果你有兴趣。
    ) K4 |" f$ a6 c  ~
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    8 y& q2 P! K9 A9 F
  18. Borland公司使用。这个司机只能界面与客户端库; ^4 t4 P) @" f( s/ o1 D
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    & h) \: D4 k( w1 Y2 }, _
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    7 j3 F% q+ y& _# n
  21. " vendorlib " ,并解数据库连接。 / J0 H4 i, D4 J3 z
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    0 D; ]3 g5 I* z# ?9 y' M

  23. 4 @0 i3 q3 P: J7 X
  24. # # #做好工作# # #   e' E# h0 F9 ?  I6 u$ L
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都1 z& G9 u& G2 v% L: |  b
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在! c( B" }, k/ M) L0 o: T
  27. 结束:
    & t; O% ^4 N1 q' k; n& h
  28. ---削减这里--- / {4 m. E5 x5 z  @
  29. [ dbexpress ]
    1 `' G% i; R5 ?# e
  30. sqldir = mysql_sql ! T2 }6 e: R  l0 \
  31. drivername = MySQL中5 Q* W6 X: G! u; D
  32. 数据库= your_database_name_here 7 \& ]. }/ K- N0 E) F! ]  ?" f
  33. 主机= the_pc_the_mysql - server_is_on $ Q, b; ?0 b# |
  34. user_name = user_name_on_the_mysql服务器1 G" Z, F  p$ G
  35. 密码= password_to_go_with_above_user_name 5 C! |" O8 N; z& Z
  36. getdriverfunc = getsqldrivermysql
    $ z9 V$ _- I7 R' Q( q1 \  p
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    , d. b. e$ y+ N# i
  38. libraryname = path_to_libsqlmy_libary
    , c: C# E- I2 d! X
  39. 积极= 1 . m7 A9 N* P- v# L' s2 @5 F+ n
  40. ---削减这里--- 2 G$ R7 m9 o- ]  f5 V
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 3 i9 m: M" q" F
  42. ---例如--- 4 _+ @, \1 \! s  J! P6 T
  43. [ dbexpress ]
    ; H5 |. l. P- E) G! Z$ `$ \
  44. sqldir = mysql_sql # I' V) t4 j% U4 e% j0 H: q& g
  45. drivername = MySQL中4 B3 i' V& J! ^$ y3 x
  46. 数据库=测试% B9 s$ H3 ^2 N* E- }' A1 d
  47. 主机=本地主机
    0 O/ D* P2 y/ t( q1 i
  48. user_name = testuser
    3 K" r( G- S" s
  49. 密码= my_password
    7 [- g# c8 ~# T. g: ?+ z
  50. getdriverfunc = getsqldrivermysql # g- C) c8 O- F% m; _' h$ A; A4 `
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 , h  m0 K: j: n2 C
  52. libraryname =. / libsqlmy.so
    ' @3 q! w/ i6 P
  53. 积极= 1
    $ n% i, E2 O9 h5 Q$ L% ~
  54. ---例如--- ! q* F! f0 R' x4 G4 s! F' v
  55. + k1 t& r" W6 b2 n
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    9 f% j$ ]' X5 m3 F3 ~; E
  57. ---例如---
    - G% }2 @% `8 V4 Q9 U1 N4 u+ ~; s; Y
  58. [ dbexpress ]
    : `: P- k1 u( ~9 C+ w" z& G
  59. sqldir = mysql_sql 4 Y( N1 z! E  e; v, M1 b8 U
  60. drivername = MySQL中
    3 U9 H+ `- D8 L/ P- @5 T
  61. 数据库=测试3 i; c  B' U$ v6 D7 m  U
  62. 主机= 127.0.0.1 ; f/ F/ o: [5 G) r. J* f: w
  63. user_name = testuser 8 l) Z- b& R1 J4 u
  64. 密码= my_password
    - D; a( P( ?4 b: ~  Z; j
  65. getdriverfunc = getsqldrivermysql , o5 k" T- [. D7 {# O# q
  66. vendorlib = libmysql.dll在) @7 a  f% z. G. ]* m
  67. libraryname = dbexpmysql.dll
    5 w) R+ R, U/ \- T  E, G
  68. 积极= 1
    1 q) v& _6 H. J3 p, A1 z
  69. ---例如---- 4 v5 [" |7 j, d8 b2 u6 `$ Z; s
  70. -写在0 2.03.04由p wk.linuxfan
    : d7 c+ X$ y' ^; [* m2 P; g0 B
复制代码
发表于 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
) F0 ^# r, t! }- ?: w  E" Z! y8 [5 Y# N
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-30 19:52 , Processed in 0.107209 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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