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

2515 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 6 o. |$ |; Q5 S) e2 V
! a' l3 F# p3 S" B4 I/ Q
  1. : I( y5 \6 Y9 M
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######: F! ]- u% n  e  K

  3.   e, c$ O; e* g/ B
  4. ### What we need ###* w4 _/ m0 s  S2 S
  5. Naturally, we will need a MySQL server to store the data for us, this document   @( I& i. y/ a$ w0 D; q
  6. will not explain how this can be done - there are documents out there for the
    - y( w2 Y0 n8 C( I4 v
  7. interested. The requirements include a (empty) database for TeamSpeak to use( R, X% M/ U" ^; o* \
  8. and a user account (username + password) that has the permissions to do stuff9 o0 r' T1 o  ]
  9. with the database. Additionally, you will need a vendor library installed on the: t7 x+ f( j" h8 ~4 v) T
  10. local machine, this came with my MySQL install.
    4 k6 @; ^8 y& h
  11. These instructions will not tell you how you might transfer your data from the
    , `/ a- H& p; t4 l
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    " i' b) _' {( N9 W4 J
  13. database.- D1 j" y. x' `) H  D2 I  d" C) A
  14. Some users have reported ways to import a SQLite database into MySQL, but at4 h" F! F, i9 [7 M
  15. the time of writing, there are still too many issues - check the current status. c5 E) ^) O2 K* y) l
  16. in the TeamSpeak forums if you are interested.
    1 Z- f2 K; g- w$ Y( u0 @
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from$ F* m8 [5 u. x" A1 o
  18. Borland was used. This driver can only interface with the client library that 6 `3 {  M) C3 C! }/ F
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    9 I1 k- d8 Q1 m0 Q. v; Q& L0 Q* n# `
  20. client library - basically all you have to do is to use a 3.x client library as 1 \" Q/ J  M% z/ `" q  j4 b# K0 x
  21. "VendorLib" and a 4.x database to connect to.6 ~2 l0 O& f) ?1 Z) M9 k
  22. If you need more info about dbExpress, you can contact Borland.: ^- h, b; f* e( ~+ }9 ^

  23.   P1 B1 {- E6 W# S/ e: y' b
  24. ### Doing the work ###
    0 n/ M  u( S$ ?2 a
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all' \& ?' m7 @- d; J" h6 s. Q  W1 L; }
  26. the perquisites right, just open your server.ini file, and add this section at
    8 K% M& D. ?* V" j8 |
  27. the end:
    9 F( c! V- n# Q6 ^5 }" q0 y
  28. ---cut here---# }( m2 I* y+ C) c% w
  29. [DBEXPRESS]+ c" s( I8 i% C5 [& l
  30. sqldir=mysql_sql
    7 F. B% P! w3 X8 ^3 [& Y
  31. Drivername=mysql" I/ c+ `6 d* O! C3 h0 s
  32. Database=Your_Database_Name_Here
    2 P9 \# Q" w4 ]2 d+ ?7 K
  33. Hostname=The_PC_the_MySQL-Server_is_on' ~* M5 n  X7 F% A) V, w
  34. User_name=User_name_on_the_MySQL-Server  V) K8 X$ g2 p+ r, U2 d
  35. Password=Password_to_go_with_above_user_name
    3 Z7 R9 O1 f8 Q; I& e' F. `
  36. GetDriverFunc=getSQLDriverMYSQL3 N% f; p4 _1 ^, @: U
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib+ X( d  q, n; t4 `5 u" X
  38. LibraryName=path_to_libsqlmy_libary8 ]' D( _9 ?5 I& {7 a& q& ^
  39. Active=1
    8 a  H" K5 M& C) S: T% r" c
  40. ---cut here---; F1 e7 u6 [- U- Z4 s
  41. In my environment (a linux box with a MySQL server running locally) I have:
    : S1 R( [5 J/ Y$ C" x
  42. ---example---
    ; b' ^8 a4 \7 u0 g
  43. [DBEXPRESS]
    ' s) G3 Y: r* t2 ^2 Z1 I; {
  44. sqldir=mysql_sql% N, e) R" P7 j
  45. Drivername=mysql
    6 `: w+ }9 h7 `6 l2 U
  46. Database=test/ ^+ j) {8 c/ }
  47. Hostname=localhost% h4 Y% w1 U1 B. L
  48. User_name=testuser
    : s2 ~3 ?8 U  Z6 R4 d5 F
  49. Password=my_password
    & g2 ?; u6 X1 s' T
  50. GetDriverFunc=getSQLDriverMYSQL& J/ `! T0 `4 U# S
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    * d: k2 L- M/ d( I" m
  52. LibraryName=./libsqlmy.so
    ; K  Y; _: q) l4 P$ h( d" B% l
  53. Active=1& u1 T+ Q1 e' c, K: P5 T
  54. ---example---& L. I  s# \( n: z! V  b& y

  55. + r* O/ ^9 a6 Z, L3 _5 @# E
  56. On a windows box, also running the MySQL server locally, it would be:
    ( D, ]6 P# _% J2 U) a
  57. ---example---
    0 h; g% f/ A% |9 c  j  F; N
  58. [DBEXPRESS]8 t1 K; k- N& c* W$ C
  59. sqldir=mysql_sql  q  ]/ d$ ~, F8 ^
  60. Drivername=mysql/ g) T: }5 S; Q- M
  61. Database=test) e6 l" y% M- b/ C
  62. Hostname=127.0.0.1
    1 v) P' N6 M  I. L' K
  63. User_name=testuser
    4 f5 c( y5 r6 }8 _/ M# b
  64. Password=my_password% K* H' v0 d3 W
  65. GetDriverFunc=getSQLDriverMYSQL
    6 g% P- b7 x/ M' O) f* r
  66. VendorLib=libmysql.dll
    6 O) g0 J8 U3 \. g
  67. LibraryName=dbexpmysql.dll7 i4 O! I6 d( I6 B/ B, r) q
  68. Active=1
    : r' R# s" I1 {- E- W
  69. ---example----
    3 \( T6 J' j2 j/ x/ |' Y  [
  70. - written 02.03.04 by pwk.linuxfan3 u, y% R/ ]* D4 I

  71. " B% }& ]! o1 `6 B+ Q( G
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
: I, V0 u3 v* y
  1. 6 }" j( K0 ^4 y1 f8 |
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
      g4 w9 A$ Q2 O  p
  3. 3 n5 X* s: ?/ N  |4 o  H* D) u2 X
  4. # # #我们所需要# # # ' t% z0 }" a5 Q0 C1 ~" i* U9 E
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件; n: l  n$ z! J. e) T. I
  6. 不会解释如何做到这一点-也有文件存在,为
    ; H; H" B9 C. c3 p6 s3 b+ Q
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    9 R5 M) \5 }( x" r  y
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    # D5 x* |' c. u3 B* ]/ K( [3 T; j! x
  9. 随着数据库。此外,你需要一个卖方图书馆安装于" n) G  g4 H8 z5 Z5 V8 @$ F9 _
  10. 本地机器,这是我的MySQL安装。
    / `% k. C9 J( X, P5 Q# x. e! g
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从& e% j# W& a) B. P+ E5 w
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 4 p' [9 A. ]# V! V- H: {
  13. 数据库。 ; |/ Y3 ^; \0 z" W: U# ~
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ) f9 X+ c( j! q0 N/ F# [
  15. 编写本报告的时候,仍然有太多的问题-检查现状- e7 p. m) [6 A; p! p, w7 D
  16. 在teamspeak论坛,如果你有兴趣。
    7 V; W- a: r6 P3 p# Q  Q2 L
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机/ \' g6 _: [0 A' S+ J( ?
  18. Borland公司使用。这个司机只能界面与客户端库& U4 F3 e! r" u0 u7 z
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    7 a: I- n) ~0 G
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    - k; X8 [+ c9 S1 j; ]3 |
  21. " vendorlib " ,并解数据库连接。
    ! e( K- ~  L1 v
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    8 N3 p" w' W5 ~, _4 i) e

  23. " [6 O) V2 ?0 f. r5 d
  24. # # #做好工作# # #
    + H' t0 l0 l/ l. i# J* Z3 @4 o% q
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都+ C. p5 E7 P2 m8 Q' G
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在+ w9 F! T( c+ X- s3 Q
  27. 结束:
    & D1 K# }2 m$ r5 s% q
  28. ---削减这里--- * ?8 y( q/ W& h- o7 Q2 p% P2 _, W* O
  29. [ dbexpress ]
    4 m1 M- `# c, T& W! N
  30. sqldir = mysql_sql : P- j$ ]  a' Y: i; ^
  31. drivername = MySQL中
    ) Y2 f' P) ^# r  T, G1 X  v
  32. 数据库= your_database_name_here 0 m& D' f8 n- L' m3 w
  33. 主机= the_pc_the_mysql - server_is_on
    ) a2 J; |+ O( ?1 z/ Q
  34. user_name = user_name_on_the_mysql服务器
    % t0 S! s9 i- [) i2 W7 B2 t6 S
  35. 密码= password_to_go_with_above_user_name $ d. Q+ @4 d; |2 _0 Z
  36. getdriverfunc = getsqldrivermysql $ w3 w2 _* F/ e% n8 g' O. h$ b9 z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    7 l* e' P, R" q: o, A& q
  38. libraryname = path_to_libsqlmy_libary ( o7 K* U4 F. T6 x9 o
  39. 积极= 1
    4 F/ G  I+ n' L; ~2 M: q, p
  40. ---削减这里---
    2 F0 o  E) p/ X, @2 u
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 3 R9 j" Q  r3 P  i3 o! F3 g, h
  42. ---例如---
    % F9 T3 x- L: D8 }
  43. [ dbexpress ] - }- l9 g! u$ V/ [
  44. sqldir = mysql_sql
    : L$ [' _' v1 S
  45. drivername = MySQL中
    1 o& ^  A- W" B4 m4 }
  46. 数据库=测试% q4 X0 l4 X: R- k8 [* D" }
  47. 主机=本地主机  v, P2 e! m! t! [" x0 k
  48. user_name = testuser
    " d4 Q9 ~! }% i$ R
  49. 密码= my_password $ G! ]5 _. k3 y+ D" A! [! ]7 \' ]
  50. getdriverfunc = getsqldrivermysql
    - J3 k" y% t% W" C
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    . H/ W" H* ^" U2 }9 L% k! [% P
  52. libraryname =. / libsqlmy.so 0 u# U6 g$ {5 n& ^
  53. 积极= 1 ) Y, k' |/ e6 X, m; Y, {$ E" w- h
  54. ---例如---
    & E3 d1 j: r5 ~, o3 v- _: E' Z# G
  55. & R( _  k+ k5 w
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    & M- R5 |- W( G! G: Q
  57. ---例如--- 6 B6 e* `$ A" d- j7 T
  58. [ dbexpress ] 1 }5 {& T9 \- Z
  59. sqldir = mysql_sql
      |, Y" P& d/ c& S8 H
  60. drivername = MySQL中1 w0 @8 f' j& g
  61. 数据库=测试
    / H; `$ m5 g$ |5 ]7 s/ {
  62. 主机= 127.0.0.1 ' o8 a( {+ P: a! n' r" f
  63. user_name = testuser
    - z7 d/ K2 E! D+ Z# R
  64. 密码= my_password
    2 z- g. l8 _4 f# z9 B! l
  65. getdriverfunc = getsqldrivermysql
    & M+ ?$ F! k% w- J$ l2 Q/ @5 x
  66. vendorlib = libmysql.dll在
    : H% j  ?; p( F  i
  67. libraryname = dbexpmysql.dll : h/ y  g" K- }8 l& K- b3 J
  68. 积极= 1
    ! _( ?" g( x% i; i5 h
  69. ---例如----
    - [5 f/ x$ n+ i. Z1 [0 {2 h; N
  70. -写在0 2.03.04由p wk.linuxfan
    7 m" Z' t; e5 H+ S; 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% \0 I) ?  M2 h3 x4 W+ b: f! R9 H1 Z7 m

2 o! S& r  n5 Wbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-15 02:19 , Processed in 0.097420 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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