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

3286 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
- k' O6 U2 t1 e" H
0 d* P7 t. q. p8 i' K3 N# o* q
  1. 4 f# ?* b0 {$ h+ I5 f, |
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######) D( T$ }4 n/ V/ d5 Y

  3. ' Q2 t% e! N+ @' y: m8 o% X; z- R
  4. ### What we need #### t& s' m, Y9 S- f" ?; r  K8 [# t! S  V
  5. Naturally, we will need a MySQL server to store the data for us, this document : u% K3 d- t9 F( E( I
  6. will not explain how this can be done - there are documents out there for the   z; \' w7 r! S3 U+ {
  7. interested. The requirements include a (empty) database for TeamSpeak to use& T$ y$ a( F* E
  8. and a user account (username + password) that has the permissions to do stuff$ n8 T" j- D2 A
  9. with the database. Additionally, you will need a vendor library installed on the5 h! X1 ]# H3 H  s& [) U/ }4 L
  10. local machine, this came with my MySQL install.; \- m+ Q5 y% {# j# G
  11. These instructions will not tell you how you might transfer your data from the
    - T. [4 T* I* S  Z; J
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL# V& ^4 g. @# G) v' p0 c
  13. database.
    ; M& {* C+ x2 r3 M. x; J7 E& U: q
  14. Some users have reported ways to import a SQLite database into MySQL, but at% w' O$ e, X  u  [3 l7 H& ^
  15. the time of writing, there are still too many issues - check the current status
    $ J2 F, Y# S4 }- d/ V
  16. in the TeamSpeak forums if you are interested.
    * S. g6 ~! t0 J$ _5 I( E
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
      n7 E) O5 t* P1 e- d1 ?0 ]8 X
  18. Borland was used. This driver can only interface with the client library that
    2 w8 g4 i9 i0 Y  v. Q* ?; D3 k
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this# R, `) i. B$ V/ r1 y: R1 i. D: S
  20. client library - basically all you have to do is to use a 3.x client library as ! C7 r$ v9 `$ v2 n
  21. "VendorLib" and a 4.x database to connect to.6 s) B6 Q! {5 L3 w
  22. If you need more info about dbExpress, you can contact Borland.
    $ r, o0 N0 K" s, j) B

  23. " y. j" p) |' U: t3 a1 \
  24. ### Doing the work ###. R% r2 a) l; ^* I5 l$ U! n5 M8 G
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all( g5 i! M4 C$ \2 x- ?
  26. the perquisites right, just open your server.ini file, and add this section at& [/ K6 P% Q2 ~
  27. the end:
    3 I" d; d% ?0 z, N. [2 n
  28. ---cut here---
      {% i8 g3 E" E+ i' `; y3 G! h! I
  29. [DBEXPRESS]
    0 d# ^) y# \# w8 L
  30. sqldir=mysql_sql
    3 O1 m" J+ q& m, z: f8 R
  31. Drivername=mysql# [" l# s% d6 a; {" i0 ]- K7 r
  32. Database=Your_Database_Name_Here
      f6 b9 M; v2 S' B. S. J
  33. Hostname=The_PC_the_MySQL-Server_is_on- `( F0 Y4 n# }4 |% j8 S
  34. User_name=User_name_on_the_MySQL-Server3 z& }* V1 y/ ^( d
  35. Password=Password_to_go_with_above_user_name
    : Z' w5 Q. u6 Y: T
  36. GetDriverFunc=getSQLDriverMYSQL
      U8 s; U! z* v1 B
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    0 m+ S+ l) w  O9 e
  38. LibraryName=path_to_libsqlmy_libary
    6 H2 x+ i  y, F* n
  39. Active=1
    6 j. m5 ]( t3 }: ~6 m
  40. ---cut here---
    2 a) E1 x) S# `1 o% U
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ; o" N0 N( |3 T& Y: r; D2 l& d% J
  42. ---example---
    " G! c( X' O/ |8 X. d) U
  43. [DBEXPRESS]
    $ l6 U0 E. |) Q* I( a
  44. sqldir=mysql_sql
    4 `9 ?+ \1 \( v& P
  45. Drivername=mysql5 H! k$ T+ E1 s: V/ u+ i; R
  46. Database=test1 P$ R! c% ?+ y
  47. Hostname=localhost  h* b0 }( s, T% C6 ?5 ?+ ]; A9 V
  48. User_name=testuser
    3 s* |% @* L5 t% P
  49. Password=my_password6 d. Z3 v3 ~: t% X9 M. ?( K7 a
  50. GetDriverFunc=getSQLDriverMYSQL
    3 e$ `$ e# @8 w% W; x. y& v
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0; x1 ^1 I  j( [$ s* A
  52. LibraryName=./libsqlmy.so! q" r0 O/ K8 M
  53. Active=1
    1 u4 L5 j6 k+ g6 J) u' W2 h1 d
  54. ---example---+ R- s! @' y7 W$ s6 F
  55. 3 ^) r# Z- H/ X, Q* C8 k9 H
  56. On a windows box, also running the MySQL server locally, it would be:6 F; E4 T: O* W) a2 q1 P% x
  57. ---example---
    8 h# e$ Q  h' m$ G# y1 R
  58. [DBEXPRESS]
    - H/ @  ]6 Q3 K
  59. sqldir=mysql_sql: H+ a6 k5 m- ?# W0 e9 h+ h
  60. Drivername=mysql
    9 Q* p) k/ m0 H! C
  61. Database=test
    " D" j+ s' p3 F) g2 j7 T/ o/ K' h# v
  62. Hostname=127.0.0.1/ y( ]- I; Q4 l3 ~0 V1 n8 }
  63. User_name=testuser
      K7 F; l# D! f) h
  64. Password=my_password
    5 i; i; |) n3 _! r6 ?  w
  65. GetDriverFunc=getSQLDriverMYSQL
    4 q" d& j2 G& i3 g  x
  66. VendorLib=libmysql.dll6 Q4 r: N/ x0 ~; C
  67. LibraryName=dbexpmysql.dll
    % ^. p' c7 Z. y" o$ D
  68. Active=1
    ( }# E, O3 B9 A# G$ V
  69. ---example----$ K7 d4 p& }1 X7 u1 B
  70. - written 02.03.04 by pwk.linuxfan- p9 D' W& L) Z

  71. 5 k0 V5 b- w- U' i! r3 k- E$ h6 f
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
! l/ j  D8 s9 l7 X; U

  1. 8 y  J) T' Q' f7 V. W! E5 D# v2 w) \
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 9 {+ j4 ]7 @5 S( y4 T7 ?
  3. . |+ D+ v* y: Y- j) Q
  4. # # #我们所需要# # # : o! K% B5 [& b3 {; h
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件& @4 |$ Q6 v6 Z) D) n8 {1 N
  6. 不会解释如何做到这一点-也有文件存在,为
    5 l! o, }* S! I7 v5 ]$ D
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ( j; B. z" z# D3 E  a% r+ E) k
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    # M. |+ c: s# r  t
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ! _* o6 @% M7 M& P  \: p
  10. 本地机器,这是我的MySQL安装。 , F  a1 n1 A# |9 t- E/ J2 ]
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从* R7 |( ^. o/ T
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL # G, l. c- f/ M. O% S
  13. 数据库。
    ; ?0 n0 ~2 v+ g5 y" q# `1 e
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    4 M' m, A& B" E9 P, H. A
  15. 编写本报告的时候,仍然有太多的问题-检查现状) U5 h0 E4 A! s- _2 B2 H
  16. 在teamspeak论坛,如果你有兴趣。
    . A" `* k" V1 Y8 J. e- }& F" Z
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    & {& R! f5 Z9 G% u# J; U
  18. Borland公司使用。这个司机只能界面与客户端库
    , G; K  }% U5 ]: h. i0 P9 }* s
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这! b6 \! g* u7 N( C1 Q: K
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
      s$ M) T9 J- K& W
  21. " vendorlib " ,并解数据库连接。 7 K6 U  z5 t/ J- D; ^) O  s: G. o
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    . M0 U# A% v3 K3 Q7 E& a1 F

  23. / F3 d# T3 \. R; |. P. Z# X
  24. # # #做好工作# # #
    * i. J1 F0 E& C* ?- {$ \4 \
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都7 \+ l5 f: b5 t' C% R  }
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在1 l) k# V" V! y% m; U1 a
  27. 结束:
    # j0 U- ?4 K5 Y
  28. ---削减这里---
    - w* @: ^  x. V5 a8 C
  29. [ dbexpress ] ' V9 h! r" Q! Y6 L5 l/ d# ^+ t( @& R, c
  30. sqldir = mysql_sql ' t$ g; R7 F  n& b4 j3 E3 }2 n
  31. drivername = MySQL中
    & C5 {1 O8 N& G! D0 t5 u4 B. L
  32. 数据库= your_database_name_here 1 E8 j& S$ C. |0 \3 \: y
  33. 主机= the_pc_the_mysql - server_is_on
    7 d) Y4 F8 t- F2 S7 a3 M' v. b
  34. user_name = user_name_on_the_mysql服务器0 P( V) j, W( @% H% n8 @9 P8 l
  35. 密码= password_to_go_with_above_user_name
    $ A7 P/ r3 m" K; W7 ^
  36. getdriverfunc = getsqldrivermysql
      A4 [: ^% W8 [, \
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ! e8 T' Q. e1 ]1 R
  38. libraryname = path_to_libsqlmy_libary , m" T1 B- I0 ]
  39. 积极= 1 3 v+ a" v* p8 y* D, g4 T/ D) Y
  40. ---削减这里--- % V6 I: R5 ~; {) f6 b# e) Y
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ( ?  W$ _( A, b0 @
  42. ---例如---
    - V/ a" S& o" B9 J" ?( ^
  43. [ dbexpress ]
    7 q# |$ F. q9 x, t
  44. sqldir = mysql_sql
    ; C4 z7 a% q/ ]3 f- X
  45. drivername = MySQL中3 [% [) o) f; d# H) z
  46. 数据库=测试
    9 K& j8 A1 F7 l
  47. 主机=本地主机+ i" c5 c/ S, {1 p' V  T
  48. user_name = testuser + h/ i. M$ @" E( h6 F
  49. 密码= my_password + T# d3 C# c6 ^% c" n- ?- @1 }+ t# i
  50. getdriverfunc = getsqldrivermysql 6 H/ y( V0 V! N7 E+ X! F: j3 }2 s
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 $ t6 P$ W: F' L# _" [
  52. libraryname =. / libsqlmy.so * B: @8 ?3 n- R/ G$ p( ^
  53. 积极= 1 : v# d: ^4 I+ A; Y5 n
  54. ---例如--- 1 s; C( d$ K& i( W6 _7 H
  55. 4 o* q2 q3 F  \7 A3 C4 A- H
  56. 对Windows中,也运行MySQL服务器本地的,那就是: " g: H- ~9 w$ H; e9 f- C% e9 i5 Z
  57. ---例如---
    ' f1 I! T" D# U1 ^
  58. [ dbexpress ] ) K" i; i3 Z$ {3 q( l; Q& Z2 L
  59. sqldir = mysql_sql 2 q& L! n2 R# c3 S
  60. drivername = MySQL中! a8 M' E! D, A+ ^% E
  61. 数据库=测试% }+ q0 _! k1 t. h/ z! q8 k! O" a
  62. 主机= 127.0.0.1 3 p0 D6 Z9 C5 k, [9 n
  63. user_name = testuser
    2 A  E, q' w' |+ @% b- D
  64. 密码= my_password
    6 _# {; E, N. m' K
  65. getdriverfunc = getsqldrivermysql
    * \( @/ m5 ]4 F+ Q6 |$ G7 N
  66. vendorlib = libmysql.dll在
    : i/ v( Y& B4 ?
  67. libraryname = dbexpmysql.dll
    ; z% @8 i1 Y% A0 Y% x
  68. 积极= 1
    7 p, C  z, ~4 I# q# `# d+ Q1 T
  69. ---例如----
    . ]: ^) ?8 {0 d3 s5 K
  70. -写在0 2.03.04由p wk.linuxfan
    # @$ P: s4 j* N# u
复制代码
发表于 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" h' H, v: g3 P# Q; q6 i

7 j2 u5 ~) V6 ]1 v( S; |but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-4 04:25 , Processed in 0.108015 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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