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

2872 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 4 O8 [2 v. }3 V, K9 L- B
# ?/ X1 m# B. y7 ?

  1. 4 B/ k2 S3 i: v7 u; {
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######' [! ^5 Q4 _2 `3 c6 d* Q
  3. ( D3 W$ N+ ]0 j* ?3 i
  4. ### What we need ###
    ' O" A8 m/ g1 y) F* [7 Z# x
  5. Naturally, we will need a MySQL server to store the data for us, this document
    $ _/ O0 b- K$ I: P6 j
  6. will not explain how this can be done - there are documents out there for the + B* P; y0 C( t+ P2 c% P. r
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    . E1 a) ]$ F. H0 P
  8. and a user account (username + password) that has the permissions to do stuff
    5 n# j, V- h- J7 d. u) W
  9. with the database. Additionally, you will need a vendor library installed on the/ B- R. S; f. E5 t; S$ v4 O# o
  10. local machine, this came with my MySQL install.$ Z" W' n8 e, k7 {) P4 E" g
  11. These instructions will not tell you how you might transfer your data from the
    ) Z+ v' D7 b8 |* ^3 v0 f
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL9 n1 t# d/ L4 {; Q% k) B" r
  13. database.4 Z) D! \: y( j& Q: e
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    $ M: ~4 E: f7 g2 ^8 w/ h7 h& S
  15. the time of writing, there are still too many issues - check the current status, j# Z" _- l9 j. F7 K- q/ o. @- V
  16. in the TeamSpeak forums if you are interested.
    5 N6 A/ X( [/ c2 X% B
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from: s& Z9 u, @6 ^% u" j, f) e
  18. Borland was used. This driver can only interface with the client library that
    2 K+ b; j: [% J
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this; m4 \& B5 s0 L% ^! o  J
  20. client library - basically all you have to do is to use a 3.x client library as % {7 L% R- q2 x2 |+ W7 M* e
  21. "VendorLib" and a 4.x database to connect to.
    # E  j% z* u2 b: ?
  22. If you need more info about dbExpress, you can contact Borland.
    3 Q' x0 N, F; F3 x8 j

  23. 4 C; h7 {/ M8 F
  24. ### Doing the work ###
    ! g4 F6 \( e- Y4 M1 l7 d. V' h
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    % f+ u6 E& q5 e6 o* e
  26. the perquisites right, just open your server.ini file, and add this section at
    3 J9 Q4 C' `9 C5 |
  27. the end:
    3 b- R3 n. {5 ^; V  `0 H9 Y
  28. ---cut here---
    % Q4 O  `, h, m) Y! x# F
  29. [DBEXPRESS], x9 f4 r- D8 y" B
  30. sqldir=mysql_sql
    6 J' ^" p. M/ I& m6 j- [
  31. Drivername=mysql
    9 ~4 d9 |2 m1 @- T- r
  32. Database=Your_Database_Name_Here0 L9 F8 Y; n( d6 J- P  A
  33. Hostname=The_PC_the_MySQL-Server_is_on
    5 ^- V% F5 u: v: z
  34. User_name=User_name_on_the_MySQL-Server
    9 x, j& K  R% U9 S6 E
  35. Password=Password_to_go_with_above_user_name7 j6 q0 s& M1 s& B. V$ Q6 n3 T1 [- \- T
  36. GetDriverFunc=getSQLDriverMYSQL3 F( I$ {) D! e( E5 ^6 u: {% l
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    . a0 a4 v8 W/ U: D
  38. LibraryName=path_to_libsqlmy_libary
    3 D1 \( \- y% I- e
  39. Active=1
    ) @/ O4 `& H  S6 s8 i8 W
  40. ---cut here---
    " T7 {* _; Q3 [
  41. In my environment (a linux box with a MySQL server running locally) I have:' v3 m) t6 j6 ~) O5 i* @  E& P# v
  42. ---example---
    9 T! u# h6 ?1 ]/ i5 ^) a3 V
  43. [DBEXPRESS]2 m8 y2 Z1 d/ r. H! w% @! v. K
  44. sqldir=mysql_sql
    4 A0 f) Q8 X& B
  45. Drivername=mysql
    0 h/ h& f! L1 |( I! T
  46. Database=test
    ' I. e# J8 i9 t/ z+ z/ s
  47. Hostname=localhost3 i. d+ u7 [7 R" K- @- x
  48. User_name=testuser
    6 o. H4 q' Q* g
  49. Password=my_password
    4 i3 K+ {9 M! J0 [# \4 t
  50. GetDriverFunc=getSQLDriverMYSQL6 S# {  m( D1 X+ @. N
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    # O. G  ^# ^+ b3 c
  52. LibraryName=./libsqlmy.so; I' V( T7 ?' j/ W- O1 c
  53. Active=1
    / b" [0 {" t2 a
  54. ---example---
    3 C+ c1 A9 N7 R7 v% L) J% n) `
  55. ; j) O% f1 m2 f6 z4 l
  56. On a windows box, also running the MySQL server locally, it would be:
    3 v% a& h2 d8 E3 F5 U) h& d8 }
  57. ---example---
    . K1 N. Z4 Q9 `, w* y
  58. [DBEXPRESS]7 c1 ]9 T% b+ V6 z8 y/ @1 @+ ~
  59. sqldir=mysql_sql/ Q) C  |* u: Q
  60. Drivername=mysql1 }! Y* |3 P3 T# O7 k  {
  61. Database=test
    / F% ^& p" {1 r0 X
  62. Hostname=127.0.0.1) D  Q: H4 `1 M0 U
  63. User_name=testuser' C" J2 ~7 J1 g, j& I# o
  64. Password=my_password
    5 K4 l% X( H2 d1 i# A
  65. GetDriverFunc=getSQLDriverMYSQL5 V2 O4 P% x" Z9 Z- U; J
  66. VendorLib=libmysql.dll
    # r3 G0 C) H0 V
  67. LibraryName=dbexpmysql.dll/ I5 f& p3 A4 z* a' i4 ?
  68. Active=1" ?  P) ^4 ~. X7 c6 |
  69. ---example----* E3 h2 K; r2 `; p
  70. - written 02.03.04 by pwk.linuxfan
    + N( l* c* y) c3 S
  71. : U- C1 ?& P- s2 J
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看1 G! a3 L, a" Q% j/ U/ p) n

  1. & T) ^" T# k9 J. E
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    5 d0 E7 I: K: ]8 V; T1 ]) S
  3. $ b" f' ?& y5 W3 w
  4. # # #我们所需要# # # 2 U6 V/ E$ S/ k8 D# n& v# Z6 T0 h
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件) {6 y1 k( c3 ?# G2 a% r; D& c
  6. 不会解释如何做到这一点-也有文件存在,为
    ' k. g5 _1 t1 s+ b0 O2 Q( Y4 }- N
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用* R. U3 J8 d9 q) a7 ]5 S
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西2 x; i8 ?0 O) `5 ^% C5 g
  9. 随着数据库。此外,你需要一个卖方图书馆安装于3 H3 {; \8 N7 X- z" e: I
  10. 本地机器,这是我的MySQL安装。
    . W' ^2 \( S5 c' m* v, \
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从& ?0 }$ m7 _$ k& T  s
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL - B5 l2 K0 k7 Q) U
  13. 数据库。
    $ ]- b- E, M2 N/ [
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    , R/ k! D" N( n9 |4 S1 j
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    # h5 e  [0 J+ i' ]
  16. 在teamspeak论坛,如果你有兴趣。
    9 w( V2 G4 Q# E& U# x" V
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机& l; L+ M/ I( w. Y  t% [
  18. Borland公司使用。这个司机只能界面与客户端库
    : Q0 R: @) p7 g, L, h$ I
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这' q8 T' h! x+ T
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    + j6 w$ z9 d. P! A
  21. " vendorlib " ,并解数据库连接。
    & W1 W5 r0 `  {& S: `
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 5 w' l% g% o6 I" r- ?$ a1 U

  23. / L; a* }- S5 R
  24. # # #做好工作# # # 4 k2 F8 i/ @) p9 H3 r3 M: @0 N
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都3 b9 j2 A4 `0 f4 y
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在* f. Q3 z) F) g. u/ f, C% M
  27. 结束: + p6 q8 r9 q' j- b0 ~, S0 T8 ~# D
  28. ---削减这里--- 1 H  `9 Y# }: _0 O: A9 y
  29. [ dbexpress ]
    8 r3 ~$ t4 y) G$ ?, M* U; q9 H
  30. sqldir = mysql_sql 8 t5 n# L3 F+ V3 n$ U
  31. drivername = MySQL中
    6 i* x% i' |" W/ E: Z( [* j" @# G
  32. 数据库= your_database_name_here 0 S9 M- b% G' N9 Q: F
  33. 主机= the_pc_the_mysql - server_is_on ' H9 m& ?5 h! h  Q/ h7 e
  34. user_name = user_name_on_the_mysql服务器% h/ c0 d4 g+ K" @7 k
  35. 密码= password_to_go_with_above_user_name + H2 h! q% _+ G
  36. getdriverfunc = getsqldrivermysql
    5 G/ i9 S# R& a1 O( V- ?
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 6 _. y/ d' ~# v
  38. libraryname = path_to_libsqlmy_libary / l# w, J4 r9 z6 z7 P5 f( z
  39. 积极= 1
    3 ?' t( \: ~& W4 Z
  40. ---削减这里---
    9 L  Q! f) A# D/ Q1 v
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: $ ]6 I6 s8 @* |4 A& j
  42. ---例如---
    " H* @, g7 N% h2 x: B4 e" n
  43. [ dbexpress ]
    8 F! O! w& L6 U
  44. sqldir = mysql_sql
    , {  T; l' d1 I+ _5 O. d: H
  45. drivername = MySQL中
    % v7 D6 g; r) c) P+ [
  46. 数据库=测试
    2 l: V% Y* |% _3 k1 D) z
  47. 主机=本地主机( N4 T4 x+ Y: M/ B: L
  48. user_name = testuser
    4 f# w! z* l( c' W, S4 c& u8 t$ u
  49. 密码= my_password
    + |  q1 H! N& H2 n: H
  50. getdriverfunc = getsqldrivermysql
    ) P8 a! @& [$ X4 w
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    / W7 Z9 D1 s; l6 f- d) a# ~
  52. libraryname =. / libsqlmy.so 9 S/ P$ p+ H# u, ~/ i3 L
  53. 积极= 1   w! G7 u/ k4 ~" T9 m* O$ j
  54. ---例如--- 6 U( K8 f- w; }# U- G, c
  55. % F7 ]8 f5 I6 A
  56. 对Windows中,也运行MySQL服务器本地的,那就是: : s+ J/ C' Z+ P3 n
  57. ---例如--- # c! ?2 d' {8 v  M" B7 A6 h
  58. [ dbexpress ] ) z* z, K1 o% C6 Z& T" M6 v% K0 f
  59. sqldir = mysql_sql
    . s: r- f0 M4 Z- N3 F; j6 N
  60. drivername = MySQL中7 i& w* g: ]7 l  f9 P2 C
  61. 数据库=测试3 |7 e! a( R( o2 c# P7 D
  62. 主机= 127.0.0.1 & a9 O; {+ d4 }  `9 a9 M
  63. user_name = testuser
    1 M/ N4 R- w) D. M9 L( _" q
  64. 密码= my_password & M% u& _( T2 l! `. o+ D- u
  65. getdriverfunc = getsqldrivermysql * O. K0 \- p+ d6 c5 `9 c) J: l
  66. vendorlib = libmysql.dll在
    # C* W% S3 `: ?2 c! r
  67. libraryname = dbexpmysql.dll " n% m% D  w  |9 k
  68. 积极= 1
    " f: ^: N: O% Y  m  ]7 Q! m
  69. ---例如---- ) j$ Z9 N0 M& i0 ?
  70. -写在0 2.03.04由p wk.linuxfan
    " q/ p: `* _* k6 w
复制代码
发表于 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
2 r/ ^1 D! H& R6 ]/ \7 t" A5 A( w) m  y
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-10 18:05 , Processed in 0.110604 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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