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

3515 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
7 Q- d# T4 N: ^  W: _! l
+ a6 S: ]+ x' f( }

  1. % ]" L, n  W; v
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ' g2 u8 b8 O* r9 l# x# n) r) u- l
  3. - I. _) c; ~& ?: [; u" k
  4. ### What we need ###2 @3 u, D: q5 z5 n- x. g
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ' e) d! w/ T* h. A! }. {# ]' }1 c: {
  6. will not explain how this can be done - there are documents out there for the
    4 U* ]" k$ U% t
  7. interested. The requirements include a (empty) database for TeamSpeak to use: O7 s7 ^7 B! l; w; f4 N1 \/ Y
  8. and a user account (username + password) that has the permissions to do stuff2 B3 K' d" W; X. K
  9. with the database. Additionally, you will need a vendor library installed on the
    ( b0 _; r% F) q" I3 }4 l, Z
  10. local machine, this came with my MySQL install." q# V$ A) _4 a; O5 F) }
  11. These instructions will not tell you how you might transfer your data from the
    $ l6 i) K5 C" U$ e& r
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL) w9 H  A) K! G0 G1 @
  13. database.
    8 S. u, x" t: g
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    / X6 r4 l5 v: G% e/ l
  15. the time of writing, there are still too many issues - check the current status! m+ R" Y& s5 a
  16. in the TeamSpeak forums if you are interested.
    7 m1 ]& j" l  T! _* t+ C
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    - X: z, G% O6 P9 `4 G1 U
  18. Borland was used. This driver can only interface with the client library that 8 R0 d# b$ h# v: \+ Y, A
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this) f1 |8 N9 K; e) T% ^$ ?  [
  20. client library - basically all you have to do is to use a 3.x client library as
    9 ^/ `- t0 }1 {2 G: Q  z
  21. "VendorLib" and a 4.x database to connect to.- I6 o5 D; y/ [; ?. S
  22. If you need more info about dbExpress, you can contact Borland.% H. J/ u" I# g# \9 t1 Z4 x: j3 Z2 D

  23. % K* B9 a7 @( J1 @" Q* h
  24. ### Doing the work ###
    % Z5 a8 x8 H8 ^: W. \
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    , f4 j% [( t6 M) R. n( V& W
  26. the perquisites right, just open your server.ini file, and add this section at
    , D- u+ Q9 X6 G. v
  27. the end:2 a. I& u( F5 _4 R% t
  28. ---cut here---. f$ Y; h, g0 ]$ \7 f8 u$ |: t! m
  29. [DBEXPRESS]
    5 P! Z9 Z. _4 \/ u6 F( A: T
  30. sqldir=mysql_sql
    , h6 ^- N7 j4 R/ q  O
  31. Drivername=mysql
    ; d! K4 |+ X, M8 X, Q
  32. Database=Your_Database_Name_Here* O; c! S2 B# L5 N
  33. Hostname=The_PC_the_MySQL-Server_is_on' v1 P5 j. e+ u9 I
  34. User_name=User_name_on_the_MySQL-Server
    ( I! U9 J/ v0 G3 ^! k
  35. Password=Password_to_go_with_above_user_name
    ! Z) F0 b  B& i- z  P3 h& Z
  36. GetDriverFunc=getSQLDriverMYSQL
    " C" G; w% N8 v- Y, L- @& ?
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib! [" y5 `# C) N1 \2 n0 a: e
  38. LibraryName=path_to_libsqlmy_libary
    ! k2 K; w" @# ^
  39. Active=1
    $ P( |: s3 X' v1 v1 \7 X/ t
  40. ---cut here---  y" W+ U9 _7 g+ m/ ^/ m
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ; l4 @  i8 I* a: \* p
  42. ---example---
    + ^9 C% O- g3 x& Z
  43. [DBEXPRESS]
    7 w2 `# a7 I( y  F4 N2 P1 U
  44. sqldir=mysql_sql9 n2 N, M' D2 ]! B* A" {) o
  45. Drivername=mysql
    ( k8 P9 e/ e% R, ?3 o) n
  46. Database=test
    & ~' I" U3 k2 r* x
  47. Hostname=localhost
    ( G! e5 b. r5 F
  48. User_name=testuser7 L, `' _5 i4 |, F! T: E' Q5 y5 _
  49. Password=my_password
    , j3 Q4 s6 ], `# q! Q. I
  50. GetDriverFunc=getSQLDriverMYSQL+ @/ A  Z% }/ T4 R" z% M
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0/ v7 b- z$ K9 P4 a( C) u+ Z
  52. LibraryName=./libsqlmy.so( E, E8 k8 S4 d+ O
  53. Active=19 i( Y- b/ w) u. v! Q/ ~1 `$ p3 L. c. G
  54. ---example---
    ' ]# y$ `- d! D
  55. 2 t8 U* y' a% Y5 H4 a" r
  56. On a windows box, also running the MySQL server locally, it would be:
    1 W( v7 H9 Z/ U; C- D
  57. ---example---
    # Y2 ?4 s  W1 c2 W6 d: }
  58. [DBEXPRESS]$ S/ x# n( }/ V: s8 P8 D( ~) h
  59. sqldir=mysql_sql
    * b0 [2 Q* P  a. t& z) Z+ m
  60. Drivername=mysql
    ; x+ q. i" ]! m% I3 t$ W
  61. Database=test
    6 d' j( U' ^1 L- A5 Q2 B
  62. Hostname=127.0.0.1. Q6 @6 C1 Z5 G: R; G7 P9 o7 G0 C
  63. User_name=testuser+ G1 S  e7 s4 V- R8 E$ O
  64. Password=my_password
    * T. R6 o8 P/ d+ w8 e$ f9 Y5 R
  65. GetDriverFunc=getSQLDriverMYSQL
    & c/ ?+ }0 I% h/ G
  66. VendorLib=libmysql.dll3 X, t! p' s6 f$ _
  67. LibraryName=dbexpmysql.dll7 A- v& _: [. b% k2 R
  68. Active=1
    , q) S1 G: _. }, P$ d, H/ S
  69. ---example----
    1 D; l# D3 K2 n# U3 u" N) A' U( O7 a
  70. - written 02.03.04 by pwk.linuxfan
    * A+ S6 ^* h+ D$ R0 S/ `

  71. * T6 v, z& Y+ f1 u' A+ n
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看( f* K' {" J7 D3 e/ E
  1. 3 B5 U; B9 _/ v1 J" ?" M
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    8 _, o7 f  i1 t5 k2 F8 Y
  3. 7 x" r  L7 J8 }+ ~4 D8 h
  4. # # #我们所需要# # # ) Y5 G" e" i) P3 m
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件8 {6 Q3 F4 [/ {7 f8 K0 R
  6. 不会解释如何做到这一点-也有文件存在,为" o6 L% F1 w4 m0 C1 z, G  ~
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    1 l, H- ~$ W0 z$ C0 a
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    / X# }+ s* b0 L- ]. R% _2 w
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    7 y0 T. ]$ M# S
  10. 本地机器,这是我的MySQL安装。 5 _7 {2 r: l( Z
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从; @- u; V, g: I" {% D9 J( i
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    . M" U7 g4 G! `* D2 [6 D- f9 x$ I$ s9 r
  13. 数据库。
    % L7 U" O. R  _4 _
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    - j' `# L" j8 Z  G0 e
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ) G* U& [. q  M
  16. 在teamspeak论坛,如果你有兴趣。
    ' a. X' @! L9 M
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    3 m, L( I* {' Q/ B2 h
  18. Borland公司使用。这个司机只能界面与客户端库1 P! l: _, q0 K8 Y* k- \
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    5 l- G; S. U$ T$ j  r
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为( N5 R  x& p) P& h1 l- K
  21. " vendorlib " ,并解数据库连接。 4 d) \, ]. Y9 C3 `) Q3 u: O# h4 r1 S
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    & \% r+ w* r) p5 U
  23.   M6 H& B& [, w9 u: @6 [5 C# _/ M( \
  24. # # #做好工作# # #
    $ T/ S, ]" I- m6 Z, l# s( S
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都# |  t+ D, H6 c  p' X
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    / Z$ v6 N1 G1 ?8 Q; ]5 H: i7 X
  27. 结束:
    , d, X. t9 v* Y0 X% E
  28. ---削减这里---
    ' K/ O& G! U2 J7 v3 N+ R# X4 m
  29. [ dbexpress ]
    . N9 P6 L, w. V! Z  h* d
  30. sqldir = mysql_sql
    * Z6 F9 Q3 |! i2 W
  31. drivername = MySQL中
    : R0 \- W) ]* e- `' N8 g* M1 u( b) o
  32. 数据库= your_database_name_here 0 z, l. d8 t4 ?7 D+ Q' t, L
  33. 主机= the_pc_the_mysql - server_is_on
    $ F+ U; F6 w1 Y, Q0 E4 o% C# u2 C3 y
  34. user_name = user_name_on_the_mysql服务器7 ~6 m7 c2 B4 v* L  O' Y
  35. 密码= password_to_go_with_above_user_name
    5 ]3 M+ J5 z- E& p2 _7 G) v
  36. getdriverfunc = getsqldrivermysql 5 K) }7 r+ P/ F* u
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    + n! J9 |, ^. w  j$ `9 J+ G; H
  38. libraryname = path_to_libsqlmy_libary
    ! {. H) o2 s' a
  39. 积极= 1 8 Y  G5 |/ H9 A3 V9 Z, r
  40. ---削减这里---
    8 l6 g; Y2 F$ ^& s+ a
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 0 o8 p: J7 I; c7 [# ]
  42. ---例如--- $ ~2 @; n2 H! z! }2 O# f1 b
  43. [ dbexpress ]
    3 t6 E- |$ l- `' E7 D' e
  44. sqldir = mysql_sql
    7 j( R6 |7 e' I- f4 V
  45. drivername = MySQL中8 t  ?% Z/ ^- n9 Q' ]/ ]' ~
  46. 数据库=测试
    + \! S+ P! L# t9 U  d8 I
  47. 主机=本地主机
    1 f4 p1 s7 x+ u  x/ Z: ], m6 b5 l
  48. user_name = testuser
    . @/ d* {, f. R/ c# }" z9 L8 c, q) e
  49. 密码= my_password
    ) T$ X! m, H; e7 i5 x! O+ @
  50. getdriverfunc = getsqldrivermysql ! p; T) n- M8 c4 J
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ) ^+ j  q& A9 v4 E
  52. libraryname =. / libsqlmy.so
    5 _- o, e' j" w; r& }
  53. 积极= 1   V0 O! ?6 }! I1 J- K$ e
  54. ---例如---
    ! l7 L' y. F# d
  55. ! C) \1 Y) c& \6 S' P% c
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 4 [) H( v2 O/ t. h
  57. ---例如--- 0 L" k1 o( f8 X' q" N/ _5 J8 G
  58. [ dbexpress ]
    / a' V+ E3 v/ W0 d+ R
  59. sqldir = mysql_sql
    + ?1 q; p# W4 B% ]
  60. drivername = MySQL中- [6 p$ w9 W9 Y) k5 B% `
  61. 数据库=测试0 i0 `6 r  I  Z$ y
  62. 主机= 127.0.0.1
    , u# b! Q  k* h1 L& ]
  63. user_name = testuser
    # g4 G6 l) ?( G4 ?) D
  64. 密码= my_password / B, _8 J- M9 e1 E
  65. getdriverfunc = getsqldrivermysql
    " N# m+ r4 _5 x; u% F  o- N" G
  66. vendorlib = libmysql.dll在2 u, J; p, B( k8 ], ~4 v; n
  67. libraryname = dbexpmysql.dll
    . G7 G% ?6 r# d/ i$ ?3 Y8 @( U
  68. 积极= 1
    & H, V& ]; q3 e4 T, J. n
  69. ---例如----
    8 n, K1 u' s, T, l6 i
  70. -写在0 2.03.04由p wk.linuxfan  |3 ~" g: _7 H" S( J+ X) s$ C* \
复制代码
发表于 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
( r4 S4 A: P2 `' s6 M" s3 D; b
3 f! Z- }! L, abut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-14 11:31 , Processed in 0.065857 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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