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

2825 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
0 f: N" [8 M9 h$ K, x' c' J4 [- q4 f  R* B: F3 G7 [
  1. " W. E" q% q2 l1 a) @" \
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    8 w4 V: Q5 Q. [# r
  3. 5 j# Q. O  y" {' t! h3 Q
  4. ### What we need ###
    6 `6 n% r( b9 G, N. ~
  5. Naturally, we will need a MySQL server to store the data for us, this document
    * ?' q( i( A: }5 O, y
  6. will not explain how this can be done - there are documents out there for the
    ' V: m% v9 T5 S. F' w; ?
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ' o, `# E8 Q! [9 {/ I' [& f( c
  8. and a user account (username + password) that has the permissions to do stuff
    . Z6 L/ n- R2 `5 R# g. }
  9. with the database. Additionally, you will need a vendor library installed on the4 Z! N# y$ Y! L
  10. local machine, this came with my MySQL install.
    0 v, H3 [$ m% _$ [
  11. These instructions will not tell you how you might transfer your data from the! R9 _; c# d, |4 ?/ z  \
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL8 y* b9 J. ~8 I  d, U3 c$ r
  13. database.0 K4 P6 f& j) t7 J0 s2 \
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ) k0 {* Y. D. l# S8 _( ?. }
  15. the time of writing, there are still too many issues - check the current status
    . d( k9 C& x5 N& C+ ^1 N
  16. in the TeamSpeak forums if you are interested.
    ( D5 U4 S/ v: {( V5 o/ o
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from! @$ F9 m9 j# k, }$ P9 o
  18. Borland was used. This driver can only interface with the client library that 0 ~. P) t# T. [& x
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    0 c/ h% c) D$ c+ S9 n9 Q! O1 }
  20. client library - basically all you have to do is to use a 3.x client library as
    4 A9 M3 U+ I  v9 f/ k
  21. "VendorLib" and a 4.x database to connect to.
    0 \2 |, d3 s" M# u) c7 n5 e) n  T
  22. If you need more info about dbExpress, you can contact Borland.8 j0 w& d6 S9 [
  23. 8 E( |7 N1 m4 U- V2 S
  24. ### Doing the work ###- P, ?3 f" O% c. F3 Y" d( o" W
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ( }% p3 T1 b5 c. M; o  G
  26. the perquisites right, just open your server.ini file, and add this section at2 {2 c: O: Q. |* C6 h: R. m
  27. the end:% X2 x% @0 x. g) w
  28. ---cut here---6 X4 F" T2 q! {6 l0 D6 p( w9 a
  29. [DBEXPRESS]
    ' {  _8 a, D9 j% E) B0 w
  30. sqldir=mysql_sql
    9 C  U. s7 e! w0 S5 k- [
  31. Drivername=mysql% m& w" }( W6 ^3 ?6 N( w
  32. Database=Your_Database_Name_Here
    , O" ?5 ?/ C: Y( ?
  33. Hostname=The_PC_the_MySQL-Server_is_on
    5 X& i8 S8 k) D4 A& T
  34. User_name=User_name_on_the_MySQL-Server
    7 X8 G2 l8 ]# R4 ?# i7 g
  35. Password=Password_to_go_with_above_user_name
    ' c9 |; R1 f) I( E9 s8 w" V
  36. GetDriverFunc=getSQLDriverMYSQL( W/ y4 A9 ~. L5 s9 q0 ]/ |# r
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib+ T2 }4 Y( E3 `" p
  38. LibraryName=path_to_libsqlmy_libary% j4 J# n: @" j) A5 V/ C
  39. Active=1
    & C. |, A+ Z  g0 V4 }
  40. ---cut here---% S2 E2 t7 P, ^, W9 _4 j
  41. In my environment (a linux box with a MySQL server running locally) I have:; G2 _9 f# R  n) E
  42. ---example---
    0 j8 n: K: b1 f6 J/ i4 T  R0 z, S* ~. Z
  43. [DBEXPRESS]
    3 w' ?, O7 R; {7 I& I1 Y. d/ K( f
  44. sqldir=mysql_sql% E0 o$ t, u! h- u+ L2 ~1 n
  45. Drivername=mysql
    3 j3 B  _# b% @7 U$ `5 U
  46. Database=test- O1 V. V" T. \2 t9 w% ?( e
  47. Hostname=localhost0 h; s' {( e! a' m1 H- W5 a* P$ ~6 s
  48. User_name=testuser
    6 I3 \- o# N2 e' x  R
  49. Password=my_password4 f5 B% u4 k0 [( N1 o! n
  50. GetDriverFunc=getSQLDriverMYSQL
    * a9 q' K: s5 s+ _
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.07 l$ ?. v, K. [' d5 s( x7 ^* V
  52. LibraryName=./libsqlmy.so
    ! N1 m6 a5 S, u  L
  53. Active=1
    $ h3 P2 i' L# {3 ]  o  v- O5 j6 g
  54. ---example---
    ) \6 r! A1 ?! s0 W* }' g) \; l. a

  55. 3 e  A: L; I  d6 u4 U$ h
  56. On a windows box, also running the MySQL server locally, it would be:
    8 \) R; H) v; d
  57. ---example---2 O0 m% ?  T7 B- O
  58. [DBEXPRESS], b' {" t) \& C: f+ Q- x
  59. sqldir=mysql_sql! a# H: J0 Q3 I, s3 |
  60. Drivername=mysql6 r$ _2 E( G" O$ a3 S( S  Z
  61. Database=test
    + o  o- T% i: E* g) V; p. c5 j: t
  62. Hostname=127.0.0.1* a# v) Z5 _0 \  M& j
  63. User_name=testuser
    6 ]4 ^( X( G' d! S% r+ _
  64. Password=my_password
    ' s3 m( z3 I: V) d$ z. L1 Q9 S5 P
  65. GetDriverFunc=getSQLDriverMYSQL
    ; Z7 Z8 h% j7 o, D6 z/ U! @- g; A0 v6 B
  66. VendorLib=libmysql.dll
    & J) }) M. x3 g- S
  67. LibraryName=dbexpmysql.dll! X* i9 j4 P! z. B
  68. Active=1
    1 ~  g( b& y0 f* ]$ D! {% v
  69. ---example----
    1 i% o2 ~) e1 }4 p$ _8 Z
  70. - written 02.03.04 by pwk.linuxfan
    5 `- G1 q1 i4 R  }) W+ g
  71. ( c9 S- X7 ~( u3 U( k6 s, ?
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看% r7 R( [  F6 n8 c: i/ t! c
  1. : J' P, I  M4 B
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
      ?0 q  r1 Q( [  {5 U5 j9 k+ p9 a

  3.   }7 e" g  P: Y9 q
  4. # # #我们所需要# # # . c. P+ b$ n( Z8 k' E: b: p2 ]
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    6 M8 _' \6 R: o$ V4 Q" b( B: @
  6. 不会解释如何做到这一点-也有文件存在,为
    7 O/ O7 M( X* C) C8 t$ h
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    : r; ?- z% \& @# B
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西* N: n' ^) |  g8 ~
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ' J! f; t# o* V3 O5 P0 P: H* R- u
  10. 本地机器,这是我的MySQL安装。 2 e0 J$ \* D0 y9 i' l* f( V
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从7 M; Q; }) U  j0 Y7 G
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 4 t# j$ q" L- B- V
  13. 数据库。 / \: \# a- K/ Z7 h) K, W
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    7 j8 k, O4 p8 o7 L3 G) D. z) t: n
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ' {4 T1 I3 n. A( P
  16. 在teamspeak论坛,如果你有兴趣。 + p" \" c: `9 u
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机" v. r! v8 |! g* b
  18. Borland公司使用。这个司机只能界面与客户端库
    8 E9 @0 P0 v/ H" F- S0 V9 N
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    : c- h& y7 |# N* S9 G/ @, j
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为. J: I7 D4 u: A$ `- o$ a5 r" H! {
  21. " vendorlib " ,并解数据库连接。
    4 l9 e/ v) A  w
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 * ~% j; M$ K6 j8 P3 O0 T3 M

  23. + B9 _' g! M# d. f; E! T: I& v5 r" A
  24. # # #做好工作# # # / ~' N9 L3 O6 W5 G- K, e( b
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    3 S2 u7 r/ A, s6 [4 H: }7 q% P
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ; k4 p. I( A0 [$ y2 m2 A1 _
  27. 结束:   L9 J# r! z* v
  28. ---削减这里--- 6 }8 F8 I$ w, C$ w2 z
  29. [ dbexpress ] 9 D+ N. g! ]/ G0 \4 U  {5 E- C
  30. sqldir = mysql_sql
    / }: X( \# G' w5 d) ?
  31. drivername = MySQL中
    3 g9 @$ g! @2 V8 B. f  d( J
  32. 数据库= your_database_name_here
    * i2 x; r' W7 g; R
  33. 主机= the_pc_the_mysql - server_is_on . g( A# W- R; q
  34. user_name = user_name_on_the_mysql服务器% j; H. z, {" z7 ~/ A
  35. 密码= password_to_go_with_above_user_name
    3 j. @: U8 z' f" ?4 R/ a
  36. getdriverfunc = getsqldrivermysql 8 |( U" s( \" \
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib - d) Y7 S1 i8 C& }9 }8 K
  38. libraryname = path_to_libsqlmy_libary * r5 f5 h2 ?2 c, C) @
  39. 积极= 1   G* M. {7 j# x" V0 P
  40. ---削减这里--- 2 l" b$ f* \, v
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    8 j; D( w3 x7 D: x; x+ M9 _6 [  b
  42. ---例如---
    / d! X" G; J- B. \- \4 \+ t* G, Y3 V- l
  43. [ dbexpress ] , Z- I# n' _/ x8 I" J) c! ^
  44. sqldir = mysql_sql
    % k; Y8 T/ I% W: ?
  45. drivername = MySQL中
    9 Q5 n% |0 [0 r) Z3 ?+ `' @
  46. 数据库=测试
    # u( v" I# M5 k+ X3 z/ q
  47. 主机=本地主机' d. M) S: m  F( B( t$ z6 F. _
  48. user_name = testuser % P+ X# S( n  C# f
  49. 密码= my_password 5 r3 i4 `5 O2 R1 w1 R
  50. getdriverfunc = getsqldrivermysql 9 X3 ?$ U9 w* f: M' t
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 $ O1 h8 g3 q& e) i: b! c/ p' x
  52. libraryname =. / libsqlmy.so & }( X$ w9 y3 }1 B
  53. 积极= 1
    % c2 X1 j& X* @
  54. ---例如--- * Q0 A! p  }/ ?6 B

  55. $ k% ]3 G' z* n$ ^  A( h4 x
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ; r& S& t: q! w; K* J) D
  57. ---例如---
    " h: e7 m9 A0 D2 B6 i% D2 S( {& F
  58. [ dbexpress ]
    / z2 }  C' U/ |7 p
  59. sqldir = mysql_sql " n6 w5 K. ]: q8 F1 G$ N; a
  60. drivername = MySQL中' j. U) [* u5 j- f* K
  61. 数据库=测试
    2 Q+ s- i- J9 k" l: b! o
  62. 主机= 127.0.0.1
    8 f, v; v8 M8 Q' s2 v9 e1 {
  63. user_name = testuser . [' s" p3 V% N8 ^) ~
  64. 密码= my_password 8 w) O1 j. x) R$ w' L! V2 x
  65. getdriverfunc = getsqldrivermysql % A4 Y, f" r9 Q. X" T
  66. vendorlib = libmysql.dll在# ^( h9 I1 ]2 R) \9 b' ]& [
  67. libraryname = dbexpmysql.dll
    - E1 c, i; c$ n* {; L- `( u" y
  68. 积极= 1   N& ]% a5 x8 U, b7 y' c
  69. ---例如----
    ; Q& G4 g2 w0 y( T9 Z
  70. -写在0 2.03.04由p wk.linuxfan
    3 _2 G% b* ~) o  D5 \1 X
复制代码
发表于 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" R' T$ Z& J; l' V

2 q! r9 s  J5 X/ w0 ~( L8 @4 k: L/ jbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-30 22:10 , Processed in 0.104707 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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