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

2880 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
+ M8 _$ B1 F3 s9 |7 e" Z3 o+ o0 R! b5 Q

  1. 9 K3 @# Y/ m+ m% t+ M& s
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    9 ]/ C7 L( r" s& c5 F
  3. 8 L, x5 J/ g9 f7 }  C
  4. ### What we need ###
    / X( V0 b( h7 `9 h+ h0 h+ r
  5. Naturally, we will need a MySQL server to store the data for us, this document ' r, N3 i! h# }' r& F
  6. will not explain how this can be done - there are documents out there for the
    ( k& S7 @, I2 [( O, j' L
  7. interested. The requirements include a (empty) database for TeamSpeak to use2 t! M% d) c4 k$ `9 q- i
  8. and a user account (username + password) that has the permissions to do stuff
    3 i3 e& k. |0 h8 b  t
  9. with the database. Additionally, you will need a vendor library installed on the( i, y- w  B5 A/ n# T( ]& |" V% H
  10. local machine, this came with my MySQL install.0 R1 Y4 l7 p$ z) T9 F/ R
  11. These instructions will not tell you how you might transfer your data from the; u& g, ?/ `7 O0 z/ J4 n
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    " ^( w9 x/ B1 K! S, n7 G/ A
  13. database.
    + y2 E& ?1 F, [& a/ Z+ e4 r
  14. Some users have reported ways to import a SQLite database into MySQL, but at" ?2 q2 b- `! W  E
  15. the time of writing, there are still too many issues - check the current status
    % \, ^4 B! s3 Z7 G3 _- {; g
  16. in the TeamSpeak forums if you are interested.( y) H5 z3 G+ ^' t( \0 @
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from! ?- t9 g5 H7 @! X2 t4 D! ?* d& W. |  W
  18. Borland was used. This driver can only interface with the client library that
    9 y2 R6 Y: ]  q$ E  ^
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    3 A& F6 E& F" K2 s3 O" u
  20. client library - basically all you have to do is to use a 3.x client library as ' y: Z' C, u4 \# Q) y
  21. "VendorLib" and a 4.x database to connect to.
    & d, c; `: K2 d2 w
  22. If you need more info about dbExpress, you can contact Borland.* R( b! W0 L+ R' M
  23. % u$ s* J4 W) \1 f
  24. ### Doing the work ###
    5 O$ \- c6 ]" P6 D
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    2 L, Q' N) {" M/ S: q- D) f% [
  26. the perquisites right, just open your server.ini file, and add this section at  Z9 r% p$ x5 L, f+ F; p
  27. the end:
    3 g% @0 O& |, o8 ]
  28. ---cut here---
    8 u2 H$ e5 @( C: ?* I1 ]
  29. [DBEXPRESS]: \& r6 c  B3 R& u0 H6 }  c
  30. sqldir=mysql_sql
    - U2 ^/ w( P% E0 `/ T# f
  31. Drivername=mysql  C* J/ y5 }1 @# z2 F8 S% }
  32. Database=Your_Database_Name_Here
    ) p5 l6 G; k' s3 K7 O
  33. Hostname=The_PC_the_MySQL-Server_is_on
    8 N  [2 `' K9 e- w) f
  34. User_name=User_name_on_the_MySQL-Server5 C5 C1 n8 L$ j' y7 Z& d( m2 |- Q- v
  35. Password=Password_to_go_with_above_user_name
    " \* g# G( u$ M5 q) V5 ]1 X& t
  36. GetDriverFunc=getSQLDriverMYSQL# O9 Q4 U1 K. |
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib+ f6 A2 v6 c/ e1 u+ ]. t# o
  38. LibraryName=path_to_libsqlmy_libary6 C  a$ e3 [/ G/ o/ _
  39. Active=1
    ) I# E% _: e1 C) \! t4 n
  40. ---cut here---* Y! H4 l8 b) N! [) }6 ^
  41. In my environment (a linux box with a MySQL server running locally) I have:
    , |1 ~3 i& l* Y  k* o! x. X
  42. ---example---
    - o0 N) j, w2 Z  z7 n3 m$ C
  43. [DBEXPRESS]& S8 `) l" Z5 w1 v
  44. sqldir=mysql_sql0 b; x' G9 m. F# b. u$ F+ t. M
  45. Drivername=mysql
    # k) o7 ~7 ?6 ^6 [' l
  46. Database=test! S+ G$ d5 h6 X' J3 C7 b
  47. Hostname=localhost  }2 x1 [! J# Y, o3 B
  48. User_name=testuser
    3 b; B2 n3 P5 ~# }* T# y( I0 y
  49. Password=my_password
    $ f+ {' a% \% i( `7 @% C, B2 J
  50. GetDriverFunc=getSQLDriverMYSQL; u" i9 R9 b" ?+ O
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    $ g* H& o5 ~; w- _$ g4 ~
  52. LibraryName=./libsqlmy.so% R6 C2 ~. K" u1 L. |: ^
  53. Active=1. ^' n& h7 k8 c% f
  54. ---example---
    * K: b! l/ n8 S  O1 t. s9 V, U; P
  55. , R5 h- e$ V9 Y0 E2 _
  56. On a windows box, also running the MySQL server locally, it would be:
    % U4 R9 l% G& p7 F* F  r/ b5 u
  57. ---example---. @& o- V5 q& n3 Y. T
  58. [DBEXPRESS]" L# @3 {$ f$ c, ~8 [
  59. sqldir=mysql_sql. l- c/ z) Q* h7 b
  60. Drivername=mysql
    , }5 |' X7 x4 W' E: \$ X  o
  61. Database=test$ t0 K- J3 c: G4 e4 ^" [
  62. Hostname=127.0.0.1/ r- p( Z/ T4 T8 f0 W0 _
  63. User_name=testuser
    & `" ?- U  M# h- ^; y3 H
  64. Password=my_password
      |' \. S) f1 O# }' k
  65. GetDriverFunc=getSQLDriverMYSQL
    9 l: i/ D8 d( o
  66. VendorLib=libmysql.dll/ m5 m2 L2 G( ?1 l- Z/ Y; \
  67. LibraryName=dbexpmysql.dll
    . b/ P/ K3 L& F. n7 e/ ~' J( i; B
  68. Active=1+ R2 m5 w  K( d( x: G# R; O, [: k
  69. ---example----
    " Y0 l; ]. _# U* u6 b4 x) J. O! {
  70. - written 02.03.04 by pwk.linuxfan
    ) x) m4 h( P: |# s
  71. 1 N) J* h. @' C; ^, k1 j4 I
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看: U$ h! i! J# M2 m) l8 d
  1. ) s/ ]  u1 s9 E" L0 p+ K
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ; R6 o" A( g# g9 ^$ r

  3. . Q2 [; o0 N1 w8 `( r, M/ t
  4. # # #我们所需要# # #
    3 f* @$ K& L$ f( X; _
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ' w6 G# [# z' S7 r" J
  6. 不会解释如何做到这一点-也有文件存在,为( @( ~1 P1 h7 n# D2 s4 J# S
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用; n* K! }& A# {, I6 t
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    8 Q; F/ U+ b' p% ]5 u
  9. 随着数据库。此外,你需要一个卖方图书馆安装于, q8 t' s) ~+ l
  10. 本地机器,这是我的MySQL安装。
    2 w6 }9 V+ d' Z4 l8 R
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    , _- u% V: d, l* i
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL $ z$ d% P* S  s8 x! L' g: Y! {) Q
  13. 数据库。 2 J% v3 Z- A8 X9 _$ x( X. b
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    3 l- v7 n, L% h6 c2 r: B
  15. 编写本报告的时候,仍然有太多的问题-检查现状. {$ \  {, z9 S# k3 P5 P& |" Z
  16. 在teamspeak论坛,如果你有兴趣。
    $ {: ~# i' P9 ^: h
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    6 {- l& Z  I3 n/ P% N6 ]
  18. Borland公司使用。这个司机只能界面与客户端库. J* d( K: n( `& K9 L; f
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这6 w4 ^2 r& s3 X) m# v, R7 k
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为% a2 E$ m/ `; M/ D
  21. " vendorlib " ,并解数据库连接。
    6 x; r; d+ |) c1 H2 m3 ?
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    + u( X- X2 _2 O0 y$ z
  23. 8 T3 q) `9 s! }; a. G9 S) D9 |& |
  24. # # #做好工作# # #
    1 O2 M5 d% |' h
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都' y' j8 c1 h( H
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在) ?6 l' J7 Y- ]  ^* e5 K/ I3 D
  27. 结束:
    7 y* v' a0 c0 G9 T
  28. ---削减这里---
    : k7 ?% J" e7 p" g5 n
  29. [ dbexpress ] $ F6 D, S, o$ _5 t0 n" Y+ w
  30. sqldir = mysql_sql " o$ l+ }! o( D( ^2 |7 b. @5 W
  31. drivername = MySQL中+ x% o* }( O. \. i8 x
  32. 数据库= your_database_name_here 9 {. r  T9 X  z' |+ I4 J
  33. 主机= the_pc_the_mysql - server_is_on
    ( @: H$ j, ^- Q7 b3 j$ M- t# ?  ~
  34. user_name = user_name_on_the_mysql服务器
    2 [4 s- x, J7 e/ u7 r) m
  35. 密码= password_to_go_with_above_user_name ( C) a0 K- G/ M* ?, v# r
  36. getdriverfunc = getsqldrivermysql
    1 L) v% s% k+ g4 H  u1 ^
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    , m( P' J  \4 u; c: Z: w& Y( }
  38. libraryname = path_to_libsqlmy_libary
    & W' g8 V  Q4 j4 p3 \
  39. 积极= 1 $ v& X+ R% ]+ g' \' p) B
  40. ---削减这里---
    4 r, a& O5 Q( G* b
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 3 [. {6 G/ E/ B$ h3 j" c: P
  42. ---例如---
      q7 ~% \6 ~+ U. q
  43. [ dbexpress ]
    + c- `& b7 c2 x( t. r
  44. sqldir = mysql_sql
    3 p, g! O1 q; R$ z/ y
  45. drivername = MySQL中
    - f. X' D8 K$ [1 e$ Q' q1 K
  46. 数据库=测试# v2 l& W- ?3 R3 Y9 y
  47. 主机=本地主机+ z/ x4 x- R4 B5 F$ X2 l0 Q
  48. user_name = testuser & l( i/ r% V% b
  49. 密码= my_password
    ) d. T! o, w) q5 W" J2 |/ _
  50. getdriverfunc = getsqldrivermysql 8 }. h; ]. E: g( _& f
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    9 `5 e% W9 z1 s
  52. libraryname =. / libsqlmy.so
    4 Q& m' Y2 \6 N( |
  53. 积极= 1   X1 t9 k- E( @. M8 \& ]% N
  54. ---例如---
    ) Q7 W2 m" r( Z. Y+ v7 y

  55. & m6 `* m1 O4 l1 R' n
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    1 S; N# ?( H& e6 D- H
  57. ---例如---
    ) q) K+ F' y8 {) a& a
  58. [ dbexpress ]
    & N6 D8 K0 ]& A' i5 ]9 Q. H* D
  59. sqldir = mysql_sql . z3 f9 J$ I+ U9 f: ?# q9 d* t
  60. drivername = MySQL中% `3 d3 T6 n& v4 h; K) V
  61. 数据库=测试
    ; }! F# D7 w2 M0 t0 n
  62. 主机= 127.0.0.1 8 T5 e1 {1 s/ c* h) _' }( {7 ~
  63. user_name = testuser , G4 N1 V/ }/ w* |0 Y& s
  64. 密码= my_password 4 B7 l, D3 r0 l3 ~
  65. getdriverfunc = getsqldrivermysql ! v- r: ], P0 ^0 p+ l( q- ?
  66. vendorlib = libmysql.dll在4 b: `2 F% G8 K9 V9 ~7 d  ~7 Z6 {
  67. libraryname = dbexpmysql.dll 4 O7 S6 V2 c, t  q' s9 |* n+ R
  68. 积极= 1 9 E: l5 e) h* j  W" \( i8 p
  69. ---例如---- ; S9 L* g* \  s* u* x
  70. -写在0 2.03.04由p wk.linuxfan; Z& e8 M3 [6 g' x/ J" m6 W4 g+ 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 words" ^( q7 C# s, H8 ]$ B. x5 e% r

- X5 K1 Y( W8 [- c* a" ^% V9 ?but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-12 05:38 , Processed in 0.106841 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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