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

3621 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
8 v; G8 K# l1 t1 \+ l
5 A- F/ L: \3 n; V( o1 m/ T8 ]

  1. / }9 d" U! T; \' ^* O" r/ ]3 ]0 _6 c
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    2 j6 |2 q: B! Y5 m! C
  3. $ S" c3 u3 H7 J, H
  4. ### What we need ###
      u% O/ E4 A" b6 y
  5. Naturally, we will need a MySQL server to store the data for us, this document
    , Q4 z5 V( {, X9 N" n% c
  6. will not explain how this can be done - there are documents out there for the 1 r0 \; K( x( K. p' l: u
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    5 Y: @8 _) n) a) X
  8. and a user account (username + password) that has the permissions to do stuff9 t# ]6 D/ {7 Y/ l
  9. with the database. Additionally, you will need a vendor library installed on the/ L. g9 f) Z# D, G/ ~+ k
  10. local machine, this came with my MySQL install.* Y' R" ~* j6 q  G0 o
  11. These instructions will not tell you how you might transfer your data from the0 z% x; u$ C' a2 T
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL2 F& n' `- _0 \7 O( _8 D0 R
  13. database.
    1 q+ m/ ~4 @% p3 |8 a! @, D
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ' s' d7 G( I9 }8 ^7 N! p
  15. the time of writing, there are still too many issues - check the current status
    6 i3 L; u# ^: @; z( l+ c  r6 z
  16. in the TeamSpeak forums if you are interested.
    + l0 F. Q: [" l: J5 I" [
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ! r; p. c8 i5 B* E- M4 j
  18. Borland was used. This driver can only interface with the client library that ( Q" ?2 v0 I" w5 |% Y
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    5 h1 @" p) s! v7 u9 y( P
  20. client library - basically all you have to do is to use a 3.x client library as
    2 Q! \( i, K" O; V' l4 x
  21. "VendorLib" and a 4.x database to connect to., [. F2 J0 G# @5 s8 m% m. s
  22. If you need more info about dbExpress, you can contact Borland.
    , L- n% V$ ~/ r* u; n+ |0 {
  23. " ?! |# M9 K' p$ z  _
  24. ### Doing the work ###( c& a  C" B  n6 r
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    6 ?4 U' z* g- S( X0 Y( P: \# [2 d
  26. the perquisites right, just open your server.ini file, and add this section at' J9 Q) x; k) d1 b5 \9 S: L
  27. the end:6 C4 q  m2 E9 v1 P, V
  28. ---cut here---
    + ^8 G: \: p2 b- U
  29. [DBEXPRESS]- b" `- w2 w- K9 R) H! E# \' U
  30. sqldir=mysql_sql3 w3 `3 }  K4 D$ ^+ E
  31. Drivername=mysql- v% i* Y) o/ m
  32. Database=Your_Database_Name_Here
    5 H, ?  S% Y' T$ J# w/ |
  33. Hostname=The_PC_the_MySQL-Server_is_on
      l" n4 s1 Z3 G9 c' P3 t% V6 X
  34. User_name=User_name_on_the_MySQL-Server" P$ F* Q1 ~4 _4 n
  35. Password=Password_to_go_with_above_user_name
    ' y; P! H) U. C; P0 S) y/ G( U* C( M
  36. GetDriverFunc=getSQLDriverMYSQL
    ! H9 G3 t1 H" k
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib0 Q" T/ S- V) l9 d+ r3 d
  38. LibraryName=path_to_libsqlmy_libary' s4 {' g0 ?; j; D
  39. Active=1; R7 Q' T5 W; q
  40. ---cut here---
    " r# S- A" s, B; ~
  41. In my environment (a linux box with a MySQL server running locally) I have:
    % u7 e* E. k: E) K& H
  42. ---example---
    9 Y. B* n" a  n4 |
  43. [DBEXPRESS]( R) l2 l) N- a
  44. sqldir=mysql_sql
    , v* Z0 C$ Z1 e$ M9 J% H! \
  45. Drivername=mysql
    + ?- {; A$ q8 h* i5 H
  46. Database=test
    2 N9 D0 v) _7 {8 {& W  o3 b$ |7 o
  47. Hostname=localhost
    & b* }$ x  N! n3 v  {
  48. User_name=testuser5 @5 x* q, c: _
  49. Password=my_password
    1 T( U- d  D% ]+ G% A& ]
  50. GetDriverFunc=getSQLDriverMYSQL
    - p* I. Y+ _4 ?: k1 z. M. Y  D
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    : R  w# \1 \3 S9 m4 G) }- l+ N, P( }
  52. LibraryName=./libsqlmy.so
    % ^5 w& k# U6 @) R/ s
  53. Active=11 X# o7 ]0 z2 i- j1 D
  54. ---example---
    4 h. H* Z% V/ i

  55. 0 x+ x' n9 d2 h* M
  56. On a windows box, also running the MySQL server locally, it would be:
    ( v/ K% T: k6 _# ?
  57. ---example---
    + B5 l# ?9 D" m/ n
  58. [DBEXPRESS]* y3 F$ E! {; F5 R; m
  59. sqldir=mysql_sql
    2 N! ?' V7 X5 J
  60. Drivername=mysql
    : V0 N# ^' O, l4 |
  61. Database=test
    # |7 }; n2 y* p$ a% ]
  62. Hostname=127.0.0.1) j: m9 q  m0 d7 X
  63. User_name=testuser# {6 E6 c+ m& w. {4 V8 _0 k4 @
  64. Password=my_password% M! q/ {) U' K
  65. GetDriverFunc=getSQLDriverMYSQL4 ~5 h1 Q5 L- A9 F
  66. VendorLib=libmysql.dll
      n3 R5 H9 R0 S8 L" T( Y' W4 B- j) b
  67. LibraryName=dbexpmysql.dll
    9 a3 a- g$ @5 K! O
  68. Active=12 v8 k! S- @: f, K7 q
  69. ---example----0 x# O& ~, e/ @0 K: _7 F
  70. - written 02.03.04 by pwk.linuxfan
    & h" i5 C. d, S5 D1 z! z" I

  71. * s; p# H2 W) q) K, d2 Q5 ~2 Q
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
; A8 M/ x! z: R6 b+ V- W9 Z, L; [
  1. 0 N% l9 G6 ]& q- d# p) W. f4 f3 ~! M
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
      H1 t+ E9 E. k: G
  3. 5 L% E, g+ X. h  D; a, a1 {0 o6 _
  4. # # #我们所需要# # # 3 V, k0 r( O& X0 k$ f
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ( E+ z# |% G7 Y1 y) w8 n
  6. 不会解释如何做到这一点-也有文件存在,为
      N! y2 }) @6 }# R4 ^
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    7 n# l: f- A# E: Q7 c& q
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西" v; X% }8 U# g' k3 w: z. [' N6 t
  9. 随着数据库。此外,你需要一个卖方图书馆安装于2 U6 s" R1 _5 ^$ o2 Q- X, j
  10. 本地机器,这是我的MySQL安装。 # E' \+ u, x* \& z7 X8 e$ i( a
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    - r6 {$ g: Y4 E3 @8 p! d
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 7 N4 x& T# ?* z- ^) u
  13. 数据库。
    % A3 C: w* N0 @2 w2 e
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    9 j3 D, H! y5 V; Q& ^- S; p
  15. 编写本报告的时候,仍然有太多的问题-检查现状9 ?, P  [' `! A2 I
  16. 在teamspeak论坛,如果你有兴趣。
    7 I2 h3 G7 [; g" Z& Z- f
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机* H# ~. k/ K0 G% _
  18. Borland公司使用。这个司机只能界面与客户端库
    ' ]# a/ f8 U9 }0 o& o1 [, s
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    % u3 D; W3 F2 ?: _5 Y! j
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    , _" B* ]' O2 |
  21. " vendorlib " ,并解数据库连接。 % ^6 X; C3 C" B
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 7 N* }3 q, d. Y$ N% r/ Z

  23. - U) T8 L* [1 L7 j: k0 o
  24. # # #做好工作# # #
    3 g4 b6 L1 H% @; `
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    . n0 w2 K# ?/ u2 i( W. x
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    0 C& y/ H% E$ r8 b* P) S0 _) p3 {
  27. 结束:
    # Y; s  c( J, }& N" l
  28. ---削减这里--- * y0 T. C# k& z$ u' B2 A% Q9 g
  29. [ dbexpress ]
    ! z# E, h* T! H1 o
  30. sqldir = mysql_sql + U; i4 @. j6 @' K" z
  31. drivername = MySQL中
    # T* Y1 N+ m/ z( X
  32. 数据库= your_database_name_here
    + X9 t& }7 M8 r3 P7 V5 W
  33. 主机= the_pc_the_mysql - server_is_on 0 f+ u- }5 E! R2 k
  34. user_name = user_name_on_the_mysql服务器6 G' q- J) ^# Z
  35. 密码= password_to_go_with_above_user_name ' m# [' u1 v' |1 \! n: h
  36. getdriverfunc = getsqldrivermysql
    2 f( K# o7 O/ I, W7 m3 v
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    3 K9 J* j! W) O/ M
  38. libraryname = path_to_libsqlmy_libary
    $ B8 l' {9 i5 b$ D
  39. 积极= 1 0 A) a0 t+ B' }/ r7 ]
  40. ---削减这里---
    9 T3 r0 P7 T- A& p5 \
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    9 o% M0 H, U( A  ?: o1 m) [
  42. ---例如--- 1 |% e* p0 z% C- ]
  43. [ dbexpress ] * f7 b/ n) ?& `% p( X7 j, ]3 H
  44. sqldir = mysql_sql
    % W: j% |2 y6 _- |0 B4 O, J
  45. drivername = MySQL中8 D1 _' [' Q8 \0 S, T9 @( M4 }
  46. 数据库=测试' h9 L# S/ t& M- _6 V
  47. 主机=本地主机; I. `. n5 M  h1 |# K
  48. user_name = testuser
    - }- E1 G3 ?2 `  d
  49. 密码= my_password 7 n, @- t1 ~$ s- n: w
  50. getdriverfunc = getsqldrivermysql ; F1 c2 ~4 S! n
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 9 H- D* g: I# J5 J( F, u- N
  52. libraryname =. / libsqlmy.so ) \- }1 J/ {5 R# q& F& @
  53. 积极= 1
    $ n+ z' A! r' B' m, B2 c5 u
  54. ---例如--- ' _' f  |$ l- [( C, ]* i6 H6 F
  55. & x( j$ ?- w3 E, e+ _/ v" u. s
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ! _0 w/ W9 z; Y: j
  57. ---例如--- & Y( H1 q, `& a$ R
  58. [ dbexpress ]
    9 A1 \6 p9 g0 m
  59. sqldir = mysql_sql 3 X( p. O- Y" o3 t  X1 T/ s: ^1 t
  60. drivername = MySQL中
    0 Q# e* {2 ]+ t/ |- U
  61. 数据库=测试
    1 i/ x+ G8 w" o
  62. 主机= 127.0.0.1
    ! ]! }+ ]# U6 M6 }5 x
  63. user_name = testuser
    2 I) H7 O* b# B( U$ e5 S: U
  64. 密码= my_password
    , d: [0 U% i& A& ]+ k3 s
  65. getdriverfunc = getsqldrivermysql , [- `6 x' q- B) \+ ^8 F$ y
  66. vendorlib = libmysql.dll在9 `+ F1 ~3 R* m$ d$ o
  67. libraryname = dbexpmysql.dll . z; q* M" m$ A3 _3 x$ d
  68. 积极= 1
    ; m  r% G" w- b5 c+ F
  69. ---例如---- 3 |* K2 [, e; O4 A1 P5 L7 G3 A
  70. -写在0 2.03.04由p wk.linuxfan3 d6 s$ l- F! r5 s
复制代码
发表于 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% B+ `6 H# ^# Q5 s" x$ E
1 e7 X" d2 o0 k# ~* N, T! ]3 w; w' [  q
but, 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 23:09 , Processed in 0.067933 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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