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

3330 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
+ {2 }6 I! [6 D( {5 ]
9 r5 Q( M& ?, P& A
  1. 5 ~$ O% u4 a9 i" F7 U
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    / T: j* `) Y; z7 ~$ n' P
  3. # ?" G" g+ A" j
  4. ### What we need ###
    ( P; D2 F6 y  U6 a+ }
  5. Naturally, we will need a MySQL server to store the data for us, this document ' l( t# w' A: e$ C& H: `7 H
  6. will not explain how this can be done - there are documents out there for the 7 ~& R) P" j" C2 z; C! X! Q$ ?
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    / M, o" j! i4 `- e! m
  8. and a user account (username + password) that has the permissions to do stuff
    ( s+ y5 G0 v: @) a) a8 c
  9. with the database. Additionally, you will need a vendor library installed on the
    9 x( W! X' C( W! a3 y, Q* \" l
  10. local machine, this came with my MySQL install.% c5 d  Z$ ^' C4 U# V
  11. These instructions will not tell you how you might transfer your data from the: j+ p+ A3 ~9 g2 E
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    5 K, C3 o0 j. A  W
  13. database.2 T* k+ Q, a: P0 P
  14. Some users have reported ways to import a SQLite database into MySQL, but at9 H( g; s4 D7 ]3 v! O: }
  15. the time of writing, there are still too many issues - check the current status8 l2 S, x7 e: Z
  16. in the TeamSpeak forums if you are interested., E: e* [, f/ w1 Z# a
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    8 l' G0 f- J6 ^' X4 C' t& }0 w
  18. Borland was used. This driver can only interface with the client library that
    # a: _# g' l& r
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this7 q2 c$ @% n9 K- d
  20. client library - basically all you have to do is to use a 3.x client library as
    5 Q4 N5 p4 `, r
  21. "VendorLib" and a 4.x database to connect to.  a$ {( I' y: k* n, E# S, N, a
  22. If you need more info about dbExpress, you can contact Borland.' x  ?/ ]  D% h  f

  23. 4 ]+ d* s. p! p& I" |8 @8 `
  24. ### Doing the work ###/ H( k5 V; p/ m9 D
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all, I5 W2 G9 E, H+ R# p; E4 |- _
  26. the perquisites right, just open your server.ini file, and add this section at6 q3 g& T) p% x- F
  27. the end:  p4 z- Z$ [+ L$ i
  28. ---cut here---
    " z* A/ x2 G2 c+ G% G
  29. [DBEXPRESS]8 ^) c1 R$ R  c
  30. sqldir=mysql_sql8 }" R% h* x* C- p* n% B2 ?- o
  31. Drivername=mysql% d) O7 `& s3 g& J5 e7 W: M. ^4 S6 G
  32. Database=Your_Database_Name_Here0 [$ e1 K0 Y! y5 X; I# e) q
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ! m# x* H% u8 {7 e) L. F
  34. User_name=User_name_on_the_MySQL-Server- U" M. A' `% [2 e
  35. Password=Password_to_go_with_above_user_name
    2 g( K3 c7 Q# S" {
  36. GetDriverFunc=getSQLDriverMYSQL; K) J9 F% r( X' q! e
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib" ]: t6 e2 T) [- `; _
  38. LibraryName=path_to_libsqlmy_libary' X* r9 l3 Q- A" E
  39. Active=1- }: U$ e# L! R, h& O, A: M6 p! S, A
  40. ---cut here---
    : x. S+ G/ z: z& I, s  m# N, Z+ R
  41. In my environment (a linux box with a MySQL server running locally) I have:1 s9 C4 w6 E7 I! s( q
  42. ---example---9 y8 T* e8 x. U& M& [
  43. [DBEXPRESS]: }3 }* R' f5 x0 B. {2 {6 Z* q) C
  44. sqldir=mysql_sql, X$ A+ q5 B9 `# k& q+ p/ B* v
  45. Drivername=mysql
    : }- g% B$ u7 r3 D
  46. Database=test
    ) S; L7 u1 e  j  u7 X
  47. Hostname=localhost
    " Y% A9 \5 B. j  u1 n$ K
  48. User_name=testuser
    1 u0 @8 v$ h9 A" D" z: X. Z
  49. Password=my_password
    4 U- L8 h! @9 V' ~
  50. GetDriverFunc=getSQLDriverMYSQL
    5 x( ]) i) Q- u
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.08 K- }( B4 h9 x/ x& e) H
  52. LibraryName=./libsqlmy.so4 Q; E7 k6 U# L% D
  53. Active=1
    # ]$ \" w8 C/ s
  54. ---example---0 {! U8 O  X  N, b+ l" _
  55. : H( b& b; V$ O" x/ j, q& h
  56. On a windows box, also running the MySQL server locally, it would be:% k5 K2 t# y# y) x: x+ Y
  57. ---example---* U8 F, P$ Y! A! K% _+ p% ]
  58. [DBEXPRESS]
    0 Q/ J; ^, S1 p
  59. sqldir=mysql_sql
    % A1 C3 J& Z4 y# f
  60. Drivername=mysql
    $ m# u$ B+ z, O3 @) C! |
  61. Database=test" Z" U3 y0 `+ X$ ^
  62. Hostname=127.0.0.1
    ! {! F3 k6 {* w9 f7 E
  63. User_name=testuser
    : Z& g7 w) B! ^8 W: k: b) b6 z* F; y
  64. Password=my_password
    % t' `! l8 Z9 z9 \. O6 V
  65. GetDriverFunc=getSQLDriverMYSQL
    / q% {* h- c2 _5 {9 [7 Z, H* _; C
  66. VendorLib=libmysql.dll
    2 V  q) r7 g/ U0 a# B# Q* r8 K
  67. LibraryName=dbexpmysql.dll" ~8 X) j: x2 U; D$ Q
  68. Active=1+ Z; @2 ^8 h, w! r- `: b
  69. ---example----1 Y/ |: I1 V" p  r
  70. - written 02.03.04 by pwk.linuxfan
    ) x! ]; U% P$ ~
  71. 3 Z. {. p2 P* d+ c  P  F$ B  |9 U. v
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看; c. G, j/ J. J  V% T

  1. % b0 W% k& S1 T
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### % I+ G- I! g4 g; [% ]( ?) G/ _
  3. 8 b% V5 ^. J: e1 o
  4. # # #我们所需要# # # ' @+ t3 l% |+ S) F  A
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件. r) z  y1 A/ L
  6. 不会解释如何做到这一点-也有文件存在,为4 X$ G/ s* `% e/ _9 ^' A
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用# r8 Y. _* T" b
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西; [: q6 M6 S& e
  9. 随着数据库。此外,你需要一个卖方图书馆安装于$ i' N: m/ y- ~2 e& V" h( |8 _
  10. 本地机器,这是我的MySQL安装。
    " Q& B8 P8 e2 H8 A) c2 a1 I5 X/ d6 x
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
      y8 H8 S& m, K0 k# p
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL % B$ ?& j; w, h1 Q6 s
  13. 数据库。 $ T0 h& a1 F2 |" n* [
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ( U; x5 k1 L/ \6 J' C9 N! z
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    6 y2 R( y' T6 R% I
  16. 在teamspeak论坛,如果你有兴趣。
    9 d4 f  `  u  j* x) ]2 r: v' X
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    - Z' b+ _- f! U- `  m2 s
  18. Borland公司使用。这个司机只能界面与客户端库
    + ?  C# _, e- |- I) f; C# y( E  Q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这$ h" {" D5 q  w
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为) Z3 b" g2 f! O) C0 S. V7 z
  21. " vendorlib " ,并解数据库连接。 3 A( K( T" C  i2 \( M$ j3 A, [
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    * {9 B  T6 {& s/ r

  23. , [2 o. `2 A$ }2 w3 a: y0 x
  24. # # #做好工作# # #
    0 y* @- B4 T0 y- t9 \9 Z8 D( y) X
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    : x% X) l, X- B# w5 q/ n
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在+ L" i7 g$ I+ M8 l+ Z  C
  27. 结束: * H' H) \, |* Q
  28. ---削减这里--- ' _% D) e$ W" C) l. ~
  29. [ dbexpress ] 9 Q& @; a6 Q8 x  `6 m* B
  30. sqldir = mysql_sql
    - }- T1 N& Y, I; z' H
  31. drivername = MySQL中& f* a3 V: f4 e9 `, L$ k4 c" D
  32. 数据库= your_database_name_here 8 m/ l( |' I1 C. l4 q
  33. 主机= the_pc_the_mysql - server_is_on ( }( S$ a$ K- `! p. i) V8 n
  34. user_name = user_name_on_the_mysql服务器
    8 G: R: ~* ?  X  s/ w1 v/ Q$ I0 [5 I' q
  35. 密码= password_to_go_with_above_user_name
    * h; E7 i' O. q/ {+ V7 W) }  g  ?; i6 ]
  36. getdriverfunc = getsqldrivermysql
    ) i6 A- z3 c  E0 G2 n0 U2 t
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib % L" B% N2 P* I3 p) \
  38. libraryname = path_to_libsqlmy_libary ' ]" z7 M( ?. D! u- ^7 L" o
  39. 积极= 1 4 j3 V6 o! P- s8 Z- B& i, B
  40. ---削减这里---
    ) D2 C( `" I5 y9 h
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ( W, _, Q0 ~; |  U
  42. ---例如--- ! Y5 K3 N. ?8 B* n" o1 ^" x
  43. [ dbexpress ]
    9 `# G; M* Y, L2 a! d0 C2 P
  44. sqldir = mysql_sql
    0 j% x, z* c- x+ ~0 L
  45. drivername = MySQL中$ J5 `; }) Q% T4 n/ G9 t
  46. 数据库=测试
    . s" t" K+ v' y- E
  47. 主机=本地主机7 L5 q9 H* ]2 A' N2 |7 y
  48. user_name = testuser 5 i6 {2 [! G" h5 M6 _* v: s. v
  49. 密码= my_password
    7 l% h1 j7 T% P, Y  G
  50. getdriverfunc = getsqldrivermysql ; i9 E4 \0 M  c' A" W
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ( ]$ E5 T7 y6 |6 n" R3 K1 m/ D
  52. libraryname =. / libsqlmy.so
    * G, w# P5 E% |% A
  53. 积极= 1
    5 g' B6 S! x" ]' e" J! f8 M
  54. ---例如---
    : e5 p3 Q5 F/ L+ L- N0 t3 l6 U
  55. - j1 X# B* F" T$ c  Y
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    , L* V0 V! X# x9 U5 k( e8 N' `7 @5 k
  57. ---例如--- ! Y; Z4 a% d, j8 q4 k" `
  58. [ dbexpress ]
    9 q. D# ]! r3 e- y3 k
  59. sqldir = mysql_sql
      @! y& h# G. ?) @. y* x
  60. drivername = MySQL中
    4 ]3 T# y$ r3 q; [- I
  61. 数据库=测试- ~/ V: u2 v  V8 k% V( s4 R; \
  62. 主机= 127.0.0.1
    * V4 U9 ]% E$ w
  63. user_name = testuser
    . J; v) W7 u, L; c3 _5 B$ t
  64. 密码= my_password
    . `- I2 m5 ~0 y) `0 E9 x1 v
  65. getdriverfunc = getsqldrivermysql
    2 F3 A( E+ d4 g$ R  F5 m
  66. vendorlib = libmysql.dll在
    : q7 I6 A" `. f4 ^7 m- L$ v. b$ P+ j
  67. libraryname = dbexpmysql.dll
    2 I' p; {9 U$ D
  68. 积极= 1 5 @6 b& h" `$ v/ j" U0 ?
  69. ---例如---- - d9 Y1 p' c! H4 \8 A! i" {7 O
  70. -写在0 2.03.04由p wk.linuxfan  U, A' s: @# A8 Z
复制代码
发表于 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- ?& x+ k- _' [2 `
' H2 B4 o* ~3 X2 h2 A; R' p' w
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-14 05:38 , Processed in 0.092356 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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