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

2956 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ) S& }/ ?  v5 h7 N, {4 Y8 m  {1 S3 k

6 Y1 o- T* E3 E' v0 E9 @% a
  1. # c/ h4 t) p4 m( o4 [8 E
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######7 Z' Y0 V0 w) w5 A

  3. * `9 ?% G3 _1 s$ j4 e
  4. ### What we need ###
    4 S) n6 O# B& _3 k
  5. Naturally, we will need a MySQL server to store the data for us, this document
    7 g6 v  K1 S3 Q
  6. will not explain how this can be done - there are documents out there for the
    ( w: ]4 {3 O+ }
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ; S* m1 t. {' ^$ b5 i7 \
  8. and a user account (username + password) that has the permissions to do stuff
    * `( Q5 w$ T% b
  9. with the database. Additionally, you will need a vendor library installed on the- K8 o' u' g& O& c  p; `8 h& ?1 [
  10. local machine, this came with my MySQL install.* h5 O( d& v: m0 e7 N+ C
  11. These instructions will not tell you how you might transfer your data from the
    ) u7 o! ]% ^+ j
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL7 `$ F7 \- X! a: A1 |
  13. database.6 {9 u: H" Q! s
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    4 Q2 k0 g) V. N* H- K
  15. the time of writing, there are still too many issues - check the current status2 a1 A( h# F3 V$ T& G: U
  16. in the TeamSpeak forums if you are interested.
    , ?; V; f! b% U. }
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from4 J! a% |& E. t
  18. Borland was used. This driver can only interface with the client library that
    0 ^/ v: e: S) C' U5 u; o8 |1 \2 B0 ^
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    0 O' n+ N: h. n* g
  20. client library - basically all you have to do is to use a 3.x client library as " N$ J: R) L3 H* [/ e/ {" q, Y0 C
  21. "VendorLib" and a 4.x database to connect to.
    8 ?4 m# |# ^& h+ |
  22. If you need more info about dbExpress, you can contact Borland.- {4 I7 K! C* m$ `& p0 ]" [
  23. 0 t! p1 B/ f- j& Z% H
  24. ### Doing the work ###
    : R- U$ v: v" P6 O, B. {, G2 w
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all! S# [5 \2 d/ Q! O
  26. the perquisites right, just open your server.ini file, and add this section at
    " A! i4 z% A2 _, p7 V0 `  |) n
  27. the end:
    . \8 v' J+ T0 E  P- Y8 W
  28. ---cut here---
    $ g( ^* w- w# x. B# n( [
  29. [DBEXPRESS]' c# y# x4 V; o" @5 o4 n/ w3 f# A
  30. sqldir=mysql_sql
    % E0 N& v3 N; n: e' P
  31. Drivername=mysql  K' ^" W. ]0 ]( X/ Y
  32. Database=Your_Database_Name_Here, x! f% q' d( k- l" f! l3 S5 n
  33. Hostname=The_PC_the_MySQL-Server_is_on* f7 l. U' T5 }4 B. G
  34. User_name=User_name_on_the_MySQL-Server; v- X  Y/ c; ?& y# \: D0 \
  35. Password=Password_to_go_with_above_user_name" Q  x3 k& K/ i. [0 R" K
  36. GetDriverFunc=getSQLDriverMYSQL
    ' D! T, l3 U: x* K
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    " [7 J+ r1 _& X% D4 r. o9 M
  38. LibraryName=path_to_libsqlmy_libary
    8 S! n- f5 z9 N$ {+ F( l
  39. Active=11 I% v# ^, H) _! s# |& m
  40. ---cut here---6 F$ F& `2 n. p8 E5 B
  41. In my environment (a linux box with a MySQL server running locally) I have:/ F! n% g- h% ~, I* K
  42. ---example---7 [& G4 x, G  z5 m
  43. [DBEXPRESS]
    6 z% p$ y, i$ q  M  w  A; K
  44. sqldir=mysql_sql. y& c  S% F9 m4 ~# b# l3 x% Q
  45. Drivername=mysql+ w! t# _2 y  }1 Q, k4 `
  46. Database=test1 [% V* U& I5 E0 d; S
  47. Hostname=localhost
    . N+ L8 ~/ a/ h$ e- E
  48. User_name=testuser
    $ h: s( v7 [0 D% q6 A
  49. Password=my_password
    * n: d$ @# Y0 b8 Q: A# m6 o$ J! b
  50. GetDriverFunc=getSQLDriverMYSQL
    4 M7 k* d3 a* u$ g) W" ]
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ! J/ A7 K" [9 V6 g
  52. LibraryName=./libsqlmy.so5 Q7 h+ L+ x8 a# P/ j7 p
  53. Active=14 j: Z& _% F. C7 ~6 }8 x
  54. ---example---  n' F  `2 J/ d3 N4 |' `7 Y- V+ d% ?
  55. # N4 r* a0 M. S( s9 n
  56. On a windows box, also running the MySQL server locally, it would be:
    , v1 l9 i3 t# a: F1 ^
  57. ---example---* Q3 c7 M& H$ d" O5 ]
  58. [DBEXPRESS]! _" T2 {: k9 l# P8 N
  59. sqldir=mysql_sql
    4 O  Z3 A* C3 v, a7 g
  60. Drivername=mysql
    . j# c$ k, h, Q4 K
  61. Database=test
    2 k' V) H) @9 Z  u0 r
  62. Hostname=127.0.0.1
    1 I( C7 n2 G/ g, \& X2 g- _
  63. User_name=testuser
    6 E6 t3 @5 E: O( [. b
  64. Password=my_password
    " K1 E9 Z; x; w4 k+ S) ~8 x  {
  65. GetDriverFunc=getSQLDriverMYSQL
    : k0 S4 ~; T9 ]1 e
  66. VendorLib=libmysql.dll% U/ T. S, E" Z% v' d
  67. LibraryName=dbexpmysql.dll- |. f% R: s0 X& L  r
  68. Active=1# c0 h. u* |& u& Y6 S: T2 p
  69. ---example----
    , ^1 c% |2 c: e
  70. - written 02.03.04 by pwk.linuxfan
    $ p3 D9 i  O+ n1 h

  71. 5 h" s) I) g9 g5 ]
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
  V0 U9 ~- E0 d+ _/ s  ?6 N: A
  1. " a- C- T: w5 ~6 ~) f
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    : ~2 ^. L$ l1 p" M5 O

  3. 9 b  |6 m" `5 e/ _: Q* ]
  4. # # #我们所需要# # #
    / Q' P& E2 O( U4 h* U6 y; A
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    + |2 g; e- X7 P: o) O8 |
  6. 不会解释如何做到这一点-也有文件存在,为5 E, R- N( r0 d$ Z& H7 i3 J1 L
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ) ?' u' g: W& P$ ~
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    * l# C: Q+ \  w, W! ^
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
      ?" T% E& J0 o& N* k
  10. 本地机器,这是我的MySQL安装。 7 y2 J  p' v% {
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
      J% G/ V3 x3 S2 g3 T2 z
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
      V" |( p; p* s+ X( q4 O+ V8 C
  13. 数据库。 5 `6 K  f! i4 Z3 I4 C
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ! y. Q: x: W, |& O' n1 I
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    + d: m# h/ }& u4 K; ?9 I$ A
  16. 在teamspeak论坛,如果你有兴趣。 ! ?) N" H+ C9 X. }6 p8 D$ |. x" B
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机+ k: G9 A5 X6 K" w) |
  18. Borland公司使用。这个司机只能界面与客户端库& j- _: n) A; K/ t
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这# [) R# M3 O, P/ ^+ j- c
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为- q. Y) z/ S) U' b* Z
  21. " vendorlib " ,并解数据库连接。
    $ w  j; o. X. Q5 G
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ! T  c" t/ g1 f  C9 L

  23.   J. {1 T  d6 o( z3 G
  24. # # #做好工作# # #
    $ s+ g1 q; T( _; \
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    2 F0 r/ j* e4 [
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在! z$ X! p% k7 W# D1 N+ c& ]- W
  27. 结束: * q; K" [( L5 O3 S  n* O# o
  28. ---削减这里--- 5 z+ }# v2 G1 m' n+ V# u
  29. [ dbexpress ]
    ' i. P2 A1 a1 B$ N# n( y, H8 J
  30. sqldir = mysql_sql 2 q, |4 q# f# o8 V0 r
  31. drivername = MySQL中, E, I9 S1 s4 F/ }
  32. 数据库= your_database_name_here
    5 l" u- K+ ], E+ \( q5 U
  33. 主机= the_pc_the_mysql - server_is_on
    6 ~8 i# t2 O! t5 U5 D
  34. user_name = user_name_on_the_mysql服务器
    8 P5 {/ v- ?* w  H
  35. 密码= password_to_go_with_above_user_name
    & C! B# r6 \4 I
  36. getdriverfunc = getsqldrivermysql
    - D+ {5 L" q  }
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    6 ^- n( N+ W, W7 Z2 j+ ?/ y( T3 r
  38. libraryname = path_to_libsqlmy_libary ; i/ l. M# k9 \* U
  39. 积极= 1 " f5 P# ]# m1 J) `9 [3 p
  40. ---削减这里---
    7 E: P6 t- U5 d1 Q7 n
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    6 d& Z$ a5 }  N# a# L
  42. ---例如---
    . t2 e+ g2 |5 ?& R
  43. [ dbexpress ] 9 m4 `$ e5 P1 r
  44. sqldir = mysql_sql
    " ]3 U  `7 Y$ Y5 X) x6 |
  45. drivername = MySQL中
    & m5 C4 E- t* I3 J; P
  46. 数据库=测试
    0 C9 s) ~: D) ~, ?  u- B8 R: m$ ?
  47. 主机=本地主机8 o# S& [# h* z2 t6 P8 U. h  h) r
  48. user_name = testuser
    * p# x, J4 S$ I# y, M
  49. 密码= my_password
    9 P6 _# d) [2 d% }- \: Y
  50. getdriverfunc = getsqldrivermysql * ]) s+ q0 |: [0 ?( o( q
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 " [5 d$ I- O+ X9 Z
  52. libraryname =. / libsqlmy.so
    7 O2 c. M3 x- x. ^* L
  53. 积极= 1 4 @6 N8 N7 P& U9 s! E  f6 q( E2 Q
  54. ---例如--- ) `7 j1 g9 T/ N' Y
  55. 1 e. C/ [1 {/ ^# Z1 o5 o: ?  ?5 @
  56. 对Windows中,也运行MySQL服务器本地的,那就是: : j. R+ M' I' ?1 a5 i# o' x: U
  57. ---例如---
    + ?$ J. `& X  k& u) q/ l1 D
  58. [ dbexpress ]
    4 ]  }% Z8 }9 N7 u- x
  59. sqldir = mysql_sql ! ^. T  @, N& H- S  |
  60. drivername = MySQL中
    " [# \- A% }, R+ E
  61. 数据库=测试
    9 d' e4 A: l) I2 a! G
  62. 主机= 127.0.0.1 6 A8 B! ]  S& E$ S$ F) E
  63. user_name = testuser
    / g$ F5 S8 M" \! W. l* _" A
  64. 密码= my_password " |. o- X* ]  ~2 A4 \' u8 v
  65. getdriverfunc = getsqldrivermysql ) X5 |" i' p! o3 J3 Z/ Q2 ^0 K. e- A
  66. vendorlib = libmysql.dll在9 U2 A) R8 k$ o
  67. libraryname = dbexpmysql.dll
    " a3 G  H% ~6 Q: e6 ?/ A
  68. 积极= 1 % N' a# b! T/ l3 E' ^
  69. ---例如---- 6 b  t) \6 j# g3 }( }8 @2 \8 i6 X
  70. -写在0 2.03.04由p wk.linuxfan* W' n0 B1 \4 s5 U" o2 D0 X
复制代码
发表于 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; O1 `# v9 B5 S! e0 P

6 g5 `/ g$ T9 Obut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-31 00:34 , Processed in 0.117409 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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