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

2415 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
& T: A) P) l  N$ W  U
# N6 Q# M. ]: J7 {* Z8 t! X2 C# X5 q+ d

  1. : m1 R3 ]8 y+ E, i3 o3 W: b
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######6 U: v/ S, G& Z8 v2 @) ^2 n
  3. 0 l- p( m" k% s$ K+ A, P
  4. ### What we need ###9 Z9 }# [" {8 j1 }( L
  5. Naturally, we will need a MySQL server to store the data for us, this document $ Z; X; i! D0 g9 s. Q
  6. will not explain how this can be done - there are documents out there for the
    2 H' f. s# o9 G& r( P
  7. interested. The requirements include a (empty) database for TeamSpeak to use4 R3 m9 N, {9 c+ t; U8 w3 V
  8. and a user account (username + password) that has the permissions to do stuff
    8 s& `) C: Y0 h' F- [3 I# j- Y! ]9 _# w
  9. with the database. Additionally, you will need a vendor library installed on the# y5 m# {& h" H7 F4 M6 v2 i6 a
  10. local machine, this came with my MySQL install.: A9 f' J' a% |
  11. These instructions will not tell you how you might transfer your data from the
    - X3 @: D# d$ t9 H% I! P% C9 i7 s" o
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    % Z5 \4 i0 i9 b6 `/ T
  13. database.' Y* f4 K, V- W5 }+ Z
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    - M; Z. J  @3 G$ y- l
  15. the time of writing, there are still too many issues - check the current status% V, x3 J. d3 b) f" p7 {: K
  16. in the TeamSpeak forums if you are interested.4 e2 d* {: R( o+ U1 d" y
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    * _; {( c! @( z; c
  18. Borland was used. This driver can only interface with the client library that 9 k- {; ~2 }1 t) D
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this9 X  @  t$ Z1 Q3 |1 W
  20. client library - basically all you have to do is to use a 3.x client library as ' Y6 u' B" j; ~1 I
  21. "VendorLib" and a 4.x database to connect to.
    * |7 m( J6 T8 J2 i/ V' S4 f$ f
  22. If you need more info about dbExpress, you can contact Borland.
    1 g* ~* x4 K- X

  23. # V4 B# e1 a' D) t6 V" Y
  24. ### Doing the work ###( _' I6 _" A! R. a) L
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all7 `: Z1 Z% @& k4 ~) Z" ^; J
  26. the perquisites right, just open your server.ini file, and add this section at5 n4 V1 K) `9 ~4 {
  27. the end:
    7 l& {6 a9 G" K" [- J
  28. ---cut here---/ U, O' ]. ?0 O& F$ U/ U+ D! |
  29. [DBEXPRESS]: ?* D# j" Q; y- e; c. G
  30. sqldir=mysql_sql
    # @5 z+ g* z, y
  31. Drivername=mysql
    7 Q* L$ Z- R% |5 @* V
  32. Database=Your_Database_Name_Here
    . X) ?% W; u, L% Z8 g8 A: n$ L6 {
  33. Hostname=The_PC_the_MySQL-Server_is_on& N7 e( g3 N' G; y
  34. User_name=User_name_on_the_MySQL-Server4 G* y! h5 k; X, D9 z
  35. Password=Password_to_go_with_above_user_name4 ^5 I! A5 Z, K& M
  36. GetDriverFunc=getSQLDriverMYSQL
    + i" ]5 G) Y+ ^
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    0 `0 z. h0 |8 N2 V' j# |$ a+ H: |7 v
  38. LibraryName=path_to_libsqlmy_libary
    % X' S3 G* a4 D" o/ ?
  39. Active=1
    $ |- H  L" Z. q3 o
  40. ---cut here---
    9 D1 y1 W9 R# C# d$ c! u0 p  @
  41. In my environment (a linux box with a MySQL server running locally) I have:
    4 H1 p- [% |1 X4 n1 x; D
  42. ---example---! V1 r& B9 `- f2 c% K- U
  43. [DBEXPRESS]! g7 {7 m/ _( h! f7 V4 D! i6 \- @
  44. sqldir=mysql_sql9 T# U/ z0 Y( p$ F
  45. Drivername=mysql
    $ A* N' X  S5 D  l
  46. Database=test/ m* N, q1 J- P$ X3 G+ ~* O
  47. Hostname=localhost
    1 Z9 i4 ^: W: K; c& f
  48. User_name=testuser
    , e% n5 g: E  P3 D# y
  49. Password=my_password
    ! F; p5 V$ m3 n" R8 r, b5 o
  50. GetDriverFunc=getSQLDriverMYSQL
    ) X+ I9 g! M! k2 c& x: `$ m, g: d
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
      ?" f5 w8 S# h6 v1 y$ j' ^
  52. LibraryName=./libsqlmy.so
    ) _( ^* }( X1 j4 x
  53. Active=1
    ; c" n3 s! w% K" q( o& z. e
  54. ---example---8 X, [* k7 H6 d5 ?( B2 d

  55. $ _7 a. p; ~% a
  56. On a windows box, also running the MySQL server locally, it would be:2 R3 |0 s/ B( @* M$ c% y2 E+ Y
  57. ---example---4 \* \1 G& O9 _+ J. _# {
  58. [DBEXPRESS]
    , N- Q! [5 t5 m. w
  59. sqldir=mysql_sql) w- n, r1 I7 k$ _
  60. Drivername=mysql
    2 ^1 N3 n# h+ s2 @: K% ]
  61. Database=test
    " G! ~6 j  W! u0 s. y% q
  62. Hostname=127.0.0.1
    . u' s' d% K; L# M! t% Y
  63. User_name=testuser* i3 F  B& L0 l; _! ?) [3 I
  64. Password=my_password
    + p  D0 `6 k9 I6 K! [
  65. GetDriverFunc=getSQLDriverMYSQL0 \% y1 a; {& S7 N% z( C
  66. VendorLib=libmysql.dll
    ) h* P" r0 K5 k6 h  v( I; n
  67. LibraryName=dbexpmysql.dll* H# H8 L& L8 I+ j* H' {+ G
  68. Active=1' W3 R6 H5 ?9 v* k+ j. i/ l
  69. ---example----; m  u. {) O+ j6 |# _
  70. - written 02.03.04 by pwk.linuxfan$ R# Z: H8 o3 h

  71. ) g0 Z2 q" I% o1 h( b# \$ b) T
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
; r% \0 X. ]# J2 p
  1. + [5 R# n- `2 R# ?" ~$ b
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    6 p' p" S4 f( z6 x; o8 n: N

  3. 3 ]+ [9 I/ y) e" q0 ?
  4. # # #我们所需要# # #
    0 y  U4 @4 _/ P+ c! w1 }3 i
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件8 J( q* K8 W: i
  6. 不会解释如何做到这一点-也有文件存在,为) z2 E8 b1 m6 B6 Q# B: I7 g# h
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
      M8 _! q+ E* s4 ~
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西8 X6 L; I$ i/ p
  9. 随着数据库。此外,你需要一个卖方图书馆安装于9 W( S0 f4 u/ Y+ V
  10. 本地机器,这是我的MySQL安装。 8 m: i) I# N4 g1 I. }  T
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    1 Y( H" g* |  T" @8 m
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ( W4 y, o" U3 F5 m0 _4 `2 a( p* ^
  13. 数据库。 3 c+ x& y$ Z' R. B; s: `2 H' I; x
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    - B$ D* c% B) M/ k
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ) R# Q; [; t( I( O
  16. 在teamspeak论坛,如果你有兴趣。
    ! |* z* [& n3 d% m; U
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机; X6 ?3 q9 m; j0 J. h
  18. Borland公司使用。这个司机只能界面与客户端库& u3 I! I% ~7 V! j$ [8 R& C7 u4 U" ~
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这! @* A, ^- `( M: A+ v
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    8 f1 [8 |/ j: v  K5 G+ K+ \
  21. " vendorlib " ,并解数据库连接。
    7 |9 k1 s! S' |8 ~1 w, c% G
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ; C4 A2 {8 }% i7 d. v

  23. 2 O$ M( M- e. O  Z6 k+ P6 q
  24. # # #做好工作# # # 4 @7 S  c# X0 F# P1 k8 V6 S0 x
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    6 F. H7 `( j. W  A, I/ W* K! R
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在9 f* d; Z: P/ h. X' l2 G) j
  27. 结束: / a; W5 T$ f4 m8 W' E- u( n; i
  28. ---削减这里---
    ; D- Q+ u8 H$ ~7 I$ b3 T
  29. [ dbexpress ]
    % `4 M  Y+ c7 h/ S  E
  30. sqldir = mysql_sql ' J4 E& A: V) B2 E: z4 i+ g6 e
  31. drivername = MySQL中
    * D) S% I, s0 I3 g% v: H  u5 P
  32. 数据库= your_database_name_here 4 r1 D$ V+ m3 U; F6 r) s
  33. 主机= the_pc_the_mysql - server_is_on # c" r& D; Y- }, A- |
  34. user_name = user_name_on_the_mysql服务器
    9 v6 F' Z0 F$ N! K
  35. 密码= password_to_go_with_above_user_name 0 ]" h1 V! ]- T% _
  36. getdriverfunc = getsqldrivermysql
    3 ^5 I- V+ I# h* a9 l; S
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    " d$ ]( W) c+ r" e! }& J- j& j0 N
  38. libraryname = path_to_libsqlmy_libary 2 m& L% y9 d7 B1 U8 p1 j) d
  39. 积极= 1 % u' q# S7 O0 [( i, ?3 O
  40. ---削减这里--- , c7 \9 o. A; p5 U/ W. O' M
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    0 f+ S3 v5 j0 G, P& W: @' I
  42. ---例如--- 9 s, B) T! B. Y. t" z3 n: ~, v
  43. [ dbexpress ] 5 q% f* y9 L4 `
  44. sqldir = mysql_sql
      c0 k5 K, W2 m* Z! Q% f: H
  45. drivername = MySQL中
    & K& h. u- Q: x4 p
  46. 数据库=测试
    4 I" U  P! c% v( f
  47. 主机=本地主机8 n# |1 w2 x- z" m
  48. user_name = testuser
    ; a6 k4 y: Y; X( O* @' x, a' g
  49. 密码= my_password 7 a4 d+ m) I" c
  50. getdriverfunc = getsqldrivermysql
    5 U) p" u8 A5 e& ?! X4 H
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 + P; \. d7 W0 I6 H6 u4 f3 k5 W
  52. libraryname =. / libsqlmy.so
    + t7 L: a. p" A5 d' f9 e5 P
  53. 积极= 1
    ( m4 ~" i) i( D- s4 \1 [' W9 L
  54. ---例如---
    - r, y" d4 a/ j( o9 E) K
  55.   S7 k" A1 U0 i) ]
  56. 对Windows中,也运行MySQL服务器本地的,那就是: : b9 o* A+ F/ A: w/ f5 |
  57. ---例如---
    4 x8 B; b# @3 \8 ]4 w6 P
  58. [ dbexpress ]
    " [; V9 H: ?7 Q4 b- z# c, a
  59. sqldir = mysql_sql
    8 e, w+ D/ w+ D5 u. t, W5 V
  60. drivername = MySQL中
    3 _) q+ K; M; J% E: n* Z
  61. 数据库=测试! O4 g- ?7 K3 p- M" n/ v) h3 V! G
  62. 主机= 127.0.0.1 & G$ a. t+ l6 T# v! ?9 m* |
  63. user_name = testuser
    - V+ t) k4 ~3 [$ s; ?/ l
  64. 密码= my_password 5 t, f8 `# E  F: ^/ l$ l
  65. getdriverfunc = getsqldrivermysql 5 E, P1 B  |4 ]! f0 Q  k4 I
  66. vendorlib = libmysql.dll在& Z9 j; {$ M3 \: Z, y
  67. libraryname = dbexpmysql.dll 3 M# Q/ _) \. T3 a* A
  68. 积极= 1 3 `8 g1 Y8 C5 M6 J0 a9 ^, C) C2 @' D
  69. ---例如---- : E: N2 m$ s$ I# T
  70. -写在0 2.03.04由p wk.linuxfan
    % T0 c* o  Q* i
复制代码
发表于 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
! @* J. s) B" b) [+ M4 e! H; s3 Y+ L
* S  A( p( `+ Z  h3 \+ |but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

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

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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