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

2931 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
" d7 b( v; `. s7 H) F6 |. ]' h6 K4 o" h) k
  1. ( G: N6 a; U) y
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ####### F" ~, u: d; p5 B( o" F" A8 ^
  3. 2 |- ~: @( X& z$ Y1 h
  4. ### What we need ###
    ! Z9 \* |: Q3 _7 V6 k2 J
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ( \+ Y, \- K  ]' J' O& L( {
  6. will not explain how this can be done - there are documents out there for the 9 S: r6 h- N9 ^! ~0 r& e
  7. interested. The requirements include a (empty) database for TeamSpeak to use: Q- {$ l8 ?) V/ Z) }
  8. and a user account (username + password) that has the permissions to do stuff$ W/ r7 n5 A# r% O0 n$ ~: w
  9. with the database. Additionally, you will need a vendor library installed on the
    ' z' L: ]# d. T! w2 }& S- q- I5 s. @
  10. local machine, this came with my MySQL install.
    ! Y1 T7 E2 R* T- p( k1 ?' Z
  11. These instructions will not tell you how you might transfer your data from the
    8 [8 Y3 s1 s2 t- b5 v' M
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    7 `: N5 }/ W' G. H/ e
  13. database.# C" D2 o3 h6 p+ \, `+ P( D! v% v
  14. Some users have reported ways to import a SQLite database into MySQL, but at, u- w6 V# C+ i; B3 g" c* `3 _
  15. the time of writing, there are still too many issues - check the current status: X  g; h: z! R3 _
  16. in the TeamSpeak forums if you are interested.
    8 ]  f% @" F' j0 C- v1 e
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    + e' L# _7 f: B  K: S  i
  18. Borland was used. This driver can only interface with the client library that
    7 T' d) j2 e6 b. ^* v( k6 g5 \+ k6 G
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this2 E( |! r* L1 z8 {" z
  20. client library - basically all you have to do is to use a 3.x client library as
    , m8 m1 A" F* P
  21. "VendorLib" and a 4.x database to connect to." }- d) H# d; d  |
  22. If you need more info about dbExpress, you can contact Borland.
    7 `$ m/ l( ]! J9 S$ l0 N

  23. % V! P' Y5 W, y" g
  24. ### Doing the work ###8 u7 N% N# B3 O% b5 z
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    : m" ~; X; T+ ~- Q4 d" |$ |4 U
  26. the perquisites right, just open your server.ini file, and add this section at9 C; [) |# g- W) d  K
  27. the end:0 c( n) l/ ~0 r) R. J" Q
  28. ---cut here---
    * E9 ?! ^% `1 \: F2 o
  29. [DBEXPRESS]
    / o& n. {3 K5 A4 }( g# H
  30. sqldir=mysql_sql
    / i% z: H$ l5 M+ U2 r# n7 U3 N3 V  H
  31. Drivername=mysql
    + B. I: m- Y/ E6 H4 o+ T
  32. Database=Your_Database_Name_Here  c+ p& P! b# X4 h* m+ j, B
  33. Hostname=The_PC_the_MySQL-Server_is_on( ]4 |( i/ P7 s( q2 C
  34. User_name=User_name_on_the_MySQL-Server5 v: `4 O( @3 w5 q! ?# T% r2 @# g8 G* H
  35. Password=Password_to_go_with_above_user_name# R+ A0 U" q& }
  36. GetDriverFunc=getSQLDriverMYSQL
    / v: {% y# w! v9 y9 J7 q
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    - K# S( ]4 P7 R1 `% [
  38. LibraryName=path_to_libsqlmy_libary
    ' s: V7 B6 `! J) q
  39. Active=1* v' v! J! _* x3 `8 \; u
  40. ---cut here---
    / J4 X: \* c; d) M. h, R
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ; ]. z, M/ B- H- p2 I1 S" L
  42. ---example---
    8 A+ c1 C6 R8 t7 k% w
  43. [DBEXPRESS]
    ( N  I; c! o+ V' y; c5 ^. n
  44. sqldir=mysql_sql
    9 v0 w7 E+ R, G3 w
  45. Drivername=mysql
    4 e, d' b) L* g* I4 g2 S: Y- `
  46. Database=test
    : ]0 U6 {' l; @3 _. n' t
  47. Hostname=localhost1 M* R, v. v9 z8 j) a( _( A
  48. User_name=testuser  f- V& t( D! v) r7 l9 [
  49. Password=my_password1 y1 d0 g/ \5 T: Y/ G# w$ @! L: Q3 o
  50. GetDriverFunc=getSQLDriverMYSQL% @  ^4 H+ r4 h4 w) t" d
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    0 u" _, `: I, D
  52. LibraryName=./libsqlmy.so
    ! _* J/ A0 I5 \- s, v
  53. Active=1: N. `( T( C2 T9 n/ ?3 k
  54. ---example---
    : K& w1 r% [) q
  55. , ~( ?0 O" {& G# H* `! P7 G
  56. On a windows box, also running the MySQL server locally, it would be:
    + X; L  {6 N) S& `% _
  57. ---example---3 W/ i- Q5 P3 Z- x3 F9 R( e
  58. [DBEXPRESS]
    : s/ c7 H% A4 j" d+ Q3 M6 n
  59. sqldir=mysql_sql
    " t3 H( z& p, d2 `) {$ A
  60. Drivername=mysql2 H4 E$ Q6 u) p
  61. Database=test0 Y  V# g% F2 U) U: H6 s! m; }
  62. Hostname=127.0.0.1% m( a" ^3 d7 n) `  L6 V2 j
  63. User_name=testuser7 b& Z& G, z% `4 F1 p/ C! y
  64. Password=my_password1 f+ A2 R7 e4 l" q$ t
  65. GetDriverFunc=getSQLDriverMYSQL/ A6 s, a$ Z! y% `: @( n
  66. VendorLib=libmysql.dll
    - a1 j0 \! P$ ]8 e3 b* [& l8 d
  67. LibraryName=dbexpmysql.dll
    $ K8 W3 a$ F! N
  68. Active=1* l2 N: s6 E7 k1 D4 ]! u
  69. ---example----
      _% o/ @& r. a+ E0 y
  70. - written 02.03.04 by pwk.linuxfan
    , e3 D2 f) Q; E& J5 q7 M

  71. 6 W* P" n) c4 m: a$ ?9 K5 N( o, g. E
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
* c8 b8 q3 }/ O4 @( g9 H' R/ r+ K

  1. - D. s& p( Y" W1 g' r4 Z" F" S, O
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    , q+ G7 m6 [& y+ Q% C" s9 \* ^

  3. + Z% o0 n% V6 K, ?% m4 }
  4. # # #我们所需要# # #
    4 |$ N3 Y9 @( F
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    2 ]3 s& X5 o+ R; I
  6. 不会解释如何做到这一点-也有文件存在,为% K0 K3 D4 F, T  o% w$ w# N
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用* \8 v+ z& \6 r0 p' e/ z+ _
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ) X2 `, Z8 D; C) E* ~) r
  9. 随着数据库。此外,你需要一个卖方图书馆安装于( d3 U9 u; Q1 o7 w  e  r
  10. 本地机器,这是我的MySQL安装。 ! Z) f  \' [( U) e1 z
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ( ?5 ~+ K6 C; S7 W0 i8 S6 R8 T
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 6 c. V' i6 g' H0 L
  13. 数据库。 1 M6 p5 \+ q5 F
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在" _7 z- T. p4 a: d+ o* |
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    8 W$ Z, ]2 {9 _2 Z- d, ?
  16. 在teamspeak论坛,如果你有兴趣。
    + \! I( b6 ~6 R
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机/ w! ~" `/ G4 z: j% @# g* f( p
  18. Borland公司使用。这个司机只能界面与客户端库
    * W+ B7 Y) _( V& y9 l1 h' W3 q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这/ Z6 k4 |! h7 e0 f$ e' D/ n
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为9 a; t0 Q0 O, u7 k9 p6 K
  21. " vendorlib " ,并解数据库连接。 ! P( k1 o3 S* n5 x& I7 b
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    / y0 h7 Q- K6 `' z. k; p3 w8 _( y

  23. - [7 P. W1 ^% A( Z1 Q& x$ x8 [3 O! k
  24. # # #做好工作# # #
    - j1 y  w. m; T' s# ?& N
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    3 \9 Q; X* X4 [4 m( b
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    " v  p; j4 d) J
  27. 结束: + h. y7 q4 _/ L& J! L: F  }
  28. ---削减这里---
    + o* k% c# }4 V
  29. [ dbexpress ] + |( D- P# j! N/ K- r" ?
  30. sqldir = mysql_sql
    4 i# a2 u8 I7 i8 c* |2 m
  31. drivername = MySQL中
    % c. I0 {* z9 l4 t, |
  32. 数据库= your_database_name_here
    1 B. l: o, C* I: }6 Z0 B
  33. 主机= the_pc_the_mysql - server_is_on
    ! V' e% H. E3 z6 y- B
  34. user_name = user_name_on_the_mysql服务器3 V  g! r5 i; a  @
  35. 密码= password_to_go_with_above_user_name 8 Q) ^2 s8 g4 \: a
  36. getdriverfunc = getsqldrivermysql
    $ B2 `$ I0 F% H2 l* a1 y5 u! I' v8 ~
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ; c) t+ f) M5 U
  38. libraryname = path_to_libsqlmy_libary 8 s  p: S8 Q- _" \1 E1 K* T
  39. 积极= 1
    , e" S* C" j0 R6 o$ B3 @
  40. ---削减这里---
    7 k/ ^4 Y* K0 Z
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:   ]1 v( Q, \7 W! ?( `
  42. ---例如---
    , q: p) ~! ^: K; ?
  43. [ dbexpress ] 8 ~0 W# s/ D8 V! [& `& P* u
  44. sqldir = mysql_sql 2 {' h6 g5 {; @1 }$ M+ f/ |
  45. drivername = MySQL中
    / \6 t( |3 J: q5 d
  46. 数据库=测试
    ' N7 u3 f5 n, ^- ?" _; t
  47. 主机=本地主机; ~1 ~+ g# M" v: |+ E7 d, B
  48. user_name = testuser
    9 W7 W( r/ V9 q' e4 i) g
  49. 密码= my_password
    - Y& O* c  {) A. X: j; Y1 h
  50. getdriverfunc = getsqldrivermysql 7 V9 o% Y$ i" p3 s8 W( Y- E  R9 o
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 0 q! a) H% l' s- E2 I* Y! ~
  52. libraryname =. / libsqlmy.so
    / _# i9 Z5 B. w. B& ^" v: q# y
  53. 积极= 1 * D! s% v0 A, |( Y' A6 x
  54. ---例如--- 5 P; a/ u7 X6 }6 ]% A) Z

  55. 1 u. e  E. G/ S0 N
  56. 对Windows中,也运行MySQL服务器本地的,那就是: + L: M; a4 c& h0 ^
  57. ---例如---
    5 V  i! ^  K4 m  k
  58. [ dbexpress ] 1 c5 a$ I* x0 C* c
  59. sqldir = mysql_sql & h' A4 n: _+ F: `! p1 g
  60. drivername = MySQL中
    % x/ C( S" u/ }: z9 Q
  61. 数据库=测试" b  K2 q+ J0 Q: Z2 I( c
  62. 主机= 127.0.0.1
    6 c  @$ w. @8 f/ Z- i! q
  63. user_name = testuser - d- k) J- a: G. p+ e2 |! q) w: V8 ~5 j
  64. 密码= my_password 2 z& @" s6 e& F2 Z9 g
  65. getdriverfunc = getsqldrivermysql
    + F9 A/ F3 Y$ w; Z4 B, R6 `
  66. vendorlib = libmysql.dll在1 r3 G4 T' k$ v
  67. libraryname = dbexpmysql.dll
    4 Z; a/ K0 H& j+ Z
  68. 积极= 1 . c) B" e; ^) J
  69. ---例如---- 3 q% G6 P9 b3 g% C2 r
  70. -写在0 2.03.04由p wk.linuxfan
    ) E( D6 d& X" X6 s7 W
复制代码
发表于 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
! D5 V2 P! c. e) S# w0 _# o( N# P4 D
# f& k2 P6 K( pbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-24 12:00 , Processed in 0.095825 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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