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

3453 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan " H/ l! J# p3 _/ G! ?
- E; b# n( Z& r& N) U/ S; P

  1. 2 ?9 D: E3 g5 }+ X/ R; Z, h7 y
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######9 V) g: p; r+ f2 E; w) D
  3. 3 Y9 K2 d3 ?7 ]7 x9 A1 n0 c8 x
  4. ### What we need ###
    * s. l& {4 T6 d' y
  5. Naturally, we will need a MySQL server to store the data for us, this document
    & l; i; Z0 ~9 D: X) Q
  6. will not explain how this can be done - there are documents out there for the
    * A* R4 v6 {9 E4 H/ a& \" U2 V7 `1 T
  7. interested. The requirements include a (empty) database for TeamSpeak to use2 ~& g! g# P! O: [8 A& l* x2 @
  8. and a user account (username + password) that has the permissions to do stuff
    . x! R, O1 _% W( U( J8 y  K! V
  9. with the database. Additionally, you will need a vendor library installed on the
    5 F; u. Z. _* R/ q  [% N
  10. local machine, this came with my MySQL install.
    6 R! x4 P+ r( C$ a) h, m
  11. These instructions will not tell you how you might transfer your data from the
    $ B( `# f* K0 i4 |
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    & Z+ A6 {1 M, D0 d- p) T7 O
  13. database.
    4 L$ E( E$ N: _( R/ b* n$ r
  14. Some users have reported ways to import a SQLite database into MySQL, but at- A# K: h' w; }) a
  15. the time of writing, there are still too many issues - check the current status0 @  P! ?! g4 a6 c
  16. in the TeamSpeak forums if you are interested.: Q3 N6 O+ d* u0 K
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    + a( j: z+ j; P
  18. Borland was used. This driver can only interface with the client library that & ?' A' I  X9 g; }
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this+ s- q! T& l% k% g2 s+ R( \
  20. client library - basically all you have to do is to use a 3.x client library as " ^4 m9 Q+ ~4 D& c3 `  r0 r
  21. "VendorLib" and a 4.x database to connect to.2 N( [. g' f8 f9 o
  22. If you need more info about dbExpress, you can contact Borland.! x9 Z7 E9 _" Z7 O
  23. 2 i- E3 _' {2 l, y7 b; q
  24. ### Doing the work ###
    $ H* r" {, W! H, j( l
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    # ]5 {3 c' D% S% \: p4 y
  26. the perquisites right, just open your server.ini file, and add this section at
    / y8 i' l% U; p1 |- n1 b4 Z6 z
  27. the end:- s& i" \3 ~. |+ E6 O
  28. ---cut here---
    % X6 s- }( j' f; Z5 B
  29. [DBEXPRESS]
    9 o" L  V; Q! V1 b
  30. sqldir=mysql_sql
    / v6 d" D7 i: |  n* C
  31. Drivername=mysql
    ! k! x& f$ M) v8 U
  32. Database=Your_Database_Name_Here
    + L3 z/ y& h6 k! v9 G+ k9 o
  33. Hostname=The_PC_the_MySQL-Server_is_on% p1 a& v4 P8 l' d& z' {
  34. User_name=User_name_on_the_MySQL-Server
    ) n1 a( @% W; n& g- D3 b
  35. Password=Password_to_go_with_above_user_name
    0 t% ?! `" D/ L! l0 j
  36. GetDriverFunc=getSQLDriverMYSQL( W5 [% m+ w: I% r
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib# v9 v- L! S8 R" A
  38. LibraryName=path_to_libsqlmy_libary0 U- @: e2 Y0 g  E$ ^; K1 a# P
  39. Active=1& L* K! m3 L$ h
  40. ---cut here---
    ! x3 Y& f' k* l; {0 u* ]. v. y0 v
  41. In my environment (a linux box with a MySQL server running locally) I have:# Q3 M" Y" [+ M; f) k+ E
  42. ---example---
    . ?# ^) N4 `8 }' w
  43. [DBEXPRESS]- Z( O' A4 m* _& \/ ~! T9 D
  44. sqldir=mysql_sql- g4 I& n, p" t, a6 t1 k* b8 u
  45. Drivername=mysql; o( H: _9 Q# _# {
  46. Database=test
    6 B" F4 l" K; S, x9 c: I+ U
  47. Hostname=localhost, V' J* ^2 y6 k
  48. User_name=testuser
    ; p" n6 r" h7 q% i
  49. Password=my_password
    - z3 X6 `/ q6 |. G
  50. GetDriverFunc=getSQLDriverMYSQL
    & ?/ M( S: J% F7 u& r
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    6 ^  j: X( B1 r2 w& j; e8 V6 z
  52. LibraryName=./libsqlmy.so
    5 n' D- Y8 A% M9 \2 ^
  53. Active=1
    ; `5 h2 W( z. X* A7 O4 |- c
  54. ---example---
    2 ~; M6 y9 [5 Q! b9 [
  55. ( Q4 [% r0 ~0 Z. n5 M
  56. On a windows box, also running the MySQL server locally, it would be:, u4 k6 j2 x# F/ b9 W; A4 d9 R. u
  57. ---example---' y1 E" m+ p' z; `" p9 @; M
  58. [DBEXPRESS]
    5 ?* [) H6 Y: M
  59. sqldir=mysql_sql
    7 Q, h6 H4 X, u  k4 y: F0 K
  60. Drivername=mysql* [* P7 J/ Q6 u1 M
  61. Database=test
    6 X0 d, z" j: ?2 e& v, c# @
  62. Hostname=127.0.0.1
    8 P9 i$ y  ]5 H% d
  63. User_name=testuser# P) @2 S3 ?+ a
  64. Password=my_password$ l+ ~- d# L$ |* G. K. @
  65. GetDriverFunc=getSQLDriverMYSQL1 {6 [5 [4 U4 X, t6 i
  66. VendorLib=libmysql.dll
      e+ ^8 k9 l7 O4 y- z
  67. LibraryName=dbexpmysql.dll
    3 |1 {6 \' J3 C2 L
  68. Active=1
    8 m( j5 I! e! V: L
  69. ---example----0 b, f  T+ j: e9 J( p! B) \
  70. - written 02.03.04 by pwk.linuxfan- _& v+ `+ v' q: _- s' q# M. m

  71. 3 I' t3 a9 g  W) H
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
8 O" v1 Q4 U; e- n4 J2 E
  1. 5 W+ J: V" Y5 n* ?, U
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ; Q5 w* x2 l: }. f& i) P2 [3 \

  3. ! B+ I$ a( c# D# m
  4. # # #我们所需要# # # 6 _. f  p6 [( A
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ' J$ U& u' u+ C- ^5 f
  6. 不会解释如何做到这一点-也有文件存在,为, x0 P2 ?+ Q! ?; ?, ]. w
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用7 [! i- f, V$ k
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西$ D* x# u) ]! F6 h' w
  9. 随着数据库。此外,你需要一个卖方图书馆安装于/ h7 n# t. U- r, g
  10. 本地机器,这是我的MySQL安装。 ) o6 ^6 h2 C" Q/ t1 |1 Q' d! a
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    9 T5 ?0 ^) x# [& C, C8 g
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
      `4 {0 V. ]" O1 L( }) V8 d8 `0 J
  13. 数据库。
    ) h# u, o3 q; A+ {# C( n
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    & B; P# L7 k/ Y, }, t* E+ C
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    5 E% p# e% P" `# [4 q$ C
  16. 在teamspeak论坛,如果你有兴趣。 6 [! A; I! |4 ^4 T2 H
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机' k, [2 |5 c$ M; W2 q, u' E
  18. Borland公司使用。这个司机只能界面与客户端库, P1 M9 }6 e' i7 S/ n
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    . N7 _5 s- p3 H# ~! k" C4 R
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为5 S% C$ X+ M6 `3 H" ^+ `
  21. " vendorlib " ,并解数据库连接。 3 s5 @. E% R5 f4 D; a( Q
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    $ G8 O8 b. m6 t# _9 _+ b% @4 c

  23. + s6 N( C3 ~. @; e
  24. # # #做好工作# # #
    1 r( v: B: G8 q
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都0 m6 Q3 w$ O! ?$ z! o$ v3 Y7 `# o
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在) q4 j; D7 L6 z3 `; w
  27. 结束:
    ! O2 ^2 Z7 t! f) ~0 Q! t/ n; T5 J
  28. ---削减这里---
    / ^! V% I/ h9 \' O* A, o
  29. [ dbexpress ]
    2 @1 E. x; @) V$ z
  30. sqldir = mysql_sql   d" l) P) j) a& C6 _- d- |5 H
  31. drivername = MySQL中5 B& E. a) C" O. z  X: |
  32. 数据库= your_database_name_here
    0 g/ d% D) E) U- m7 t6 H
  33. 主机= the_pc_the_mysql - server_is_on
    & c# Q/ U. L3 K: e1 }
  34. user_name = user_name_on_the_mysql服务器; _; W2 d- ^; o4 h4 G
  35. 密码= password_to_go_with_above_user_name . p; z: ]) {- b# R" x; s
  36. getdriverfunc = getsqldrivermysql 0 M; T! c- ?0 v' C; V/ T, T: o: o
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 6 g. d, N* O/ e6 k. f# J
  38. libraryname = path_to_libsqlmy_libary 0 B; H: _7 Q# X; f$ [* R* j
  39. 积极= 1
    4 u4 c4 R$ J1 b" |: S8 {9 l2 h
  40. ---削减这里--- " D4 ~; b- q! P9 z7 {1 t
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: + |% P) a: Z4 z0 \
  42. ---例如---
    8 j* b3 R0 s0 F7 P8 C4 ^0 q
  43. [ dbexpress ]
    1 T- E5 F7 K: E" S0 h8 p
  44. sqldir = mysql_sql
    ' ?2 j& c& V0 H8 G; o* N) W6 r
  45. drivername = MySQL中
    . h' O1 z. B% V: U8 b5 h& |
  46. 数据库=测试! u: N/ K# i% W6 J. X. A0 p4 ~
  47. 主机=本地主机' R! u& I6 l1 K3 p# D* s
  48. user_name = testuser
    8 J+ z  p$ ~/ T: ^! ^
  49. 密码= my_password 2 z. @5 m' J( b' W
  50. getdriverfunc = getsqldrivermysql 7 Q& s! s# `5 j/ X- ~
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 & m7 T+ @# |9 c4 k1 F
  52. libraryname =. / libsqlmy.so ; I( h$ O8 D0 c
  53. 积极= 1
    / D5 U' s5 K  x4 r: Q
  54. ---例如---
    , k( p4 ~4 l' C: Q" f

  55. 6 I$ r1 C+ J3 \+ ~
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 1 D# y: Y. N) W* ~! G, [/ j
  57. ---例如---
      |& B' F$ O: u& N% ^
  58. [ dbexpress ] , H$ r0 U4 {: t1 Z( A2 p
  59. sqldir = mysql_sql
    ) ^* P; C6 b) \0 C9 W* M
  60. drivername = MySQL中
    6 H, Y* p( S" D4 C
  61. 数据库=测试  F5 k+ G+ `8 r) n! Q6 M; D) a
  62. 主机= 127.0.0.1 3 b- A( ~  z! ?1 \, }. G0 t9 v
  63. user_name = testuser
    . Q* Q/ k! x5 r. w; Y5 I
  64. 密码= my_password " q' ]6 l2 z6 W1 H
  65. getdriverfunc = getsqldrivermysql
    + S- Y2 h9 Q( \3 ?' r7 G  ^
  66. vendorlib = libmysql.dll在  r6 l* n' z2 B) C; g: J
  67. libraryname = dbexpmysql.dll : E/ ]  A: Z4 W( o
  68. 积极= 1
    ; `! t+ ^% ]( I
  69. ---例如----
    1 G4 x. q% F3 V! [0 F
  70. -写在0 2.03.04由p wk.linuxfan
    + r- J) @0 }8 R; F$ l+ I
复制代码
发表于 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 words3 l& ?) m2 @- {  h$ {, V2 l: ^
+ Z* E6 E3 ?# J' S  [% ^* I
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-31 00:07 , Processed in 0.057492 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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