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

3194 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan , C5 S1 e% _3 Q) }+ y' G. P

1 X8 D& Z3 y3 V& |" E

  1. 7 U" _/ q! w7 x4 R) [  k
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ( b! p; M6 j" ~
  3. . W- p  a+ m0 l, O# f& _! }
  4. ### What we need ###' t& V2 u) P( F; U5 ^
  5. Naturally, we will need a MySQL server to store the data for us, this document
    # O, [8 E  [& U% B) V
  6. will not explain how this can be done - there are documents out there for the 9 x+ h# @% O2 Q& }! }& E, }3 Q
  7. interested. The requirements include a (empty) database for TeamSpeak to use- p3 ?6 r% I. q) n0 t& Y
  8. and a user account (username + password) that has the permissions to do stuff
    3 v$ h- z  P' v4 u4 `" `+ L0 h9 |
  9. with the database. Additionally, you will need a vendor library installed on the, ?! N; g, l7 X+ ^% v, {
  10. local machine, this came with my MySQL install.
    - g8 }9 T( {9 z+ d
  11. These instructions will not tell you how you might transfer your data from the
    9 o3 ?3 a6 z8 i0 j" [- \- z
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL0 {: V$ n- G* Y( d3 c
  13. database.
    2 o& w, u! A# J# O/ }6 V+ ]* e8 `. `
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    8 E. w, d4 y* Z  B; @
  15. the time of writing, there are still too many issues - check the current status
    % B- j7 A: j- ]2 t0 u
  16. in the TeamSpeak forums if you are interested.
    . G! x7 ~9 q/ n3 F$ T7 J. D: Q
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ' [( {  j8 ]4 v% R# H$ Z
  18. Borland was used. This driver can only interface with the client library that 1 [) f* j. N6 U' L4 G
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this/ \# z) F8 f, T: l8 [# h2 c
  20. client library - basically all you have to do is to use a 3.x client library as 5 E0 j+ C. `3 q$ w% P! ^
  21. "VendorLib" and a 4.x database to connect to.. b- m1 a: H! j  I. Y! g7 y% z( {5 U% P
  22. If you need more info about dbExpress, you can contact Borland.% t. x, d: X9 N

  23. $ s" s/ P$ r9 \6 V6 G1 p. m) g
  24. ### Doing the work ###) C& `) A3 \' I# U! x' F
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all, [- k- b3 k8 o
  26. the perquisites right, just open your server.ini file, and add this section at" P0 R, U5 x1 D2 A3 Z, A* I- ~9 E
  27. the end:
    : [  r9 j9 H! l
  28. ---cut here---  f) A) Y& Q. d% ?$ D
  29. [DBEXPRESS]* h& h) d( ]1 t! R5 Z6 [0 }- K
  30. sqldir=mysql_sql
    9 F3 O- @0 \+ f4 ?1 S8 M/ G5 |5 a
  31. Drivername=mysql: P" A3 R& v) i5 S# A) G8 B" p
  32. Database=Your_Database_Name_Here
    1 a. Q3 g+ K" j$ [4 S
  33. Hostname=The_PC_the_MySQL-Server_is_on1 [9 m! o) q6 l# n* O, B5 N" C% H
  34. User_name=User_name_on_the_MySQL-Server
    4 x0 Z9 g+ M- C0 K) o
  35. Password=Password_to_go_with_above_user_name& H( Y8 {2 _7 g
  36. GetDriverFunc=getSQLDriverMYSQL
    2 |: A$ g  j. }1 p. X+ X
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib* N* m  T3 J/ P: O* p/ v2 n
  38. LibraryName=path_to_libsqlmy_libary, z& S, r; p- K$ I
  39. Active=1
    & X. |' R; l) F% |3 C
  40. ---cut here---
    : t2 |* Z: n0 Y
  41. In my environment (a linux box with a MySQL server running locally) I have:
    " T. i2 H3 ?; l1 `5 y% ^
  42. ---example---1 T' F$ L  _* F; o# ?2 A
  43. [DBEXPRESS]
    8 F1 M7 B0 e* E6 L* [
  44. sqldir=mysql_sql
    * u  z5 ~0 L# T& P
  45. Drivername=mysql
    ! ^$ [/ h8 S: d# G  H# E
  46. Database=test
    ! X4 _6 u3 h' X  x. \
  47. Hostname=localhost
    + d4 m4 E' P. u, H9 G7 q! `# _
  48. User_name=testuser% M, x% E. ?2 c# h) l& H! H7 T% {
  49. Password=my_password
      {6 U0 E$ F+ N
  50. GetDriverFunc=getSQLDriverMYSQL1 R" y* V7 b+ X; |
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
      M4 d- J- S' D# E2 k% ^
  52. LibraryName=./libsqlmy.so
    7 w. U8 r- A( o7 k; H% a
  53. Active=12 W' G* j3 k/ Z0 p
  54. ---example---+ }1 s: p0 b1 w' _
  55. * _/ E# M" U( u  P
  56. On a windows box, also running the MySQL server locally, it would be:9 R; o6 y6 F$ @9 i( G
  57. ---example---; r0 I3 [! ~# F1 Z7 @  u" }" _
  58. [DBEXPRESS]& T6 r& e* i( m( v; @
  59. sqldir=mysql_sql
    3 N# y+ C! H) F4 E1 K/ y* Z
  60. Drivername=mysql- D& g7 ~0 D- E6 ?* ?7 U
  61. Database=test
    8 ~& \" F" b8 D
  62. Hostname=127.0.0.14 S, j/ |' q( }) N. n! ^: q. {
  63. User_name=testuser
      D  c% m4 \8 J8 [* D: q
  64. Password=my_password
    # @( \4 Y5 t0 w7 [! D+ }/ j
  65. GetDriverFunc=getSQLDriverMYSQL
    1 ^+ e# n9 l# b, w" Q* p* W# e
  66. VendorLib=libmysql.dll
    5 B) V1 W2 F( b& ]7 h
  67. LibraryName=dbexpmysql.dll7 W& O; }0 R: B: A7 d0 p* F
  68. Active=1, _2 S* x4 H, R* {2 F9 u$ I) w
  69. ---example----+ E( c# L  S# U( A2 j
  70. - written 02.03.04 by pwk.linuxfan$ R$ a3 r, J( V% l1 {. @+ |+ }; A

  71. 8 r, V( k* n# l1 h* G
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看0 d( s7 a+ ^. ]4 ?% S

  1. - B" {, F/ I4 x6 u8 M9 ^
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    , @. B7 D1 J7 m

  3. ( l3 r- p/ K/ N! ]( p7 Y$ ~/ q" n  w; L
  4. # # #我们所需要# # #
    ! k* K1 W$ a) V; h
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    0 B. I& y0 W- `
  6. 不会解释如何做到这一点-也有文件存在,为0 h$ n3 n( h. |7 x3 b) a
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用- c1 s& |3 ?* p
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    7 V* T: t0 k  h6 r
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    0 J8 u+ |) |/ k$ r
  10. 本地机器,这是我的MySQL安装。
    ( R3 n3 E+ I  u- x+ j
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ; L& D9 \( s. |5 I' ?6 D) \, Y
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL % X& C4 N' m) L- E( H! m% g* _/ q
  13. 数据库。
    2 u6 m5 v* u) J# A# d# Z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在& p" R6 Y  b) r3 w7 g2 S1 u
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    1 C# s2 `$ v2 i1 n) r
  16. 在teamspeak论坛,如果你有兴趣。
    + L$ c+ _" p" U% Y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机8 `9 L- i/ u7 j" _9 ~
  18. Borland公司使用。这个司机只能界面与客户端库
    0 a, Z  G' g5 X0 Y8 ^
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    0 ?( j( @: @% q* }7 i
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为' V2 I: \0 ?$ \* n/ f2 ?+ N" p
  21. " vendorlib " ,并解数据库连接。 $ b7 L5 M" I4 }# \
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 * i% i9 `( S8 d* _0 |( L9 ~5 [
  23. 0 ^# ]3 i3 m. k( D" a
  24. # # #做好工作# # #
    ) \+ \9 l# ~% s$ W/ [/ h0 |
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    9 d" o8 A0 T$ K$ H5 y
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    7 E# D% U. j' v4 ]# c
  27. 结束: 1 }. y& ~- P9 c( v" g
  28. ---削减这里--- ' Z/ Y& ~" P/ `5 q9 o
  29. [ dbexpress ]
    " y' k# \5 Z0 ]8 ~
  30. sqldir = mysql_sql
    # C5 }! x: D1 D
  31. drivername = MySQL中
    . q- P. g9 T. G
  32. 数据库= your_database_name_here $ ?; k" s4 R' e1 c
  33. 主机= the_pc_the_mysql - server_is_on
    2 M% f% [7 t, V' C' H/ s/ \
  34. user_name = user_name_on_the_mysql服务器$ Z/ @8 p- e9 D
  35. 密码= password_to_go_with_above_user_name 9 b* D% Z) D2 W# o
  36. getdriverfunc = getsqldrivermysql
    6 H# s4 c) K5 S2 Y: r0 U1 I
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    0 p1 T) E0 N' |6 h
  38. libraryname = path_to_libsqlmy_libary 8 p8 l6 E! _( K9 R! q6 n
  39. 积极= 1 " o, C6 L) r4 T+ Z
  40. ---削减这里--- , x8 r& B4 ~0 G. E$ ~2 Y2 C
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ) k# |* k9 @' S. r
  42. ---例如--- : F7 F$ {5 S+ J4 @4 m
  43. [ dbexpress ]
    # ^  I2 ]9 R, B" S3 ^: o2 R% Y
  44. sqldir = mysql_sql
    8 A( \3 y4 v0 m& \5 A7 A
  45. drivername = MySQL中
    - b# \9 J/ Y( d! L1 U
  46. 数据库=测试
    7 l. l( L4 D6 ?0 F3 }* _* J
  47. 主机=本地主机# ?4 S# x5 b6 f4 {: V5 s
  48. user_name = testuser & L9 S5 \& R; y( B. ^3 G
  49. 密码= my_password
      [+ W. |  {$ l5 J/ A
  50. getdriverfunc = getsqldrivermysql " R  a2 Z+ n* a* s
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    4 U# t' }2 }( Q
  52. libraryname =. / libsqlmy.so - g& i: Y/ z  k
  53. 积极= 1 , D8 A6 f" i" Y
  54. ---例如---
    # ^  Z3 O5 t5 e- W. I3 J  ]
  55. ; W$ H! v$ x/ X# S3 f" c5 W
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    * o) q# k; G1 ^4 g3 L3 a! e+ t, p
  57. ---例如--- 7 s0 {* o9 c+ E/ |/ S
  58. [ dbexpress ] 5 B. }/ W3 X0 {) U" r; n9 s; K
  59. sqldir = mysql_sql # s* C0 Z! c( y; c- U8 w8 B1 T
  60. drivername = MySQL中6 m" Q9 N+ S. w7 U4 W
  61. 数据库=测试! G  O' `$ f- Y, d
  62. 主机= 127.0.0.1
    / u  o$ N, \; v8 B# j4 x
  63. user_name = testuser , A8 G0 k/ Q6 f) z
  64. 密码= my_password 7 d+ T- r. ?! O" H% i3 I" E
  65. getdriverfunc = getsqldrivermysql
    * E* m( W* e! f6 l7 R9 e
  66. vendorlib = libmysql.dll在
    ; ^" V5 \9 X+ p) H, K5 \) c
  67. libraryname = dbexpmysql.dll 8 T! D  T# q6 U6 x' O8 {
  68. 积极= 1
    * \: {! }8 q* T1 l( q
  69. ---例如----
    3 L& t# ~7 p2 X  ?5 y
  70. -写在0 2.03.04由p wk.linuxfan7 @* b2 W( h1 L: |% y6 `% z5 n; {
复制代码
发表于 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
9 p/ u1 M- F( x9 b+ a+ r" A' s0 V+ ~8 \0 |
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-19 18:32 , Processed in 0.096092 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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