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

2722 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan & [; l/ Y: I. k9 n' F" ^: H
! _$ G" Y; R" |9 h# F

  1. : x& J5 L4 V* C; F* U5 n- p
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######% U7 V9 w9 W$ a) G

  3. & @1 J+ j" h3 m
  4. ### What we need ###
    4 g( Y  M5 w7 X
  5. Naturally, we will need a MySQL server to store the data for us, this document ; s( z4 K+ L! [0 M
  6. will not explain how this can be done - there are documents out there for the
    7 z% f4 {+ E9 h9 E$ d" Z7 j
  7. interested. The requirements include a (empty) database for TeamSpeak to use- A2 F8 }1 V/ M  Y4 q7 q. H  H
  8. and a user account (username + password) that has the permissions to do stuff
    / R5 @! G8 Y2 o9 _+ y
  9. with the database. Additionally, you will need a vendor library installed on the% d7 i. j1 l7 E$ F. V/ U
  10. local machine, this came with my MySQL install.
    " N  n, Y  d( _5 m# U' n: x$ ?, S7 o
  11. These instructions will not tell you how you might transfer your data from the
    7 r: c6 A1 D  _% Y% }8 I: N
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    * I8 Q/ r+ r1 K1 S! e+ B! t, l& B
  13. database.
    - C, R9 S$ K; \5 E$ H3 L2 z% y2 O+ I
  14. Some users have reported ways to import a SQLite database into MySQL, but at3 ?+ ^, i" r2 [: d% V% a7 ~
  15. the time of writing, there are still too many issues - check the current status/ r  B  r( [+ Z
  16. in the TeamSpeak forums if you are interested.& H( e4 e4 s4 D
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ; n: m9 p3 v- F: a0 R
  18. Borland was used. This driver can only interface with the client library that
    / f- c. \7 f$ D# _; ]1 F5 E
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    % a: o" P, c& Q- f! ~
  20. client library - basically all you have to do is to use a 3.x client library as 5 @) z! t' q1 M: i4 |
  21. "VendorLib" and a 4.x database to connect to.9 X% X( |: Y5 K  h+ T5 u2 j
  22. If you need more info about dbExpress, you can contact Borland.; Z' U3 X8 s3 S4 B
  23. # u* h6 i) K: K0 C
  24. ### Doing the work ###
    6 L3 Z( U% [: A
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all$ O$ Q# c8 V* o- v/ k
  26. the perquisites right, just open your server.ini file, and add this section at
    $ h( Q5 ^- o5 g; E/ h
  27. the end:2 C0 n( `* P+ f) `8 L6 H+ l# c
  28. ---cut here---% j$ n# o3 C# ]7 W; @3 Z- t7 J9 }
  29. [DBEXPRESS]
    ! _- B* p" N  Y6 h
  30. sqldir=mysql_sql
    8 p( C) {8 s) x( }  u/ u( f1 d! r
  31. Drivername=mysql  |$ `6 a( p; j" I; A
  32. Database=Your_Database_Name_Here
    " c$ r/ _: e. E, w7 a! k  B- S
  33. Hostname=The_PC_the_MySQL-Server_is_on
    9 z1 T1 L0 p! J2 r4 K0 \
  34. User_name=User_name_on_the_MySQL-Server4 Z8 ]' F$ `1 D/ N- N' ^5 }+ i
  35. Password=Password_to_go_with_above_user_name
    ( U" D$ V% A. f" {- }7 L& s) v# e
  36. GetDriverFunc=getSQLDriverMYSQL
    * m/ |, [, r7 E0 [3 C7 S
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib5 u7 G. G& `+ R7 L/ N9 Z# N
  38. LibraryName=path_to_libsqlmy_libary0 z& j6 D+ o/ G+ b$ k! z
  39. Active=1
    2 Y) \$ P+ K8 V8 \1 U% ^* w( z2 [. G
  40. ---cut here---0 }3 Z! Z0 I2 C. k
  41. In my environment (a linux box with a MySQL server running locally) I have:# V2 b5 e6 h- t" ]/ {
  42. ---example---3 s5 i% ?. E( l. X, A: m, Z3 ?
  43. [DBEXPRESS]; M, q1 W( p* E- h& [$ m# \. E
  44. sqldir=mysql_sql, Q2 @1 g/ \5 E/ d$ @2 G; Y
  45. Drivername=mysql$ k9 I2 O) _- C( u. J9 Y
  46. Database=test9 S  ]  q- k/ ^! \( Y1 b2 S
  47. Hostname=localhost
    : h2 _8 B, A# t
  48. User_name=testuser
    6 h" X9 ^: h  X  B7 t* i
  49. Password=my_password
    . u7 B- _2 \* A* |$ I
  50. GetDriverFunc=getSQLDriverMYSQL
    + g6 O4 _0 {1 P
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    4 G. r7 h* D" V/ ], s4 ~2 D/ X
  52. LibraryName=./libsqlmy.so1 I. V- }" s2 a* l. [& H" ]
  53. Active=1- H4 m7 x3 ]* n" O
  54. ---example---
    ' m& h/ u& R4 [) c7 k

  55. : W. T- Z) n, @6 ~% x
  56. On a windows box, also running the MySQL server locally, it would be:
    5 C2 R( n% G/ O1 U8 ~& A1 f* w
  57. ---example---
    9 \* A& M0 j, v! V
  58. [DBEXPRESS]
    0 g- O! R8 g7 e+ l
  59. sqldir=mysql_sql7 z, v$ ^3 W6 u! {$ G' O
  60. Drivername=mysql& o/ J: j4 X. }, n' r( G. t
  61. Database=test
    / T' v$ Q) e7 r9 B1 ^  G
  62. Hostname=127.0.0.1
    / [* Z, P- E' J( k" H. f
  63. User_name=testuser5 m: n1 W: `$ ^; c  x, e
  64. Password=my_password
    4 C7 ^) _7 E  u0 L
  65. GetDriverFunc=getSQLDriverMYSQL8 E& \/ W( r$ c
  66. VendorLib=libmysql.dll2 s* Q5 V8 |% @
  67. LibraryName=dbexpmysql.dll* h4 B+ @8 f7 m% A
  68. Active=19 A0 i: }8 M# ~$ I
  69. ---example----
    / `- z% W0 D. I  u# Q' Z  Q1 Y
  70. - written 02.03.04 by pwk.linuxfan
    7 g* y8 `2 `! D% B$ f& B( n

  71. % {# o4 u0 G0 v# G, w  f3 f( |8 W
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看. Y+ z9 F. z  g* q$ L

  1. - {8 D) I' `, L7 F
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ' Y0 b" D3 S9 ~# K$ [+ W: W

  3. 1 n8 Z/ W( W9 ~" m; H# U* {
  4. # # #我们所需要# # # 5 V3 }4 g% {! t  s+ ]5 n! n( j" L
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    3 `" U0 f* x' e
  6. 不会解释如何做到这一点-也有文件存在,为
    2 s- s- A5 ?0 ]" y
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用! U' I0 ^9 j5 g- K1 h7 j
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    3 p- ?- V$ _5 R9 n' R) j5 B
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    1 ]. X  _2 d6 d7 g9 T& u: K; g
  10. 本地机器,这是我的MySQL安装。 3 O8 f4 V  u- I* j1 k
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    4 u! b: U- m# o7 m  c% n: b
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL / C" |+ k. R5 N& s
  13. 数据库。 # a, u5 I/ e7 n
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在2 `* S; Q" ^& z7 s
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    # b' C1 P( o( o6 i. }& t: s+ T2 z
  16. 在teamspeak论坛,如果你有兴趣。   o8 q# i7 k' ]- T) Z
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机. K) K5 [. j0 [: A
  18. Borland公司使用。这个司机只能界面与客户端库
    7 K- ?* n, D) ]% G9 `& v6 l- d
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ; I( T# n5 e/ n! W% S
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为& }9 b0 U4 ~- i( q
  21. " vendorlib " ,并解数据库连接。
    ( ?; x: I0 K. {% H. x
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 7 ?* S2 o% i8 k
  23. , Y. M! H( V/ F3 A
  24. # # #做好工作# # #
      [5 T  M* H6 q: m! V3 p: ~' D6 z
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都: B: \) [5 R) X" Q- d
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    1 E$ a; O) ?! E* h2 I  M# N
  27. 结束: 7 ?- r5 T: [4 H) y
  28. ---削减这里---
    $ c5 b" y8 F2 r1 J6 P
  29. [ dbexpress ]
    7 C) _7 t* `9 ~; i" v
  30. sqldir = mysql_sql / `9 J2 p2 i  }- |+ f
  31. drivername = MySQL中& c8 X0 S1 H! [/ H1 y, `/ U- m/ g
  32. 数据库= your_database_name_here % z# m4 N, d% L- S5 `4 ]7 h
  33. 主机= the_pc_the_mysql - server_is_on 9 u: b: T5 b& z' r  G6 I& i, N
  34. user_name = user_name_on_the_mysql服务器7 E) C' t+ p( V2 i6 M
  35. 密码= password_to_go_with_above_user_name
    , l4 R2 F; O# R& k
  36. getdriverfunc = getsqldrivermysql 7 |+ }% J2 J7 R1 `) @6 ?! K
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    % f) I  j- M5 U4 P
  38. libraryname = path_to_libsqlmy_libary
    / `) ~; T: _: }" S; x
  39. 积极= 1
    * N* j8 t% m8 w: }2 Z' k6 p
  40. ---削减这里---
    ! J0 Q- @, [5 X: \
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: , p( S) k" t! ?
  42. ---例如--- - U9 M* Q5 j; x' \1 ~. I2 D) e
  43. [ dbexpress ] 4 F! w7 _+ @* [# w% s
  44. sqldir = mysql_sql # q6 n/ S. F7 [9 g( |9 J
  45. drivername = MySQL中
    0 a# X) _0 |' ], {# ]% w
  46. 数据库=测试
    , m7 Y' w" ]7 Z( C3 s. P8 m
  47. 主机=本地主机
    ' y6 B. L2 f* t! d' `% T+ h
  48. user_name = testuser
    0 U1 U: l3 U5 D4 A
  49. 密码= my_password 4 c, I) Z9 s7 I9 d4 Y% [
  50. getdriverfunc = getsqldrivermysql
    ( K, y  ?9 l4 z6 c5 H! P
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    1 F7 u9 i7 D1 K/ H% G' {
  52. libraryname =. / libsqlmy.so
    % u: ~* ^; [8 I* l$ \
  53. 积极= 1 # C' [! _% @4 t& ^& Q
  54. ---例如--- ' U; ?( l/ ~. t# `% y: I5 F

  55. 3 S% f. N  p0 B. V
  56. 对Windows中,也运行MySQL服务器本地的,那就是: - k- v2 @0 x& R  Q7 Z! K$ u' `
  57. ---例如---
    $ H9 _6 D' c4 R1 D/ ]
  58. [ dbexpress ] - l# F  i2 Q( e
  59. sqldir = mysql_sql
    - i) L( a: k# `7 k8 v0 R
  60. drivername = MySQL中7 v4 V( I) y$ U, Q) U& l# ?( @; U
  61. 数据库=测试
    - b1 Z$ P" l" V( O' ~! I8 A
  62. 主机= 127.0.0.1 8 K$ R% H1 d7 a- P% {0 d
  63. user_name = testuser . n: m5 R. p2 G! y/ U$ h
  64. 密码= my_password " D0 C5 c( _& I" A/ Z! h8 \
  65. getdriverfunc = getsqldrivermysql ; {) S5 w5 V4 S4 w" F5 J
  66. vendorlib = libmysql.dll在
      `3 C: b& i- _; J5 [0 k
  67. libraryname = dbexpmysql.dll 6 W4 H. s* J' ~, _
  68. 积极= 1 2 d8 L5 r1 E  v' u$ U" F* v& B
  69. ---例如---- . _2 F, H* K  I1 |* v: ]
  70. -写在0 2.03.04由p wk.linuxfan
    5 E) P, Q- \# p$ a! J" X
复制代码
发表于 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! V9 L# D+ Y  b0 T" J
  ]# t2 P: Q1 p" 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-6-7 18:43 , Processed in 0.095956 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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