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

2997 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
# {' q; A9 _' ]& L
) E* [3 h7 T' g0 e# r# p' z, X

  1.   C3 ^. e3 ^3 K. U. R
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######! b6 Q: g% ^6 y

  3. : u0 j3 V( F8 }; {& w9 M
  4. ### What we need ###
    + O# P7 g8 t# V* b. |
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ) ?( U% b/ S5 A% A7 k% f  S
  6. will not explain how this can be done - there are documents out there for the ) Y! c( K! y! D) G( o
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    : x' o1 T# y* ^. z! w2 N
  8. and a user account (username + password) that has the permissions to do stuff! S  K! B2 I& }2 Q- x! t
  9. with the database. Additionally, you will need a vendor library installed on the0 q; {# \9 }' V% L
  10. local machine, this came with my MySQL install.4 G  }  \& {; v6 E, _. K: S
  11. These instructions will not tell you how you might transfer your data from the5 e; D) z+ t- _$ O+ B3 m
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL/ e% v) V4 @' `6 n2 e% d
  13. database./ ?" g2 n8 ]1 K; z6 I
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    " ~; k5 E; ]" x
  15. the time of writing, there are still too many issues - check the current status8 B7 ^1 N8 K' Q$ x& x+ A# q/ t+ Y$ ~
  16. in the TeamSpeak forums if you are interested.% B; h7 L2 z" f! [+ q
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from7 i6 C$ G3 X0 {8 P+ U3 a0 `4 G
  18. Borland was used. This driver can only interface with the client library that
    ) l7 Q1 m7 C1 H: Q
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this3 \7 `3 F) [1 u9 E9 c
  20. client library - basically all you have to do is to use a 3.x client library as 3 Q9 R' y4 W; A: }
  21. "VendorLib" and a 4.x database to connect to.
    : a. l& f0 @9 |/ k
  22. If you need more info about dbExpress, you can contact Borland.
    7 b1 B0 S7 s* H8 F
  23. 9 v0 p2 k/ w+ l# {& Q
  24. ### Doing the work ###
    3 t4 F) X/ e& b  c4 g
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all/ P% X% N8 f+ t; U# h. i- k3 }
  26. the perquisites right, just open your server.ini file, and add this section at+ r2 _$ @# U2 j% S
  27. the end:$ n8 ~8 L2 T) ^% R
  28. ---cut here---
    0 C% i6 w$ Z1 l' \$ P/ E
  29. [DBEXPRESS]
    5 \6 k6 K+ Y/ ~3 p2 j' y  R
  30. sqldir=mysql_sql
    ; g. h. d9 g: j8 n, y
  31. Drivername=mysql3 n" \% C/ r% P/ L  q' X
  32. Database=Your_Database_Name_Here; m# X6 K2 X) u. L
  33. Hostname=The_PC_the_MySQL-Server_is_on
    2 s. \+ N" \4 W( ~" \$ N  d0 |
  34. User_name=User_name_on_the_MySQL-Server
    ; @; K5 G8 R; E/ @
  35. Password=Password_to_go_with_above_user_name
    $ D" k* j: y  y
  36. GetDriverFunc=getSQLDriverMYSQL
    : ]9 I) Y+ c1 {* `# Z. z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib# U- }: ~% b9 ?/ }# }
  38. LibraryName=path_to_libsqlmy_libary
      C/ F# e) n6 N+ t
  39. Active=1
    2 h8 K- O$ B* \4 h
  40. ---cut here---
    " B4 t+ m$ S/ {! d( g2 N
  41. In my environment (a linux box with a MySQL server running locally) I have:, E- M7 `: }5 v$ y" w' p' T
  42. ---example---' R. P7 N; |; ^: ?+ k
  43. [DBEXPRESS]
    ) o1 l% O$ K7 H: R7 z6 q, {2 A
  44. sqldir=mysql_sql
    8 E+ d% J3 O  I" V
  45. Drivername=mysql
    " K5 A( m6 z) T9 t2 N
  46. Database=test
    1 V; y+ o- \" n; S
  47. Hostname=localhost) [' h  l: n6 c0 u$ A
  48. User_name=testuser
    ! W0 X" @% w5 R2 ?
  49. Password=my_password" \' t* f% N( ?( |2 [# X: z
  50. GetDriverFunc=getSQLDriverMYSQL
    7 C4 [! Z7 w5 e. U; [6 Q
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ' U2 D  }5 S6 U0 G" B: v
  52. LibraryName=./libsqlmy.so
    " R' Y/ R3 ~$ @5 b# f! O1 g5 x
  53. Active=1
    % z. d! W1 [- J+ H
  54. ---example---2 U" Z; O3 ?. |8 U- m  o2 E
  55. " f$ A6 F) u) S5 h$ E
  56. On a windows box, also running the MySQL server locally, it would be:
    7 B0 J0 H8 b4 K3 Y  H4 J+ h- Z
  57. ---example---
    9 k' W& ?- `' z
  58. [DBEXPRESS]* O$ |! q; a5 `1 e* ~& P" [
  59. sqldir=mysql_sql
    3 X4 t! f/ K. Y; L8 Y+ e& I  M* T
  60. Drivername=mysql# q  g: V! Y8 y2 ~( b/ P
  61. Database=test6 D$ d: c; [- `5 ~$ I7 W
  62. Hostname=127.0.0.1
    4 V0 R# N) q0 D9 V$ B$ d
  63. User_name=testuser' M! n0 b& N7 Y0 x
  64. Password=my_password
    3 i5 v( U+ Z" x6 v* y
  65. GetDriverFunc=getSQLDriverMYSQL1 L1 g  |1 I# c6 y
  66. VendorLib=libmysql.dll
    ( |2 Z2 i6 I: ^; `& C- z$ j2 R
  67. LibraryName=dbexpmysql.dll
    % U% P4 I5 b2 i: u' L
  68. Active=10 N% E! y, G6 H0 d7 ]1 ^" P1 s
  69. ---example----; j" s+ r6 B/ M8 z. W$ H! }: k
  70. - written 02.03.04 by pwk.linuxfan) c2 u, P1 L. m5 l9 P; q. Q
  71. ' p0 y6 d4 U* T' F6 n+ E
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
5 C2 V0 e) W/ F% C% y

  1. - B3 @; I9 [2 A4 n5 j& e- G
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ( [2 E1 a6 O  ]/ e; Q) `, h& `
  3. 4 A3 q+ \. B! v
  4. # # #我们所需要# # #
    3 e! o& t. j: [! g, i) D3 s
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    : z5 P* y7 O! I+ [
  6. 不会解释如何做到这一点-也有文件存在,为
    - W. E& O+ e+ v$ K
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用, q& Y) R& N' @9 M) l( Z% ?
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    / W: L  N9 V- _" v+ s+ k; {
  9. 随着数据库。此外,你需要一个卖方图书馆安装于* a& g3 A6 e( [2 \/ F7 E, g
  10. 本地机器,这是我的MySQL安装。   Y- b+ j% `# y, r
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    / r  N5 P, E8 D' j8 `+ [! V
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 1 S! R7 K+ @+ F# |; k( o$ u
  13. 数据库。
      x: h/ g( L1 U1 Y9 ^
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    / I: t0 m7 x1 m5 z) i3 m. I
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ( g9 w5 X) ~8 h1 U& G9 K# n, ^
  16. 在teamspeak论坛,如果你有兴趣。 " j8 z" t$ x7 S1 j
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机5 @4 X1 s+ I: R  c* f, [: o4 ~# E
  18. Borland公司使用。这个司机只能界面与客户端库
    9 {( P  Y: Q6 h1 T
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这( M) b# i( W+ A5 t9 Y
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为, F2 |$ i; _8 T/ H% K
  21. " vendorlib " ,并解数据库连接。 ) v$ v) g( m- W) k4 {" B
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 + m' `3 C6 k" T0 d& t

  23. 3 k7 N8 Y- ~+ Y+ \0 \
  24. # # #做好工作# # # 3 b) l' |* W+ C2 [6 I% X. p# |
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都9 F+ Y; S& A# C: j2 I4 d* G
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在, D; g% P* S  n  g) v+ j$ d2 H2 c
  27. 结束: 4 k0 k5 _4 v4 T4 h0 L7 s3 C" f
  28. ---削减这里--- 9 \+ M- ~  Z  J" z0 p% m
  29. [ dbexpress ] 3 M5 e: N* z" `! o# t5 L4 E& L/ R
  30. sqldir = mysql_sql % O  h" ?. }4 b& e5 \% k, e; [
  31. drivername = MySQL中
    / D* n- ?5 Z' F% ]" t
  32. 数据库= your_database_name_here - F5 t1 y0 `' }& g
  33. 主机= the_pc_the_mysql - server_is_on
    ; \/ a! |+ @& s$ e4 I* [
  34. user_name = user_name_on_the_mysql服务器
    & n4 A. G8 b% N$ i6 t% k
  35. 密码= password_to_go_with_above_user_name
    ' m' M+ I, J* z7 G0 f6 P
  36. getdriverfunc = getsqldrivermysql
    1 D, P8 u4 T* k4 l
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ( i% g' A' f2 w  B1 \1 O
  38. libraryname = path_to_libsqlmy_libary ( m; r, V6 ?5 M; B4 x6 E
  39. 积极= 1
    ( U1 U$ ]( T) V. r& C  i6 K
  40. ---削减这里--- ' j9 ^5 @' Z+ h+ ]
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    . _& @* K- E! N+ h' Z! m2 Z9 z
  42. ---例如--- % U$ [* |1 Q3 T" V" m! S$ I+ @) C
  43. [ dbexpress ] ! T  u% B* c: B" U% H
  44. sqldir = mysql_sql & F+ x3 [0 g. b
  45. drivername = MySQL中1 c- R6 N* I$ Z% B& u1 h* W
  46. 数据库=测试
    , X$ T  t* K; S' o) z& k
  47. 主机=本地主机
    ! B0 h# w% P$ Q
  48. user_name = testuser - P9 i& s2 \, k/ t9 g% O
  49. 密码= my_password 1 N. [( V& }, K& H
  50. getdriverfunc = getsqldrivermysql : a& q" U. s5 R0 D
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 7 z6 y. h% B4 a7 U
  52. libraryname =. / libsqlmy.so 4 L! H! i  M, s
  53. 积极= 1
    3 A2 k, O0 [$ n3 \  Q0 H/ n
  54. ---例如--- 6 }1 d9 g* e  w
  55. 7 c- P4 e; x. i$ K" W& G
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    # }$ L' W/ x  O
  57. ---例如--- * S1 H' J+ {: z( X0 G  P6 @
  58. [ dbexpress ] + Y6 [* H: K& c
  59. sqldir = mysql_sql % C( W( Z1 _0 V$ u3 P
  60. drivername = MySQL中
    8 v9 _: M7 r( ]- E" C' s4 Q6 }
  61. 数据库=测试% X2 a" ]- c9 J
  62. 主机= 127.0.0.1
    2 T3 w  S' n, B4 E
  63. user_name = testuser
    - }  A8 [) Q3 Q7 G7 W% r3 \
  64. 密码= my_password 6 l( \$ x4 l8 n# G1 s/ R7 \
  65. getdriverfunc = getsqldrivermysql
    . u- W' Q+ R; B* A" o3 y$ Q
  66. vendorlib = libmysql.dll在/ y% U. I( l' _2 M$ d
  67. libraryname = dbexpmysql.dll & E9 v5 `6 R$ t4 B/ N8 H
  68. 积极= 1
    . @" Q& }. g3 Y( z: A& R
  69. ---例如----
    4 x, t# e' `/ O' k  V  [. i
  70. -写在0 2.03.04由p wk.linuxfan
    ( q! c, j+ P; y
复制代码
发表于 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: ~( i& ]4 \$ M: a! K! s6 O
6 i7 ^$ w5 o( R- w* e
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-8 12:11 , Processed in 0.106059 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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