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

3038 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan + |/ A; q+ i0 r! M. I

8 r% M" g6 l# g8 v2 j. _

  1. - Q; e) n% b! F: q4 ^" r; r
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######* E+ _* k7 Y, W  C  N) S: g

  3. " V; P1 w. F5 n4 _+ `
  4. ### What we need ###
    ! @+ U1 B. g3 T0 q
  5. Naturally, we will need a MySQL server to store the data for us, this document
    5 j& w' p, P' ~* e5 |7 Q) T
  6. will not explain how this can be done - there are documents out there for the
    6 j* {3 t+ n+ y: H: s- F/ ^1 Y
  7. interested. The requirements include a (empty) database for TeamSpeak to use2 T, H1 ]1 T$ l  Q
  8. and a user account (username + password) that has the permissions to do stuff
    ! c7 e$ o$ }! E) P
  9. with the database. Additionally, you will need a vendor library installed on the! K7 o. A7 R- W8 V
  10. local machine, this came with my MySQL install.2 _: X: j' }2 \0 o  c& s1 f$ f
  11. These instructions will not tell you how you might transfer your data from the4 i+ m( U( i8 l$ G0 }
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    0 O: w5 w6 j% [4 i
  13. database.4 w# U# i- T' |/ O  U, O! f
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    , L$ q9 d  o' \- R& J6 b
  15. the time of writing, there are still too many issues - check the current status
    3 A) B% _& F* ]) o3 h4 K. C0 \
  16. in the TeamSpeak forums if you are interested.  \& J0 y# ?" f0 f6 O3 N
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from2 q$ B0 T; ~; h- ^
  18. Borland was used. This driver can only interface with the client library that
    ; H* g7 |9 T6 k+ z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    / ~8 |2 B5 Y/ a6 _
  20. client library - basically all you have to do is to use a 3.x client library as
    & x( }7 J) T0 @& k+ ?3 [% K% t
  21. "VendorLib" and a 4.x database to connect to.
    / i3 i: R5 a: D) ]0 e( r* a0 T
  22. If you need more info about dbExpress, you can contact Borland.& K, {+ }0 }, D) W
  23.   y2 |( K- v- D
  24. ### Doing the work ###; ]4 U: ?, _. b/ u  Q; ?! B
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all! c# r2 I9 O! q; f
  26. the perquisites right, just open your server.ini file, and add this section at0 n  i, D% T0 f. J1 O  ~
  27. the end:* E9 h4 g4 U7 _+ X
  28. ---cut here---6 i4 F# \' J+ W8 |
  29. [DBEXPRESS]
    - L) M5 u- H% f: }7 C$ B
  30. sqldir=mysql_sql9 ^$ m) x" v7 ?! `8 V* G
  31. Drivername=mysql
      `! f  g) |# k3 F, E6 J2 X* L0 I
  32. Database=Your_Database_Name_Here
      b7 R6 b+ p8 E6 l* L: r
  33. Hostname=The_PC_the_MySQL-Server_is_on) j# B1 E9 Y' S
  34. User_name=User_name_on_the_MySQL-Server+ y/ b1 O( X  e1 v, c
  35. Password=Password_to_go_with_above_user_name
    $ A- e" c+ K) k
  36. GetDriverFunc=getSQLDriverMYSQL# D5 U+ T0 V' d) s5 T9 c; u( C
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib- b7 }. G7 O# B4 e
  38. LibraryName=path_to_libsqlmy_libary' ^2 K- H  h/ M: ~' e% O
  39. Active=1
    ! y6 S- G7 Q5 k1 P# E* u9 X4 m
  40. ---cut here---; F4 r- Y* r- Z' n' }/ r) ~
  41. In my environment (a linux box with a MySQL server running locally) I have:& G+ E' e5 I1 z2 v+ j8 @  i7 E
  42. ---example---
    7 d4 k; Z7 o2 T8 }( z
  43. [DBEXPRESS]1 }1 t/ y% Q1 L
  44. sqldir=mysql_sql: }0 p6 Y* |, t+ z0 E* m( k" d) S. x
  45. Drivername=mysql- W- U" W8 Y+ c- a/ o6 T
  46. Database=test
    ! K1 p  m: z/ b2 `- f
  47. Hostname=localhost$ c" z7 R8 I% c3 [( ^2 i2 M
  48. User_name=testuser
    0 F  b% R8 H- m  @
  49. Password=my_password$ f; L5 w9 r0 j- t- _( k
  50. GetDriverFunc=getSQLDriverMYSQL7 V# B  V$ C$ `* f. E+ S/ p) M. w
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.09 ~+ w, m' O* g
  52. LibraryName=./libsqlmy.so
    ( H1 |& h% B" c: j
  53. Active=1
    4 P5 N/ T7 p2 `- R
  54. ---example---
    3 ~) O2 K" \7 o# M
  55. 0 |+ q0 V8 W/ q. B" _5 V# M# _
  56. On a windows box, also running the MySQL server locally, it would be:
    : G1 p; `% j9 ]
  57. ---example---3 I# P# k5 I$ K$ l& g/ a
  58. [DBEXPRESS]
    / A; I; l6 A9 [( v* k" }
  59. sqldir=mysql_sql1 E8 a1 }! D8 R2 k
  60. Drivername=mysql/ g2 ~5 x9 D/ y$ I8 O( l3 i- X, ^
  61. Database=test
    * g) ?+ ]- v4 s+ o( r3 i
  62. Hostname=127.0.0.1
    + }5 O0 H( S- c. W
  63. User_name=testuser
    / I# _6 _- l9 d5 s" [# y1 H- h
  64. Password=my_password( w  w2 ]+ O7 E  n
  65. GetDriverFunc=getSQLDriverMYSQL" {2 s6 }  _( S0 J( ?8 w5 d' R
  66. VendorLib=libmysql.dll" ]* ~& w5 r( ?) v
  67. LibraryName=dbexpmysql.dll
    5 T( ^0 C+ p3 x  x+ _
  68. Active=1$ o0 Z6 Y7 M4 [' k
  69. ---example----
    5 }2 F/ G" |- A  r/ d
  70. - written 02.03.04 by pwk.linuxfan, h9 y0 Q2 q9 k9 o' K

  71. * r0 N9 S; I- x" D" R8 y( e9 G& ^& m& \
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
; f: e: l! D. F+ T6 ]3 l

  1. 9 K  p% X0 [5 D2 O( S6 ?
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    / X+ y( M2 Q& d4 P

  3. 5 ^/ t, ?. O, e- z. y7 c
  4. # # #我们所需要# # #
    9 @6 d4 K- Q/ \# F
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    4 d: ]1 B% z" @' N
  6. 不会解释如何做到这一点-也有文件存在,为
    $ N9 V6 N& \* _, }) `- n
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用6 e$ O6 W' `: A; |, _
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    6 V# v* m& |) V# W2 ^# ?5 s6 [
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    9 G$ D# f! b1 n: p" P+ ?
  10. 本地机器,这是我的MySQL安装。 / l- C* x& O& H/ y5 [
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从6 t8 H; F) b0 F# c& K
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    1 L: a; ^5 O' e0 Z) d
  13. 数据库。
    % S0 [' Z2 e* @
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在+ `/ w+ d; Y$ n3 P/ c
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    - h; Y  y9 ^6 k3 b1 c
  16. 在teamspeak论坛,如果你有兴趣。
    " g- t  U! G$ H
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机. C  @. h) W% B8 ~# W
  18. Borland公司使用。这个司机只能界面与客户端库- J+ q5 A1 v1 @
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    8 j8 B: J7 g5 t, b8 M" J, y
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ; O% l' J9 _) {
  21. " vendorlib " ,并解数据库连接。 * W% ?/ W: O: N2 `! R8 j. E( l
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 7 H; V3 g& T$ ?* z/ d9 V0 q
  23. - A  t! [" [* B# F
  24. # # #做好工作# # # ( |* W- _; N9 T6 ^
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    4 x) U" b" V' V. R+ S8 r
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在6 ^! H# M% u) E. U/ g4 n
  27. 结束: 0 K& }. z" q: f2 @( K3 h* P0 M0 T
  28. ---削减这里---
    ; e8 Q* y9 h% ^% N- Y4 q* K/ V' ^& y0 u
  29. [ dbexpress ]
    # H% @/ m1 I3 c# z4 A
  30. sqldir = mysql_sql
    + d% R! o6 K) s8 X8 {3 r
  31. drivername = MySQL中# x+ q6 ]+ G2 t7 |/ d. N% ~
  32. 数据库= your_database_name_here
    ; Z# ^7 T' T6 C% Q
  33. 主机= the_pc_the_mysql - server_is_on
      z5 X2 c% c7 e3 W2 X  M
  34. user_name = user_name_on_the_mysql服务器
    - i7 e- ~) x! a
  35. 密码= password_to_go_with_above_user_name
    $ x& e3 U) v' P' O2 ?9 R' G
  36. getdriverfunc = getsqldrivermysql
    8 C* q5 x. o; u2 r, S4 ?5 s" M
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ' Q8 E3 {6 f0 n" F, R) n( k6 j8 Y4 s( o
  38. libraryname = path_to_libsqlmy_libary
    . d+ c5 D" g) D, V3 O
  39. 积极= 1 * P. e) N* r! m1 u/ j4 E( K
  40. ---削减这里--- % `; \2 i. m- s6 ~; T) U
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 1 }, W7 g6 L9 i6 Q# [, f. E
  42. ---例如---
    ( a% ^3 Y! ?+ K# J
  43. [ dbexpress ] % ]7 Y+ @( l0 b& ^$ k* F
  44. sqldir = mysql_sql 9 a" g9 H- C2 e( N/ P0 ?
  45. drivername = MySQL中1 O0 n' L0 {/ Y" e, T2 C
  46. 数据库=测试" p- B3 p- N5 }
  47. 主机=本地主机
    ) K5 Z2 {. e) L* L2 y7 `/ L
  48. user_name = testuser + `: l, P1 |" i1 A) k1 [+ e2 R
  49. 密码= my_password
    " ~8 ?  {6 |) R0 U3 W
  50. getdriverfunc = getsqldrivermysql
    $ \' |  ?3 T( @+ ^" a% f
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ( c9 n2 o7 G" r
  52. libraryname =. / libsqlmy.so % x- E9 `# ]( o2 U
  53. 积极= 1 , K( r0 B! T8 J2 C" b
  54. ---例如--- 3 h/ ]0 p2 V* K: J. _

  55. 0 f: d2 r. ^! {# E
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    . t# p* b6 l. f6 S/ \
  57. ---例如--- * n/ x+ O4 x/ y
  58. [ dbexpress ]
    " S5 S- e) [: g3 |( \3 i. G4 ?/ U. d
  59. sqldir = mysql_sql
    8 F2 @: O+ X: k
  60. drivername = MySQL中
    + g, u; Z/ l6 |5 p" T! W) c" d
  61. 数据库=测试
    ( V5 h! S7 u0 s  E0 k; B
  62. 主机= 127.0.0.1
    6 z5 L  T- |. O2 Z1 [: \& k8 r6 \( o
  63. user_name = testuser 1 _: c" ]0 @0 v/ |
  64. 密码= my_password $ o2 g  g5 _- ^
  65. getdriverfunc = getsqldrivermysql 2 e6 f% g; j. H5 |5 K
  66. vendorlib = libmysql.dll在
    , q9 p; g6 k% a- o3 E& {! a
  67. libraryname = dbexpmysql.dll
    - x1 w8 L( c/ X# W
  68. 积极= 1 % R" @$ H. U, }7 \( E2 F
  69. ---例如---- # Z" m6 X2 x6 T2 ~2 {
  70. -写在0 2.03.04由p wk.linuxfan
    $ h1 j& m- l# w& Q4 d. Q
复制代码
发表于 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
0 E3 s. Y0 I9 ?( I# X$ v( B7 O" R8 G  i
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-18 20:45 , Processed in 0.105950 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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