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

3616 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
* ~  g. E- r4 C5 h$ ^) \. z" q. m4 `  {  Y" ~4 r5 H, c% P1 c8 V

  1. # L' E* `. r+ d& g
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    " P, s. H! H! r8 {+ C/ I* s, U
  3. - k+ S0 x, R; ?; `2 w
  4. ### What we need ###
      s0 v7 |& y- K2 g7 r% n$ k2 W
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ! a$ @0 E& }* U
  6. will not explain how this can be done - there are documents out there for the " R' M$ ?' q/ ?7 ^9 C
  7. interested. The requirements include a (empty) database for TeamSpeak to use7 e$ j, A. Y. Y9 l
  8. and a user account (username + password) that has the permissions to do stuff
    ' p- p% |7 B0 Y! M
  9. with the database. Additionally, you will need a vendor library installed on the) a; \, K7 U, G
  10. local machine, this came with my MySQL install.) p& U2 Z8 ^$ S) |/ l7 ]
  11. These instructions will not tell you how you might transfer your data from the
    2 @- |  B0 y2 Z  \' N1 w
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL7 E& E7 h- a( d. m& S; C
  13. database.5 R( b) h: h- z; C, X7 [4 e
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    9 y: j: }, r# l) d6 s
  15. the time of writing, there are still too many issues - check the current status6 T7 s/ u% |! ^) X& R, u
  16. in the TeamSpeak forums if you are interested.$ f' D; ?9 E* b; _# I
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from' k7 N( O% i2 Q
  18. Borland was used. This driver can only interface with the client library that
    , o% w2 q7 H, ]0 o& P# ~8 p  Z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    , f. \% j! Z$ R8 g- T' G( v$ p( u) _
  20. client library - basically all you have to do is to use a 3.x client library as 2 B) w' [3 [+ d0 \  \. K
  21. "VendorLib" and a 4.x database to connect to.) f( a3 Y% w8 r+ u2 ?
  22. If you need more info about dbExpress, you can contact Borland.4 }2 {2 P1 F$ {2 q4 V% |

  23. 0 v9 r, B+ g" W" m" j
  24. ### Doing the work ###
    $ t* H4 ], c, ~  j$ F7 K
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all) J+ @& M& j; ^( a* F# a- k/ B! G
  26. the perquisites right, just open your server.ini file, and add this section at
    % `2 B; a! h  s4 N- n4 M2 l
  27. the end:
    ( w7 Z5 i6 j" }2 `2 z+ o0 K' \
  28. ---cut here---% [% [* i/ J  f( }; d7 q+ X; l
  29. [DBEXPRESS]) |9 ^, N* q* V+ z
  30. sqldir=mysql_sql! [+ X9 }1 L) Z+ f5 H& o
  31. Drivername=mysql+ d2 A" w5 j5 ~2 V+ Y7 v
  32. Database=Your_Database_Name_Here
    % O, j2 K% o6 t5 ^. e
  33. Hostname=The_PC_the_MySQL-Server_is_on; z/ n# r& `; v! v
  34. User_name=User_name_on_the_MySQL-Server
    + a* Y0 [. q/ [1 f" u9 N! C6 i, p
  35. Password=Password_to_go_with_above_user_name5 o" [$ u+ j, D5 j- P# B6 I
  36. GetDriverFunc=getSQLDriverMYSQL$ |! Z+ i/ t8 |( `1 P* u
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib2 L1 a/ x. O, f1 X5 l3 {
  38. LibraryName=path_to_libsqlmy_libary
    7 x% o1 X) C0 Y: l! E
  39. Active=1- K# [- B" K6 g6 H) ^5 J8 Y; f
  40. ---cut here---. I! L5 j  s/ i0 z
  41. In my environment (a linux box with a MySQL server running locally) I have:
    $ W+ q" H; P0 u" k* h0 _3 C
  42. ---example---" s& R( J, q; G; Y+ A) k
  43. [DBEXPRESS]
    ( V& R0 p+ Y% R3 ^
  44. sqldir=mysql_sql. y0 N* {5 N2 D1 m9 w
  45. Drivername=mysql
      u+ A1 ]5 N4 {6 E: @: C3 d: _! b
  46. Database=test/ Q  G+ ?$ U: K; X" W7 I3 ?! q
  47. Hostname=localhost; x) ]0 A5 ?8 b0 O  N+ K+ y! O. h
  48. User_name=testuser) |# V9 i3 q2 c% m
  49. Password=my_password
      |' ]$ D' ]- ~  B/ M- P
  50. GetDriverFunc=getSQLDriverMYSQL, d! p1 e. m% |# G1 N
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0" t& s* a- x+ O) f: F
  52. LibraryName=./libsqlmy.so
    & G7 x1 \; l2 y9 W: x) I
  53. Active=1! m* `* k0 E& H/ [! ^8 S
  54. ---example---
    % S/ ~0 J4 T$ J+ M1 B
  55. ! g: y  _  A5 g5 x0 @$ w1 o7 a
  56. On a windows box, also running the MySQL server locally, it would be:
    ) k, c- B# [) X0 V3 v- W8 i
  57. ---example---
    3 \. X% ~4 l. _+ g3 w" D
  58. [DBEXPRESS]. r5 d% Z: P0 ^1 P
  59. sqldir=mysql_sql1 W4 m, p7 ~3 p9 M
  60. Drivername=mysql
    7 b+ ~' M( y3 q- g4 e4 H5 \. i
  61. Database=test
    ( r. h- ?' f; y
  62. Hostname=127.0.0.10 D4 X: \7 g3 c+ Z8 @* N
  63. User_name=testuser  ?! c. |+ x/ F! a: L4 d7 k$ }
  64. Password=my_password
    2 I: u+ a/ E8 s" e6 n3 \
  65. GetDriverFunc=getSQLDriverMYSQL7 ?2 J1 n: Y" I: d
  66. VendorLib=libmysql.dll
    ) U/ A- m8 w' D
  67. LibraryName=dbexpmysql.dll3 _* m$ x) |5 n3 g' _) U  P
  68. Active=1
    % G' t) `- W9 J* R( n& ^
  69. ---example----
    ! w7 ^- E- z2 a' W: a
  70. - written 02.03.04 by pwk.linuxfan
    : I0 f! D1 p( G$ K( \6 W: X$ S

  71. 1 x; t: }# o- q( H2 Y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看' C% |# L8 D! b( I
  1. 3 ^( E2 F1 P' H1 I# G+ ~
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    0 A' A& H+ N: Z& L! V. e
  3. 4 e) V/ t% k3 O; e1 M
  4. # # #我们所需要# # #   D6 d  }* T' B" J, _2 v& Y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件( E9 [1 k. P9 V" `0 t
  6. 不会解释如何做到这一点-也有文件存在,为9 Z$ D4 w. j) m; v5 k3 v
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ' T0 i% s, h8 i
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    3 W/ n8 J) r* l* p( l
  9. 随着数据库。此外,你需要一个卖方图书馆安装于8 V4 A9 j9 S9 D5 n! g6 |
  10. 本地机器,这是我的MySQL安装。
    , P2 G; Z3 p" e; `' G2 {, e
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从! `( {( I& z) j- n& Q; U
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 0 Q! a- A# \- X5 k* E% P  ^
  13. 数据库。 $ K; n7 P9 }% H; }5 Z1 P
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在7 a( W" ~# O# A3 Q
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ) p. r1 w8 r* x7 c0 [+ e
  16. 在teamspeak论坛,如果你有兴趣。 " m/ l; D: ^  X0 y- w& ~/ H
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机# n3 T9 N) ]# b1 N3 ]# a9 `4 m
  18. Borland公司使用。这个司机只能界面与客户端库
    0 n6 p% M% ]: f8 K' K+ h
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这, i  k  H& Z4 G# B% d
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为1 q% t& q: X8 Z% C
  21. " vendorlib " ,并解数据库连接。
    8 @# g( x0 e0 T: b( I
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 8 o5 A" [- t* L1 ], f8 w5 e* @

  23. " v7 O5 K' t% d1 J6 @
  24. # # #做好工作# # # ) Y3 e* P/ g: h4 b2 F4 t
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    2 g! Z% D" t$ J) Q- r
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    " }  ?2 J1 C- E% ^9 M6 p
  27. 结束: ; o/ n& F+ O1 p. t; B' a
  28. ---削减这里--- ! ?% R& f2 e. t7 B6 g) ?& x6 J# c
  29. [ dbexpress ]
    - m/ s0 G4 A7 w& w+ q
  30. sqldir = mysql_sql
    . b; C5 l/ r/ [" h8 q+ J
  31. drivername = MySQL中
    % y* U! w" n9 x
  32. 数据库= your_database_name_here
    8 y1 e4 `) P) O
  33. 主机= the_pc_the_mysql - server_is_on + f/ y3 v  |/ K! _( u5 V- X6 y
  34. user_name = user_name_on_the_mysql服务器
    9 ]0 r) \7 p2 y* m9 `1 s
  35. 密码= password_to_go_with_above_user_name
    ; V9 U2 e* _' v8 \1 e, x; O
  36. getdriverfunc = getsqldrivermysql & v' S; q  x1 ]( Y4 q5 n( N9 w; J
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    6 \0 O# L- h1 U
  38. libraryname = path_to_libsqlmy_libary + R" a! y. ]( r- _" c! U& m2 m* j
  39. 积极= 1 * \* v- ?$ |' i5 }  y$ Z& Q) c. E
  40. ---削减这里---
    0 j' [% |; z# f
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ! l& o2 w0 O8 J! z' ~
  42. ---例如--- 6 R. |4 f+ T4 [
  43. [ dbexpress ]
    & u7 q" W- x/ T; v! {
  44. sqldir = mysql_sql
    , Q% Y1 D. p0 @9 @# L
  45. drivername = MySQL中
    3 B: L- B- I9 c3 d$ P# F3 ]
  46. 数据库=测试7 R7 ]5 }& t0 e* `& g0 R! K3 t
  47. 主机=本地主机! b( f  h% S. L( P
  48. user_name = testuser
    ! C( o8 I! S4 Z" e& A; D, x& N  \% Y
  49. 密码= my_password
    7 ^, @1 Q7 Q) K3 b. ^5 l7 t
  50. getdriverfunc = getsqldrivermysql
    5 B1 ~1 [: ?- b* Q8 L0 ~7 ^
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    , N6 s8 W0 M" B
  52. libraryname =. / libsqlmy.so 6 Q# J$ @  K. M: S4 y
  53. 积极= 1
    9 }( Q2 ~$ u9 a8 d
  54. ---例如--- , v9 G6 {7 w2 Y  H7 @
  55. + y$ t$ ?( `  v. O5 s% p
  56. 对Windows中,也运行MySQL服务器本地的,那就是: & [5 V( a8 u# ~0 G  @- D
  57. ---例如--- - ^; n! s. B* k+ |$ }& E! {
  58. [ dbexpress ]
    5 R5 C9 M9 P; V1 e
  59. sqldir = mysql_sql
    / [2 y, F0 k$ K$ t  C. H
  60. drivername = MySQL中) R3 x" s5 t' E6 S/ J8 p, `
  61. 数据库=测试
    ! R2 U' @7 y8 g* n1 _
  62. 主机= 127.0.0.1 - Z; U* j2 u, T, Q; R" p
  63. user_name = testuser 9 b* [; Y( v; Z* a9 r) T
  64. 密码= my_password , X- H, t$ j, O6 k$ U7 ~! V! s
  65. getdriverfunc = getsqldrivermysql 5 R* W6 h* s8 z$ D# I: k
  66. vendorlib = libmysql.dll在
    8 U% }+ _+ U: f8 z7 {) g
  67. libraryname = dbexpmysql.dll
    0 S9 K, V7 [/ U7 @2 A- K
  68. 积极= 1 3 [" X5 k; C8 x; @0 A7 q
  69. ---例如----
    ) L. w' J9 g+ M) R( Q
  70. -写在0 2.03.04由p wk.linuxfan/ K! f  j1 V* c2 s4 O! B" L/ 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
  a/ {5 W' B& d1 X
7 S0 i3 G2 Y* V- v/ f9 `# |7 Sbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-12-5 03:25 , Processed in 0.076705 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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