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

3526 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
* G- J& N1 F# m7 ^1 ~" j, g
/ w* f; g  O6 D6 _! r+ X  N6 `7 a0 x

  1. # G( U  B5 l- S+ {7 ~* H# g. o
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    3 H6 ?% ^' s  \, P8 ^

  3. . [: X& u' S8 n& m
  4. ### What we need ###2 p$ q+ e7 U1 p, Y# `0 N0 {
  5. Naturally, we will need a MySQL server to store the data for us, this document 2 \, k  T( F/ L
  6. will not explain how this can be done - there are documents out there for the
    ! Z) E8 W7 L2 J3 Y; h
  7. interested. The requirements include a (empty) database for TeamSpeak to use  e3 p. a6 I. T" V; ?
  8. and a user account (username + password) that has the permissions to do stuff; a- O8 H( J9 n0 ~3 C, h
  9. with the database. Additionally, you will need a vendor library installed on the
    5 ~9 u& F% B( F4 o. i% I. A
  10. local machine, this came with my MySQL install.
    ) [  H5 j9 M& k1 y; L
  11. These instructions will not tell you how you might transfer your data from the/ u( Q& F0 z/ w' w
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    # c8 y" F4 q, x; v% X1 d7 r3 P
  13. database.
    1 r( m" _: N0 V0 {5 g$ C
  14. Some users have reported ways to import a SQLite database into MySQL, but at. c: @* G( b6 N2 O% {  k
  15. the time of writing, there are still too many issues - check the current status1 v9 }8 ^# m$ Q6 p
  16. in the TeamSpeak forums if you are interested.' t9 Z3 [$ `. j) u- {( b
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
      u/ l# z! z: P) V& f0 i" W
  18. Borland was used. This driver can only interface with the client library that
    ' I7 z, U; Y  `4 z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    % o9 s. G; ?0 ^! ]
  20. client library - basically all you have to do is to use a 3.x client library as 6 B  p1 ~) w: n& w3 I
  21. "VendorLib" and a 4.x database to connect to.
    6 W( {3 W9 z. A& M# C
  22. If you need more info about dbExpress, you can contact Borland.0 p9 E, V" W* m$ Z$ Z- V4 c

  23. ( e' m- ^" X8 a. V( w* j4 N
  24. ### Doing the work ###
    ; `6 v1 R) P& z$ F
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all  y" X: _3 E; r: S/ p# ]& m/ G, E
  26. the perquisites right, just open your server.ini file, and add this section at
    4 u3 v- Y  L: k$ @* w1 x$ s
  27. the end:
    5 A" a3 X% a+ \2 D( ~: A
  28. ---cut here---
    % I% e# Q0 C9 _+ d& o+ K) _
  29. [DBEXPRESS]- f* |; C! D) w! S/ l
  30. sqldir=mysql_sql
    ! b7 D$ U( B. G7 ]8 a/ q1 T
  31. Drivername=mysql
    6 k6 w, z0 ~7 F, m% L
  32. Database=Your_Database_Name_Here+ Q, D6 g( h6 o4 L8 Q9 V2 X( n
  33. Hostname=The_PC_the_MySQL-Server_is_on0 Z& a& J. ?$ x' O" O2 L
  34. User_name=User_name_on_the_MySQL-Server% d+ d% C& W. B4 {$ E
  35. Password=Password_to_go_with_above_user_name" Q3 f* Z- C" S" h, d
  36. GetDriverFunc=getSQLDriverMYSQL
    + H  n* h8 V" ?. D2 ^" Z% v, W
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ; d/ z+ v* F  ^( z3 \5 W; ^
  38. LibraryName=path_to_libsqlmy_libary
    5 F: r. s! F; }' Y5 W' k+ \
  39. Active=1
    8 q7 F1 S# V! J8 t/ n
  40. ---cut here---  J# c) }( a6 d
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ( i+ B. Q- K( E' g# p
  42. ---example---4 q$ x+ ~) m' z7 h+ L
  43. [DBEXPRESS]7 Q! ?! i2 d  E( W- n+ V
  44. sqldir=mysql_sql
    3 _' l$ d. ]- C/ y4 W& E
  45. Drivername=mysql; P: G2 c* x! }5 W) M0 t- d
  46. Database=test
    5 n! [2 ~( f1 A
  47. Hostname=localhost: {& W. G8 E$ u7 T. Z% W2 x: c
  48. User_name=testuser
    % w/ Q2 O% [1 s: j
  49. Password=my_password
    & f  ]% H0 H9 W+ X1 |# b
  50. GetDriverFunc=getSQLDriverMYSQL% G: i  x3 I7 j! y0 x
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    1 A2 t7 d3 h; f: Y- l* i+ r
  52. LibraryName=./libsqlmy.so
    $ ?& L) E8 y* E. y* j; Y! E: ]
  53. Active=1
    3 \. E- ]& Y  N) {
  54. ---example---( a9 ]% W. x6 v+ B

  55. . ~) f, E3 W, v* l! y. z3 U
  56. On a windows box, also running the MySQL server locally, it would be:
    5 f0 z$ N; p* V. J
  57. ---example---
    $ {4 p# G! o+ D# C7 v5 h
  58. [DBEXPRESS]
    9 y9 ]: a! J. M5 w, V/ J2 ~
  59. sqldir=mysql_sql
    7 A3 Z$ X. k3 K7 o  [
  60. Drivername=mysql
    ; }! B9 b+ I1 P
  61. Database=test) H/ U6 p0 f& D& d2 C
  62. Hostname=127.0.0.1
    6 [/ @* u( l" d% a) a+ A' p
  63. User_name=testuser
    $ G! Q6 x, U8 t) ?* l
  64. Password=my_password. l9 u. \! M9 J1 n# k5 j
  65. GetDriverFunc=getSQLDriverMYSQL; h& j8 @& Q5 j: u7 o! R' l
  66. VendorLib=libmysql.dll
    : `+ R1 N/ b+ X( ?
  67. LibraryName=dbexpmysql.dll3 n! O3 |- ~% z) j) x7 Q
  68. Active=1
    - N; ]% s. f2 [+ q! S) N! i
  69. ---example----
    & S5 C& x+ G5 ^  C1 }" m
  70. - written 02.03.04 by pwk.linuxfan
    * \/ ]$ G+ q9 l
  71. 5 E5 w, S/ A% @" C
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
1 C" R3 {8 M1 |2 d) S

  1. ! q+ x9 z' S+ I* D# O4 v1 M
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ) x: @; {# _0 K. C

  3. - z) Z6 K' Z1 j
  4. # # #我们所需要# # #
    + S% ^9 T, c3 C" K' |! a" I* o1 G
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件  M. N/ k3 L2 a: y9 _
  6. 不会解释如何做到这一点-也有文件存在,为
    9 y6 {, U. \: o. L9 c2 F, C4 m
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用1 Y  E1 {  H) \% j/ ], N; b
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    1 ]5 N. q  ]! i* q: ~3 L! k3 |
  9. 随着数据库。此外,你需要一个卖方图书馆安装于4 d, G% ~1 z  X3 W/ F9 h2 v: M+ p, O
  10. 本地机器,这是我的MySQL安装。
    * W; z# L6 `& r3 N) Z
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    # {! ?- N% K8 _+ e! P
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    # @9 J: J4 X/ Z
  13. 数据库。
    & x2 F* W. u5 ~* A: }% m( u
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    , Y5 T, v& T, T3 Z
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    1 T0 d  z+ n4 K' x
  16. 在teamspeak论坛,如果你有兴趣。
    # F3 t8 y. W' Y! \) B  {
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    & P. [9 l2 N4 ^2 G, i7 z
  18. Borland公司使用。这个司机只能界面与客户端库3 c, S0 Z, M8 D
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ! C9 O4 |( s+ ]' ~- p8 q$ C
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为& v! E, R$ p% }: k% ?+ S
  21. " vendorlib " ,并解数据库连接。 ' [7 G5 I* u0 Q3 e2 s9 O
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    8 L& }0 e# J7 `

  23. ( B9 Q  V4 t, W& T+ K
  24. # # #做好工作# # #
    & s* T! L9 w  H; C+ o2 F
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都, |7 g0 U9 M9 Y3 z  N6 b
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在9 g. n+ e! s' W. v8 |! w+ S9 w
  27. 结束:
    9 Y# h, _0 W/ Y/ z0 w. o
  28. ---削减这里---
    8 n3 ?2 E! E% j! j* [- C
  29. [ dbexpress ] " d: v$ E3 s5 ^) e. s
  30. sqldir = mysql_sql
    $ x( F3 M  }* a  n1 W
  31. drivername = MySQL中
    " N' r& R/ h" ^, c! a, P, x. U
  32. 数据库= your_database_name_here
    . i/ M9 Q  C" x2 l  Q+ @5 c2 x7 O
  33. 主机= the_pc_the_mysql - server_is_on ! d+ U) \# L& z! s- f
  34. user_name = user_name_on_the_mysql服务器
    " Y0 J9 `2 G" |. a, N
  35. 密码= password_to_go_with_above_user_name
    $ G+ V: t! Q: P( j# s7 d
  36. getdriverfunc = getsqldrivermysql 7 m$ H, m" q$ r3 y3 S  S- s
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    $ {: R; p  u" D4 g% O
  38. libraryname = path_to_libsqlmy_libary
      M# q8 p) Z2 _; M5 H5 z7 z
  39. 积极= 1 / G8 G3 Z, ?% t; I
  40. ---削减这里---
    : m. P5 M6 C5 P' t/ _
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    : D7 f& S7 F% X; m' ?
  42. ---例如--- 9 q0 v# G2 p- F" N( z+ i
  43. [ dbexpress ] * V8 i+ p0 c, ?$ _: H" i5 _9 G
  44. sqldir = mysql_sql
    2 t% u9 d6 P4 c' }. e
  45. drivername = MySQL中
    2 j8 ?# C1 J  V  k- v* p
  46. 数据库=测试
    $ d- H7 @- ?& \' r
  47. 主机=本地主机
    0 C& L" }4 k9 c4 N' i" H6 c% `
  48. user_name = testuser % v: N& P5 M, @) `  `
  49. 密码= my_password
    $ I$ `# }9 \4 V- t, S/ V' j
  50. getdriverfunc = getsqldrivermysql
    ' N5 ~- E6 n) V& @
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
      R6 i% a0 W: m+ @% x6 X4 b
  52. libraryname =. / libsqlmy.so
    ! r2 a& }4 E4 Z! b+ |. A: ]
  53. 积极= 1 0 z. z' p/ r4 |$ c
  54. ---例如--- 1 O; J4 B4 e  Y4 m( Q

  55. $ k  `+ K( y3 {+ z
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ) k% w! z/ g' Y$ a! _% V8 u
  57. ---例如---
    & Z' D' R: x9 O3 Z. Q
  58. [ dbexpress ]
    2 c+ @% l  D6 }8 @) ]
  59. sqldir = mysql_sql 5 F  I& A% E0 B
  60. drivername = MySQL中
    , T! e. l; G1 A3 n" C
  61. 数据库=测试; M! r# a' u/ R2 @9 v/ Q9 `
  62. 主机= 127.0.0.1 % z1 [+ x- [  Y1 s
  63. user_name = testuser
    ) L- O8 a) u6 ]1 K
  64. 密码= my_password
    : W8 Z4 _! E% N7 k$ J' `% X* Z
  65. getdriverfunc = getsqldrivermysql , A& g$ K& h7 S' P' w% P$ t. x
  66. vendorlib = libmysql.dll在! p& Q' h' U" Z9 O6 r0 |
  67. libraryname = dbexpmysql.dll % Z4 a( n+ H, Y% n
  68. 积极= 1
    ' W: U) ?, k: n4 b# V, E+ n
  69. ---例如----
    9 p1 @* a; ^1 _4 n
  70. -写在0 2.03.04由p wk.linuxfan
    & V, w1 F9 y( [* k
复制代码
发表于 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 words3 ~* h2 A  j. O5 p
# M; n2 z- L0 J
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-17 00:06 , Processed in 0.063274 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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