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

2559 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
+ |; Q9 i: V& {; q
  a/ ~4 `4 b3 @# Y( w7 b) ~% M$ r& d

  1. 4 T: ^2 N* M$ m, J9 s" B: L
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######: l3 \2 a4 ^' [# ]1 @! M% z  Y

  3. ) B  X, d6 p# o+ w, X2 n5 l
  4. ### What we need ###6 ]: H) I' L8 g% \9 E! T$ y: d
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ! l1 L: f5 c* X6 S5 Y
  6. will not explain how this can be done - there are documents out there for the
    ' G4 V* `; N. e" X; r/ g- Y* W" w
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    7 Z6 ~1 [2 ^2 O3 W6 R! ^" x
  8. and a user account (username + password) that has the permissions to do stuff9 \' T2 _* U8 i; ?3 P" U
  9. with the database. Additionally, you will need a vendor library installed on the9 o- o5 W" |) V% U% i% a
  10. local machine, this came with my MySQL install.) o: [" n8 n- V' Y  `& H3 r
  11. These instructions will not tell you how you might transfer your data from the
    8 A3 }( f' O( w, `0 l: X5 D
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL5 ~9 j; S2 E; L* g/ r  Q* T4 G
  13. database.
    ' a$ n* x. L) o1 F6 f* V
  14. Some users have reported ways to import a SQLite database into MySQL, but at  A- @# Q3 p4 r- ?
  15. the time of writing, there are still too many issues - check the current status
    , O$ s9 u7 Z7 n: X/ y6 b
  16. in the TeamSpeak forums if you are interested.6 z# H: x4 P, d( l& M& Z! s
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from2 f) P* i7 V3 n! \' X% B1 _8 o
  18. Borland was used. This driver can only interface with the client library that 3 ~7 O2 A6 _& k1 A
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ) g- N% r3 V- I( d7 d
  20. client library - basically all you have to do is to use a 3.x client library as - h2 `$ D1 a3 r7 t' y1 ]' V9 X
  21. "VendorLib" and a 4.x database to connect to.7 @5 R) v- J: f/ a1 r4 n
  22. If you need more info about dbExpress, you can contact Borland.! x1 q% y% d$ L% e: _

  23. 7 [- E9 Y/ H) U* u; T
  24. ### Doing the work ###7 f- S. ]( [) _' ]  _* t: z
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all! y: v7 L% h3 U8 ?, `: q
  26. the perquisites right, just open your server.ini file, and add this section at
    . H& T" E  _5 S; e# f8 x
  27. the end:
    8 _  l+ s( k+ n2 w: a7 r+ O
  28. ---cut here---
    / k4 q- \' o+ s( Q8 [0 Q/ \# J
  29. [DBEXPRESS]* m$ z* I8 b" P" E
  30. sqldir=mysql_sql4 t1 k# F& r0 X/ M; v2 R
  31. Drivername=mysql: E, ^  K% a3 p2 G
  32. Database=Your_Database_Name_Here# q6 |2 X6 E: S/ ~1 X/ o4 k
  33. Hostname=The_PC_the_MySQL-Server_is_on
    - M) m; C. M0 r( @# L  v( m" {
  34. User_name=User_name_on_the_MySQL-Server
    2 K8 m: E2 _% ?/ B. J) m4 ?
  35. Password=Password_to_go_with_above_user_name
      [% \0 c4 ^3 b! N
  36. GetDriverFunc=getSQLDriverMYSQL1 o. w" m# E% E0 v# m
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib4 j* e( p& `4 Y- f. T" F! @9 ?
  38. LibraryName=path_to_libsqlmy_libary
    , }1 J% e# W+ ~! E/ ]$ B
  39. Active=13 a7 `7 g7 ^  S1 n  @( e
  40. ---cut here---! s3 f5 K& U( f0 A6 ~0 s& n
  41. In my environment (a linux box with a MySQL server running locally) I have:+ e: Q: u3 l8 |. r! w% K( b- D* |. p& P
  42. ---example---
    6 R8 ?6 h' {2 K' B
  43. [DBEXPRESS]
    % h8 ?- p% m9 x' p3 o
  44. sqldir=mysql_sql, }+ f& R9 r, F0 N4 W$ ?
  45. Drivername=mysql
    7 c% ]4 B) R. L5 N* f7 l, H
  46. Database=test
    3 Y, D3 u6 f8 y9 x# F' r! V
  47. Hostname=localhost% ^8 g! J7 V' L7 `; ^
  48. User_name=testuser
    # i0 S3 \4 p6 W
  49. Password=my_password/ D0 V" J; L1 `
  50. GetDriverFunc=getSQLDriverMYSQL
    ( Q/ `* _$ G3 Q0 j( k: d3 V
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.06 p+ F# C# r- Q
  52. LibraryName=./libsqlmy.so
    * F, \! e5 a$ Z* A" A9 N
  53. Active=1
    / y2 O6 I4 C0 s  ]' ?' W
  54. ---example---% N. `- Z+ Y3 Y! Y5 U- N

  55. ) ~6 n% N4 k' L- F
  56. On a windows box, also running the MySQL server locally, it would be:: O5 ^1 a* @1 N6 R4 e& o8 |+ ~& G
  57. ---example---
    * S6 r2 o) V8 n" i
  58. [DBEXPRESS]
    1 E$ {. b( c) x/ g! D, V
  59. sqldir=mysql_sql
    / I2 C- t0 B; K9 R
  60. Drivername=mysql1 s1 P8 P) b6 g9 U1 K& T  n0 J; ~
  61. Database=test9 P% O% e" ]- X2 l( \0 {
  62. Hostname=127.0.0.1( T6 M+ E% B9 \2 \0 k* a
  63. User_name=testuser' q6 B/ a0 J' l! |: F: O9 ^; i
  64. Password=my_password: x) d5 W! I1 A. F* Z" |
  65. GetDriverFunc=getSQLDriverMYSQL3 k1 U" y4 a- F# C# E9 }
  66. VendorLib=libmysql.dll- u: G( V+ K+ I) B
  67. LibraryName=dbexpmysql.dll, ^) C5 ~. c4 p
  68. Active=13 S, p2 v' s) x1 x* F! K
  69. ---example----9 ^- C" I4 \5 X: ?9 Y
  70. - written 02.03.04 by pwk.linuxfan
    # O- v$ n) q# G

  71. ) Q1 \) w; u. ?1 j6 [. x3 A
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
7 ]+ c) C1 W/ h. ~9 f# E
  1. 7 V) Z0 v  n( N8 ~8 S+ b: I
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    & b0 @  d( b) L

  3. - V! Y, p6 O3 K4 }2 j1 ~
  4. # # #我们所需要# # # . u% V5 K6 l* ^+ t" M
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    # j1 {* ~. u3 U3 g; I
  6. 不会解释如何做到这一点-也有文件存在,为1 D- y; C1 i2 H+ D* ]$ @  `
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用. c9 ~; e1 x# @
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西" d8 \, L6 j# A5 u+ A
  9. 随着数据库。此外,你需要一个卖方图书馆安装于$ G9 J* W$ z# A" d+ r: k
  10. 本地机器,这是我的MySQL安装。
    " [6 q/ m$ Z8 w
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从# r$ S7 g$ Q. k
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL / L# I9 X0 i. J) }4 {
  13. 数据库。
    % I+ v( u- f/ n, d: o9 K3 u
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在1 m+ E  u/ E: ?$ U
  15. 编写本报告的时候,仍然有太多的问题-检查现状) d9 E2 _* u/ S- V# B! ~, e6 M
  16. 在teamspeak论坛,如果你有兴趣。   q3 U0 p  b+ A+ f" y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机0 U$ w  B- v( O/ ^
  18. Borland公司使用。这个司机只能界面与客户端库
    , V9 ?( ]$ `4 w# V) b
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    4 N% K: X9 W: T
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为) _1 |# K3 n* L) _9 I( Q
  21. " vendorlib " ,并解数据库连接。
    ) k; q: J5 G3 _% @# V9 N
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
      J' O4 m/ _# j; f- p& w% z8 @

  23. 4 [) h: _% [: X
  24. # # #做好工作# # # 5 A, k# G0 m. S2 _+ I! ^
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都9 E) ^  @( |( `- s+ F$ q$ y
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    % b3 x  C* J' R1 O* J; l- x# u
  27. 结束:
    - Z% R" K1 X# @1 q" _/ m
  28. ---削减这里---
    3 I% ]) p7 }* m2 y# ?3 P2 w
  29. [ dbexpress ]
    3 s" O0 ~& a5 E; W
  30. sqldir = mysql_sql 8 O, w' u  M; p0 I
  31. drivername = MySQL中7 k% G6 O' m' q9 d( m5 o9 i
  32. 数据库= your_database_name_here
    $ Q1 `' f  T8 K. z3 [3 {; U
  33. 主机= the_pc_the_mysql - server_is_on
    " H4 g/ J  A, n, F8 K8 f$ `
  34. user_name = user_name_on_the_mysql服务器* x( h! d  e6 a0 @  P4 f# y
  35. 密码= password_to_go_with_above_user_name
    & n0 |( ^9 O6 R8 e
  36. getdriverfunc = getsqldrivermysql , l  g/ T  U: x4 g9 u, F
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib & w9 a  G( f0 y! r1 j  O% ]
  38. libraryname = path_to_libsqlmy_libary   E' x% P  N5 x* W5 E2 \5 r3 H
  39. 积极= 1 8 r2 h% n3 [% @+ ?4 }- d  r% }
  40. ---削减这里---
    # f0 S" e% j$ O; q- P4 x
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
      Q; s! N% @/ z' d8 J& V! M- X" ~5 @
  42. ---例如--- # p9 w( {1 K: ~9 A; Y2 D
  43. [ dbexpress ]
    * c  ~, g2 ?# H) l
  44. sqldir = mysql_sql ' ^1 l# m/ U& ]
  45. drivername = MySQL中4 y# I' w0 h' H
  46. 数据库=测试
    ' m% V9 ?% P4 q
  47. 主机=本地主机3 R8 j( O4 O& Y
  48. user_name = testuser
    / m; b# K, U* g* M! }5 f$ _
  49. 密码= my_password
    . X7 V- v1 J7 g. r1 ^
  50. getdriverfunc = getsqldrivermysql
    : m+ {6 E5 b  Q
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ' }8 O% c3 U: a( ~
  52. libraryname =. / libsqlmy.so # V0 K4 k0 \  G/ k% m' L
  53. 积极= 1 - t& A. s. U5 b4 r9 |
  54. ---例如--- + [+ Q+ {0 l; s& D3 ]1 r

  55. " r! G/ u; p5 @( Y! @  A) ~
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ) E: m0 e3 `7 d! O- e
  57. ---例如---
    ' J. w3 z0 K4 E3 v+ h
  58. [ dbexpress ]
    6 t5 o0 G, P0 U% |
  59. sqldir = mysql_sql
    : ^% V3 H. p3 z3 c8 w; s
  60. drivername = MySQL中
    ! u8 @2 @0 Q2 Z, e) t+ v
  61. 数据库=测试
    & d" B* X6 \8 S
  62. 主机= 127.0.0.1
    9 Y. N. J: l% J0 {: s5 ?
  63. user_name = testuser 2 Z7 c/ `7 x& y
  64. 密码= my_password
    " Z* s6 @# X  N  @* Y+ x
  65. getdriverfunc = getsqldrivermysql
    " b' e8 s' J$ C; v* M2 C  S
  66. vendorlib = libmysql.dll在
    3 x: c1 F4 f2 m
  67. libraryname = dbexpmysql.dll ( y+ X: e  c: v- V. ?. [7 i, O) q
  68. 积极= 1
    - x& t7 _; d6 E5 a7 Q
  69. ---例如---- $ e! @0 P8 _& _  x4 m+ t
  70. -写在0 2.03.04由p wk.linuxfan9 @; T2 u- N  e( Y' w8 @
复制代码
发表于 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  o+ c1 J1 A* {: g! W
2 k7 k, ~& U% ^( A2 A
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-28 00:47 , Processed in 0.141284 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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