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

2149 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ; n0 S. G. B% n, X& S' B7 Q6 s
" Z6 w& u- H6 }# b& X8 O0 ]

  1. ; j9 \$ ]) k1 n: O0 N$ t0 }
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######& q# K& a6 R+ u. E7 d# ?/ o

  3. ) u5 o8 H3 R6 w8 P7 {( o
  4. ### What we need ###! U0 `. y, n+ Y3 L2 J
  5. Naturally, we will need a MySQL server to store the data for us, this document : u& n+ _* J, S" \( \$ ?# m: M
  6. will not explain how this can be done - there are documents out there for the
    , o/ E+ b- O1 _9 I
  7. interested. The requirements include a (empty) database for TeamSpeak to use, U% A6 d0 X: ~0 l+ s/ @8 T( G
  8. and a user account (username + password) that has the permissions to do stuff+ K4 I! D' _. t+ ]  K+ _/ @: n
  9. with the database. Additionally, you will need a vendor library installed on the4 z- w- [% c3 N; \' j
  10. local machine, this came with my MySQL install.) b. i5 O! r* r8 h, `) _
  11. These instructions will not tell you how you might transfer your data from the: e7 Q9 f4 x* b
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    " R/ P( R' Z0 h+ M, W( z, L2 g" c6 N
  13. database.
    ( Q& N7 B2 ?+ a; W
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    / r+ r8 C$ D+ {4 l: m2 V
  15. the time of writing, there are still too many issues - check the current status
    # S; d8 w* x/ _" a
  16. in the TeamSpeak forums if you are interested.
    0 f5 h6 T' ~+ X! \) L0 i+ @
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    7 W7 _# c! Q9 |8 J! z( m
  18. Borland was used. This driver can only interface with the client library that 2 b) _% C# u7 z" c% D9 w9 t
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this1 i& U9 Q  a1 e* V4 {8 }
  20. client library - basically all you have to do is to use a 3.x client library as
    * s4 Z' ^( `5 f  E) b; V, f" l# c
  21. "VendorLib" and a 4.x database to connect to.
    . G2 D/ I1 p/ P0 Z" U
  22. If you need more info about dbExpress, you can contact Borland.3 R8 A1 m) x4 X# s4 i; s

  23. 4 ^' T: C+ M5 P- R7 f' |( t; }+ S
  24. ### Doing the work ###+ k$ |: O: P3 L/ u( a
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all, C1 F4 |# |3 }7 L( k
  26. the perquisites right, just open your server.ini file, and add this section at8 E! t8 y8 X) ?, u6 u
  27. the end:
    7 U* b9 T, L2 k' j& b$ T
  28. ---cut here---6 Y! r7 r' h, U3 J; a) S. F
  29. [DBEXPRESS]7 |. l. `& h" Q, ?9 O- S9 I. M  U8 I
  30. sqldir=mysql_sql- `, @  J3 p' I9 v' G
  31. Drivername=mysql
    / c9 U) W4 n: t0 q+ `) W: y1 Y
  32. Database=Your_Database_Name_Here
    + a( Z! @* l- ~+ I/ ?4 I
  33. Hostname=The_PC_the_MySQL-Server_is_on3 x" q6 Q: ^) |6 S. d' L
  34. User_name=User_name_on_the_MySQL-Server" T! t3 m: l# i6 j) k) w, k& l% g
  35. Password=Password_to_go_with_above_user_name
    5 S3 c8 V$ Y8 Z! K8 F8 B4 v- `
  36. GetDriverFunc=getSQLDriverMYSQL8 h# d7 G; ~& }" U
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib$ Q  w* V) C1 T$ o, A
  38. LibraryName=path_to_libsqlmy_libary
    6 C0 c+ Q3 n* R9 H+ {3 c* l+ R8 }$ Z
  39. Active=11 }4 \! M( H% b
  40. ---cut here---8 {  p1 ^- }* l! y8 T" P& r
  41. In my environment (a linux box with a MySQL server running locally) I have:
    5 K, M' ^9 Q# u* W$ E
  42. ---example---- W4 A3 e" U6 L
  43. [DBEXPRESS]
      L+ M. I( b2 A3 X+ }6 T0 Z
  44. sqldir=mysql_sql; S( _" O4 Z9 {( B- h: D
  45. Drivername=mysql
    , ]/ W; X; R* C9 P) }+ K
  46. Database=test4 D5 F8 i9 s; H1 i0 Q) m  M
  47. Hostname=localhost
    8 K4 C1 @, M. z5 ^0 B! N5 B) I
  48. User_name=testuser* S0 `. [" D3 w  G, C; V3 M/ R
  49. Password=my_password
    ( H: J3 `, f9 y9 @! _
  50. GetDriverFunc=getSQLDriverMYSQL% Z1 I, r% z7 M0 E5 c
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    - K3 ^2 q% x- e; D, e
  52. LibraryName=./libsqlmy.so$ W+ W1 y3 O! [$ y! Q
  53. Active=1
    " k* A, m8 ~3 P. B! Z! B2 J* V1 n
  54. ---example---
    7 F$ o5 X6 p; p+ m, }

  55. , }0 D! g) g9 w  r1 y. ?
  56. On a windows box, also running the MySQL server locally, it would be:  y( P+ y2 G* k% F: R4 m
  57. ---example---& z+ X5 h& y1 A* K4 i! O
  58. [DBEXPRESS]/ [. [5 Q! `; v$ h% n. \
  59. sqldir=mysql_sql
      u% l" [$ n1 ~/ o* ?
  60. Drivername=mysql5 K6 }3 d, b+ M  J0 j5 @3 [. B$ ^
  61. Database=test
    , h1 M  }  Z5 Z! a- v+ h& N
  62. Hostname=127.0.0.1( J) |' E- b5 C1 U
  63. User_name=testuser
    ; W) F& }; x- {: A( _" M4 H
  64. Password=my_password) N' W. w+ G- c  B5 H
  65. GetDriverFunc=getSQLDriverMYSQL+ A5 p: }7 }' A! L: d+ B% }
  66. VendorLib=libmysql.dll- q" a8 N4 f) Q9 c! Z
  67. LibraryName=dbexpmysql.dll3 Y% u$ ^2 n6 M' U
  68. Active=10 z5 z3 g& Z; W$ N' i
  69. ---example----, [( b; ]$ p! n
  70. - written 02.03.04 by pwk.linuxfan
    1 o; A# Y! B1 `" ^4 a

  71. . g: T/ ^4 F! m, I* ?& B; o. ^
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
1 J  [. q6 b. \7 B- l
  1. " E) @$ q( y3 o) w6 L* ]# k
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ( |" p" X+ n2 i5 `; R3 k

  3. * X4 o5 K0 v& q# B
  4. # # #我们所需要# # # ' Z: k) W, z1 m& r! K
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件$ {& p1 c5 _0 X3 M6 B( f" r
  6. 不会解释如何做到这一点-也有文件存在,为; U: H  A0 f0 Q4 ~6 t  z8 `
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    0 R* H' O5 c+ a$ L& F1 d
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    & F! H' v5 Q+ Y
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    5 R8 b7 ?2 o8 E4 ?" Q8 g
  10. 本地机器,这是我的MySQL安装。
    ; l3 g5 I2 G. q1 n' x+ {
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    $ l7 n! Z* t( h3 S; N* Z; w9 R
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL . Z4 J' i9 d# r$ R! u
  13. 数据库。 & g1 K$ e7 S% d* M! Z  |! a
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    8 r/ ~$ _3 W# ], b( |
  15. 编写本报告的时候,仍然有太多的问题-检查现状# ]) [6 M! n6 J- k$ M+ ]/ V1 Z
  16. 在teamspeak论坛,如果你有兴趣。
    , X  j) j1 s7 f: Q3 `; |
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ; c4 ~5 d4 z# R3 y0 |& z/ z
  18. Borland公司使用。这个司机只能界面与客户端库
    # R2 W3 W* m: i. ?6 `" ?$ h
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    4 I; X* \3 a7 ~+ V8 M, K/ J
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ) ^7 T9 h+ B+ P3 n& a3 o
  21. " vendorlib " ,并解数据库连接。 & z* i" ^# G% B
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 / f3 }6 `4 k8 D  w) m: o+ E: I

  23. + N# b/ d6 `" h8 ^
  24. # # #做好工作# # #
    1 j9 E; u: Z1 Z( v
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都, f, R1 O0 N! @% F" k
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    1 x1 C: M! G5 x. F' V" ^2 |( ?  _
  27. 结束:
    / \* J  }, Y2 |8 M+ z, K+ O6 @  u( y
  28. ---削减这里---
    6 r8 {1 ]; q; [7 R. J8 t6 U" J+ k
  29. [ dbexpress ]
    4 ]* X) A) e5 W6 L8 s4 Z7 T
  30. sqldir = mysql_sql # N5 _  j' \  [1 s" j! o0 O2 N
  31. drivername = MySQL中9 p/ c4 I. N* z( s: Q" C) M
  32. 数据库= your_database_name_here
      U- `. n* y0 D
  33. 主机= the_pc_the_mysql - server_is_on 6 J8 A+ _& E2 h! V+ B
  34. user_name = user_name_on_the_mysql服务器
    0 l* |; j: Z9 Z4 W
  35. 密码= password_to_go_with_above_user_name
    7 X; w' C0 x! Z& ]
  36. getdriverfunc = getsqldrivermysql
    5 c$ O5 P" r! J( u4 [4 E. Y0 l3 d, L
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    2 \' M5 J, d( x  X
  38. libraryname = path_to_libsqlmy_libary
    ' b$ I! S: W3 L- ]9 F8 d# y- N
  39. 积极= 1
    9 R  V, B8 F2 i, [
  40. ---削减这里---   N9 I  c* t/ b4 W! T
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 8 Q* [# C) X+ C% n4 d8 u3 f9 L
  42. ---例如--- . T8 B5 |. X$ ]" N' a9 s, N( n
  43. [ dbexpress ]
    + E' g( A, h& i, _0 G( e
  44. sqldir = mysql_sql
    ' L- I5 H2 D% ]8 c5 L, s/ E
  45. drivername = MySQL中
      n6 n2 Z% z  m/ |1 p, @1 S
  46. 数据库=测试
    . m) s6 l4 D! J' P! Y9 Y
  47. 主机=本地主机
    6 p/ v) \2 S4 v  k$ v2 b
  48. user_name = testuser 8 F& M+ D  @3 J- r' @
  49. 密码= my_password # Z, |) ^0 a* @2 B
  50. getdriverfunc = getsqldrivermysql
    " ]- O5 Z: r1 V6 g
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 8 W( ]  h3 b, f7 O" S3 c* ~6 Q! Z
  52. libraryname =. / libsqlmy.so
    - B0 ~3 `1 P, n5 \+ ~/ u- [, Z5 j# w
  53. 积极= 1 $ X5 N1 T3 U. P$ I
  54. ---例如--- ) R9 ^) t1 }# Z* q" A$ q
  55. * W3 S& m5 h9 U
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ' R. a! Z4 K0 U7 t( u
  57. ---例如--- , Z6 k; i, h  l; e. _
  58. [ dbexpress ] & t3 \! G+ ~( t+ g6 Z
  59. sqldir = mysql_sql
    . u  F( w) l! T. {' A* S: r
  60. drivername = MySQL中
    ' x) t, K% x3 K8 }: `
  61. 数据库=测试: p  ?% {' L( [- r4 i4 a
  62. 主机= 127.0.0.1 8 u( |/ ^, S- `4 n) I
  63. user_name = testuser 3 p. J5 L  `; v+ e9 S
  64. 密码= my_password
    6 e! Y' k) F7 Z! M" z+ T6 ~
  65. getdriverfunc = getsqldrivermysql
    1 R! I+ e' U& C
  66. vendorlib = libmysql.dll在8 e! z! p% T& a6 v$ y4 c) y
  67. libraryname = dbexpmysql.dll , u9 V6 e$ g# N' [& c& o* v
  68. 积极= 1
    6 K8 z; e3 n4 a
  69. ---例如----
    ' o1 [3 A# v) f/ @3 F$ F( O; t5 O
  70. -写在0 2.03.04由p wk.linuxfan4 P6 N9 L1 T0 i1 s
复制代码
发表于 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" O4 Y' N1 d5 [+ x
' G% C2 J, E% t
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2025-9-9 10:02 , Processed in 0.106682 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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