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

2639 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
5 X" f- C: l  ~8 m/ Y) T9 s1 I  E+ Y  x8 X8 P  [4 @

  1. + f! D6 p2 E+ f+ I7 `& @8 w
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######- f/ Q: W$ {. \
  3. - _; A0 j- |4 T+ J
  4. ### What we need ###+ x% |  z% ?4 E* U* C" `2 n2 C
  5. Naturally, we will need a MySQL server to store the data for us, this document
    , m( k- j" ~0 K+ z7 b
  6. will not explain how this can be done - there are documents out there for the
    ( b2 F5 ]$ t9 U6 |" l2 x0 n
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    1 u: C+ G* l( H0 H" h6 n
  8. and a user account (username + password) that has the permissions to do stuff) |$ w, n, a" d! g8 P! O' O9 O
  9. with the database. Additionally, you will need a vendor library installed on the
    1 O& E5 a3 ?# m
  10. local machine, this came with my MySQL install.& s$ v4 T8 ]# C7 Z
  11. These instructions will not tell you how you might transfer your data from the
    * e, D. f4 c7 e6 d6 V# T* t
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL6 T7 v* I2 m+ j, ~
  13. database.0 W) I8 L% s% a6 ~" ?
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    8 v' q- Q/ u# M2 N
  15. the time of writing, there are still too many issues - check the current status: x. Y$ |+ Q; A; ]% C
  16. in the TeamSpeak forums if you are interested.5 m: i) E6 j. B" \) @
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    & |! J+ o- _9 \
  18. Borland was used. This driver can only interface with the client library that
    ) V, `. F, Z* q/ Z9 s
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this; ~2 x9 K+ I" ]( {3 o
  20. client library - basically all you have to do is to use a 3.x client library as
    " i6 L9 B# j4 C2 F
  21. "VendorLib" and a 4.x database to connect to.
      e/ f0 ^8 J! {" R) j8 U
  22. If you need more info about dbExpress, you can contact Borland.5 h& |7 Y% b. l5 k  Y! Q

  23. ( ^2 m9 z& N' u: F( v
  24. ### Doing the work ###% P* [: t. j. \
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all' b/ d9 f4 H! @! d$ B) [! v! g4 Q1 \
  26. the perquisites right, just open your server.ini file, and add this section at( W9 x* @6 V* U! ^4 z  j
  27. the end:8 ~5 Z* s: t+ ~. p! c" T
  28. ---cut here---8 ?. W. i5 c& B+ n7 d4 f
  29. [DBEXPRESS]* l! o9 O2 l8 K* ?
  30. sqldir=mysql_sql
    3 _1 z9 F4 g% t* A2 p  U
  31. Drivername=mysql
    & S' I7 Y4 \' c
  32. Database=Your_Database_Name_Here
    & v8 e( z6 u4 K4 [$ @
  33. Hostname=The_PC_the_MySQL-Server_is_on
    * d/ O/ E! |3 }8 M, R/ k6 ^
  34. User_name=User_name_on_the_MySQL-Server
    - ]2 W5 \" O3 `" h/ Z" ~
  35. Password=Password_to_go_with_above_user_name/ n( Z4 _9 L% c
  36. GetDriverFunc=getSQLDriverMYSQL$ t1 ~, _8 Y5 h
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib- _( m5 ?, g: G2 m1 P
  38. LibraryName=path_to_libsqlmy_libary
    # `) J3 d3 C5 ^: Y1 c0 W( M
  39. Active=15 x# V, g' }. N/ X* O
  40. ---cut here---* }$ y7 Q; ^; n7 ^+ \
  41. In my environment (a linux box with a MySQL server running locally) I have:. a+ g6 R# y- X& y3 O! E" N* \
  42. ---example---' }# k; C% Y; Y; b5 b9 i2 i3 [- H
  43. [DBEXPRESS]
    * s% |$ K; M. y& T: R
  44. sqldir=mysql_sql
    6 |1 A4 u9 l$ S/ ?2 ^# V
  45. Drivername=mysql
    5 @4 Y. Z' q3 \/ B* F
  46. Database=test3 ]2 e3 i3 J  z. [8 Q
  47. Hostname=localhost8 C- d, [, Z6 W  p& [) T
  48. User_name=testuser
    1 c% ?( X) ?, l3 e  `- G4 P
  49. Password=my_password" G1 n* U: l4 M, d
  50. GetDriverFunc=getSQLDriverMYSQL* z6 L4 ?5 z6 A2 m
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0& d9 R' ]3 e7 N- W) `) v& ~
  52. LibraryName=./libsqlmy.so
    6 v1 p# h/ P6 |5 L
  53. Active=1
    & k6 d. v4 ~/ [3 m) I0 Q; E
  54. ---example---5 j2 m8 y0 x1 O  F5 Z  r
  55. & a7 U. t0 a, A( Y0 A  ~4 S
  56. On a windows box, also running the MySQL server locally, it would be:# p( F4 z4 d3 _: s$ e  n( F
  57. ---example---( `1 u' V0 @9 h
  58. [DBEXPRESS]) G& N* E+ `9 i
  59. sqldir=mysql_sql3 d4 _) k! D2 r$ q4 ?7 C1 I  k: {
  60. Drivername=mysql7 O& Y5 @! ^1 {4 l# V" m
  61. Database=test
    3 Q" {! `, V* |* U& ~9 s( \
  62. Hostname=127.0.0.1& M0 H5 }$ `9 f; ~0 F1 P: K
  63. User_name=testuser
    " j" T7 u, D) q0 O( b9 n+ z6 y, b7 {* m
  64. Password=my_password5 l5 G3 e, Y1 k" |
  65. GetDriverFunc=getSQLDriverMYSQL
    3 d3 Y" o8 D% Z4 Y- M& K$ S
  66. VendorLib=libmysql.dll* J$ k' q" ^" ]$ z) z3 r$ J) S) S
  67. LibraryName=dbexpmysql.dll
    6 _4 S7 J; b' p
  68. Active=13 n; l9 r0 V# c2 x8 m5 `- }
  69. ---example----% t, i7 u7 M" P2 d; ^  C% v. U/ k; ?
  70. - written 02.03.04 by pwk.linuxfan
    0 i3 x% o+ `5 k

  71. 9 f7 p+ a- y6 h5 |
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看9 l6 Z1 q9 Q. _# l' \; H

  1. ; I" ~1 T5 k1 m$ J% O
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### + L$ A$ @  j6 B) U9 s; |
  3. / D" o- r' |/ M: D$ m# h; A
  4. # # #我们所需要# # # 2 M5 M' m. ]0 ^" F8 h: j
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件3 M6 q, X" ]/ ]0 {! t+ A. D1 V  R$ ?
  6. 不会解释如何做到这一点-也有文件存在,为/ n8 C$ I) o% d
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    % v; P+ e" H3 |% [( C# \! m
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西2 G6 v* j- @- i6 l4 O9 F( T- Q
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    8 C3 V5 q3 `, A. e7 E# ]) O
  10. 本地机器,这是我的MySQL安装。
    ( `' g" H+ {" B+ {8 R& W3 O" S& o
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从( r) o4 W4 [0 f# P
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 6 E2 o  p4 e; k, s5 X- W
  13. 数据库。 / v/ V. F8 e, W9 }4 C/ A
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ' x: Q) u% D4 y0 e5 Q6 ^
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    & Q0 f8 g1 y+ `6 d7 L. V6 b7 m
  16. 在teamspeak论坛,如果你有兴趣。 9 R4 G/ u  F9 J' M) `) [
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    * B5 [3 ^/ n" i; [
  18. Borland公司使用。这个司机只能界面与客户端库
    / y+ J& F  E  m: k
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ) ^7 f, K2 _1 @, t4 X* @8 F
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    2 H0 \) o; {  ~  e( x$ E2 l9 x
  21. " vendorlib " ,并解数据库连接。
    7 X& @' [' p' V0 t- F
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 % h# w+ X" p! N
  23. 2 ]6 h2 t- f4 U
  24. # # #做好工作# # # 7 u7 ~4 L' ^" v: R
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    # Z0 x3 J# z) t
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    2 `0 w" l' Q, l
  27. 结束: ( w, Z  |- Z" Q* ]5 b4 `+ {
  28. ---削减这里--- + S8 n2 r/ C( z) R  s/ h
  29. [ dbexpress ]
    ' f  ]8 E0 q. h- C9 d
  30. sqldir = mysql_sql
    + Q- T1 ?: c! N' p2 F' f
  31. drivername = MySQL中1 L2 p9 j* f4 x% H& n$ R
  32. 数据库= your_database_name_here
    ( R' z( C# q8 s! S2 J
  33. 主机= the_pc_the_mysql - server_is_on
    3 k: w5 u( u8 E7 Y, ^
  34. user_name = user_name_on_the_mysql服务器% b8 ?3 M; P; m- z* p
  35. 密码= password_to_go_with_above_user_name 9 _$ W. o9 _& Q0 a7 U9 |( B$ g5 x" v
  36. getdriverfunc = getsqldrivermysql
    1 p. M& J3 r% U' e0 h3 }6 q9 q
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ' s( m) n! U3 [% Z
  38. libraryname = path_to_libsqlmy_libary + K& D! X; ]8 t
  39. 积极= 1
    " l* }7 F, p" D& K0 c( ?1 s
  40. ---削减这里--- , f" V" g2 Y  f( ~( U
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ' J5 `* |0 W2 ]$ A3 b4 }
  42. ---例如---
    : M) Q# z# G" ?9 r7 s9 m, e9 h
  43. [ dbexpress ]
    8 u( w5 ?% I7 `4 V3 c
  44. sqldir = mysql_sql ; E" i$ D. y" h2 U8 `
  45. drivername = MySQL中7 n9 H/ s) H9 h6 T6 `/ ?+ e! \
  46. 数据库=测试- {  m7 y% B0 Z% x" ?+ E/ j8 j
  47. 主机=本地主机% J' ?7 e  H+ o+ B5 h% i
  48. user_name = testuser $ X$ j* V$ J6 G& p5 D
  49. 密码= my_password
    3 I/ r9 o0 \3 W
  50. getdriverfunc = getsqldrivermysql
    % X6 }/ E: K# y# _, _/ A6 H0 U
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 0 e( h- H$ i+ J
  52. libraryname =. / libsqlmy.so # o3 Z1 V( l1 D, }* a0 ^
  53. 积极= 1 , \; [/ |$ K2 \2 r/ D
  54. ---例如--- 2 b0 t( k" {3 ^- C
  55. " Q! F8 o; s+ e+ Z2 s3 u" P4 }
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    $ X, {2 W9 n! f3 _9 N  I
  57. ---例如---
    $ q; x; r8 i% K! c" w
  58. [ dbexpress ] ! I: N# Q; T3 u& ~( _3 Y: H
  59. sqldir = mysql_sql
    / a9 B$ E* U+ h8 ^. O
  60. drivername = MySQL中
    . N/ u7 J, e1 A6 B$ \2 R
  61. 数据库=测试
    8 O$ {4 B' ^! J, x/ k
  62. 主机= 127.0.0.1
    ) \/ M  _7 R$ J# i
  63. user_name = testuser 1 X! }' A9 ^3 B, W
  64. 密码= my_password . O0 Y1 V7 u- ?  @% r, t
  65. getdriverfunc = getsqldrivermysql
    / K7 q) L* }1 e; W, ~% M6 W
  66. vendorlib = libmysql.dll在
    * [) Y: ^) N* O& G3 T& n
  67. libraryname = dbexpmysql.dll
    " m/ N2 _" r$ P
  68. 积极= 1 ; ^: Z3 C2 z8 I# d: q' \
  69. ---例如----
    ' Z& M# O) K8 B. j" @/ x, M
  70. -写在0 2.03.04由p wk.linuxfan5 v" E6 Y- q4 D. h6 i
复制代码
发表于 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 words4 |; l. {/ t; c, f2 x( V! Y

0 i# D1 J0 [7 k/ u! ~& Fbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-19 14:34 , Processed in 0.107983 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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