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

3277 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan   ~" x4 b" x* H' b/ D( X( t+ c2 ]
1 L. v! _0 a$ s* V7 B
  1. " X; y3 m; \7 Y2 b  c
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######, F9 j$ p- b, S- _3 Z# D

  3. # W4 p$ ]1 s$ Z' R8 I
  4. ### What we need ###, ~7 S" U+ \" D8 M' d2 O# _
  5. Naturally, we will need a MySQL server to store the data for us, this document 7 V* \. O2 @4 M/ E
  6. will not explain how this can be done - there are documents out there for the
    : ]% P+ {/ n1 L7 e
  7. interested. The requirements include a (empty) database for TeamSpeak to use
      _  Q0 e3 K6 c9 N
  8. and a user account (username + password) that has the permissions to do stuff( r% V, l% U) a- [$ G4 C  ~
  9. with the database. Additionally, you will need a vendor library installed on the
    & ?( y& }, `" a6 G& v' D; q/ j1 d7 F: t0 D
  10. local machine, this came with my MySQL install.0 [: u2 t# f3 q: Q
  11. These instructions will not tell you how you might transfer your data from the
    - v( q5 ]1 G8 r0 D( f& ]& J; @
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL6 L. t! M; W, {- o9 V8 e( H& O3 Z
  13. database.7 j  W3 B- B2 S
  14. Some users have reported ways to import a SQLite database into MySQL, but at# W" ^' E7 Y) I
  15. the time of writing, there are still too many issues - check the current status
    $ Y2 k) E: [$ h
  16. in the TeamSpeak forums if you are interested.  l5 z! ~/ C  h& B" K! i+ _" ]
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from7 ^2 J6 B: s  D# S3 r+ w# F3 {
  18. Borland was used. This driver can only interface with the client library that
    & u8 ]2 K  g7 d0 B+ D; F2 w: B
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ; C' x( r. v1 t) l) n! H
  20. client library - basically all you have to do is to use a 3.x client library as
    9 V* N( K5 b& J4 Q
  21. "VendorLib" and a 4.x database to connect to.
    ) m3 _9 w  a; x) u; k0 f+ a+ m
  22. If you need more info about dbExpress, you can contact Borland.! P! v% A9 v3 R  I- Y. ?4 l
  23. + Z' E, N* T- f( W9 |! E
  24. ### Doing the work ###
    & X4 R" U) o' a% n. h* S
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all, }( c& @2 o: O$ `$ l# R2 _
  26. the perquisites right, just open your server.ini file, and add this section at7 G/ K  |/ Z" X+ l1 b" `( M9 ?! ~- b* \
  27. the end:
    6 u6 J; f  I# F& j' I0 q
  28. ---cut here---, ?* L; m7 _0 l- @$ R
  29. [DBEXPRESS]
    + l* H+ e" W9 }% T( V0 h% h
  30. sqldir=mysql_sql
    : [/ s8 Y9 C4 E+ M8 N4 @, Z% P/ ?
  31. Drivername=mysql
    : p7 j9 Z, q4 {: p
  32. Database=Your_Database_Name_Here
    # V- L. t% i2 ]
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ! q( l: M4 T8 X" f
  34. User_name=User_name_on_the_MySQL-Server
    $ B$ ?7 @7 K2 P/ \( `; [' c# t7 H
  35. Password=Password_to_go_with_above_user_name9 K9 X; B/ Y8 Z7 y
  36. GetDriverFunc=getSQLDriverMYSQL
    & R8 k9 |$ z( P1 ]. U
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib7 J! i! u/ S4 p% t8 t7 T- E
  38. LibraryName=path_to_libsqlmy_libary
    & ?" \$ I% k) v  A
  39. Active=1% H4 r0 U4 b1 g8 ?
  40. ---cut here---
    : P: o8 U! T) A6 x! _- Y
  41. In my environment (a linux box with a MySQL server running locally) I have:
    1 [: ~  K& ]: O. T! v4 `8 z1 c
  42. ---example---
    + P) k; e5 P8 x+ F+ g6 I
  43. [DBEXPRESS]2 Z5 Y! b  _7 m/ {) ?: S8 }! Y; v
  44. sqldir=mysql_sql) j3 f) Y+ `" H3 H* I" v. T; t6 t6 }
  45. Drivername=mysql: D' V6 C6 @  z1 e6 u0 t- `
  46. Database=test
    7 B/ N3 U# a9 Q  R7 p6 o+ Q/ Z
  47. Hostname=localhost
    0 n: `* J& L4 c; j# L" h
  48. User_name=testuser
    9 j4 R1 t6 y  G7 g+ D; D7 {& A9 r
  49. Password=my_password
    3 v: x5 K6 J5 n8 ]1 t
  50. GetDriverFunc=getSQLDriverMYSQL
    ! P6 e! ^2 Y/ n; J% E$ I. ]4 K# A
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
      `, W% d  [8 _- ^+ L( L2 k
  52. LibraryName=./libsqlmy.so. A% X# o5 H5 }3 N. Q
  53. Active=1
    , F2 E) p# w  r8 i  w9 s
  54. ---example---) p' S& T4 s* F+ m* _; Q3 E
  55. " X  l0 q% ~8 x- x
  56. On a windows box, also running the MySQL server locally, it would be:' N1 @9 ^" U2 t* _- n
  57. ---example---) m. i( l% x/ B$ i4 V3 r
  58. [DBEXPRESS]0 [9 K  m( Q" y/ F
  59. sqldir=mysql_sql
    ) ]( \+ v" g- w  l+ @' Q
  60. Drivername=mysql
    # f! G! L- `# G/ W0 k+ k7 @0 G$ c. @; _: d
  61. Database=test6 b$ P1 |# o2 d- ]
  62. Hostname=127.0.0.1
    2 K8 s5 I8 T4 O( p7 e
  63. User_name=testuser
    + w/ a% X; w3 P" G. D
  64. Password=my_password9 A% e: x- n" ?8 i- {  ^( B
  65. GetDriverFunc=getSQLDriverMYSQL
    $ O7 j1 X" c  K& Q9 Z! h/ G) M
  66. VendorLib=libmysql.dll  N1 i! }! S! ~' P
  67. LibraryName=dbexpmysql.dll
    0 e# a$ @$ f9 d) l1 A' o9 F
  68. Active=1& v# I1 o+ P: F" b3 q- E
  69. ---example----; E* R' N: c# V1 Y5 G, M, q0 O
  70. - written 02.03.04 by pwk.linuxfan
    9 {# I" {; b+ t. Y9 j! W
  71. ) O' r7 x  y8 V" u5 @
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看) z: s- h2 I4 m) M: \2 P" E. p. n

  1. . t: G( p. v% }+ p1 d: g6 E
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    9 P9 p; P2 D# V0 r

  3. % T' A  Z& x+ A5 U/ Z% R
  4. # # #我们所需要# # # 0 I: S. M0 @  Y! N7 y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件% d7 ^5 _& R% c* d: I. t7 _
  6. 不会解释如何做到这一点-也有文件存在,为) N; |* m! o/ @" ?, U( I1 Z8 c
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用. f2 T6 I8 Z7 [
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西* K5 r+ R- p& }; d. \% d
  9. 随着数据库。此外,你需要一个卖方图书馆安装于, ?+ J& `2 J; e$ j) G# Z
  10. 本地机器,这是我的MySQL安装。
    1 e: H" ^- G2 X
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    5 L+ k2 h6 V1 e; b5 \
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL # p5 S, u2 K, t9 G
  13. 数据库。 + `' Q6 u5 u& x6 G
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在6 I; X- R2 V# N+ d/ l
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    , S! W+ y& ?% Z; X
  16. 在teamspeak论坛,如果你有兴趣。 + v% J! z3 Z' K7 R, ~
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    6 X1 f/ n$ G: v5 [
  18. Borland公司使用。这个司机只能界面与客户端库
    - Q, _4 M; d  Z6 a0 p
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    + G4 E& b' W! A9 _
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为) t6 G$ P# {! e' y/ @
  21. " vendorlib " ,并解数据库连接。 . X* M- T1 \/ d3 f9 f
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ( r8 b+ m) {3 f& {' R

  23. ! b8 X) W9 i7 Y: ?
  24. # # #做好工作# # #
    3 G2 J; t4 X  m0 s" a% q& O
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都" q/ [$ E$ I  B+ \0 f; E  N
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    8 b$ F! ?8 c( e3 A: I8 E
  27. 结束: * H: w9 p) ?) b. ~& C5 F
  28. ---削减这里--- . F2 q# W$ E7 p3 {% v
  29. [ dbexpress ] " V2 u0 d9 n! ^& f
  30. sqldir = mysql_sql
    & E# U; B5 _- A* S1 ?2 U. }) T/ `
  31. drivername = MySQL中8 f9 g# k0 n6 W
  32. 数据库= your_database_name_here ' j0 h' B$ }0 Z, `) U
  33. 主机= the_pc_the_mysql - server_is_on $ E0 }) T4 f- F
  34. user_name = user_name_on_the_mysql服务器. s- ]) ?1 a% m
  35. 密码= password_to_go_with_above_user_name
    - n+ V0 X/ j( s2 V
  36. getdriverfunc = getsqldrivermysql
    . V" B' o! B) }* J
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ) a4 R8 G0 W9 M% e9 c5 x2 p
  38. libraryname = path_to_libsqlmy_libary
    % A7 Y8 K8 U8 G- d- ]9 n% V7 F
  39. 积极= 1
    , f2 S( T, ]4 T- I. f6 C7 Z! o
  40. ---削减这里--- - U) K% ~. j& i" N
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    & W# l( m2 n$ ?' n( f! p% U
  42. ---例如--- ( k9 h9 V0 v5 [6 D6 c( T
  43. [ dbexpress ] ( w6 K! C9 ]  _) }: e5 L8 c+ R
  44. sqldir = mysql_sql
    " ^: b2 |1 ^% g+ O% w9 p$ u: f
  45. drivername = MySQL中
    7 `! Z/ C4 W# k0 x$ U3 s
  46. 数据库=测试
    5 @1 k+ W. s2 H' u) k
  47. 主机=本地主机
    & v  S& e; v2 q( i
  48. user_name = testuser # ?5 l! A- |! o9 Y1 y' F
  49. 密码= my_password
    9 Q( j* i0 t2 Y) M. j0 L. ~, |
  50. getdriverfunc = getsqldrivermysql : p7 z- N  S" f8 [& `2 j7 J
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    " B/ y1 B/ l. C- ]
  52. libraryname =. / libsqlmy.so
    : L! j. [3 U# {) V6 M
  53. 积极= 1 5 F7 w( `- J: \1 X; ?$ l; n
  54. ---例如--- 5 ?4 V9 v0 W  Q0 O
  55. 9 F( T3 h2 q' L2 W! E$ K
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    , H) [$ e0 b$ ^0 X" j$ {
  57. ---例如--- 9 m& S- r, l( {$ F) @
  58. [ dbexpress ]   d5 Z& D& P% x3 Y9 q# r1 e' m
  59. sqldir = mysql_sql
    ) H, T! w: F8 w4 Z
  60. drivername = MySQL中* V3 X$ E% X/ C' X8 ?
  61. 数据库=测试
    3 ]- A: w5 S- a5 @+ g
  62. 主机= 127.0.0.1 8 `7 R! R" `, a- ?  p
  63. user_name = testuser ; r0 C9 _) r, v
  64. 密码= my_password 3 q) e2 S; M+ K3 O$ ~! E& @
  65. getdriverfunc = getsqldrivermysql
    5 G0 z3 H# o/ ^9 f0 m$ O
  66. vendorlib = libmysql.dll在
    8 A4 V- \3 B7 M! D4 b
  67. libraryname = dbexpmysql.dll
    . @; `, i* |) x
  68. 积极= 1 , w" w; N1 \+ h  g
  69. ---例如----
    " A# u/ m# M- P% t! t) f
  70. -写在0 2.03.04由p wk.linuxfan
    ' d+ l! {' m$ v( P9 \
复制代码
发表于 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 words7 E& G# c' Y% H8 A- p$ D0 a9 \0 ]- r
+ e. _0 _( F  b& |
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-2 06:24 , Processed in 0.116272 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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