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

2509 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 3 v% ~% W2 w# ~

+ w! t  H8 q( m+ H- J  I- j

  1. & V% O/ Q& @4 y6 o+ K- C4 [
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######2 @, t( D/ f2 ]; H/ Q

  3. # I' d) Q4 ^3 E  m# v/ t
  4. ### What we need ###8 M- M3 X$ u  T8 S8 ?
  5. Naturally, we will need a MySQL server to store the data for us, this document 9 e& L' Y& g) f
  6. will not explain how this can be done - there are documents out there for the
    3 H( f% r2 K5 Z: _8 [! {/ m. p
  7. interested. The requirements include a (empty) database for TeamSpeak to use  t2 a2 i* ^( {$ X$ S
  8. and a user account (username + password) that has the permissions to do stuff; g4 d$ c) [! v
  9. with the database. Additionally, you will need a vendor library installed on the
    0 }2 y# C, r$ _; t
  10. local machine, this came with my MySQL install.
    $ `+ Z3 h( a3 f/ p" w
  11. These instructions will not tell you how you might transfer your data from the7 c+ y; ?# n3 O3 v
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    % E2 F0 c/ m1 Q) V8 X; A
  13. database.
    : X7 H! X! C9 d# s
  14. Some users have reported ways to import a SQLite database into MySQL, but at" r; e: Q8 Q5 y9 u7 M: }$ s
  15. the time of writing, there are still too many issues - check the current status! ]- _& u# ]# S" M
  16. in the TeamSpeak forums if you are interested.8 }7 R5 W/ Y9 z' b
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    " e# `' v* V5 p0 C
  18. Borland was used. This driver can only interface with the client library that 2 R' e2 y8 c+ ]' n& R0 S
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this" {4 C1 I! s$ P2 \  K1 p
  20. client library - basically all you have to do is to use a 3.x client library as
    ) Z2 E; P. I) v
  21. "VendorLib" and a 4.x database to connect to.
    ! }! a  |& H& w( |9 t: z  m
  22. If you need more info about dbExpress, you can contact Borland.
    1 D$ S7 I& R5 I$ `; f" H
  23. + c0 }! }0 ~! z, y! ~. |
  24. ### Doing the work ###
      a$ ^7 B& E# \/ J) Q: K* R
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all7 B' G) n/ N6 f5 ]/ B
  26. the perquisites right, just open your server.ini file, and add this section at
    ) V5 ^$ J; K; l0 s- k$ d& _9 o( [, {5 Z
  27. the end:
    " j. r4 p% Q3 d9 f$ g! R
  28. ---cut here---* E! I" V5 g2 Y: I$ x+ L
  29. [DBEXPRESS]& h& M) p9 L& L- S/ H$ i1 G" P2 K9 P
  30. sqldir=mysql_sql
    6 f% e9 J9 e3 ?4 Y9 c1 |" l
  31. Drivername=mysql- e3 D4 l4 D8 y* E4 _" v- J9 ^+ G
  32. Database=Your_Database_Name_Here& R# v1 o( c! D0 j  F, N1 `6 y, p
  33. Hostname=The_PC_the_MySQL-Server_is_on4 F6 _' s7 @+ p: w# X! K8 e# u
  34. User_name=User_name_on_the_MySQL-Server
    % L  y7 C: W4 Y! n: u3 B
  35. Password=Password_to_go_with_above_user_name
    , V- Y2 v2 X9 ]8 s( F' y! z
  36. GetDriverFunc=getSQLDriverMYSQL
    # W& T' W1 w# G# n3 b
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    * L+ g9 E- G( N- N( W- d  ?
  38. LibraryName=path_to_libsqlmy_libary
    # E+ b* B9 z' @& f% V7 G- H
  39. Active=1
    7 ]4 b' O$ z5 h3 h/ V2 ~
  40. ---cut here---  S" p( m9 f% ~
  41. In my environment (a linux box with a MySQL server running locally) I have:0 o# q$ |8 ^8 Q! u- ]
  42. ---example---& a( P; A2 [. w
  43. [DBEXPRESS]
    ; ~/ Z8 O) k; L1 [3 M, l
  44. sqldir=mysql_sql
    3 @" w+ Q* L; s7 }, |
  45. Drivername=mysql
    ' p: F+ G" C! H5 x0 C7 A" ?9 H
  46. Database=test
    ; o: P& S3 F0 q7 p* p
  47. Hostname=localhost
    * C8 n$ Q, {/ A* l$ i% m0 G/ J- ?
  48. User_name=testuser; |( L8 n+ A- P- H+ k* f
  49. Password=my_password1 y3 Y" p. m) `8 p$ r5 Q
  50. GetDriverFunc=getSQLDriverMYSQL
    1 @( [) ]2 Z9 \4 Q
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0  o& u, R. i( _- `( O  j# o  d
  52. LibraryName=./libsqlmy.so! J' d: Y2 b- I' y* G5 z- H4 v" B
  53. Active=1  y) J% U( P; v
  54. ---example---7 N' @4 D1 U* W1 ?3 ~& Z5 a! }

  55. . u4 W$ f: M( N5 d# j
  56. On a windows box, also running the MySQL server locally, it would be:
    8 x) }3 Z8 K# i0 \- O" P
  57. ---example---0 _2 |8 e4 x# j! K/ y
  58. [DBEXPRESS]
    " M! c0 V! ?' H+ U1 z( k( N' }9 d# q
  59. sqldir=mysql_sql
    $ q% [: q' ~) ]! |4 @
  60. Drivername=mysql0 r- z0 X( ?9 Z8 Z* |
  61. Database=test
    9 x$ O4 j& W$ z$ \$ I% b
  62. Hostname=127.0.0.1) a1 ]/ }9 [$ u! E! r% [% w0 k) _
  63. User_name=testuser
    * O; x2 ~+ m5 N
  64. Password=my_password; T: u% D, R# N# c0 ?
  65. GetDriverFunc=getSQLDriverMYSQL6 N1 y+ T9 E# m) S! p8 ^) ^
  66. VendorLib=libmysql.dll
    . O/ |/ i! U' V0 f
  67. LibraryName=dbexpmysql.dll! \( Q* }* }2 ]0 ]% X
  68. Active=1& O0 i; W- g7 |2 f' n6 j  ~
  69. ---example----
    2 x. Y& n* I* J
  70. - written 02.03.04 by pwk.linuxfan
    , D5 {  d4 U; D# W9 X; F

  71. + s5 Z  _; _2 e8 ?4 z' B7 E8 u
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看6 V2 m% }+ S" ]
  1. 3 a: u" a# k) O# ^. |% u9 q
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ) F; {6 I3 G0 ~' G( I

  3. . D: q& @& ]4 u" l0 l) {* ~
  4. # # #我们所需要# # #
    ! k6 i9 r8 V) b4 K0 ~
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ) k, ]) a: e1 _& F( k# g' }! }/ u0 O
  6. 不会解释如何做到这一点-也有文件存在,为
    6 ]1 ?' b0 K, @8 ?+ s
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ' V, Y" ~, V. p, q3 O
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西$ C9 M! x/ f* D& _
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    0 _( i* C8 Y/ {- k
  10. 本地机器,这是我的MySQL安装。 / n; [: ?0 V- r- n
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从4 x6 C9 v  E8 ^( A4 U) H9 A5 V! U8 G: `
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    . v& y3 F5 h$ t8 ]8 h" k  I
  13. 数据库。
    4 S: X( p* f0 ]& `" F  g
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在) ^/ g4 x# y; {1 s
  15. 编写本报告的时候,仍然有太多的问题-检查现状, L; _' C; j( l7 z
  16. 在teamspeak论坛,如果你有兴趣。
    ' T5 R0 n+ H0 f8 w. t5 o5 _
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机0 R$ U" B3 T% d9 g
  18. Borland公司使用。这个司机只能界面与客户端库
    2 e( S8 F7 F- b" T' B- y
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    # o( z+ _- _$ `" }- a2 w
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为4 P8 y, ^" y! N
  21. " vendorlib " ,并解数据库连接。 0 q8 l' x8 P/ |+ @8 G$ i! c2 T
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 6 p& A2 j* h8 {) x+ w
  23. ) p$ ^* t) O$ {8 B! P  }
  24. # # #做好工作# # # 3 d5 Z9 d. e9 T  a& z
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都; ]* r/ R0 ]  y3 Z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    8 h  R; e0 s' u* ?
  27. 结束: . {) u1 A5 v1 u) F' d9 ]
  28. ---削减这里---
    5 L1 x/ u2 _$ ^2 |
  29. [ dbexpress ] % u4 L5 c3 i, l0 ]$ S
  30. sqldir = mysql_sql 3 `6 ?9 q1 i' I" Z
  31. drivername = MySQL中. U4 d8 \$ j+ f) q9 s! {
  32. 数据库= your_database_name_here & S; e: E( ~. W
  33. 主机= the_pc_the_mysql - server_is_on
    3 V2 P7 S0 `6 p' ]8 l/ \2 |
  34. user_name = user_name_on_the_mysql服务器
    : E9 @, [) u, y" E
  35. 密码= password_to_go_with_above_user_name 0 A" f' o' ?& @
  36. getdriverfunc = getsqldrivermysql ( d$ i% b# Z7 s4 e$ [, |& n
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 9 _- I4 g, B$ {+ d
  38. libraryname = path_to_libsqlmy_libary 1 ?6 b" c, |/ r% f! u- k  i9 M
  39. 积极= 1
    # X6 C5 v/ Q3 q0 x- ?7 F
  40. ---削减这里---
      Y  l, o. F* f7 e8 \" M# I. n
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    3 |4 R" S/ f: u3 U8 D3 \$ q
  42. ---例如---
    $ Y) G, L) C, f1 ~) E8 u6 R
  43. [ dbexpress ]
    , ~* |8 ~! _5 L; E; E4 w, G
  44. sqldir = mysql_sql
    6 z- ?6 V5 t9 E, V; n) y! e" A
  45. drivername = MySQL中7 d3 z6 F9 a6 j- a$ C/ s' F
  46. 数据库=测试) ?6 ^( e; }1 w2 k# j3 y# c
  47. 主机=本地主机
    ' t$ Q4 q) z1 X8 s+ Q* n
  48. user_name = testuser
    * J4 G1 }. O. S* r& q7 e8 A
  49. 密码= my_password
    1 }7 |/ g/ Y9 I7 P8 \8 ]) z* ]
  50. getdriverfunc = getsqldrivermysql * H# R" M; C/ h( X
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ( q. |0 D: H8 f2 ]& D
  52. libraryname =. / libsqlmy.so % w" z/ ]* ^( T! W  V8 U
  53. 积极= 1
    2 E) m# q( _- Q: |6 [
  54. ---例如---
    / d" m3 c& N: [. n9 f

  55. 7 |8 j. `5 i% e- M
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    & a$ L3 r3 C$ f6 V5 I* {
  57. ---例如---
    7 N' A- z+ ^+ j/ O
  58. [ dbexpress ]
    / d6 m  g5 v; n5 O$ J  L
  59. sqldir = mysql_sql 2 u( S- n3 ~* N8 r9 i6 b+ J
  60. drivername = MySQL中
    5 P7 e$ H3 q6 E; \
  61. 数据库=测试
    2 x: R9 K- J( u7 [" X
  62. 主机= 127.0.0.1 4 }0 J# B$ ~  P
  63. user_name = testuser
    * H; P9 a8 [% o4 g  l* T: H# Z
  64. 密码= my_password
    $ _3 `2 }- r/ L! z% b: h( |1 x; a" T
  65. getdriverfunc = getsqldrivermysql
    : S5 a2 o# q3 B5 Z+ m, s& ~. G- p( S
  66. vendorlib = libmysql.dll在
    ( O. H5 |: c  s8 Q  l2 n9 g
  67. libraryname = dbexpmysql.dll 8 V" S- P' p7 T& K# C8 M
  68. 积极= 1 - N. y  r- W& m" g( Z1 r6 n! e8 _" P8 w
  69. ---例如---- 8 y' w8 i$ w" K+ ^1 e* E9 Y
  70. -写在0 2.03.04由p wk.linuxfan) C& y# R1 q5 a- ~- 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
, J, G* K, D3 B4 P7 O# Q0 P0 B9 i) ]3 s6 \. C
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-13 07:12 , Processed in 0.114892 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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