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

3081 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
1 j; f7 u1 F! [! n; @% z$ N& c, H% D+ k2 Y2 L- t' Q! _
  1. - `5 `7 G2 H1 G" c  H5 t/ Q: J
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######1 k! D, a6 s, l+ k' ]

  3. 1 e: z& u+ M* e, c3 ^
  4. ### What we need ###4 b. g6 ^9 c% I6 P7 g
  5. Naturally, we will need a MySQL server to store the data for us, this document . m( o7 E4 S3 {# U3 a0 F  I5 w
  6. will not explain how this can be done - there are documents out there for the & ^- ~$ x, u3 K& O( D2 ^" v
  7. interested. The requirements include a (empty) database for TeamSpeak to use7 N! N. Z; b6 v
  8. and a user account (username + password) that has the permissions to do stuff
    7 `( C3 y/ W; x
  9. with the database. Additionally, you will need a vendor library installed on the% Y6 B/ V" y6 q$ K$ s
  10. local machine, this came with my MySQL install.
    . `% a1 G9 j3 T( Y
  11. These instructions will not tell you how you might transfer your data from the1 k7 R, ~4 F9 b" f
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    : m0 z- b6 `5 x4 }( u
  13. database.! Q2 l- v( h2 i* s9 O; A
  14. Some users have reported ways to import a SQLite database into MySQL, but at0 A' l8 `, Q; Z. f8 w& I: C8 n& n
  15. the time of writing, there are still too many issues - check the current status1 d; M: x4 b& B/ i
  16. in the TeamSpeak forums if you are interested.2 E8 [* }! c- @8 R  e+ v% u/ x
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from; o/ b# @$ T; V; v+ o
  18. Borland was used. This driver can only interface with the client library that ) D7 \' Z+ ]" V9 _
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this0 L# g2 D" \6 R2 ]# U# A
  20. client library - basically all you have to do is to use a 3.x client library as ' X* C" l3 J. t! P& S; M& ]; k
  21. "VendorLib" and a 4.x database to connect to.! Y3 ~8 V! o1 t
  22. If you need more info about dbExpress, you can contact Borland.$ C$ J$ X5 h) t  r* O; P& z

  23. : `# i4 x+ H3 T
  24. ### Doing the work #### X9 M' ]- O% _) v4 {
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all2 R' |! _3 u- U# y4 K
  26. the perquisites right, just open your server.ini file, and add this section at
    * F# S9 v4 J. ^! R
  27. the end:8 G; F; \5 T; ^) \
  28. ---cut here---1 G; S% r9 _; o5 w1 G% I. y8 Z
  29. [DBEXPRESS]
    4 a8 |8 t/ Z2 A- I
  30. sqldir=mysql_sql
    % l. U& U3 o0 E; t
  31. Drivername=mysql7 {1 q/ z5 V- q8 D
  32. Database=Your_Database_Name_Here
    " m9 `3 H4 j3 l# B
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ' y6 V% v9 B3 m( U
  34. User_name=User_name_on_the_MySQL-Server
    1 F5 M2 j! l# y9 M9 h$ ^
  35. Password=Password_to_go_with_above_user_name: h1 `% Y  B* B- [1 E* N! z; }
  36. GetDriverFunc=getSQLDriverMYSQL! ?  |2 L* D$ V' V0 K
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    0 _0 `! O8 l5 L8 S
  38. LibraryName=path_to_libsqlmy_libary# r$ a* z' _$ A% }
  39. Active=1
    4 i* s7 ~- m/ z
  40. ---cut here---
    8 C, t& X* W6 l- R) Q1 c5 p5 E
  41. In my environment (a linux box with a MySQL server running locally) I have:' F3 I8 g! ]7 V: ^5 q7 c
  42. ---example---
    9 X  J9 g2 _( @1 D( H
  43. [DBEXPRESS]
    1 o& w; A7 v: U, s* x$ m9 T
  44. sqldir=mysql_sql2 ~0 Y/ [: s1 I1 N) H3 j* {
  45. Drivername=mysql
    % a. m! h' Z! S8 W3 k
  46. Database=test
    ) C& i- J+ |) L/ E* V# k
  47. Hostname=localhost& [" M1 N: L( G$ W
  48. User_name=testuser) u8 i  ~4 v8 @; h4 `8 `
  49. Password=my_password% [% r; Z3 X, H% M
  50. GetDriverFunc=getSQLDriverMYSQL2 b  f) T! a* ]# m  W6 k; H
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    . Z6 O4 t! F) M4 B
  52. LibraryName=./libsqlmy.so
    " f" {0 _- s+ \: ^9 Q- b
  53. Active=1
    - b4 w6 ^1 i/ P/ \5 E8 j
  54. ---example---  r1 D3 j5 J  J, A& u# N- O

  55. + [! ]3 w- t3 G8 ]4 t3 I
  56. On a windows box, also running the MySQL server locally, it would be:; h/ c( ^3 X# G$ e6 |
  57. ---example---, l; t8 t$ s  R8 i9 m
  58. [DBEXPRESS]7 \$ F0 C: H1 C, S
  59. sqldir=mysql_sql* Y+ g/ n, z: x. x: j
  60. Drivername=mysql) @7 r' `  s/ [
  61. Database=test! p1 o: C& i  d, P
  62. Hostname=127.0.0.11 k; m, [# ~7 F
  63. User_name=testuser" W- p: a/ {( d4 p2 E
  64. Password=my_password7 v0 y; Z9 k/ J" w- ?5 V- v* x
  65. GetDriverFunc=getSQLDriverMYSQL  ^# J9 A6 E( L0 y- A
  66. VendorLib=libmysql.dll
    0 j- f4 \6 q$ j( d3 u
  67. LibraryName=dbexpmysql.dll
    " _7 B7 v/ o5 \4 x. V/ j6 c
  68. Active=1
    * q0 ]0 ^0 f' x2 e. W
  69. ---example----2 o, H- s# W. H. S: j
  70. - written 02.03.04 by pwk.linuxfan/ t4 p1 }: B' \6 F  z0 [) s

  71. 2 _( l8 ~, c  u5 b* ], H
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
+ u' F) Q% |  v" t& L: @) C4 g
  1. 6 [( F# }% Z5 }% \' d
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### + Q0 L" `7 p+ }# ?
  3. ( ~1 p1 ]6 K6 l+ F* w6 ~2 s9 J  v
  4. # # #我们所需要# # # / L, v* @5 a( q1 V% ^. A4 \
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    # ^9 c; |! e. z6 ]7 k, c9 o4 e' E
  6. 不会解释如何做到这一点-也有文件存在,为+ `, F2 l' r* i
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    1 {/ \# U8 ~4 h' q
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    8 P* \7 F" Y+ I
  9. 随着数据库。此外,你需要一个卖方图书馆安装于% m! |8 N2 Y0 m
  10. 本地机器,这是我的MySQL安装。 2 h" d; P# }. Y% l- n" k. B
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    3 V: F1 d2 p- l5 H* R
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL % A" k& S: O7 X& x2 Z
  13. 数据库。
    / x' c. I, O7 z9 ^6 `' F) R0 Q
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在$ `: N4 }5 G$ G- m2 r# n; }
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ) |* D+ c; {0 ]: @6 T
  16. 在teamspeak论坛,如果你有兴趣。 " m& h8 l# q  s3 \3 l
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机. y5 e; E1 _( }0 `
  18. Borland公司使用。这个司机只能界面与客户端库( {. M1 _, V" K
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    " }# T# t0 {, U0 r( r! S' N
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为% b1 y7 W( `! r. R( @# t& F
  21. " vendorlib " ,并解数据库连接。
    ( K% {" S; D  I$ {' [
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
      M7 K: W  `6 w; p  n" T
  23. ' z3 b$ q' H' ~# E6 y: D; H
  24. # # #做好工作# # #
    * K( ]5 D% g  J+ K# Q  _0 \9 ^
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    : @6 R* t# K" k9 P
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在7 O4 b$ v/ s  _; G; p/ f
  27. 结束:
    - \0 `, M0 B' g5 C: ^
  28. ---削减这里---
    + E& ~' W( I6 j0 Q! ~( I8 a* D
  29. [ dbexpress ]
    % C* m. J1 t+ o9 o# B
  30. sqldir = mysql_sql 4 }) R! ~- Q- S7 ?8 [
  31. drivername = MySQL中
    0 q/ P2 \6 i$ t: Q# m& o% C
  32. 数据库= your_database_name_here
    1 }% [2 H0 \/ b* Q$ a+ h3 o* a
  33. 主机= the_pc_the_mysql - server_is_on + R9 O: z+ K' N; C4 j  P: f
  34. user_name = user_name_on_the_mysql服务器% _  [9 O9 V+ c' I7 B" b
  35. 密码= password_to_go_with_above_user_name
    : t' I" Q+ O; P% D
  36. getdriverfunc = getsqldrivermysql
    " P9 O3 h  v. q2 p8 J" s
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 7 {2 O7 d, G2 V
  38. libraryname = path_to_libsqlmy_libary
    ; R6 Z8 H% r9 X( G" R- n, |8 N/ v
  39. 积极= 1
    7 w) ]1 H) [4 G$ _
  40. ---削减这里---
    4 Q% V6 d( w& [
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: " f: L! [; z/ U7 n4 `" E
  42. ---例如---
    * d2 T! v8 q# V8 H5 A7 z
  43. [ dbexpress ]
    ; I: q) v! I' M- L
  44. sqldir = mysql_sql
    , D. R0 H6 x- L* P/ e9 I
  45. drivername = MySQL中
    2 r% q: X* l9 [/ Y. C2 ]; n4 A2 y
  46. 数据库=测试
    4 w. ~: |1 \* o" [0 K  _4 z
  47. 主机=本地主机
    + S$ P' D0 Y. O/ \6 ?+ s
  48. user_name = testuser
    ' b: C0 v4 f" ]& w. ^9 D( R* M7 a: W
  49. 密码= my_password ) K' ~! e$ f9 W1 p2 ^. ^
  50. getdriverfunc = getsqldrivermysql 0 ^. N! _) e( y6 _+ u
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0   ~8 E: f% B/ Q0 D7 f& y
  52. libraryname =. / libsqlmy.so
    3 s$ Q6 W, G, T8 D" U
  53. 积极= 1 4 h1 _2 ]7 u0 F
  54. ---例如---
    9 F4 S  R0 B0 ]! k- m% y2 q. u
  55.   \8 k6 x! Y2 f+ \8 F3 W
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ' u1 f& y& h7 b; Z& N
  57. ---例如--- ( L8 W; b* g; ]3 M: b
  58. [ dbexpress ]
    " l5 Q# e! D! n% N( y2 p+ I
  59. sqldir = mysql_sql 9 V( U6 q6 h* Y; Q
  60. drivername = MySQL中
    / B! ?/ @& U5 F+ J1 i5 L( {
  61. 数据库=测试
    , {: s' T  ^0 U  }
  62. 主机= 127.0.0.1 ; s, e# j; Z% {9 s
  63. user_name = testuser ; R# @& A, L: `( S! {- J0 ^2 x
  64. 密码= my_password & w6 F- E+ m( K6 y/ {
  65. getdriverfunc = getsqldrivermysql : K5 T; G3 k0 c. y) y4 ]
  66. vendorlib = libmysql.dll在1 o% ?, R6 T$ ~  x) `
  67. libraryname = dbexpmysql.dll - w. d2 _3 v, x) R
  68. 积极= 1
    2 J5 `4 C* a' j1 @# Y8 T
  69. ---例如----
    ; w* ^$ h. r, Y" y& u! ?* ]& F
  70. -写在0 2.03.04由p wk.linuxfan
    2 `( M& t' R& a# Q! ?" W3 U
复制代码
发表于 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 i! ^5 p% i' F6 Z  U9 i
; g# j8 {8 @- R! n$ [3 \) qbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-28 01:40 , Processed in 0.088027 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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