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

2361 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
7 O; g4 e1 H% s/ c  K; G/ J9 n' |' e; X( c8 p
  1. ! R' {( ^/ c$ v+ m  d8 K1 M
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    1 p$ ?+ c. J7 d+ Q- @

  3. % q' ]- q  U1 e3 p
  4. ### What we need ###6 m- B+ U; J' l8 {0 e  [
  5. Naturally, we will need a MySQL server to store the data for us, this document . A% F& J. J& w+ G) i0 d
  6. will not explain how this can be done - there are documents out there for the ! M* s  i6 j4 O: ]
  7. interested. The requirements include a (empty) database for TeamSpeak to use$ T) \5 R8 z' W  i; s
  8. and a user account (username + password) that has the permissions to do stuff  ~, ]# N( @, {: j* J
  9. with the database. Additionally, you will need a vendor library installed on the# S& L# Y7 ^) V8 j
  10. local machine, this came with my MySQL install.& @, s" B6 y6 A) X7 k
  11. These instructions will not tell you how you might transfer your data from the1 r7 R; e! s$ F% @7 P0 P3 k
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    9 e" @2 _4 l  g6 [* s7 U; ]
  13. database." G8 Z' E) `" P, g, u8 f
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    0 [5 \6 R% Z" ], g: ]4 Z
  15. the time of writing, there are still too many issues - check the current status* j  Z1 r9 E4 F  B( [! w4 W
  16. in the TeamSpeak forums if you are interested.
    $ p+ y* C, P) M1 }; ?8 [& Y
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    , A$ g/ [5 m/ P) d/ m/ i: s0 X/ o. p
  18. Borland was used. This driver can only interface with the client library that
    3 G7 u0 K) c* F) X5 R8 l
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this- T5 \2 Q* ^. X9 e0 c
  20. client library - basically all you have to do is to use a 3.x client library as ; }5 a+ u: ]$ u8 K2 K/ e& K
  21. "VendorLib" and a 4.x database to connect to.
    ) ?% o/ U9 ~4 j* h4 y1 B0 n- d0 @
  22. If you need more info about dbExpress, you can contact Borland.
    ( S2 l9 E$ \# O! }" w2 F

  23. 8 l. w! l, I  D+ `6 @+ C! n
  24. ### Doing the work ###
    ( L6 q2 J$ y2 t3 Q8 S1 Q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    # o' Y* A3 q9 v# Z
  26. the perquisites right, just open your server.ini file, and add this section at. X" r0 G" F" U5 [$ P6 N* k1 _
  27. the end:* p2 @4 R( A3 n& ]5 {' K
  28. ---cut here---
    5 L( A  W$ I8 d1 m, p
  29. [DBEXPRESS]
    ' u) e$ y5 Q4 b) @
  30. sqldir=mysql_sql
    2 s/ G- C" m+ ^1 O8 t
  31. Drivername=mysql- u; l1 E  i/ K1 e9 \
  32. Database=Your_Database_Name_Here
    ' d* \1 {, }; m" Q7 w# G7 J0 l3 e  v
  33. Hostname=The_PC_the_MySQL-Server_is_on/ d3 o% b2 F0 Y" L
  34. User_name=User_name_on_the_MySQL-Server0 q8 P" I6 U9 w$ ?: C! w
  35. Password=Password_to_go_with_above_user_name
    0 h9 A( l7 c" s3 c; u+ A( i
  36. GetDriverFunc=getSQLDriverMYSQL7 g7 E1 |* n8 \8 Z1 B8 }
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib, _! }4 {- w% M, n3 z
  38. LibraryName=path_to_libsqlmy_libary# A3 ^, f- H0 {5 Y
  39. Active=1' h; P  b. I7 b- Q
  40. ---cut here---) t" x( @% T7 \  a+ a/ ~
  41. In my environment (a linux box with a MySQL server running locally) I have:+ p+ q* P% k" l; Q: @: P, v
  42. ---example---
    0 W# {& o3 @+ S' ?- I
  43. [DBEXPRESS]! l* F# i, R% M& m2 v/ z
  44. sqldir=mysql_sql3 M  g* z% T: k7 e) B' `6 A
  45. Drivername=mysql4 Q0 g0 d$ s9 c/ ?
  46. Database=test
    8 s) Y3 n" w3 @6 @& ], B0 u
  47. Hostname=localhost( e( k3 H, C* |6 b1 J% `0 E
  48. User_name=testuser
    # O3 U; ~: r7 A# F
  49. Password=my_password$ D+ h' w2 E3 D& X) [$ j3 p! l5 M
  50. GetDriverFunc=getSQLDriverMYSQL& F6 ~8 v& u$ G! I, e
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    : B* [* M' j, d( |
  52. LibraryName=./libsqlmy.so
    # U/ m& x0 O5 M4 @
  53. Active=1# B6 {! r$ N* b9 \
  54. ---example---6 E; x; @4 b0 r
  55. 5 k# Z! |  {5 z/ D* B- T, K4 }
  56. On a windows box, also running the MySQL server locally, it would be:
    3 }  u& U5 Z, o6 q+ M! ?1 s
  57. ---example---0 M+ E& M" \6 Q( W8 E
  58. [DBEXPRESS]3 B# V  p. I9 E. c! Y1 c9 a0 h
  59. sqldir=mysql_sql
    2 s5 C, H. r. Q
  60. Drivername=mysql
    2 O/ l9 z+ j9 t- m3 U& p6 u
  61. Database=test0 l% F( k* h) q9 @% \6 ]! }
  62. Hostname=127.0.0.1
    5 }1 R4 C4 Q2 N2 h: g
  63. User_name=testuser7 b9 `, P9 c/ ~2 J
  64. Password=my_password
    / |0 o' Z: T# m! D* b( h  |& s" X
  65. GetDriverFunc=getSQLDriverMYSQL
    " \6 y; }  f: ?
  66. VendorLib=libmysql.dll5 E! s# q  Q* q9 A- Q
  67. LibraryName=dbexpmysql.dll
    8 {* t1 E5 K: x' A* y7 ?
  68. Active=15 H: v5 k- j  }( T6 A3 v
  69. ---example----% s9 I& r2 h: F) B: D9 \
  70. - written 02.03.04 by pwk.linuxfan( C' ^9 V0 P, ~6 h2 T4 j

  71. 2 S+ L  I& w; p
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看7 O' g; F* H6 w1 o

  1. . y2 Y' L0 U. C. A5 A7 s. Y
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    2 K; J* z) D  v2 F

  3. 0 p' F* M. j8 E* q
  4. # # #我们所需要# # #
    0 C& H' E' K: |' f: z. g! a
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件4 Q: o5 e! l  I) g* D
  6. 不会解释如何做到这一点-也有文件存在,为
    1 G6 u1 e! p$ p8 P
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用" Z4 c# F5 ]- Q( D; x0 L% v- A
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    # x6 {2 p6 h5 ~0 G) ?: P' Q* }
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    5 \$ V& ~# T' i0 g. X  R3 t  P
  10. 本地机器,这是我的MySQL安装。 + v& l+ a# O$ Y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    7 J. T1 s$ f; M
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
      u; h% p/ e# j; @( S
  13. 数据库。   z4 }+ R  |# N3 z# p
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在- X: Y/ N6 n7 e) A
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    6 S  N, a/ X' W" S% x
  16. 在teamspeak论坛,如果你有兴趣。
    0 q  i- F' ?6 L( `" s+ r8 M2 Z6 u. y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机9 M9 ]9 h& S' }0 G
  18. Borland公司使用。这个司机只能界面与客户端库& K, }' }: K. _, N9 C6 E
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这) D2 p: i* o9 W8 f* g8 t5 L
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    % W( x- b' Q6 V# g9 H
  21. " vendorlib " ,并解数据库连接。
    3 V  C/ f2 H  X2 A
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    0 H# O8 B  _3 `* J
  23. ! U0 B* P/ s& ]' n( o4 K
  24. # # #做好工作# # # $ ?9 z' U: _# F6 Y3 j6 @9 g
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都2 M& A4 `3 q& s' _& \% U0 V3 w: a
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ' z1 X+ f1 l) b6 g: C
  27. 结束:
    9 O. A9 \% }* G9 V# B
  28. ---削减这里--- ! U6 l: k# u3 @: X: H: e: P
  29. [ dbexpress ] 5 }  _4 ]; e5 i) @  ^3 P
  30. sqldir = mysql_sql ' E( q! G' V/ g/ {, [
  31. drivername = MySQL中
      L% c2 B. U0 r9 m
  32. 数据库= your_database_name_here
    $ M! i7 C! V: K; H! E
  33. 主机= the_pc_the_mysql - server_is_on ; z- F" t# d. \+ Y* Y5 D, o
  34. user_name = user_name_on_the_mysql服务器
    2 {5 j1 B, o. F' z5 X
  35. 密码= password_to_go_with_above_user_name
    / [' y- G, Q, f
  36. getdriverfunc = getsqldrivermysql ) a( j7 b. G3 J3 {  o) z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    4 p, m* H6 t* C! }8 Q4 E
  38. libraryname = path_to_libsqlmy_libary + T5 y8 k, ^" _% ?/ x% M. [
  39. 积极= 1
    " o: @+ Q. [4 k2 H; m
  40. ---削减这里---
    * g; Q7 j2 v) t$ a+ h) H+ G' J
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ( @8 d0 K7 V# z+ }# ~* a; U+ b5 t
  42. ---例如---
    . Z+ r  }! k1 J
  43. [ dbexpress ] + `/ \: j; S+ u6 `
  44. sqldir = mysql_sql 1 ~, v/ Z7 [$ c5 p
  45. drivername = MySQL中
    7 j/ ~" O8 I( V" x
  46. 数据库=测试
    - \  E$ o3 T+ O5 }
  47. 主机=本地主机! _! T; Z2 g- V7 a6 S2 e- d' \0 }
  48. user_name = testuser * M: k) C6 _9 O- U8 u, N6 g5 l' }
  49. 密码= my_password ( ]4 p* G1 q+ F" ?% S8 k
  50. getdriverfunc = getsqldrivermysql ) g6 _/ }# B+ g+ j
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ! q/ m) C8 H6 g, q) d# \. W! R
  52. libraryname =. / libsqlmy.so
    / `: D" A  e  Z, n$ c1 y; b  \
  53. 积极= 1 . D; C0 w) Z5 H0 Q0 e* W& |8 H
  54. ---例如---
      Z7 ]* `: a0 Q. h2 L1 ^& j+ `
  55. 7 {4 L$ ?0 {. x) Z
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ' b8 b7 j1 d& }. z
  57. ---例如--- 3 `/ r! P: x; A0 W. s1 N
  58. [ dbexpress ]
    2 A3 t1 x2 [5 Z" e
  59. sqldir = mysql_sql
    - ^3 g9 G' A8 D: i- {% X$ y
  60. drivername = MySQL中) K/ s3 Y; N) W& L
  61. 数据库=测试5 {! `" y9 P+ _- G3 h
  62. 主机= 127.0.0.1
    % V$ d6 R; Q( I0 `, F) l" M% `
  63. user_name = testuser 3 i7 O7 L( z3 r
  64. 密码= my_password % w2 X8 t6 c* k) U; b
  65. getdriverfunc = getsqldrivermysql : o  J& }& z( j
  66. vendorlib = libmysql.dll在4 m2 K4 l" G* d* |  j# m) Y4 ?
  67. libraryname = dbexpmysql.dll - t, B1 r9 C( \
  68. 积极= 1 . i9 @6 m8 M' f8 N+ Y
  69. ---例如---- / p5 e8 B- i5 v( `, ]' D, n4 ?4 {& K1 ~! z
  70. -写在0 2.03.04由p wk.linuxfan- X8 k7 B: ?6 }7 {2 [; G
复制代码
发表于 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
5 A# r; B0 l  `  e1 ^9 O
) }4 W; e, n8 D5 {. \0 Kbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-6 02:37 , Processed in 0.093928 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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