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

3059 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan : W* h9 M& c4 L( e- s/ \6 l
( z+ }& K5 v8 r/ y, V/ ~
  1. ) ~- F& |; i, f2 P" T+ E: ]" ?
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ! Q4 N( u( [  T* I1 @) e0 S. \

  3. 6 ]/ T8 R1 m7 ]8 W7 l. [1 _9 k
  4. ### What we need ###, V& u, Y7 T# [- {4 W+ o: I6 E
  5. Naturally, we will need a MySQL server to store the data for us, this document
    2 s, R& r0 F4 j6 ^* f
  6. will not explain how this can be done - there are documents out there for the 5 x6 R2 W* m' C( K( H1 k' ^
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    + X/ ~5 u: l4 r) y3 n% C) b% w7 L
  8. and a user account (username + password) that has the permissions to do stuff2 D1 ~8 u" }- p' G8 n
  9. with the database. Additionally, you will need a vendor library installed on the3 ^4 r& x! m# h% b& N" e! A
  10. local machine, this came with my MySQL install.
    - J5 C* |; R" W2 G# K* p8 Y
  11. These instructions will not tell you how you might transfer your data from the$ Q- O- H. ?- C* C  p
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    * |8 {7 Q3 f  w3 [$ U' a7 U' d
  13. database.9 @/ }& s+ A' Z+ Q) N& f& Z4 _
  14. Some users have reported ways to import a SQLite database into MySQL, but at  N1 g5 O5 B7 {/ e' }
  15. the time of writing, there are still too many issues - check the current status
    : R3 C% y6 D2 K; _
  16. in the TeamSpeak forums if you are interested." S; s  C: I& b" h+ @4 Y8 u  W1 m
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from- a) ~. I. o% `$ |. h
  18. Borland was used. This driver can only interface with the client library that " X3 E5 n4 ^* i
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    / Q! `$ r" n4 t8 w# n
  20. client library - basically all you have to do is to use a 3.x client library as
    . {1 u7 N8 C+ \" Y' @" g- o
  21. "VendorLib" and a 4.x database to connect to.
    ' [) X, H' _2 N3 q& S6 D4 _  B
  22. If you need more info about dbExpress, you can contact Borland.
    + E+ y. v, G! J# c& o: }1 o
  23. # q7 w0 d3 t1 t( G1 F! [
  24. ### Doing the work ###7 T/ n# u8 F/ }
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    & c8 o# b0 i6 [& P, G4 V
  26. the perquisites right, just open your server.ini file, and add this section at
    ! e3 Q( T) T1 C! j# W. m* f) Z
  27. the end:
    0 n; M; m% O# D# d; R) {4 ^. ~7 c/ u
  28. ---cut here---
    ' s3 l) t! L7 z6 o2 _
  29. [DBEXPRESS]
      x4 W, m& h0 [# [  N% c! l
  30. sqldir=mysql_sql
    ! P) J2 Y5 w2 m5 p
  31. Drivername=mysql! t$ Y/ V% b1 f
  32. Database=Your_Database_Name_Here, T1 L. g) Q0 c- t% A$ V2 j
  33. Hostname=The_PC_the_MySQL-Server_is_on
    + P( G! I0 O% M4 R
  34. User_name=User_name_on_the_MySQL-Server
    & e* m# \! S4 ]) G" v( K
  35. Password=Password_to_go_with_above_user_name* ?: `5 h9 U2 p0 a' c  X
  36. GetDriverFunc=getSQLDriverMYSQL% [6 N& W; V( D. i* C# q/ n$ l  y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib% S8 H$ ~& q" C3 f% E, R' E" c, X  t  ~7 o
  38. LibraryName=path_to_libsqlmy_libary
    ; J% l. A/ y6 C$ f9 K
  39. Active=1
    ; F) t: W1 d# T) n! n  I# [+ X
  40. ---cut here---( G) m1 C6 J' f# N' d; R2 }; i
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ; p  x7 y( F' Q
  42. ---example---
    ' z; \$ F1 N! _6 Q
  43. [DBEXPRESS]+ u2 w; k0 v- Q0 o
  44. sqldir=mysql_sql9 ?: I& i; D1 e! p9 T
  45. Drivername=mysql5 R$ F$ v+ B0 R$ N  F. f" m
  46. Database=test
    , z/ h3 ~" u  ~( @2 l/ V  H9 X9 Q
  47. Hostname=localhost
    6 q5 h& `! B5 R' p9 |5 i
  48. User_name=testuser  T2 U! Q3 [, J4 q) |8 W5 ?" s+ {5 N; A
  49. Password=my_password6 F4 I, B8 ^! P& b
  50. GetDriverFunc=getSQLDriverMYSQL2 k% c' }! t0 J# T% T
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0, ]0 w, `# A+ i
  52. LibraryName=./libsqlmy.so; B) y0 u6 J* ]3 g
  53. Active=1
    ! w: S' U& m. J
  54. ---example---) }# k& B& ^7 S9 ^

  55. 6 Y. G! N. b' i6 A" [: C& ?$ }
  56. On a windows box, also running the MySQL server locally, it would be:
    + ~1 U5 ~; w1 q4 r  {2 u
  57. ---example---  b7 B0 r2 w" K  V" L5 S4 g* J
  58. [DBEXPRESS]
    % d6 [) M8 r' O; {4 ]
  59. sqldir=mysql_sql
    1 K% \. Z( z6 u( h
  60. Drivername=mysql" s3 K+ a* \8 y/ Q! J
  61. Database=test/ t# Q% g- O, Q# M  y' i5 b
  62. Hostname=127.0.0.1  r( @% \& r% E
  63. User_name=testuser
    ; C7 o: O4 E. ^% F% H* [1 i
  64. Password=my_password( R" {* k. \2 E/ s" W
  65. GetDriverFunc=getSQLDriverMYSQL* e3 c: l5 u: ]' f+ e1 t1 n3 Z
  66. VendorLib=libmysql.dll
    * e* w# i# e& t4 Y; ]
  67. LibraryName=dbexpmysql.dll( F0 c( f: P  G6 \8 P( t  [
  68. Active=1
    ; \% x2 @  @5 w3 Y1 f
  69. ---example----
    : O$ [4 `! Y$ _5 s7 t) H; o
  70. - written 02.03.04 by pwk.linuxfan2 Y$ J: A8 s  ?) R% Z+ }8 I' W

  71. * r* B( k, o7 ^
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
$ K/ t! Y. _8 R1 z

  1. 6 ?4 R+ V  ]7 _
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    - q" |7 s6 F) O9 ~
  3. % `& \3 a3 \$ b3 w$ _1 Z  C
  4. # # #我们所需要# # # * w; D- D) e' c$ v
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件6 h' p% k+ v/ C3 Q6 p# z8 L
  6. 不会解释如何做到这一点-也有文件存在,为7 V2 o3 i7 c3 G
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用9 b* X% ^5 n0 v3 c
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西# z) G+ M' C9 V; k+ |3 m
  9. 随着数据库。此外,你需要一个卖方图书馆安装于. d) I7 A. Y; q9 v6 z
  10. 本地机器,这是我的MySQL安装。
    % |5 a4 ~) @" q9 l
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    3 J4 S& u6 P6 A1 i
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    5 P5 I8 z$ ^2 s* r* q/ j, y
  13. 数据库。
    8 N1 t; G2 h1 E* ~# Q, j
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    5 I" z' U2 L# g1 i
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ( J9 F6 O) ~( k$ j
  16. 在teamspeak论坛,如果你有兴趣。
    0 g8 h5 ^# q9 M# Z0 T
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机5 N7 v$ {) L$ b0 ~& N; ]* H
  18. Borland公司使用。这个司机只能界面与客户端库# f( Z1 L' L, d6 X
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    7 `" {' Y+ [8 @* A
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为* _- p# @% x, w7 }3 V$ x( t5 Z
  21. " vendorlib " ,并解数据库连接。
    1 [% j8 ^' y! V7 w: s1 @6 w2 ]- x8 f
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 , \0 ^8 U; n* i5 y" t& t# A

  23. " z7 t& o% |. N- M2 |: A
  24. # # #做好工作# # #
    2 l: M1 [0 k; |6 p- T/ @
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ! g8 u! W8 h5 ]5 {! d
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    " P' Q8 g4 [) W8 g& a0 U
  27. 结束:
    " }9 U2 [! j+ a' Q
  28. ---削减这里---
    4 [3 ^3 E' u( A5 F' A$ F. i7 c# M
  29. [ dbexpress ]
    + P5 Y# i7 L1 a7 g
  30. sqldir = mysql_sql 4 L; w- p$ i0 a) r
  31. drivername = MySQL中
    & i$ p7 d( z! Q. o
  32. 数据库= your_database_name_here 6 d1 w- p# A) M3 P: X3 _1 v
  33. 主机= the_pc_the_mysql - server_is_on & B/ P% w" P4 @
  34. user_name = user_name_on_the_mysql服务器
    ; m. l. Y/ a7 [
  35. 密码= password_to_go_with_above_user_name
    - Y5 }- O* b8 m6 V- R+ S2 X2 g) O7 p
  36. getdriverfunc = getsqldrivermysql : r" L3 w/ J  r3 C5 ]+ t
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 9 U  y9 l8 B' T! J, D6 u
  38. libraryname = path_to_libsqlmy_libary & ^* ?' M; }  k
  39. 积极= 1
    7 S( T+ h; \7 q. d, t- P4 I+ ?' l
  40. ---削减这里---
    : |/ ]; ^* Z8 R  z! K6 n
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: # ?$ V' z: Q( u5 Z. |
  42. ---例如--- * |  T% s" t' `& m: p
  43. [ dbexpress ]
    7 U8 L5 D, L' Y% t/ X+ u+ j3 k
  44. sqldir = mysql_sql
    $ h7 X; ^" a& e5 A0 }# L7 a$ Y
  45. drivername = MySQL中
    " u; D' D6 L+ O3 C7 ]
  46. 数据库=测试
    * |3 D! _& }  T" W; n/ k" M
  47. 主机=本地主机
    / O+ ^5 z) k( ?& X
  48. user_name = testuser
    # D) N( A: N. I8 ?4 L
  49. 密码= my_password
    + b0 K# K. i$ v9 \" T- L4 u9 g, {
  50. getdriverfunc = getsqldrivermysql & Y- p; h2 q# k! H9 e* J- C, E
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 : [, j7 r7 {2 q  y0 Z; Y# z
  52. libraryname =. / libsqlmy.so 2 d) p) [4 v. j; O
  53. 积极= 1 & c/ p! y  K6 _' g8 p: J! c- ?3 x
  54. ---例如---
    % @/ g* l0 o: K3 I  z" m& a! N

  55. ; e4 ]' `, D* F' t/ X' X, `& k& O) c
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ; ?0 {) Y2 V' ?, c9 T& N2 k: U
  57. ---例如---
    $ r% E) p# Q0 a! p) S
  58. [ dbexpress ]
    . b  M3 V8 L: d: @! J" y
  59. sqldir = mysql_sql
    * z- ]* f/ O3 F& @
  60. drivername = MySQL中
    0 p5 `) G7 q7 }
  61. 数据库=测试+ [" g- y7 h& `! ~7 z/ W
  62. 主机= 127.0.0.1 " v; z( L% s4 K3 G
  63. user_name = testuser 5 h1 ?, x' ^6 o; r7 }
  64. 密码= my_password / {* L7 v: r, e' I
  65. getdriverfunc = getsqldrivermysql
    ! l& g" g$ l' {. r6 p
  66. vendorlib = libmysql.dll在) H, A2 n+ D2 |
  67. libraryname = dbexpmysql.dll + _8 r2 f# ~( e3 C; u# q
  68. 积极= 1
    ' R6 F, \) e) t! Z% R9 x  u
  69. ---例如----
    : K8 W1 ^! Y, I" ~
  70. -写在0 2.03.04由p wk.linuxfan
    5 a- m. K. B1 K) 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/ O4 T4 E7 {0 ~

- b9 v) g8 v* H3 W4 Zbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-23 04:08 , Processed in 0.101634 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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