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

3158 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 9 ^. D$ ?2 I; w* u5 O+ L

) d2 S7 U0 U3 `4 P, W1 ]& Y
  1. 5 d7 q9 g* E' O! y6 }- e
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######- S/ a+ t5 t. U. [7 r$ |
  3. . j/ X+ L; r4 O2 t" E
  4. ### What we need ###
    ( m$ S8 f8 e/ j1 U
  5. Naturally, we will need a MySQL server to store the data for us, this document : Z) t, R) Z" p1 J& r
  6. will not explain how this can be done - there are documents out there for the - ^) ], L9 t2 \4 a& e
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    2 }* K# [, N- B4 `' e' \0 Z& U
  8. and a user account (username + password) that has the permissions to do stuff
      ?2 U. F) b5 Q8 ~9 {  t
  9. with the database. Additionally, you will need a vendor library installed on the. y. j' G5 a( K
  10. local machine, this came with my MySQL install.
    $ c; P" B' d" w8 a# e+ u
  11. These instructions will not tell you how you might transfer your data from the* f7 @% n8 X3 n) s
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    6 b2 }9 Q! c" R* t9 e, k1 x
  13. database.4 w7 V8 X3 R, z% o! |
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ( Q+ ~  V' r1 J
  15. the time of writing, there are still too many issues - check the current status+ w( Y" w- G9 c
  16. in the TeamSpeak forums if you are interested.) F% u3 ?, c0 }9 Q& Y$ X. a
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from# E2 C6 m, N. b4 r' b
  18. Borland was used. This driver can only interface with the client library that ! U: q7 ~+ ]! }: l
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    . u) p) @! v- A" R; }& @; w0 E( W) U
  20. client library - basically all you have to do is to use a 3.x client library as 5 E9 [! m$ E' X% F' i
  21. "VendorLib" and a 4.x database to connect to.6 a) y# {4 ]5 d9 Z" k: P6 D/ ^. i
  22. If you need more info about dbExpress, you can contact Borland.
    ! d" v- b9 B& S

  23. 1 r% ]$ j$ I6 z9 G  V  a
  24. ### Doing the work ###8 M3 e; o1 h1 O
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    $ K9 |- Z2 N' L2 l3 d! D5 d  f3 g
  26. the perquisites right, just open your server.ini file, and add this section at
    . a- t7 F1 D4 Y2 Q- U% g% z
  27. the end:- Z# k  N) k/ J. Y. _& _$ M
  28. ---cut here---
    / R2 p: z8 P, h" F
  29. [DBEXPRESS]4 u/ L1 L+ m0 P# t  Z
  30. sqldir=mysql_sql. }* j% ?+ m0 ~( P8 U
  31. Drivername=mysql
    1 e/ V' P5 d2 W9 @9 n
  32. Database=Your_Database_Name_Here
    ' M2 i: W0 i7 X* ~) x
  33. Hostname=The_PC_the_MySQL-Server_is_on
    7 E! ?; F8 {  a' ]/ K
  34. User_name=User_name_on_the_MySQL-Server
    $ m. E8 e: r: e/ L+ V& r- m- E
  35. Password=Password_to_go_with_above_user_name6 I% M% N3 `+ U6 Y+ S% n+ e
  36. GetDriverFunc=getSQLDriverMYSQL
    , I- a  [+ P8 T% ]$ Y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib. _) z: u3 I( e2 J; G
  38. LibraryName=path_to_libsqlmy_libary
    . E1 M8 h2 o0 M7 c3 ?
  39. Active=1
    3 Z4 [, j/ O: I; Y* F
  40. ---cut here---
    # U# O/ O; H' K9 p- W$ S
  41. In my environment (a linux box with a MySQL server running locally) I have:
    # w& Z8 U3 ~2 E9 k. `7 w1 ^
  42. ---example---
    : Y5 C, N) D2 t$ }: L# {! t
  43. [DBEXPRESS]
    2 b; C* m8 ^  ~8 A5 \. f
  44. sqldir=mysql_sql
    # \* y, K( U# i6 A
  45. Drivername=mysql
    % n/ W0 Z/ j; {! U9 S" x
  46. Database=test1 s9 |! \1 j) z+ [% r- q
  47. Hostname=localhost
    * p: e* a7 B/ z
  48. User_name=testuser) N3 E6 ^) _% ?. ^3 ?' o' u3 ~
  49. Password=my_password
    & d1 k" F/ b& _* `' @
  50. GetDriverFunc=getSQLDriverMYSQL0 e4 K: v, m( S; o4 I% c6 H2 a
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0) M) l2 J. H$ r) I
  52. LibraryName=./libsqlmy.so
    / O% b6 X4 ^: Y8 n
  53. Active=1
    * A1 M$ [8 w  t9 }9 L
  54. ---example---
    / @$ C6 f# Z/ C7 Q7 j
  55. ; g$ S1 E  S! E+ i
  56. On a windows box, also running the MySQL server locally, it would be:
    / p( J' L9 T9 b0 h: X1 f0 a
  57. ---example---
    : `8 c6 r$ X# d, G1 R
  58. [DBEXPRESS]; T* V* t* ?+ H) f
  59. sqldir=mysql_sql
    / o) y% G/ }8 s: T. J' E
  60. Drivername=mysql5 }9 v2 y9 @6 m* a+ h* o
  61. Database=test
    7 p) [, t2 W0 K$ C
  62. Hostname=127.0.0.1
    - A2 C+ B/ ^+ \5 m# I( a+ t# e
  63. User_name=testuser
    ; W- R. c) E# k6 }9 H- }
  64. Password=my_password9 c5 q/ O. J2 l$ x5 q
  65. GetDriverFunc=getSQLDriverMYSQL
    , b8 a5 r6 r5 {1 Q) D( g' O* Z3 o
  66. VendorLib=libmysql.dll
    ! h1 W2 c4 ?! }' G  z
  67. LibraryName=dbexpmysql.dll
    ; h8 c/ g5 y% U% u
  68. Active=18 Q! c3 |9 R: Z$ Z1 d: C- ]
  69. ---example----, X) \" L- Q* ?/ u- \% ^
  70. - written 02.03.04 by pwk.linuxfan. D% \0 Z& t. |. j

  71. 1 b) G% _9 n- U6 |0 V/ b/ w
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
* ?- U4 W/ U4 C& ]
  1. ( U) {! ~3 g) P1 @/ J
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### : b6 w) x% w! o- n8 ~2 q
  3. ) [$ j9 v, ?: k6 M& L
  4. # # #我们所需要# # # / _/ z- G. i( r6 _4 e9 `7 J
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    9 U4 \! K) G+ R$ F3 O. D( n
  6. 不会解释如何做到这一点-也有文件存在,为. x) a) @5 {% r) Y( h
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ! K0 m6 \' R8 O
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西, G% [/ k) k" R0 U# A
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    * C# C5 V3 l6 m% y
  10. 本地机器,这是我的MySQL安装。 5 g; p; x* y$ R
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    / r5 ^. c3 O' X5 L. b3 J$ A
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 6 M6 n5 h/ f( r$ C8 ~
  13. 数据库。 ( x' u4 n; K2 v" \1 t
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在$ Y3 x# d6 W; }0 A8 v
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    6 ?6 f; Y5 b; I3 ^8 ?1 J
  16. 在teamspeak论坛,如果你有兴趣。
    5 |; F6 l# K% m; ^  W& w: p4 S
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机/ R5 _. P5 r. e. t
  18. Borland公司使用。这个司机只能界面与客户端库
    1 f/ P, Y, T& B- K8 |% a
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    % \( a% d8 b- R! d1 P
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为: G% s, d  W: {5 B' n' O3 M, @
  21. " vendorlib " ,并解数据库连接。
    . x! k, {8 z& Y& k* v4 c- Y
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 0 ]9 ?# ^# e+ d2 `: n5 `% ~

  23. 0 l, {$ J% [2 x, h9 |/ ?( q
  24. # # #做好工作# # # / O5 [3 P! w, O) Z
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都& y) c: _7 e, S" ]5 @* l7 I4 p
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在2 a6 C6 o! r0 z+ K9 ~, R7 b
  27. 结束: 6 J* v1 }  p3 U$ Z# _( F7 G/ ^  f& Q
  28. ---削减这里---
    3 q2 Z8 ^5 c/ Y- f
  29. [ dbexpress ] : I/ F5 u/ ^; M% b( ^
  30. sqldir = mysql_sql
      T7 I# J" H  t% \' X, n
  31. drivername = MySQL中; q0 l5 [4 w4 c0 k* b/ X' O, z
  32. 数据库= your_database_name_here
    2 f0 \  }3 h- |. ~
  33. 主机= the_pc_the_mysql - server_is_on $ |% u& `6 c) a/ q6 ^# o' v- r
  34. user_name = user_name_on_the_mysql服务器6 D7 E* Y% c; Y, D+ C8 i
  35. 密码= password_to_go_with_above_user_name 2 g" n0 K( y9 j8 T: x4 f; k9 T
  36. getdriverfunc = getsqldrivermysql 8 ^2 w/ t) c* U1 f0 L# u
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    & s9 J( b  x4 s
  38. libraryname = path_to_libsqlmy_libary
    ( l  I3 e4 i+ J% |" j  @4 B5 y
  39. 积极= 1
    1 J0 F0 s6 |6 H* Q6 Y% ^, v& C
  40. ---削减这里---
    2 ?6 C/ X5 ?( ~8 w
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ) ]" }$ Y1 d: J& a2 D
  42. ---例如--- 5 L: s% \. y, t8 F! j5 ~
  43. [ dbexpress ] $ A, A- G4 d( H( a
  44. sqldir = mysql_sql
    8 y! p9 P9 Y% R/ @
  45. drivername = MySQL中( L* j( @/ r2 T
  46. 数据库=测试
    4 ~4 T# D& i. M% o) z' z3 w
  47. 主机=本地主机9 Q9 j  ~( s5 ]" ]. _
  48. user_name = testuser 2 E. k# j- z8 Q
  49. 密码= my_password
    8 ]$ T+ [" d- W' N0 E1 ^  @
  50. getdriverfunc = getsqldrivermysql
    3 g% F+ O' `* n0 y( M: t8 Z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    - [5 K% @1 ]+ ?
  52. libraryname =. / libsqlmy.so
    - K0 G2 J8 `/ O8 K# w& o1 p
  53. 积极= 1
    " h" h* w+ `  f( R' s
  54. ---例如--- + t" N) n. K" m. c, A' D
  55. 0 S1 A' [) }1 ~
  56. 对Windows中,也运行MySQL服务器本地的,那就是: , _( K. `3 I4 }
  57. ---例如---
    3 `' Y0 K; t# S8 j- ~
  58. [ dbexpress ]
    : x: a4 @; S  c0 r+ w. f" G
  59. sqldir = mysql_sql ) M3 l4 [: c  L+ H7 M. r$ r3 ?
  60. drivername = MySQL中% f- T$ K* |3 Z4 g
  61. 数据库=测试
    # ^6 r7 j! h( U! r; T( H3 u
  62. 主机= 127.0.0.1
      U) }' w0 n( |* y
  63. user_name = testuser
    2 P# t% d0 Z+ w, J5 g1 D1 b
  64. 密码= my_password
    0 W; c) J% _, h+ V
  65. getdriverfunc = getsqldrivermysql
    7 ^* G, m* {& W8 u) k% i) H( ~
  66. vendorlib = libmysql.dll在
    / x9 e2 z  G; \+ h1 w3 S: H& R
  67. libraryname = dbexpmysql.dll & \6 d' L3 F+ I5 ]  \
  68. 积极= 1
    / E3 D- Z5 N1 Y! l$ O. J: v
  69. ---例如----
    / {* O8 x" `9 L! i" `' K
  70. -写在0 2.03.04由p wk.linuxfan
    5 |# w5 r/ _8 W3 b) |1 [3 O! ]- 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) V" S, y1 [% `. x  {4 G1 s6 K

; W9 _0 b# ]) dbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-13 12:13 , Processed in 0.104059 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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