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

2584 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
& X( i9 F; _( v8 O, ]5 o7 T; `1 g

  1. # [* `. k! n/ V
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######. q# }  w1 {; X' Y; t) O

  3. % y  ^7 U2 b# K% c) X0 _7 i
  4. ### What we need ###  `7 T. X" O9 q" z* y0 V% @
  5. Naturally, we will need a MySQL server to store the data for us, this document ) J7 q' ^  N% o% P3 ?
  6. will not explain how this can be done - there are documents out there for the
    # Y3 r+ r  \8 c( `2 [5 Y
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    : I( {, u2 i% c! E! M
  8. and a user account (username + password) that has the permissions to do stuff# q4 w& A# J. m1 i6 o
  9. with the database. Additionally, you will need a vendor library installed on the
    2 h" R* _7 l8 A6 a% `
  10. local machine, this came with my MySQL install.
    6 ?# ^) X0 @/ d3 N
  11. These instructions will not tell you how you might transfer your data from the1 W: Z: v1 y3 |9 s: X
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    5 Z+ d( t  O' ~1 p3 |1 Q
  13. database./ u: e$ L- ]% a2 W) u# p4 h
  14. Some users have reported ways to import a SQLite database into MySQL, but at) z1 z8 w' |* a' @/ Y2 y
  15. the time of writing, there are still too many issues - check the current status, c- f) |3 h% v5 w- o6 ]2 r. D" W
  16. in the TeamSpeak forums if you are interested.
    9 a7 q0 m# c6 N. J% o
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from' e6 ?/ p2 b. ~/ }6 ^- L
  18. Borland was used. This driver can only interface with the client library that
    4 ?  E# t7 S; U  ]) h! i# V9 ~7 R; L
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    . H& N9 M# S5 _6 ^% I
  20. client library - basically all you have to do is to use a 3.x client library as : @1 g0 V- W* ?$ f" A  t
  21. "VendorLib" and a 4.x database to connect to.
    3 E8 Y- e3 j0 c  P. }
  22. If you need more info about dbExpress, you can contact Borland.% V! Y6 m! Q, d5 I- L
  23. ) X; g( z1 n6 c; U$ t
  24. ### Doing the work ###
    9 b/ ~) J0 i& R) b
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all) ?8 b2 T: Y  n( J0 o
  26. the perquisites right, just open your server.ini file, and add this section at
    4 k* e$ r7 b" w2 o, O, B, R
  27. the end:+ L1 R1 j( F, u0 X0 ~; `
  28. ---cut here---
    8 e" O5 I2 N& X+ O7 x
  29. [DBEXPRESS]
    & }5 z5 o6 e, z. I, X- u
  30. sqldir=mysql_sql9 b) c+ {9 Y3 J( O+ U( u4 d# M
  31. Drivername=mysql
    2 J3 v, U/ G2 o
  32. Database=Your_Database_Name_Here4 B+ o( Y% Q$ C$ v* `  D3 e0 {
  33. Hostname=The_PC_the_MySQL-Server_is_on
    7 C$ T2 I7 w$ t
  34. User_name=User_name_on_the_MySQL-Server" E- X" B' N4 X7 E: e- D$ q: k
  35. Password=Password_to_go_with_above_user_name
    6 C5 K. R7 o- i; ?# S# V. j
  36. GetDriverFunc=getSQLDriverMYSQL$ O% V- C8 q" b& |" E
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib  ~3 q+ F7 u1 c
  38. LibraryName=path_to_libsqlmy_libary6 E+ G2 K$ h- A# o9 w2 e
  39. Active=1. R2 z6 j3 S7 y2 [9 \( [8 b
  40. ---cut here---
    6 R9 ?; C/ D2 _& {, }7 m3 m! o
  41. In my environment (a linux box with a MySQL server running locally) I have:
    6 u# A! w  q# x4 X+ F
  42. ---example---
    : f( M/ i/ h( |3 j1 L4 r. G' ?/ p
  43. [DBEXPRESS]
    6 m* y# L6 ^! d. T
  44. sqldir=mysql_sql8 S& |- C9 F0 }
  45. Drivername=mysql
    1 t/ T. h1 e, ?' c) v3 S7 y# t6 W
  46. Database=test( F& ?; ^7 e* ^, h
  47. Hostname=localhost
    & _. m; A% g* z4 j6 b
  48. User_name=testuser
    ; }# g$ V8 D! u, S2 j$ T) L* @& V7 M
  49. Password=my_password
    # v) H9 j: r  I! y8 \, {# y7 V3 J
  50. GetDriverFunc=getSQLDriverMYSQL# A$ J. ~, D8 ~, h
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    - ]/ `" R/ e; {1 J
  52. LibraryName=./libsqlmy.so0 R6 `, m! k5 A
  53. Active=1. Z% l3 F. z/ w, P0 C; u( [. K
  54. ---example---% ?6 W: z& k* _; ]4 n5 S# d3 y

  55. ' z* i* g# ?& F$ x+ d
  56. On a windows box, also running the MySQL server locally, it would be:+ [! w! |& x$ k* E2 U& j
  57. ---example---
      {2 s$ }! Y3 V
  58. [DBEXPRESS]) M& Y9 k* _6 j$ u# H* Z
  59. sqldir=mysql_sql1 T5 w3 s- b  I2 ]
  60. Drivername=mysql0 C9 y- B. v0 ^  ]+ \9 a
  61. Database=test
    ' s; G$ M4 P& Y! A2 J1 c3 ?
  62. Hostname=127.0.0.1
    4 b9 L$ `% _( E. C
  63. User_name=testuser+ F% Y9 Q3 V7 S7 Q# S1 e
  64. Password=my_password8 ?6 _( l9 z' }
  65. GetDriverFunc=getSQLDriverMYSQL
    # v/ S( z, ]/ y
  66. VendorLib=libmysql.dll& L0 @2 a# K! @+ `' t) z  c1 ?
  67. LibraryName=dbexpmysql.dll4 A5 h7 G/ J2 f. g4 l4 |, ?8 w- N5 G
  68. Active=1! {% P5 R1 E" F% K. n6 l+ m* T
  69. ---example----  Q3 N* ~. z8 C
  70. - written 02.03.04 by pwk.linuxfan. R( m7 m: I$ L6 [! \
  71. " {5 m8 @+ S/ G4 S
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
6 o# \  i' O" c6 }

  1. 1 u4 q) ?" K' q' y: i4 `4 m
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    : K6 o+ w* s3 u* q. v# u

  3. 0 C  V8 ^  v- ~2 L, X: J! v3 L2 X
  4. # # #我们所需要# # # ( d. M9 Y$ J7 n* |0 L+ Z
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    $ {* U- U  \4 h5 V. B
  6. 不会解释如何做到这一点-也有文件存在,为) W/ ?. E2 c' ^4 l5 l
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用1 P- \' J2 g( `  ?+ b
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    0 W3 C. }; f, k; D9 _7 E
  9. 随着数据库。此外,你需要一个卖方图书馆安装于. m0 i3 G! L% [, M- B0 ~
  10. 本地机器,这是我的MySQL安装。
    + X) S0 |! w6 F" f+ m  y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    5 e6 w1 F! H% T7 j9 O: i: U. [
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL   N) _  ?# |- j& t1 t
  13. 数据库。 * y$ k* E/ [+ R+ O+ K
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在( m# b5 d& p8 E  B
  15. 编写本报告的时候,仍然有太多的问题-检查现状9 T, C1 \2 _/ A
  16. 在teamspeak论坛,如果你有兴趣。 , T0 H, |2 e0 ?" N6 ~
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机# W; i- n, r; B1 e( {/ c3 M8 K+ _
  18. Borland公司使用。这个司机只能界面与客户端库
    3 |( \% {4 F+ n, A" z6 ~# n
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这6 z2 I9 a, J8 F* c6 d  e8 Y' J
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ' i' h/ Y$ o: k! x4 ^- G4 v
  21. " vendorlib " ,并解数据库连接。
    : n, d0 m: e( I2 z6 z, \& T3 ~
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 3 {5 |+ K- h1 P' l1 `0 U# e( y0 Q

  23.   S2 W* A* [2 Y5 X5 m3 j
  24. # # #做好工作# # # 6 y* Z& p( i9 w# v
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    4 ]' V! Z& h+ E+ V+ m& N  A
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    6 G* D" Z5 x2 Y$ x
  27. 结束:
    8 w, L+ M/ q8 V
  28. ---削减这里--- ; ~% w, S4 E$ K+ ?* y8 K
  29. [ dbexpress ] % E1 Y4 y; l9 Y" Z0 O! P
  30. sqldir = mysql_sql
    4 _# K3 A5 j" d7 [6 S4 D, [3 L
  31. drivername = MySQL中
    & f5 W% o8 r' ], q0 C
  32. 数据库= your_database_name_here 0 @! X* ~0 v  [% d% `
  33. 主机= the_pc_the_mysql - server_is_on
    # |2 q, H& W* R# e
  34. user_name = user_name_on_the_mysql服务器
    9 ?0 N2 T+ o0 r& G; p
  35. 密码= password_to_go_with_above_user_name
    # L% G" b4 J8 L+ L
  36. getdriverfunc = getsqldrivermysql 7 n; n1 k. m/ ~
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib & f- E* j! e# g
  38. libraryname = path_to_libsqlmy_libary
    * D' M) j5 z+ |- h, t
  39. 积极= 1
    9 V5 f' i/ j  m
  40. ---削减这里---
    1 q9 x1 u2 p' G4 x6 V! k! U5 t
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    6 J) Q  K0 G" f! }5 @+ ^' P* x( G
  42. ---例如---
    1 B. k+ n; ^- z: V
  43. [ dbexpress ]
    ) h: l& w# h* g- S
  44. sqldir = mysql_sql 2 I# w) B! e. S+ K
  45. drivername = MySQL中1 p" p+ I: }, }
  46. 数据库=测试% y! ]0 `- Q8 |
  47. 主机=本地主机
    - [( T5 M$ M/ ^" e" o! `
  48. user_name = testuser
      w/ y& Y" ~1 ]& J9 l$ C$ P
  49. 密码= my_password 9 `- a" B! F$ p! l/ M" J- q
  50. getdriverfunc = getsqldrivermysql
    & M5 o7 T  D3 W4 }# H8 @# s
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ( w0 _; n+ X# C, Q2 _- P) G4 c5 h% `
  52. libraryname =. / libsqlmy.so ( f4 t* }6 O4 k
  53. 积极= 1 8 m+ y* z9 L9 U& S6 e) o; M
  54. ---例如---
    $ `. n9 y9 I- E$ O
  55. - m) z5 Q6 b( m: G  n) V
  56. 对Windows中,也运行MySQL服务器本地的,那就是: # C+ \' r6 h4 @* x( |/ V% n, A
  57. ---例如---   @$ g# [" O6 m5 s, C4 i
  58. [ dbexpress ]
    1 U& N* R( Q9 U7 i% F; V# q
  59. sqldir = mysql_sql 7 ?2 X: l+ V2 }% ^" r' \* T
  60. drivername = MySQL中7 x# p8 G/ w; P
  61. 数据库=测试
    7 q" g5 o! D9 ^: P1 U
  62. 主机= 127.0.0.1
    : j$ w; f9 F: N- o
  63. user_name = testuser # W; ], E* Y- g1 e  l% M  ]9 K
  64. 密码= my_password
    % A  v  W* s3 _' W
  65. getdriverfunc = getsqldrivermysql ' Y8 V: r+ J1 }
  66. vendorlib = libmysql.dll在
    ) y0 [0 }. J& J/ `: c# q6 I
  67. libraryname = dbexpmysql.dll 1 H( X( @; Z9 p; ~* {, R
  68. 积极= 1 , }/ j- ?" B1 S# [! U. a
  69. ---例如---- ; Y# X2 A' E4 G$ ^$ Q" t
  70. -写在0 2.03.04由p wk.linuxfan) V* ~$ i7 X' f1 F8 T9 U* M
复制代码
发表于 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
# Z# p; V; r. Y" g- L; j1 O$ n! m& g
6 K' r# V* |/ v6 J  \- S4 y* P4 h: qbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-5 17:45 , Processed in 0.099026 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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