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

3148 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
8 ?. L/ x! ^9 u; l+ q! v/ r* b4 S: n& _. g3 w% n
  1. 9 Q% [6 ~' a; ~
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######7 s$ t) R# l0 Q  c6 ]) h5 j

  3. ; R3 O5 I+ e5 ~, R4 A1 @
  4. ### What we need ###
    5 S7 |( i! V* r. N" R6 p; n9 E
  5. Naturally, we will need a MySQL server to store the data for us, this document ! W- W5 K6 [" S& P. E
  6. will not explain how this can be done - there are documents out there for the
    . u# \# y2 w( P: H+ q+ I& i+ Z
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ( O* c) U' D) e$ y/ ?
  8. and a user account (username + password) that has the permissions to do stuff
    1 `/ l0 X: b. }/ s% ]. i- a
  9. with the database. Additionally, you will need a vendor library installed on the
    : o9 d- Y3 T6 y1 B* v+ i
  10. local machine, this came with my MySQL install.* t# ]9 O7 s7 b& S9 F3 e6 D0 K
  11. These instructions will not tell you how you might transfer your data from the  M5 U; a  x& K& F& @7 @3 G
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL5 }% C0 V% I% N" G/ \
  13. database.0 Z% B. }3 z# z( l
  14. Some users have reported ways to import a SQLite database into MySQL, but at2 s1 l* L: Z. g3 T" J! i2 J) d
  15. the time of writing, there are still too many issues - check the current status
    ! g9 S( b- C% I# {
  16. in the TeamSpeak forums if you are interested.& i; X' E! e2 i4 u
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from+ U  v9 F; R) z9 k+ y6 T
  18. Borland was used. This driver can only interface with the client library that
    4 h4 t* `( g( B8 m: q0 p! x5 g
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this# J; ?9 H: i& ]) `; S3 z
  20. client library - basically all you have to do is to use a 3.x client library as
    9 w: P  o1 V: l8 l: R, ?& {) \! [
  21. "VendorLib" and a 4.x database to connect to.6 Y7 Y: \* c# g* F& X2 V0 Z
  22. If you need more info about dbExpress, you can contact Borland.
    ; t4 r4 d, H' Q! Y; h# d
  23. 5 a* H6 x" R8 |+ ~
  24. ### Doing the work ###* D- u& \& l; J& C
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all% w/ ?  u& `5 Y8 X* S$ Z1 }
  26. the perquisites right, just open your server.ini file, and add this section at3 k; K' \, l  O8 Q' _2 R' S7 Q
  27. the end:
    * a# x8 ?4 Z& `% O+ X' f
  28. ---cut here---/ d7 u% g; X6 q
  29. [DBEXPRESS]4 U* Y4 ~& Y% t% M5 P; L
  30. sqldir=mysql_sql
    0 l2 ]  w  b; g5 U7 k
  31. Drivername=mysql
    1 |, i6 ?+ l0 \% e  L# q5 i
  32. Database=Your_Database_Name_Here
    0 |2 E! ]2 \4 f- n! ?
  33. Hostname=The_PC_the_MySQL-Server_is_on" @* R7 g/ ~( H5 H$ ^
  34. User_name=User_name_on_the_MySQL-Server
    ! F0 _  f% I; @! U8 ^$ h/ d% ]8 E
  35. Password=Password_to_go_with_above_user_name
    8 N" l& [, D" ?! \6 X7 G: b
  36. GetDriverFunc=getSQLDriverMYSQL
    8 W: Z: C* r: O; E0 T  G4 {5 c3 j
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib$ e  e. ^  b2 u( Q) t
  38. LibraryName=path_to_libsqlmy_libary
    3 r; [" E# C0 u2 c" F3 q8 N
  39. Active=1
    8 l4 E, _* z! E8 v2 M* ~
  40. ---cut here---; k$ L- q4 {0 N; _2 j, O
  41. In my environment (a linux box with a MySQL server running locally) I have:
    - C3 ~; Y0 S( L8 u! j3 p' M
  42. ---example---$ J* j6 P( d8 L# |( i' z
  43. [DBEXPRESS]" z- [/ e+ Z+ `0 o
  44. sqldir=mysql_sql
    : `# w2 ~: a8 h7 O: o* }
  45. Drivername=mysql
    4 W9 ]8 X6 e7 e. v! ?3 v$ t, @5 b
  46. Database=test5 s' U% O' `+ @+ A! m
  47. Hostname=localhost
    ; d5 e- O/ n/ @) _
  48. User_name=testuser
    , s& H0 g7 z5 r; W, z3 H
  49. Password=my_password
    : c! [: e$ e9 o1 X1 d, s; S
  50. GetDriverFunc=getSQLDriverMYSQL8 v- @. H* u' _7 w- F% Z# k3 |  T
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.05 O/ @; c5 Z6 A" K7 S
  52. LibraryName=./libsqlmy.so
    . T8 O: m2 S& |& f  ^1 R0 P0 G8 n
  53. Active=1
    8 a% B9 f' k* }5 @# y" m3 Q
  54. ---example---' o3 f6 d, O5 O1 h9 E

  55. 6 r" {$ r' \" W  r2 _
  56. On a windows box, also running the MySQL server locally, it would be:! H4 Y4 C2 Y6 d
  57. ---example---& x0 i7 J8 U0 {# h
  58. [DBEXPRESS]8 J0 u# r& I* ]
  59. sqldir=mysql_sql
    + l! x  ~9 E! A  E( \& w( c1 p, n; X
  60. Drivername=mysql, |# b) r/ N' z0 V% P7 G
  61. Database=test% O, t; E+ X7 ?4 v7 M- i* V9 ^
  62. Hostname=127.0.0.1
    / T3 A- ~$ }/ |' f0 x
  63. User_name=testuser
    * K# z& {3 p) t1 A& d  r: [
  64. Password=my_password
    8 c5 D: w5 I6 U: s3 b1 j
  65. GetDriverFunc=getSQLDriverMYSQL
    0 V& Y1 p! q* x; [9 |2 K- {
  66. VendorLib=libmysql.dll2 I9 ~. l; O8 _( V
  67. LibraryName=dbexpmysql.dll
    . }9 M9 |/ A: T2 I" ]
  68. Active=1& \3 \( ^1 d& C: A$ s
  69. ---example----
    & D# L5 |! h: r& k5 b* {3 `6 p
  70. - written 02.03.04 by pwk.linuxfan
    & k$ {' v8 g, u
  71. : v: K2 S- V+ I
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看: A/ {- T5 B6 e& b/ x
  1. - h  B9 B! S! s+ G$ |
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### * n4 b! n$ s3 B+ {
  3. 4 S' E, r% H$ ?- F
  4. # # #我们所需要# # # 9 M$ w8 ~# j7 G. y% E- T  _
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件9 O2 |( V( ?! P. I* l2 u
  6. 不会解释如何做到这一点-也有文件存在,为( B1 n: C+ V2 o
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    $ e  X0 T, w; @  W) h+ ^2 p
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西: ?: f- {1 g; U" [! M
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ) L' @2 k& d0 G/ G5 O
  10. 本地机器,这是我的MySQL安装。 # [! t0 N& Z& @8 F) j
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    5 `: x, x* w6 D# h% y( L
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ) v3 H6 u/ [$ `. X+ Z, i
  13. 数据库。
    / i+ w  Z' q/ N4 H% Y
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    : x& Z* S7 u7 }( R
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ; w  N2 L" N* l( K3 g
  16. 在teamspeak论坛,如果你有兴趣。
    - y; k0 Z& n) J  {" w$ W
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    2 K- }0 A' c( h" H) @9 \$ w
  18. Borland公司使用。这个司机只能界面与客户端库
    ( T' D1 g4 `; J# _3 \3 [
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ( _5 x' }5 U. ^, v& p1 a
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为1 L9 v  w6 ]( _8 R; T
  21. " vendorlib " ,并解数据库连接。 $ o$ l; H; x! ]# A' G
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    0 A# z7 u( ^+ S: \& k

  23. 0 ^! D5 q* K' t* \3 l: W$ Q
  24. # # #做好工作# # # & o3 r/ {7 H9 o9 d5 _5 b
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    2 i( q) X; ?; H9 p: e. Y& D: L
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ! E1 i5 @' ]; X
  27. 结束:
    . Y8 T4 t) C9 N/ N4 p5 d
  28. ---削减这里---
      U, X- ?' [+ G, E7 r; s
  29. [ dbexpress ]
    ; E7 ]7 V, H) R9 g- R. Q0 U
  30. sqldir = mysql_sql
    ( F) d# G( s2 f4 {+ w- [
  31. drivername = MySQL中- y* P; n! ?- H  [4 h
  32. 数据库= your_database_name_here
    5 D. S0 Q! i. E. X
  33. 主机= the_pc_the_mysql - server_is_on
    # y4 p0 Y) F7 K7 a9 V& `( b
  34. user_name = user_name_on_the_mysql服务器
    2 n3 F5 Y* M% \4 S6 r. `
  35. 密码= password_to_go_with_above_user_name
    $ o* J; v  b$ U/ B: I0 H7 q! n
  36. getdriverfunc = getsqldrivermysql 6 f8 X" s4 Z, p5 f. m7 T/ f
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    2 y) m. y: y4 f
  38. libraryname = path_to_libsqlmy_libary
    ' G$ K* m# k0 p+ W# V0 R
  39. 积极= 1 1 g2 @# v8 ~; c) g7 _. L$ y$ y
  40. ---削减这里---
    - l$ H/ _# J  x9 D1 A2 j
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ' q$ ~9 R% u. C$ [9 u, J2 M6 p% S
  42. ---例如---
    ; f1 w( L; L) M. r" J( g
  43. [ dbexpress ]
    5 E8 e' ?' J( ]( ~
  44. sqldir = mysql_sql
      s& l. C8 k0 I+ ]! d; w, A6 {7 z
  45. drivername = MySQL中) Q! x/ C6 W. Y) `4 R. B8 y% H: o  O1 z
  46. 数据库=测试( {9 \0 P4 l: q+ l5 [/ a( V
  47. 主机=本地主机8 _& L8 T) ]# K: c
  48. user_name = testuser ! v5 T. a8 i! @" h7 ?. i$ @
  49. 密码= my_password
    * A; ]. |  C* Q* M
  50. getdriverfunc = getsqldrivermysql ! r* s& f2 ^) k9 C6 Q
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 / u4 T0 A, P6 b& Y) c
  52. libraryname =. / libsqlmy.so
    % j  m' g* w6 z4 C/ E$ |9 c) k
  53. 积极= 1 7 U" z: h" P) m$ m/ @
  54. ---例如---
    * {: s8 z, r$ x% ^+ `: r* p

  55. 8 }! Q& S. ~1 F7 T0 U+ I# L
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 0 W8 ^% U9 ?+ A$ k( C3 o
  57. ---例如--- 2 W$ g$ R+ d, r8 h; m6 L
  58. [ dbexpress ]
    % D6 d$ H+ ^5 b1 w1 _( ]& p) J
  59. sqldir = mysql_sql % @/ c) C6 i: L) V
  60. drivername = MySQL中2 ~- X# A& k( s. J. k$ ]: c
  61. 数据库=测试
      i8 S7 A* p& n) R
  62. 主机= 127.0.0.1
    ! b1 B2 p# I$ _9 w0 j5 a
  63. user_name = testuser
    " b  o3 _, v( V
  64. 密码= my_password
    8 t$ x% b" k1 B; R
  65. getdriverfunc = getsqldrivermysql
    7 B) ?: l2 J+ R) k/ y" S' J6 I
  66. vendorlib = libmysql.dll在
    1 g. _3 D; a) ]5 ~3 @
  67. libraryname = dbexpmysql.dll 2 C. s1 A1 I! u0 D
  68. 积极= 1
    : ?3 ]& t" z# c
  69. ---例如----
    * X( n3 D( i$ Z3 X
  70. -写在0 2.03.04由p wk.linuxfan! M( R; @9 y" F1 @- B) j9 z' g
复制代码
发表于 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
5 u+ x% Q! P+ t# n; b$ G/ T$ r. m5 r  p% A% F4 M' h
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-11 08:01 , Processed in 0.083892 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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