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

2532 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 0 ]& E  _9 t& u! y

6 o' H) n1 W# ~
  1. . Z' }1 y) M# X  Y8 i8 O7 ]# P
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    " u- W7 F% F" w, X
  3. 3 s* o( h) }& m/ u
  4. ### What we need ###
    1 T& Y4 E) J5 d. ]7 D
  5. Naturally, we will need a MySQL server to store the data for us, this document ) s% x0 Q- T1 J' M( B
  6. will not explain how this can be done - there are documents out there for the 4 {6 g- B4 j) O9 ^1 J, ^5 B
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ! W( e) a4 y: v0 j0 [
  8. and a user account (username + password) that has the permissions to do stuff/ \# C, M) K' T1 ]4 a3 ?
  9. with the database. Additionally, you will need a vendor library installed on the2 |. Z) {3 b+ c! n
  10. local machine, this came with my MySQL install.. [0 }7 V  X% S0 O- A
  11. These instructions will not tell you how you might transfer your data from the
    / \7 Q! l* A% ?; s. S& f5 C
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL% K& K- ]' n: Q- I, A
  13. database.
    8 }0 `/ T0 B8 E' h( G/ M. T
  14. Some users have reported ways to import a SQLite database into MySQL, but at1 @6 }- q5 B: _7 P& L2 s
  15. the time of writing, there are still too many issues - check the current status
    5 K' [# e; {% ], P
  16. in the TeamSpeak forums if you are interested.
    4 i6 u  Y2 a5 J/ i  ^
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from" b( P; V% S  z2 B
  18. Borland was used. This driver can only interface with the client library that 6 e! b5 C3 R5 a( y0 [# U( S% k
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this3 I( ~9 I2 ~& O( q; ?
  20. client library - basically all you have to do is to use a 3.x client library as : m+ C, ]5 Q6 S" ?
  21. "VendorLib" and a 4.x database to connect to.% q3 z' \/ r, z. m1 u( y5 g. K
  22. If you need more info about dbExpress, you can contact Borland.5 Z0 L% P1 V+ v. k" w
  23. ! _4 v5 o) o9 O% \+ A
  24. ### Doing the work ###% [# b8 L  p" f. c
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all6 v/ ~" I* c9 P. A
  26. the perquisites right, just open your server.ini file, and add this section at
    * q' E0 M' J% m1 u5 A" G" y
  27. the end:
    . B3 M; ^- R. A+ y4 S
  28. ---cut here---
    . }# L/ v! r2 A" Y
  29. [DBEXPRESS]/ K# ]) E% Y' |% I5 a0 |
  30. sqldir=mysql_sql# w/ C. s" l& v- C: ^4 Q" n( V
  31. Drivername=mysql- [! S( T+ M$ W
  32. Database=Your_Database_Name_Here
    9 w* ?9 t3 g7 U5 w% t' O
  33. Hostname=The_PC_the_MySQL-Server_is_on* W+ v- G" p( u0 H' r* y
  34. User_name=User_name_on_the_MySQL-Server3 x9 @& ^. D0 {' }; r) ~6 r
  35. Password=Password_to_go_with_above_user_name! ~1 H  ^1 v+ h4 v* ]; Z
  36. GetDriverFunc=getSQLDriverMYSQL0 P3 n# z+ ~, }( X' _! ?, p
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
      |8 W+ ^- Q) `$ r) B, `
  38. LibraryName=path_to_libsqlmy_libary5 u+ d2 K. q5 ]" G) y" r, M
  39. Active=1
    & c7 D6 |4 O- w+ v
  40. ---cut here---+ W* M6 V6 V, N) z
  41. In my environment (a linux box with a MySQL server running locally) I have:
    , k1 i6 Y) a5 m: I: @3 X9 l! }) ^
  42. ---example---) l9 u  l! S1 f: {. N* {
  43. [DBEXPRESS]% x; f1 c3 D" u3 [2 R& W% H% A8 A
  44. sqldir=mysql_sql
    8 _% `& N6 T" l, i( p
  45. Drivername=mysql" z; m5 h1 G( I2 r* Y) ?
  46. Database=test/ n" I' ~; D: N9 v. _1 ]3 y5 g; q# M% X
  47. Hostname=localhost$ ?; l' U: X3 r3 N
  48. User_name=testuser
    6 v4 T+ A" b8 Y. v
  49. Password=my_password3 |& l+ _8 I4 h0 C  F) M3 p
  50. GetDriverFunc=getSQLDriverMYSQL7 H# c, S: h" q/ k  g3 {! X5 c* Z
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ' P: y& w( a" h9 q; g8 D$ L
  52. LibraryName=./libsqlmy.so! E3 |% y3 ^3 M/ d$ a' q
  53. Active=1
    1 V) \: q: U- D" j- @, H8 n+ |9 y
  54. ---example---
    8 j0 F, T# r( F, R2 x( u
  55. 4 c! _4 `7 q; R0 X
  56. On a windows box, also running the MySQL server locally, it would be:& [% v$ N1 R7 W! i) K  B. p
  57. ---example---( F; G* m: K9 }2 ]9 o: [+ C
  58. [DBEXPRESS]
    5 B. n( v+ d8 W. ?! ?2 a0 B# |# H
  59. sqldir=mysql_sql' D" H7 M* f' D9 O9 i
  60. Drivername=mysql
    & z; l/ M1 i7 _) E6 W* R
  61. Database=test
    " A1 L0 w; \9 T2 t9 B
  62. Hostname=127.0.0.12 H' L0 w' i7 g, M% H) O! E$ J
  63. User_name=testuser% y% _1 E& [! a' ]) q) {& v- X3 }
  64. Password=my_password* I/ L6 |0 |' m4 I6 m8 b
  65. GetDriverFunc=getSQLDriverMYSQL
    6 ]  ^" o7 j* {: X7 E
  66. VendorLib=libmysql.dll, t! u. Q! H6 F8 m) X# k
  67. LibraryName=dbexpmysql.dll3 c# A+ T7 Y7 o1 y+ g7 C: N* o% L6 s
  68. Active=1& O1 f8 F8 a% C7 A
  69. ---example----
    . C% o3 T% _# V  A, K5 H
  70. - written 02.03.04 by pwk.linuxfan  d% R6 `( A" m+ u+ k
  71. # k: M) T* o) r3 `
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看0 q5 P: @* e# [
  1. 6 G9 C% [/ O( ~2 ~& s( T6 y
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    % H5 T. s3 l6 W$ p& r! m8 i; d, f
  3. & P# y/ d  o8 j! g' c: V
  4. # # #我们所需要# # #
    % N$ q, P# `2 q' @$ m' V3 b
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ! _0 f3 @. g; x  K# z- E: ?
  6. 不会解释如何做到这一点-也有文件存在,为: \' L# b, l* Q9 k0 T8 G
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用6 k; t& D4 Y! ^# K( Z
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西- Y/ V' u9 [# ?; `! }9 o0 B
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    : q. `* S3 w7 ~3 R7 o/ R
  10. 本地机器,这是我的MySQL安装。 ( g, i- d% Z' Q5 k( U8 A6 ^
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    1 ~4 b$ _# a. k
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 0 g& Q, `/ W9 r& f( l. r
  13. 数据库。 * H8 V7 J* q3 L" _$ W2 G9 q) a1 Z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ! k$ ?" j5 [% y7 ~
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    6 \0 X1 h  ~( y
  16. 在teamspeak论坛,如果你有兴趣。
    1 R9 A) q) |9 T3 y: A/ \
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机: b  }; e2 v4 t8 H
  18. Borland公司使用。这个司机只能界面与客户端库$ D; b+ Q1 l7 Q/ g# h9 q+ V! J& E
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    2 k! f% Q3 K+ q6 D1 T
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为& Y, A3 H6 \' n: V3 T/ v, v% g
  21. " vendorlib " ,并解数据库连接。
    6 ^7 z% O7 E6 D% N9 C
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 / E/ o: a+ ]1 O5 d' `7 g

  23. - L6 P, i/ C; [! s
  24. # # #做好工作# # #
    9 S5 V/ A0 J$ |0 \
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都" s8 ^+ P7 i% i) L! {% l! d
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ) m4 m/ |& P& Y, y
  27. 结束:
    . o% C8 Z$ i% Y0 S: D0 L4 C; j9 }
  28. ---削减这里--- 8 z8 m4 I3 k8 h' Z: F
  29. [ dbexpress ]
    8 X0 Q( N: B* c, i/ a( z
  30. sqldir = mysql_sql
    - n* S$ u! U- @/ I. Q( y+ f
  31. drivername = MySQL中
    8 N0 `, C' x5 U' C0 S. |& y! I( b
  32. 数据库= your_database_name_here
    ' \% @' j' g# D+ k3 S  o. H6 Q
  33. 主机= the_pc_the_mysql - server_is_on ( i( t- _; E, r$ `
  34. user_name = user_name_on_the_mysql服务器8 ^3 D8 v  L% f
  35. 密码= password_to_go_with_above_user_name
    & B' b3 O* o3 L+ U! L" A; q: C4 \
  36. getdriverfunc = getsqldrivermysql & c  U6 C- i9 `+ t6 I
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    $ L2 J2 D  y1 G( T5 m2 k
  38. libraryname = path_to_libsqlmy_libary
    2 {/ _$ H4 W, _- k8 @
  39. 积极= 1
    # Q- c1 j6 a( O; q0 ]
  40. ---削减这里--- & v* N: E: Y& o( O& N
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: . e; n$ S  v4 S3 i2 F5 A" Y
  42. ---例如---
    / i( X2 N4 U( C; D1 b
  43. [ dbexpress ]
    , \& [* M  ~/ c  Y% \
  44. sqldir = mysql_sql
    " h$ d3 a5 G2 I9 Q, B* d; |
  45. drivername = MySQL中
    5 C& ]$ [/ {' E' i
  46. 数据库=测试
    # O+ H2 a2 X4 T4 d0 d' n7 H7 N' b1 x
  47. 主机=本地主机
    # a1 _! ^9 e) x. w- B
  48. user_name = testuser " m0 Y# J+ v- }5 g2 I
  49. 密码= my_password 7 k& K7 c  A$ B8 m* o
  50. getdriverfunc = getsqldrivermysql 3 u* Y6 S+ F+ M) ]% N1 {4 T
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 6 p1 M: [$ S# K) ~) ?
  52. libraryname =. / libsqlmy.so
    5 P5 a. K- |' u; H
  53. 积极= 1
    ( p) J/ k& B: g" A4 C# y
  54. ---例如--- / F9 B7 h' ?0 }- Z( w. d5 v& D
  55. ) h+ Z" M; w, j" W# y1 s
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ( ]- w+ m8 a: E
  57. ---例如---
    # o; t6 g3 r0 G0 h" o; M+ E
  58. [ dbexpress ]
    ; q# h3 K, u( o1 H8 h: Y  U
  59. sqldir = mysql_sql . @$ d7 [3 C$ p
  60. drivername = MySQL中
    ) F0 t+ E7 I8 O: C
  61. 数据库=测试
    * ~" s( r5 ^( H" `
  62. 主机= 127.0.0.1 3 k: z5 Z% K, K: w( z
  63. user_name = testuser
    . j# T" ^6 O, O' W" |1 Q6 ~
  64. 密码= my_password : u+ s) }5 y3 n
  65. getdriverfunc = getsqldrivermysql
    0 h" K  X( m5 C5 z( x
  66. vendorlib = libmysql.dll在
    ( u" y5 j$ R$ o- J
  67. libraryname = dbexpmysql.dll % T( e" l$ T8 W% C: x
  68. 积极= 1
    3 ?' v5 I$ y, ]
  69. ---例如----
    ) ~$ L7 r' y7 H) l
  70. -写在0 2.03.04由p wk.linuxfan4 W# a. i2 K: v. {
复制代码
发表于 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
& x3 x2 H# G% b8 `9 Q: T1 Z" r2 v  ^  Y. ]
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-18 22:39 , Processed in 0.102633 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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