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

2557 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan " i  W: T: y( F' |2 A/ A# _

  U' H+ A5 `. o# K

  1. 1 V; c# k# R, z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    4 ^7 _9 W, B( `  |* J& Q. u

  3. 9 L* i) m0 S+ j. [
  4. ### What we need ###
    3 m7 g% ?0 Z' r- v. W- N7 _
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ; a$ g/ |$ i. u  m. d! H5 J
  6. will not explain how this can be done - there are documents out there for the 5 l, q7 n4 l* c1 Z3 U
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    . Z- T/ `$ u8 ]- |5 Q0 v0 a/ a8 t
  8. and a user account (username + password) that has the permissions to do stuff: Q" j7 a# _: S
  9. with the database. Additionally, you will need a vendor library installed on the- }  Y6 ~- g# I) Y; ]9 ?
  10. local machine, this came with my MySQL install.) C+ O# h+ j7 ]) U1 }
  11. These instructions will not tell you how you might transfer your data from the1 F3 Q# q# j6 u: \( i1 V
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL0 B# Y& }# N9 d& Y$ g1 c) O/ O+ N, u
  13. database.. @- F3 F4 b1 q* b( S+ O6 h( f
  14. Some users have reported ways to import a SQLite database into MySQL, but at% r0 z  n2 t) d& b+ `0 ]
  15. the time of writing, there are still too many issues - check the current status
    8 U; |2 @$ h- [
  16. in the TeamSpeak forums if you are interested.1 U( Z- W! h& K8 }+ J6 F; P
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from9 F/ b4 n, g& ?9 T; {; j
  18. Borland was used. This driver can only interface with the client library that
    6 n9 Q. y8 K4 ^% l! |* Q
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    - w" A6 ?. @, G/ U% U1 y) h' y: J
  20. client library - basically all you have to do is to use a 3.x client library as
    ; S5 {2 T. ^1 N# U5 ~
  21. "VendorLib" and a 4.x database to connect to.( V# a$ p* u/ _8 Z9 \
  22. If you need more info about dbExpress, you can contact Borland.
    9 k2 b9 ?2 z7 e0 x' d, [

  23. - l! G3 Q- }3 _
  24. ### Doing the work ###2 R. E0 e, V4 t! J+ X3 K6 s
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all' [* @+ F' K1 Z# U  e( _: m
  26. the perquisites right, just open your server.ini file, and add this section at! Y3 M5 V' j# V
  27. the end:
    * F2 X# l  p& C  E# C, j3 T5 r
  28. ---cut here---
    + `8 y# ]2 H+ _  G6 e  y
  29. [DBEXPRESS]2 t4 V3 E" D+ D
  30. sqldir=mysql_sql% x  H, y& Y, B! G: m* D  Q
  31. Drivername=mysql: g/ Y" g" G2 Z
  32. Database=Your_Database_Name_Here
    3 P5 e- Z' M' i. U' V
  33. Hostname=The_PC_the_MySQL-Server_is_on$ s* i9 S8 I7 o# Q: B& ?& s1 {. N" d
  34. User_name=User_name_on_the_MySQL-Server- d6 d: q$ a* }
  35. Password=Password_to_go_with_above_user_name2 n1 u. A  g1 ?$ h+ Q
  36. GetDriverFunc=getSQLDriverMYSQL: Y1 _$ G/ }0 i
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib: K$ E& A  d$ h4 P0 S# ]
  38. LibraryName=path_to_libsqlmy_libary# T8 R( N1 V& J5 [" O) Z
  39. Active=1
    ) X1 w. W# K# @5 k" ~
  40. ---cut here---
    3 |& u- h8 O3 N  ?; o+ _; A
  41. In my environment (a linux box with a MySQL server running locally) I have:! a" [" }3 L5 C# D
  42. ---example---. v, U% u! K3 M3 u' |
  43. [DBEXPRESS]
    + G$ d6 _  C. U: b' _/ V
  44. sqldir=mysql_sql( L) {) Y/ @0 }, w$ `
  45. Drivername=mysql
    ! e" w+ s! a: i% o: G0 n
  46. Database=test
    1 @* K4 j1 n4 b5 I) x5 D$ G& N, r
  47. Hostname=localhost
    - Y0 y$ S0 O3 U, y0 }. @
  48. User_name=testuser$ Y! w  E$ l, Z( ?/ J7 s
  49. Password=my_password
    5 z6 S3 C7 S. s. H. ~6 Q
  50. GetDriverFunc=getSQLDriverMYSQL
    ! J" @' E4 X; E+ v. x
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0% k( x' c1 @/ E
  52. LibraryName=./libsqlmy.so
    5 a2 U& d  {7 m" j4 }! H7 a: f
  53. Active=1
    ' n, L) T& P2 D2 O
  54. ---example---
    ) g7 N* Z9 e# B6 K3 K
  55. 7 H0 L1 w4 i& U! P0 g4 ^% T4 D& N
  56. On a windows box, also running the MySQL server locally, it would be:" ]7 m! D  V' R5 r6 L0 @
  57. ---example---
      q7 H+ n5 X$ Q, Z, K4 K3 s4 D. B
  58. [DBEXPRESS]
    + T- J( F* H+ w$ e
  59. sqldir=mysql_sql
    & ~; B8 C4 F' O+ ?8 q
  60. Drivername=mysql
    8 Q% H, s; ]4 Y8 S- n4 A8 z
  61. Database=test
    ) r5 ~9 c! d5 h" H; z7 p
  62. Hostname=127.0.0.1) I4 D% b8 ^$ i1 c5 h! M  B) s
  63. User_name=testuser, a. n1 y% U; S" Y" a
  64. Password=my_password
    # W! M' {  X( m" m+ L  h
  65. GetDriverFunc=getSQLDriverMYSQL7 T: g8 a% }' u; ]
  66. VendorLib=libmysql.dll
    ; u: q, D& j# o+ b
  67. LibraryName=dbexpmysql.dll
    % A, z$ ~+ Z5 J. x6 H7 t/ v
  68. Active=1* Y6 X% F  u$ A+ @+ k. k
  69. ---example----3 Z  ]: h/ n8 v8 a+ \- }' `
  70. - written 02.03.04 by pwk.linuxfan
    3 Q7 r5 \% Y) G
  71. , y0 e5 X% _5 }& c# o* x
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
6 F2 j- p$ W+ o) u: _( V( b: J* k* p
  1. ) t& w# I- n  {. V
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ! @* i" r" w  }( J/ F- D
  3. ; n8 O$ c! b# B, p. f
  4. # # #我们所需要# # # , L' e* r# Z) A' f; `! M+ C
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件5 D' t3 w3 v, X- _* x
  6. 不会解释如何做到这一点-也有文件存在,为
    4 L6 y; F# H7 W1 ?. x
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    8 E9 n# `8 W8 C/ k- o. X1 k
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西/ P3 [; b( U8 U+ V* }4 S
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    9 q2 W% A7 I8 o/ }2 ~4 `
  10. 本地机器,这是我的MySQL安装。 / L" r7 M. H8 x( s4 z( p$ T
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    / M% C& [" ]  N( M
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL - M; e. [. |3 u/ h7 F& b
  13. 数据库。
    - N% r/ `5 u0 x, u( N4 e
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在) ~0 l) s: s; j0 @
  15. 编写本报告的时候,仍然有太多的问题-检查现状) ?3 \/ F4 @% i+ b2 J9 Z
  16. 在teamspeak论坛,如果你有兴趣。 ! C8 |4 e+ a* R
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    # d9 G* H2 @2 U& S: t
  18. Borland公司使用。这个司机只能界面与客户端库+ E) f- R. ^9 l! G, p: s- ?
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    2 }; \* k* E$ K5 j/ N
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    9 K8 f! {6 ?. }2 K
  21. " vendorlib " ,并解数据库连接。 ! r& g2 z- z) F4 C2 d. H
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。   ^" U' y0 h; h, `' T
  23. - z4 Y& P$ ]+ ]! G
  24. # # #做好工作# # #
    : y  p" d9 z  i. P6 M
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都8 E" F) B' \6 k6 U) A4 b/ l4 x
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    8 F' Q% Z/ n4 N1 b% Z8 v- b
  27. 结束: ) j. v. `  r; e9 [' f2 w
  28. ---削减这里--- " h2 E& u7 B5 e+ w  }2 B0 _
  29. [ dbexpress ] $ V. o9 `' f$ E& e. V* v
  30. sqldir = mysql_sql
    ( J+ g7 s2 _) @0 n
  31. drivername = MySQL中& @8 a8 ^4 u# a. b
  32. 数据库= your_database_name_here 7 D4 x; {0 M, x/ P( p
  33. 主机= the_pc_the_mysql - server_is_on 2 U2 ?* W! b: |7 B: @9 A9 I% z. y
  34. user_name = user_name_on_the_mysql服务器5 {+ M* c2 ~! ~5 t
  35. 密码= password_to_go_with_above_user_name : }2 N* o" p2 b
  36. getdriverfunc = getsqldrivermysql
    8 u% j" N) d5 i! ?: V
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 5 I' |6 j0 Y4 Z7 Z6 K. r  H# G
  38. libraryname = path_to_libsqlmy_libary
    & ~$ X5 `* F9 n0 q4 h. g
  39. 积极= 1
    & d7 w+ O% ~: T* B" f
  40. ---削减这里--- 8 J' {' u. P" z) d
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ( d  o5 ]4 Y0 C8 f4 N
  42. ---例如--- 8 R6 E: {, T: t  M3 n
  43. [ dbexpress ] 2 i! ~- x& v/ d9 g0 w
  44. sqldir = mysql_sql
    $ [- v2 n0 \# R8 p
  45. drivername = MySQL中
    . r1 d* P' @5 H5 p( _
  46. 数据库=测试1 ?5 X4 W# l$ J9 [
  47. 主机=本地主机; t8 O% T& C& K$ v+ x1 o
  48. user_name = testuser : h. y3 ^5 ~3 B% {3 x, R! t& o
  49. 密码= my_password
    & \) l% h* p* ?& G% U
  50. getdriverfunc = getsqldrivermysql / ~6 j2 n2 o4 p* m! I2 d) R! v" L
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 5 C( R! K& Q! d9 y8 X
  52. libraryname =. / libsqlmy.so : X( i: N8 T0 u/ L! O+ c# b
  53. 积极= 1 $ ]& }* T6 J' Q( c& d/ I
  54. ---例如--- 6 Y$ t7 D3 Z7 N. Z- x# g/ o

  55. & ]4 A. E- w  T' m: c) ^/ n  U
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    7 A8 E, Q0 [- v( u; e+ Z- N( t
  57. ---例如--- # }- Q- h7 \" f; W9 D: u9 x7 P# e
  58. [ dbexpress ] 3 X; v6 Y' B" x$ j  V
  59. sqldir = mysql_sql
    1 J. t1 ^- h# F
  60. drivername = MySQL中
    . V6 s5 F  v& G* q. C
  61. 数据库=测试
    . `/ W9 `5 S' a' {& w4 G0 j& D
  62. 主机= 127.0.0.1 . A0 V3 `; ~* |1 M# @4 D% J
  63. user_name = testuser 0 f4 k9 T' W9 x3 r' \
  64. 密码= my_password
    3 i% M; U3 @1 n+ r( C, A
  65. getdriverfunc = getsqldrivermysql " I' A9 U5 v& U) }
  66. vendorlib = libmysql.dll在4 M9 E- R. r6 w. m6 ^6 Q8 ]* q$ R6 v
  67. libraryname = dbexpmysql.dll 4 B- a  Y( z! L
  68. 积极= 1 ' I& f2 {2 `. }2 g) y) j! F
  69. ---例如----
    # D* ^9 S7 I$ ?+ S$ Y2 ~2 a
  70. -写在0 2.03.04由p wk.linuxfan
    ( J1 x1 `5 R; y6 J& e
复制代码
发表于 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& G' ]5 I+ U/ Y% |3 |
/ ?3 Q" x, R3 v
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-27 00:30 , Processed in 0.096803 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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