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

2218 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
% _" T8 X/ `  P" @* w, t, [* J; m
1 F3 P: k7 ~6 d' G2 \; ~; R

  1. # ]0 t! u% j9 @. n: |
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######8 r5 ?# G" r- F# P( T

  3. # [- R' u/ b. f( e# [. j. _
  4. ### What we need ###
    4 k% u1 s: E. u! d+ W& f
  5. Naturally, we will need a MySQL server to store the data for us, this document
    " N0 H% X/ O. p# T
  6. will not explain how this can be done - there are documents out there for the
    0 z/ L8 H4 @3 |, p
  7. interested. The requirements include a (empty) database for TeamSpeak to use. v# p0 K. y* T( f' o# S+ v
  8. and a user account (username + password) that has the permissions to do stuff
    . w, v3 Q5 e2 Y9 f0 n
  9. with the database. Additionally, you will need a vendor library installed on the
    6 l# k! N6 p: e- R3 C% {  p0 N
  10. local machine, this came with my MySQL install.8 A- b6 J9 s+ Y
  11. These instructions will not tell you how you might transfer your data from the
    : k# @  W4 p- _
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ; t5 D! F* I; t3 y
  13. database.) U% n, H8 Q$ _+ o4 t$ X0 _6 @
  14. Some users have reported ways to import a SQLite database into MySQL, but at# V# l6 |' y: b2 H. N, T) c
  15. the time of writing, there are still too many issues - check the current status2 u$ Q5 w+ O9 i  U% d7 h; j
  16. in the TeamSpeak forums if you are interested.
    ' p  x3 t/ a, Q, U- g
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from* t" P& E  N! B: L
  18. Borland was used. This driver can only interface with the client library that + o6 F2 I* g" R( x' y4 [! X
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this. H) S4 V! ^2 b5 u' m
  20. client library - basically all you have to do is to use a 3.x client library as
    / n- _+ ?* t: g2 z) d0 d
  21. "VendorLib" and a 4.x database to connect to." r+ o% V7 O6 ^% `3 M
  22. If you need more info about dbExpress, you can contact Borland.# G$ `8 T. e4 B! ]6 ~

  23. . l5 c+ f9 z' ]- S
  24. ### Doing the work ###
    2 z2 Z: Q& q# ^; ~5 {" k; ^
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all. J+ |! S! ^$ }' ~, J6 b) }
  26. the perquisites right, just open your server.ini file, and add this section at
    0 O$ H; }9 y5 w$ T6 X% ?- z! o% d
  27. the end:$ Z* v0 {' D, t/ k
  28. ---cut here---  d8 p2 J9 i% A
  29. [DBEXPRESS]
    ) f$ N; j* u) G! q
  30. sqldir=mysql_sql
    & R3 E9 j* I0 P* _( ]# i
  31. Drivername=mysql' W5 e# g7 y0 q
  32. Database=Your_Database_Name_Here
    4 y% h( A& N6 S, b6 l( K7 ]2 t
  33. Hostname=The_PC_the_MySQL-Server_is_on
    2 _% i7 v& s* c8 F7 d) O+ z
  34. User_name=User_name_on_the_MySQL-Server$ `/ D4 W7 t6 N5 M% Q3 }- m
  35. Password=Password_to_go_with_above_user_name- @7 k! v/ ]; `( F
  36. GetDriverFunc=getSQLDriverMYSQL4 `- B: q5 g6 {+ K# T9 _
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    * g2 ?7 S* ~- E6 s
  38. LibraryName=path_to_libsqlmy_libary, a! u. a$ w. V) }
  39. Active=1# i' _" |  Z9 o+ d* X! g9 t
  40. ---cut here---$ z8 \3 p" A7 g3 Y& p2 e6 t
  41. In my environment (a linux box with a MySQL server running locally) I have:2 U/ @; Z, G  g% y3 J! a
  42. ---example---
    5 W4 m! ^4 y$ A) p& b( T3 d) I1 }; B
  43. [DBEXPRESS]* a: I9 y& ^- x
  44. sqldir=mysql_sql
    - W4 z# P! p  D. q  ~: M4 W# W
  45. Drivername=mysql! _7 T( \4 A. V" L, |4 v) u
  46. Database=test
    ) H( }6 B7 h& M# f9 ~( J2 P
  47. Hostname=localhost  g0 x* ]4 D5 N& |$ X5 }$ n% P
  48. User_name=testuser
    6 l- m# p6 n' G% T( d# h! l6 \
  49. Password=my_password
    , q- I. C& z4 g, f& h
  50. GetDriverFunc=getSQLDriverMYSQL
    3 x* T: R. {& e; A* s9 W2 S7 j
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    $ L1 R; H3 d: H8 y- P, O1 N7 K: b
  52. LibraryName=./libsqlmy.so
    5 u% m) {7 R5 {! O1 ]* f0 i
  53. Active=1: p# _0 U( u  A) l$ e
  54. ---example---- ]" H( r1 g+ S$ K, q

  55. ! d$ z9 w5 F5 J4 o
  56. On a windows box, also running the MySQL server locally, it would be:6 b2 M2 u. T% O5 a
  57. ---example---$ b* H% R' {: _. ^
  58. [DBEXPRESS]
    - P9 w  H0 w% v0 L) H8 z
  59. sqldir=mysql_sql
    + g' Y% k( W1 T* S; m6 q
  60. Drivername=mysql
    3 a& J7 B( C# V- I& F- Y# W# _
  61. Database=test; c6 i+ x; i, q" w( P* o5 F; C) w
  62. Hostname=127.0.0.1
    6 U) u% k4 a! o/ b% z7 l% `) D& ^( _
  63. User_name=testuser/ ^) \5 T& U* \3 M
  64. Password=my_password9 M4 ?! `2 X; q% C$ b! A
  65. GetDriverFunc=getSQLDriverMYSQL
    * v5 W- w# F" O3 d# Y
  66. VendorLib=libmysql.dll
    ( J" U  L; V( V) w, G* `7 T
  67. LibraryName=dbexpmysql.dll
    0 F# }  L5 I, N# b3 h
  68. Active=1
    ( p- i! f/ e) p7 f! i
  69. ---example----5 s) w% p2 B& p5 s, u; z
  70. - written 02.03.04 by pwk.linuxfan
    - O* r: L8 I) M# z1 q$ c0 [; G0 _
  71. ) P8 E( c8 j& {% c' c- n
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
* Q) b9 K* R5 z4 A5 ^
  1. ) z! |( o- g! c. t
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    / c% x3 G- `% n# m" E

  3. ( t$ x$ S$ r+ n, q9 Y) C
  4. # # #我们所需要# # #
    & X; C) @: G; a
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ) |6 j& _% B$ N+ C0 }
  6. 不会解释如何做到这一点-也有文件存在,为
    * p4 \3 S$ z" N0 [# G& v
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用; m: y3 R/ k' \
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西1 I0 i/ k( _* a9 }
  9. 随着数据库。此外,你需要一个卖方图书馆安装于% C( ?: C/ \8 O; q& u9 p; x8 z
  10. 本地机器,这是我的MySQL安装。 ; ?3 J7 Y5 \  W; J- @, r3 V2 D' S; u8 [
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ; ]  `) M5 Q2 V* b
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    5 ^8 `" ?% F) \- L( l
  13. 数据库。
    7 f, t/ M0 _: ]
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在% A# i$ T. ]+ U4 J
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    & @. B2 _9 Q; z6 L5 D/ J
  16. 在teamspeak论坛,如果你有兴趣。
    . r0 K5 O' ]( w: q
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机( O# G( M4 Y/ _, U( W
  18. Borland公司使用。这个司机只能界面与客户端库" d! v! P  h- F7 S8 e9 `
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这/ o+ w! x( L+ p0 ^# m7 Y+ f
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为" e3 b" _# V# v9 |( N
  21. " vendorlib " ,并解数据库连接。 6 w, p0 @; L. E6 u: c
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    4 V+ ~$ D7 E/ f: D' V
  23. 5 K6 w$ z1 N. J0 n& V. N4 j
  24. # # #做好工作# # # - s" R2 Y% O1 g1 j
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都+ F1 w- V) @  z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在$ ~* D& k2 `# P% V' v
  27. 结束:
    6 T) O" G# G. g
  28. ---削减这里--- 8 ~- p0 q) l% q
  29. [ dbexpress ] + H8 \9 e0 }6 `6 w% O! f' m* r, f9 i
  30. sqldir = mysql_sql
    ' Y- s8 Z9 e2 s0 [# `7 `! D! d) K3 C. e
  31. drivername = MySQL中( f1 |: D7 Z4 x# |1 p) L; j
  32. 数据库= your_database_name_here # P' T# K; V5 t5 P  n% T
  33. 主机= the_pc_the_mysql - server_is_on % B/ Q3 v2 f, i
  34. user_name = user_name_on_the_mysql服务器4 S. v( Q# S' \
  35. 密码= password_to_go_with_above_user_name * x1 X8 k5 c8 Q/ i8 P- c
  36. getdriverfunc = getsqldrivermysql 8 b, a1 f1 Q3 S# T/ d- I  i4 R, r
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    5 s# c! u  S, S& a7 J
  38. libraryname = path_to_libsqlmy_libary # j; C6 [" D/ G! M: b
  39. 积极= 1
    1 [0 L( ?: \4 Y( C6 r+ B; m
  40. ---削减这里--- 3 K' _% {! u# }: w$ A0 y
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: * Y2 ?  z3 A# M
  42. ---例如--- 3 l' }9 f$ _7 E) \# U# R% [  z
  43. [ dbexpress ] + f4 }( \. |/ z! X: d$ B
  44. sqldir = mysql_sql
    2 J3 E+ z# l  h$ A- y
  45. drivername = MySQL中
    $ _0 |" W% x. M/ C5 y
  46. 数据库=测试
    1 V8 \( \* o9 Q- Q* n# ]
  47. 主机=本地主机0 O6 G1 b7 x+ T" \
  48. user_name = testuser / P3 g2 x* O2 G9 ]
  49. 密码= my_password
    2 r9 F0 K) a- d  T' r
  50. getdriverfunc = getsqldrivermysql
    1 n2 b( H4 `' u$ H3 z! B) [0 `7 j
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ( B; l! P! `* i, Z9 c* [2 `
  52. libraryname =. / libsqlmy.so 6 b* f2 l: c% s/ ~4 A6 x  b
  53. 积极= 1 " g  G$ J6 ?: N. `& h
  54. ---例如--- * u. n4 q1 _9 o& t0 U0 Q
  55. , O, n7 V2 V% y5 ~/ O
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ( [! t  s9 B, R$ ]2 @1 B. V% P( Z8 x
  57. ---例如---
    9 _: n# b! p' B, w. w& T; B' L
  58. [ dbexpress ]
    0 k, W* Q% X! w( G. J; j7 D5 n% Y
  59. sqldir = mysql_sql $ c: d$ A( y% J4 V5 H
  60. drivername = MySQL中9 g! u5 Q& i5 A7 L1 l' H" j& n
  61. 数据库=测试
    ' o- I' b% L0 T* {
  62. 主机= 127.0.0.1 $ w( a' e. E# n4 Z, [$ x- M
  63. user_name = testuser
    # W: `0 y2 f) _5 h  E
  64. 密码= my_password : Z- X5 s. }0 n0 O/ b/ B; y
  65. getdriverfunc = getsqldrivermysql - O* B( M7 t( Q: N, A8 W, {
  66. vendorlib = libmysql.dll在
    9 H; V  n+ K) ]3 r1 ^: p
  67. libraryname = dbexpmysql.dll 1 d7 L1 P/ v: B, O; z! T
  68. 积极= 1 4 P6 L) t, g( u
  69. ---例如----
    * N6 i& E/ G# V3 ^' f
  70. -写在0 2.03.04由p wk.linuxfan& D' @4 ?5 S# Y9 q' \9 J
复制代码
发表于 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
6 m: Y* `7 I2 r
7 a% |, z# M4 ?; i) d! \/ t9 l$ fbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-21 10:10 , Processed in 0.109913 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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