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

2550 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ; d. |. a, ?, ~% g+ T! ]5 v
- `5 H' s3 T( e, @
  1. : V3 I5 W  j9 Y) Y' S) w3 D0 T
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ! @, z6 [8 y3 U" x, H

  3. 2 k* J2 e) {; a( z
  4. ### What we need ###7 ?( m& t6 V+ M( H9 |: r6 c
  5. Naturally, we will need a MySQL server to store the data for us, this document * k- \/ @8 }/ d: e! a/ p: G1 e6 M
  6. will not explain how this can be done - there are documents out there for the - x* s, u* |. O; Q5 c3 q2 h& ~
  7. interested. The requirements include a (empty) database for TeamSpeak to use9 k/ \3 g9 G6 }" F
  8. and a user account (username + password) that has the permissions to do stuff
    ) U* q" h3 q, R5 P/ i& L, S
  9. with the database. Additionally, you will need a vendor library installed on the7 C  Z7 P/ u$ V# n
  10. local machine, this came with my MySQL install.
    ( ~2 |6 @: v! z
  11. These instructions will not tell you how you might transfer your data from the
    / f7 `' z5 r! n" h# i
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    2 f3 }) f0 v& Z) V% q2 z
  13. database." x+ P+ }  D- y% q) ]3 M/ _& D7 b* l
  14. Some users have reported ways to import a SQLite database into MySQL, but at% z7 U: J% ^- @
  15. the time of writing, there are still too many issues - check the current status
    & h8 d( d! Q1 v  J) Q4 Z
  16. in the TeamSpeak forums if you are interested.& ]& r, _7 ^: V, h! B; Z
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from% o" }  p( j9 U3 r; b
  18. Borland was used. This driver can only interface with the client library that
    % Q; _1 F; v( T# j4 i
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    5 i/ K1 C1 w0 `  L6 _% H8 \
  20. client library - basically all you have to do is to use a 3.x client library as 7 X5 O3 l8 ~3 t
  21. "VendorLib" and a 4.x database to connect to.
    . D$ u% Q, l# [6 I
  22. If you need more info about dbExpress, you can contact Borland.
    $ Y; \8 h5 G6 P% e  c

  23. # p; v' m0 w  O' V) T
  24. ### Doing the work ###
    , o- U$ p1 [4 {4 K/ d6 U! K
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    9 B" u- k! j$ x- @$ v2 ?
  26. the perquisites right, just open your server.ini file, and add this section at4 h* I9 L; J6 Y. m! k
  27. the end:
    ' e' G! P- A5 \) R. w/ b( X$ L' D* U
  28. ---cut here---
    8 a! j5 h9 o! p: u
  29. [DBEXPRESS]9 c& z' y8 X) s' }! m5 j
  30. sqldir=mysql_sql/ s( I5 q: \. E9 C8 I3 A' E
  31. Drivername=mysql5 p, S  J$ k# I8 \
  32. Database=Your_Database_Name_Here
    8 M4 x3 L) y( S' t4 R# q% }
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ( f2 j+ B: K, x1 @3 `8 |
  34. User_name=User_name_on_the_MySQL-Server, @+ g# h7 S0 F- N; i1 ^0 I0 b
  35. Password=Password_to_go_with_above_user_name
    1 Z6 n- ~, B0 ?5 Y% J
  36. GetDriverFunc=getSQLDriverMYSQL
    8 T) h0 \' X1 v& }0 S8 H; |* H* U: E
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib; _6 q( f; ^% F. j% }
  38. LibraryName=path_to_libsqlmy_libary# q6 b$ k: m0 G' P! K
  39. Active=19 t# o: Y7 Q; _* b3 M* _. O
  40. ---cut here---7 ~/ F4 r2 v0 N+ U
  41. In my environment (a linux box with a MySQL server running locally) I have:
    5 m) u% v& V  ]) y: r8 \0 T
  42. ---example---
    0 _3 m' D- \" c8 e
  43. [DBEXPRESS]) [' H9 J' P1 S( ^) n6 A
  44. sqldir=mysql_sql0 ?, p# \( k4 @0 {; V6 c% d7 X
  45. Drivername=mysql
    9 W4 c, y, A. F, s: v; a3 {( w
  46. Database=test
    8 U" d! d+ d" h
  47. Hostname=localhost& f8 R8 R2 }5 r; a& I1 f
  48. User_name=testuser
    & D& ^' u$ W5 ]0 ^. g
  49. Password=my_password
    ( j! Z& ]# O% v8 l
  50. GetDriverFunc=getSQLDriverMYSQL+ F0 F- i+ }# u5 H: u) K; h" Z4 E
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0  K( d& I! ^, ]2 v
  52. LibraryName=./libsqlmy.so, r. ^5 `+ i; v' i' ^
  53. Active=1
    - z& |5 g, s, ?" J
  54. ---example---
    $ T4 R9 H# ?$ T- O5 c' P) F

  55. " N) v1 q- x$ r6 g7 @3 ~% C; S  d2 ?
  56. On a windows box, also running the MySQL server locally, it would be:3 a1 B, q# {2 q
  57. ---example---
    - x* ]" J6 C" d+ p
  58. [DBEXPRESS]
    9 d3 z" g; w3 }* l, L2 Q
  59. sqldir=mysql_sql6 s  Q! s% k) {, X
  60. Drivername=mysql
    - d8 F4 ?! l. J7 D
  61. Database=test
    4 d- X! @) x9 }5 `, f( e
  62. Hostname=127.0.0.1! x  V, K" e# V
  63. User_name=testuser$ \. F. w& ~7 t( Y2 g& Q
  64. Password=my_password$ `2 z. n) S% e& G0 ]
  65. GetDriverFunc=getSQLDriverMYSQL7 b# \8 ~1 \* Q* R
  66. VendorLib=libmysql.dll9 i2 `7 Z/ f/ T+ z9 q- ]  S/ O
  67. LibraryName=dbexpmysql.dll/ i' R/ h- K6 P* R" x; b. ~7 z% ?
  68. Active=17 Y8 [' U$ D! U) b' u% B8 M
  69. ---example----9 |7 a+ L/ y: S; h" B
  70. - written 02.03.04 by pwk.linuxfan, }9 s# \) k' e* _, A9 T* ]8 |
  71. + ]; _/ ^* v8 ~1 M; [! Q. U
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看" l6 g! `" T+ b0 P" k3 L7 Z

  1. 4 X  }7 O& g" f# i7 v6 n0 }
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 1 t8 F9 ?  f0 @+ b7 v  @+ C# V
  3. . {" B; A' b0 \$ q9 ]
  4. # # #我们所需要# # #
    0 Q6 ^& @  G' x/ t
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件- ]. W$ T' R% c" @' u
  6. 不会解释如何做到这一点-也有文件存在,为
    . U9 i1 q& w/ D+ D) M; R
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用) ^1 w# l, U% o1 V
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ! t2 k; L  D( [; {
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    & b& P! ^1 {5 n6 k. a7 y
  10. 本地机器,这是我的MySQL安装。
    8 q# p# w( ?9 C1 e
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从2 V% Y: e# t$ F1 g7 g! Z
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ! s: G7 I0 }7 I5 r/ m
  13. 数据库。
    . n( a  k# R2 [8 ^3 h7 O* M2 x
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在$ v* g) L7 A+ P
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    8 r/ N$ O1 |3 b1 a4 O: t" q2 K* @
  16. 在teamspeak论坛,如果你有兴趣。 ; [4 ~8 f! d5 I( X- N4 X2 p
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机( ^$ r8 o1 \$ G1 s( g+ |7 S
  18. Borland公司使用。这个司机只能界面与客户端库" j% I5 [- b$ c
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这5 N4 c  s! b  e3 a. m. e
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为. J% x7 B$ _3 T2 r
  21. " vendorlib " ,并解数据库连接。
    0 O* Y% b0 t- \  t
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ' w7 J" g' t- y# R7 P8 c

  23. 4 E8 I, G1 ~* u6 l, S/ N2 B! l
  24. # # #做好工作# # #
    ( w+ B+ B; B. z* F' {  Z8 s% o
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    1 H( C; k9 Z7 d* ?9 [! W
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    " @: c3 w3 A/ d  e) F
  27. 结束: 2 p, S, d5 A+ l1 V) N- _: \3 T
  28. ---削减这里--- 5 E; i" T- H, Z
  29. [ dbexpress ]
    # U6 e1 C' y) q% @% N
  30. sqldir = mysql_sql ' W+ w" ]6 P: Y0 K
  31. drivername = MySQL中
    ! j0 Q8 v1 s7 S$ z  r
  32. 数据库= your_database_name_here
    # Q, T% x# |1 \8 P( Y3 H
  33. 主机= the_pc_the_mysql - server_is_on
    6 C& a, S. M  K  Q0 \# v" Q1 U
  34. user_name = user_name_on_the_mysql服务器
    6 I* f; B+ i5 p8 r' X* e
  35. 密码= password_to_go_with_above_user_name
    / l) _% l; r4 q1 R
  36. getdriverfunc = getsqldrivermysql
    , J. W1 ]0 p8 l0 q( W
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ' H  f7 L. T5 r* _8 c: H) ]) X
  38. libraryname = path_to_libsqlmy_libary
    % i6 C' A5 F$ k( I
  39. 积极= 1
    / @; _: e6 v6 m& p" d& g6 \& m
  40. ---削减这里--- 9 h* A# L  Q& o" w' W7 q, ?
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: % J6 l% `. F7 q
  42. ---例如---
      A( X6 p2 f. u& W$ P
  43. [ dbexpress ]
    $ |7 Y( N$ W& R  ]
  44. sqldir = mysql_sql
      W& T* ~% b  T; ?8 u
  45. drivername = MySQL中; M" ^1 @9 c  ]; W0 B" [
  46. 数据库=测试. a! |" h) A" L
  47. 主机=本地主机
    2 D4 A: H) e3 c
  48. user_name = testuser , q( P$ K# o, E7 u" G- o! w" c
  49. 密码= my_password 3 M+ r, l2 F/ b3 `1 D* [3 }
  50. getdriverfunc = getsqldrivermysql
    - Z% B$ u$ u+ M
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    7 I  o( ^9 f5 r3 g8 x
  52. libraryname =. / libsqlmy.so
    * h% }% t# q! l$ g/ J0 B
  53. 积极= 1
    # k6 H* W. d9 u" L$ T" h0 e* D
  54. ---例如--- * A1 g2 q( j* U) o& m! I* X

  55. 2 I. T/ b- A8 d& l4 M2 O) i  C
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    + J! k; @4 V6 `4 c1 S- i3 N0 ~
  57. ---例如--- : C: B5 R% J1 C- s8 w
  58. [ dbexpress ] 0 M  b2 I' F% a. M! @" {0 A! h5 [& B
  59. sqldir = mysql_sql
    3 E) c3 e  [& d, _' z3 n, {
  60. drivername = MySQL中% k. J  ?& L- _9 L# `4 p
  61. 数据库=测试
    4 Z8 ~- u7 u5 F
  62. 主机= 127.0.0.1
    * j5 O9 w" D$ t5 s6 H+ Q& K4 o0 t! x
  63. user_name = testuser + F; N/ d% X2 ]! Q* S4 [/ b
  64. 密码= my_password
    2 G/ n" l5 R+ l* v% ]1 o+ r
  65. getdriverfunc = getsqldrivermysql
    9 P/ M  g2 H& B
  66. vendorlib = libmysql.dll在
    2 Q5 B* v0 Y  }! B7 Z% V
  67. libraryname = dbexpmysql.dll + w% K' |8 r% _+ Q) C9 B
  68. 积极= 1
    4 j- z: H# |8 H. g* w5 _; V) ]$ n
  69. ---例如----   W* p+ j. V0 I' i! ?
  70. -写在0 2.03.04由p wk.linuxfan  m% s/ g3 ?3 y' T( c( b" m
复制代码
发表于 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
  ^; t) T3 d, j$ ?
; S; T9 b" ?' Q7 Kbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-24 16:59 , Processed in 0.104961 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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