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

2776 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
/ r! j7 R. s/ O0 G5 p7 V
- X8 g' [2 ^  x5 ~, f- D  ]

  1. $ a/ p9 x8 _" f- Z. @0 J2 y9 q) _
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    3 J5 N# w+ @/ S
  3. + R; s+ b' g& M  u; s4 |0 A
  4. ### What we need ###+ \: R2 N9 Y1 S4 U8 E& z
  5. Naturally, we will need a MySQL server to store the data for us, this document
    0 |# ~5 l$ v, S) \# g. y5 }
  6. will not explain how this can be done - there are documents out there for the + x; T$ N  r0 f* I: D% W- ?0 P' Z
  7. interested. The requirements include a (empty) database for TeamSpeak to use) x0 A( C5 [' ^0 e
  8. and a user account (username + password) that has the permissions to do stuff% d7 W" q* K  ]6 X) {
  9. with the database. Additionally, you will need a vendor library installed on the
    - J) r, d3 X- J, c  l4 \
  10. local machine, this came with my MySQL install.
    7 V1 V+ t, X  R
  11. These instructions will not tell you how you might transfer your data from the
    % A+ A- L, G. B5 c/ _
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL& X! W' c) T$ A- [. }6 s
  13. database.1 |; M1 x  E& {- y
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    9 i: [) P2 _  i+ ?
  15. the time of writing, there are still too many issues - check the current status6 f$ \" e* O' q5 H- d+ \
  16. in the TeamSpeak forums if you are interested.# b; t! W' \( z& {. g6 P
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from& @* V# H7 t& Y0 P# z0 z
  18. Borland was used. This driver can only interface with the client library that
    ' Q8 \4 |& t! ]% g- w8 U
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    2 N5 F" F" \7 ^/ F& I
  20. client library - basically all you have to do is to use a 3.x client library as
    / j1 F  M. E7 m, Q
  21. "VendorLib" and a 4.x database to connect to.8 f- l/ [  I4 V0 r" W
  22. If you need more info about dbExpress, you can contact Borland.4 {8 E* ?9 E. L8 n! E
  23. 2 S4 ^5 k1 v# [7 J
  24. ### Doing the work ###
    & \/ d- L& s: T) @- N3 [
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all0 ^$ f  r* |) p. w- K$ Q
  26. the perquisites right, just open your server.ini file, and add this section at5 I# G0 ]& y+ Q" J* \( |
  27. the end:9 ]" k8 C1 c: D6 E1 z) O
  28. ---cut here---9 W) W! A2 o0 L
  29. [DBEXPRESS]
    8 r9 I2 U! \* u- R) y( v0 a
  30. sqldir=mysql_sql; l8 M1 P: p+ X2 i% a8 x% X
  31. Drivername=mysql
    ; Z2 L! j' M( t, b5 S) b0 G) E1 O
  32. Database=Your_Database_Name_Here
    ( v1 ?5 C7 ]3 `2 i5 n
  33. Hostname=The_PC_the_MySQL-Server_is_on
    % y. {9 E+ Z' X6 b% ]0 z& f
  34. User_name=User_name_on_the_MySQL-Server) z% d8 I# @) ^# w+ U1 C, H
  35. Password=Password_to_go_with_above_user_name
      T, Y$ _8 ~" q: `) l) S
  36. GetDriverFunc=getSQLDriverMYSQL4 `2 e# F! k% A. G* k
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib6 }8 L/ E7 R' V. F/ [
  38. LibraryName=path_to_libsqlmy_libary
    ( k3 E* j+ R' C( l% |8 q
  39. Active=1
    - F6 g9 k+ I( ~( F$ a9 G. D7 @
  40. ---cut here---
    1 ?' Y$ i8 @0 M6 e% N
  41. In my environment (a linux box with a MySQL server running locally) I have:% u* c+ I- h! Q; P
  42. ---example---
    + y/ @8 l7 A& H. K0 I; m
  43. [DBEXPRESS]' D0 q* ~# Z. j* @: Y) l
  44. sqldir=mysql_sql
    3 m6 a, S% s; l' ~" p
  45. Drivername=mysql0 d9 n6 G) @* j6 ?) H4 a
  46. Database=test* u% a; |5 W" W; k. }, O
  47. Hostname=localhost
    0 F! ?. H. K# x" k, E% X
  48. User_name=testuser0 D3 \. O" H  }/ s! {# Q
  49. Password=my_password# @3 C- x- g- L
  50. GetDriverFunc=getSQLDriverMYSQL) g, V& ], A; Z7 D" ^# H9 i5 K
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    : `. t/ y/ ^5 M7 P4 A# F
  52. LibraryName=./libsqlmy.so9 D' f0 n: y$ y
  53. Active=1
    2 W  |) A( B* ~! D
  54. ---example---# V# ~# B4 z% G: |1 J$ l, u

  55. ; J3 m5 S2 [: ^* X1 e
  56. On a windows box, also running the MySQL server locally, it would be:. ~/ V4 n0 m" Y5 x/ D8 X
  57. ---example---
    2 H# |5 u3 Y, U) I1 H, s
  58. [DBEXPRESS]
    ) |0 s- ~; |9 @- f% ]2 u
  59. sqldir=mysql_sql
    ! d& i' m  h+ k- c: i; V' x+ k2 e
  60. Drivername=mysql9 n0 g; f- [1 A% B; X5 C6 b2 g! V8 i. n
  61. Database=test
    9 y; I9 |% x' d& c& U: ^5 o
  62. Hostname=127.0.0.1* ~3 f! c1 E8 ?, i2 B
  63. User_name=testuser
    ! {3 F* f9 }' f
  64. Password=my_password
      P2 H& q9 l* G  z, Z- [  ]; j
  65. GetDriverFunc=getSQLDriverMYSQL
    ; I" ^9 V6 x; H1 X6 ?, U
  66. VendorLib=libmysql.dll
    5 d4 |1 c( ?" D: `
  67. LibraryName=dbexpmysql.dll: ^0 q' D$ w$ {' T3 G1 G
  68. Active=1
    5 R/ _9 c2 A/ ^$ f
  69. ---example----5 e3 I2 r3 M9 c$ \# A
  70. - written 02.03.04 by pwk.linuxfan( z/ w7 |. \" t' Y6 w
  71. 0 T1 H) m+ J* x# W' T1 `1 |* u& D
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
: G7 g8 G; x. t
  1. , U; o, _( W3 k0 [4 l5 M
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    0 }# h) `/ P3 Y4 w# a

  3. ! p5 K' O- _8 O/ I+ @, _# [9 H
  4. # # #我们所需要# # #
    : @/ |8 {8 i1 g1 L
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件! _, |) I; |! @8 t8 N5 o- q6 ~
  6. 不会解释如何做到这一点-也有文件存在,为" h1 P2 q& r+ W  I. z
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用8 A8 e# {" ^) W/ O5 B& G: Y
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    - k0 }# s9 K9 @+ S6 S0 }+ u* }0 g  F
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    7 W, ~! K  o8 L- G: v
  10. 本地机器,这是我的MySQL安装。 ( H& Z( b' N9 F: U* C; A- Z) m" @$ z; B
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从: w+ }, v/ x5 t# ^0 n: {
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 0 |& j! S8 l0 h( b3 i
  13. 数据库。 * }2 D5 W+ w7 X2 m; i: }
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在" C/ Q# w+ }& t
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ! G: K* N0 H& p* V
  16. 在teamspeak论坛,如果你有兴趣。   G3 x; x2 ~8 M/ B$ c; E9 l6 w
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机3 @- f7 ~; L! E/ u$ [2 D( M1 p8 s
  18. Borland公司使用。这个司机只能界面与客户端库3 d4 l% N' ^0 b/ a1 E$ {+ z' u
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这7 Q' z& |: \. _6 F3 P- z
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    5 q  q2 I2 K7 V/ i0 C; ?$ ?
  21. " vendorlib " ,并解数据库连接。 : q0 O$ X, l: ~$ _5 g& {1 S
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    / A7 p8 o* q+ u% }9 ^/ n

  23. - Q! a+ S; G7 w3 S) j; F
  24. # # #做好工作# # # , ^% F) N9 `: T& s/ M7 @1 B
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都% l* _3 H* G' V
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在# _2 m0 N7 U/ J5 m( \6 S6 l+ `
  27. 结束:
    % ^# W4 |' x- i# S
  28. ---削减这里--- 4 F- p3 _; A) g* H4 }
  29. [ dbexpress ]
    0 j; I# h+ q; R- g5 l3 H
  30. sqldir = mysql_sql
    7 D( j: g' _/ |# F3 B; _+ J
  31. drivername = MySQL中
    " u7 f; d; H  m# L% b) x! U2 O  G
  32. 数据库= your_database_name_here 1 w, ^6 d* N( [/ d- m3 m% y4 X: Q
  33. 主机= the_pc_the_mysql - server_is_on 2 P$ x! a: P! R5 }
  34. user_name = user_name_on_the_mysql服务器
    7 w& W7 K0 X4 L" k6 y
  35. 密码= password_to_go_with_above_user_name - }6 q1 Q6 D1 g5 d& B9 J9 Z
  36. getdriverfunc = getsqldrivermysql
    8 J6 U- ^- e8 W/ R0 h- S* [
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    2 C( M% L$ u# {7 J; X* l9 ^
  38. libraryname = path_to_libsqlmy_libary
    ; m- Q7 v$ z. p5 e
  39. 积极= 1
    7 s9 f# k# T7 I8 r$ S1 M& b
  40. ---削减这里---
    3 T. U$ ^8 ]6 \3 a1 f+ Y4 ~
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    0 g) }+ A9 v; h6 p8 }
  42. ---例如--- $ q" b( L8 u; c1 {
  43. [ dbexpress ] 3 P0 p) n9 r; A* v4 s
  44. sqldir = mysql_sql " D: o: m4 c+ ], H! _' u7 `" G  |" L
  45. drivername = MySQL中
    : N, }7 b5 ]: u
  46. 数据库=测试
    % {9 {8 ]" t# l
  47. 主机=本地主机- Q8 i2 L7 k" F" B* ]: N+ k# A
  48. user_name = testuser
    1 W6 M6 ~4 e$ [& @5 X
  49. 密码= my_password 6 ~" ?- T! l8 M
  50. getdriverfunc = getsqldrivermysql
    - W; S; b  G! I) ~$ U
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0   }8 |$ s% n! D1 ~' o+ c6 d
  52. libraryname =. / libsqlmy.so ; B- P' A) B% C  S
  53. 积极= 1
    $ F- ^8 A0 o7 U4 O5 R
  54. ---例如---
    6 Z8 s3 U2 V2 A$ X+ Q

  55. / k7 U+ P& u& B: M. }: N
  56. 对Windows中,也运行MySQL服务器本地的,那就是: * h. F! B4 g0 G5 B7 s. l/ [5 L
  57. ---例如--- $ [! {5 f% P# l; {2 i2 @2 Q
  58. [ dbexpress ]
    ; W3 y; n8 Q- M/ z, j4 M: j
  59. sqldir = mysql_sql
    0 R/ u/ u8 O1 ]; o4 d
  60. drivername = MySQL中
      E2 ^/ ~. S3 N9 s8 D
  61. 数据库=测试
    , `8 E) q) i  N$ q, \, l
  62. 主机= 127.0.0.1
    8 F/ }5 h8 ^# E9 e
  63. user_name = testuser 4 F- e: Z& g- T; [) Q( f  Q& ]# V) r
  64. 密码= my_password 5 V4 h. T- T. l/ |6 E, j
  65. getdriverfunc = getsqldrivermysql 1 u9 D! ^# G" }0 m# z
  66. vendorlib = libmysql.dll在
    . ?, U# Q* P1 i+ e2 r% ?5 k
  67. libraryname = dbexpmysql.dll
    ! x! R( F: I3 b, p
  68. 积极= 1 4 U4 j" \+ w# B4 U5 w5 m* |7 j: l; u% k
  69. ---例如---- 1 ~5 D* @, E9 c, \/ v& `
  70. -写在0 2.03.04由p wk.linuxfan/ ~1 `6 g4 X& g' ]# m
复制代码
发表于 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" q4 s5 q; m+ x7 u0 u

: v! c/ ~% Y& O" Dbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-18 14:22 , Processed in 0.108044 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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