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

2903 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 8 t5 H$ G! }0 {, d8 m

( @3 J, r: l( v3 r+ c1 D' t1 e
  1. & X' w4 n. I) O3 |" p4 x
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######5 F$ E( p1 q* L0 f" N- ~' j# R  h

  3. " e% c- X0 Z" g* S. }' j- z
  4. ### What we need ###! ?' J4 P5 k  [7 Z; {3 c. ^
  5. Naturally, we will need a MySQL server to store the data for us, this document 7 X' z/ n* }! ]/ N* Q2 `; H+ R
  6. will not explain how this can be done - there are documents out there for the . g2 f" J0 q+ O4 r
  7. interested. The requirements include a (empty) database for TeamSpeak to use% i6 k: ^& y1 s9 ~
  8. and a user account (username + password) that has the permissions to do stuff. |6 ~& Z8 C- z' {8 C. h- Q
  9. with the database. Additionally, you will need a vendor library installed on the
    / r/ ?" B4 [( Q" T5 Z! O
  10. local machine, this came with my MySQL install.( p% q) Z: R3 ^2 f
  11. These instructions will not tell you how you might transfer your data from the
    4 B- P- Z: _. h* Z" N: ]6 {
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL$ h5 c6 ~9 D! ~: U6 Y! O) ^( c
  13. database.
    & Q  h' k" H' n
  14. Some users have reported ways to import a SQLite database into MySQL, but at0 `9 d9 V. w6 @, ]* e
  15. the time of writing, there are still too many issues - check the current status
    . q1 s, r) e) m! C1 I4 D/ y2 b
  16. in the TeamSpeak forums if you are interested./ q6 t/ r; m6 S& i" d
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    3 {/ i4 L6 O7 T/ d0 H! J
  18. Borland was used. This driver can only interface with the client library that . D& S! M5 I6 l/ @( S$ g/ y: k
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ' ]' t2 _$ Z- v3 r
  20. client library - basically all you have to do is to use a 3.x client library as
      d  s  S" L6 P6 m7 W, |
  21. "VendorLib" and a 4.x database to connect to.1 h, Z$ v5 S' a6 m/ `& k1 M7 L
  22. If you need more info about dbExpress, you can contact Borland.
    : ?5 U0 Q2 t" ^6 s" i2 ~+ P0 e

  23. 0 B6 y  Z- D1 ^% V2 Z( H: w8 i
  24. ### Doing the work ###
    ' H. A5 o) R  q' h9 o3 V  ~
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    . l, ?& x) O4 b" H: W3 C6 \
  26. the perquisites right, just open your server.ini file, and add this section at
    . r$ b$ ~1 T7 M% K3 l6 ^1 @
  27. the end:
    8 E/ P9 g2 p) ~( N+ k: F
  28. ---cut here---
    1 V  q+ G- f4 R/ V
  29. [DBEXPRESS]
    4 y3 ~3 B" a( B( P. Z2 N6 C# o
  30. sqldir=mysql_sql6 y1 Z1 |/ j/ ^: _8 W3 Z1 r& ~
  31. Drivername=mysql8 Y9 x( e  [- R2 j9 }4 O$ J+ R
  32. Database=Your_Database_Name_Here
    % R. S1 c, _8 ^$ g! A! \& G
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ( J  _- _" P% N  Q4 |2 u
  34. User_name=User_name_on_the_MySQL-Server
    ( p; Y, w; R5 t
  35. Password=Password_to_go_with_above_user_name
    2 I5 r! z* J3 @# r; x9 J7 g
  36. GetDriverFunc=getSQLDriverMYSQL
    & {& `9 k" H5 g7 ~: l- T1 O/ s$ o
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    + I, G6 a) g/ L+ ?# b5 H
  38. LibraryName=path_to_libsqlmy_libary2 |  K+ y; e0 X2 n
  39. Active=15 j2 j* C% x9 _, ^
  40. ---cut here---
    5 c( F$ E* o: q- w% Y+ W% B
  41. In my environment (a linux box with a MySQL server running locally) I have:; h; ^* x. t7 N' l3 [
  42. ---example---& t9 N" U8 q1 e' B
  43. [DBEXPRESS]( Z9 x+ K8 u+ Z# {; t# i8 t8 B
  44. sqldir=mysql_sql
    - S$ S1 Q, ~& c8 q
  45. Drivername=mysql! z+ E6 h; T. S& Y, ^
  46. Database=test
      U& T& j1 u0 y6 r0 m4 l, h8 ?1 h( K8 n
  47. Hostname=localhost
    " ?' z+ C& U. t: d+ q: L
  48. User_name=testuser
    5 h4 v6 w; z5 s! L# r  \
  49. Password=my_password: T: C& N- w6 n7 |: R
  50. GetDriverFunc=getSQLDriverMYSQL
    3 S- ~# r' s+ S+ i
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.03 D! f. O' ^0 e+ m
  52. LibraryName=./libsqlmy.so
    " d7 H# B% _: F( e2 y4 S
  53. Active=1
    6 p/ z. F* g  z$ ~0 c5 T
  54. ---example---" C5 Z: H( u7 G/ S% G
  55. + s( ~( _( h6 ]
  56. On a windows box, also running the MySQL server locally, it would be:
    8 j) \/ H1 o9 V0 _4 R! P" L& n+ \5 U# N
  57. ---example---
    " O0 Z4 x* Q7 j* Q) E
  58. [DBEXPRESS]! W2 B, g- k. r8 ]6 x
  59. sqldir=mysql_sql7 U8 w; k/ u$ |2 }
  60. Drivername=mysql) x- E  b% Q$ n. ?. N' W% R, `  C* L
  61. Database=test& S9 A* L, ]! o( S
  62. Hostname=127.0.0.1
    0 n* ~: L. I2 l) F7 u4 s
  63. User_name=testuser
    - Q6 d& v1 \9 x: g7 W  G+ N
  64. Password=my_password$ K/ E5 q( s7 m+ A8 w9 k3 y
  65. GetDriverFunc=getSQLDriverMYSQL/ l4 i" ~3 u( {  l
  66. VendorLib=libmysql.dll
    ) k$ Y6 |) Q  r) o$ l
  67. LibraryName=dbexpmysql.dll
    7 s1 w4 x' i$ `' q9 I
  68. Active=1; r+ e$ s' ?  y/ A$ ~0 L9 N
  69. ---example----0 {6 }5 V+ l) J
  70. - written 02.03.04 by pwk.linuxfan, r9 e7 W  j% |* e% \
  71. & h% q+ [) w( c# P) E3 J
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
3 {( N8 W; ~, m4 q9 N9 D  G
  1. " X7 J' T) x9 D% t9 q
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ! ~1 I7 K% z& H3 }( G8 ~1 [% R# q; K
  3. ( `2 k; r7 r: v. E6 n9 d) F
  4. # # #我们所需要# # #
    - D" a2 H9 i8 H3 Z; n- m* }4 C2 Q, m/ i
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    2 L; c$ _' d4 l% Y
  6. 不会解释如何做到这一点-也有文件存在,为
    7 r! ^! P1 U; K
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    - o7 h9 o9 g! o
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西3 r' k! y4 Y8 k4 c9 ]
  9. 随着数据库。此外,你需要一个卖方图书馆安装于: R) s6 n6 M$ A/ l  {5 m% E
  10. 本地机器,这是我的MySQL安装。
    , {) z( y- T- m+ {, g  z0 [% p* d" [+ H
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从7 @% }$ M, `* O9 [- e6 g* x( H
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 8 v6 p- |5 r0 n# E, S
  13. 数据库。 ' M) W1 }; [$ `7 z4 j+ d' X. G
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    8 o6 P6 {7 R0 _
  15. 编写本报告的时候,仍然有太多的问题-检查现状8 X4 g: m: T6 p9 b: G; b$ c
  16. 在teamspeak论坛,如果你有兴趣。
    8 p# c" C* f, J! @
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    4 B0 b! l$ F4 X
  18. Borland公司使用。这个司机只能界面与客户端库
    5 Z% }  W0 F! ?  l# v
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    1 [2 ^- q9 r- S! Y# [
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ' ^" ]9 @" m$ e  B' J2 u! h$ R
  21. " vendorlib " ,并解数据库连接。
    & ^2 G+ a6 p" k/ T
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 : X; M1 [0 }6 d. n6 n/ H

  23. . J0 L+ X, f  C0 ^6 `
  24. # # #做好工作# # # ( ~; K; H) v! b! x# p' v  i; Z/ z
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都- c4 C2 b" z7 }" h; Y; B: r' B
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    / ~# q  s7 [2 k
  27. 结束:
    ) G3 H1 c" ?; @% \# p
  28. ---削减这里--- $ o! q7 [- \& T6 H) P
  29. [ dbexpress ]
    3 |8 @8 g: t! N6 a8 Q3 G
  30. sqldir = mysql_sql 8 T  ]5 b+ B# `6 l+ \) L
  31. drivername = MySQL中
    * e0 m2 ]7 k. Y9 u0 ?/ r2 `
  32. 数据库= your_database_name_here 9 E+ p8 a- T8 d' r4 D
  33. 主机= the_pc_the_mysql - server_is_on
    / C. y" I$ h. [( j
  34. user_name = user_name_on_the_mysql服务器
    $ v& C, {; }* }9 i2 M( h! C
  35. 密码= password_to_go_with_above_user_name
    + h2 I: E  _7 {/ {5 d
  36. getdriverfunc = getsqldrivermysql
    $ }: ?! Q! n3 u$ I; `1 t
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    7 K5 C8 ^5 |1 T+ e! X
  38. libraryname = path_to_libsqlmy_libary
    ' `  F; {( n# G
  39. 积极= 1
    ; B7 M3 |  `8 I" w3 U4 _6 ~( B
  40. ---削减这里--- 3 ~7 y! j% ?* Z- d& y  _1 {
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: : b8 E% Q5 O' y! e+ B  u$ ]
  42. ---例如---
      J; E, q( v5 J  W
  43. [ dbexpress ] ' D- l" C# `& ]9 e; u
  44. sqldir = mysql_sql ; k3 Y8 ?+ a) ^4 v1 b
  45. drivername = MySQL中
    $ t8 c' C3 u* w3 r& g6 d7 f% ~+ c- u
  46. 数据库=测试* f5 U8 e/ l7 U$ \! ]; w+ \
  47. 主机=本地主机
    . d  Y0 f" |% \/ U, \
  48. user_name = testuser
    8 i' ^/ l. {; b
  49. 密码= my_password
    2 o! O5 ~1 }5 s* M: L
  50. getdriverfunc = getsqldrivermysql . b# S3 D9 H, w8 `) |6 r
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 " ~6 |5 [6 u8 F. r
  52. libraryname =. / libsqlmy.so
    - _# P4 p" ]9 a* I' ?- K5 @" s, e( Q
  53. 积极= 1 & ~# j$ q4 e- _( q  K4 D8 g" s
  54. ---例如---
    + L& W  H8 s; s) t+ F, O# Z5 s% _. Q

  55. 1 \: Y9 f: `( E
  56. 对Windows中,也运行MySQL服务器本地的,那就是: + f3 v3 B/ s( p. p7 m- b2 D
  57. ---例如---
    7 V) L; b# Y5 A, T
  58. [ dbexpress ]
    * M1 U3 k7 D7 e0 W$ q
  59. sqldir = mysql_sql
    $ Q0 c; d: B+ b7 N5 u" P. ]
  60. drivername = MySQL中4 V7 j2 r( G) ]
  61. 数据库=测试7 f) d9 u3 `( ~6 Z/ ^" [2 y8 X% M
  62. 主机= 127.0.0.1 % _' B& i) c# T$ c1 }1 m: w- D
  63. user_name = testuser
    ! u# q$ @( T. h$ F* F
  64. 密码= my_password ; y: a$ s. l0 Q9 f" Z
  65. getdriverfunc = getsqldrivermysql
      Q  Y5 P5 R4 {$ g4 ]8 g
  66. vendorlib = libmysql.dll在) R7 h' U- m: E3 a) t
  67. libraryname = dbexpmysql.dll - Q" s+ J; Q3 D7 E0 B" n
  68. 积极= 1 ( ?2 k; }1 i9 Y$ D5 C7 M4 _
  69. ---例如----
    % _% q! G) O5 N# I( j
  70. -写在0 2.03.04由p wk.linuxfan4 n. G, N) v- ]0 p' `
复制代码
发表于 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
: ^, K8 g/ [# a' O, f3 l4 N' i: G/ [  L* l4 z4 v3 U
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-16 14:14 , Processed in 0.091376 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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