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

3049 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
8 v  L0 r7 t5 U. |( ^8 e
0 |- B4 R" N& I: K" j

  1. 4 X5 v' q( |5 S/ w% V
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ( a) O( h8 L; b" N, P

  3. " z7 p% v/ a9 p7 @' F
  4. ### What we need ###- G% T2 F0 ~" e1 d) i
  5. Naturally, we will need a MySQL server to store the data for us, this document 0 z7 H- ~0 X/ `
  6. will not explain how this can be done - there are documents out there for the 6 E0 x" X0 |( W5 W9 e% O
  7. interested. The requirements include a (empty) database for TeamSpeak to use* C- M" v" v/ ]
  8. and a user account (username + password) that has the permissions to do stuff
    1 v3 A: K; M/ G: c4 g5 S1 Q
  9. with the database. Additionally, you will need a vendor library installed on the" e# y' T; W7 C7 S. i' l
  10. local machine, this came with my MySQL install.3 k* w: Q8 d& D. u( U
  11. These instructions will not tell you how you might transfer your data from the* l; `" D& |5 Q4 E4 W6 Y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    " E& a% f; I9 B6 y( Y
  13. database.
    7 g. @6 e. r& Q2 D5 s& [/ s6 @* `
  14. Some users have reported ways to import a SQLite database into MySQL, but at" p$ Q" m* B. j' Z4 n7 z2 `5 Q
  15. the time of writing, there are still too many issues - check the current status- s9 z9 B  f# M
  16. in the TeamSpeak forums if you are interested./ h) `( R6 H  K: C9 W
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    $ |9 [& {  g  e" X
  18. Borland was used. This driver can only interface with the client library that
    ; C3 F/ J% e; R! D5 [  O
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    # f7 K: S$ q) a/ l  V
  20. client library - basically all you have to do is to use a 3.x client library as
    9 v& n/ ~4 e- O* n
  21. "VendorLib" and a 4.x database to connect to.$ X4 A; D5 F8 O0 C
  22. If you need more info about dbExpress, you can contact Borland.
    + g3 l) j3 l7 J" K3 {3 j: \
  23. ! F0 H  u; c0 b6 ?3 {5 e! B
  24. ### Doing the work ###) B$ ^5 Q# D: v% H- F/ X9 a7 m* F
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all* ]2 F. Q5 p) r$ K8 O( q
  26. the perquisites right, just open your server.ini file, and add this section at* G4 q+ r  I  g  v* _( u5 Z
  27. the end:  m6 ?3 n( z9 v' R# m: \0 a" x
  28. ---cut here---/ ]" X9 d! p3 C7 G& ?
  29. [DBEXPRESS]: N: H) g! f: J% ^, D) ^
  30. sqldir=mysql_sql
    ! _* ~' w  ~2 E
  31. Drivername=mysql
    4 P- y6 v/ B( ?+ v2 r  S
  32. Database=Your_Database_Name_Here4 p2 d0 Z1 ~$ a% @
  33. Hostname=The_PC_the_MySQL-Server_is_on" o$ N6 _  Y$ N; g- Y9 a: Y: W
  34. User_name=User_name_on_the_MySQL-Server
    5 P! W: l" |$ J$ }
  35. Password=Password_to_go_with_above_user_name
    , ]0 P$ D- h, o3 b; w
  36. GetDriverFunc=getSQLDriverMYSQL8 P7 m4 X8 T! G/ J( P5 |
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib* \) _2 R- y, _* w' s
  38. LibraryName=path_to_libsqlmy_libary& G: h2 u1 e0 h/ g7 z0 M) l) N( b
  39. Active=1" s* x2 a' b! k! B. o; ?
  40. ---cut here---5 X5 J4 c  Q; j$ _( {" j
  41. In my environment (a linux box with a MySQL server running locally) I have:! \$ p8 v' Z  K8 H# {* K) N: @
  42. ---example---. }/ g3 n& d1 V
  43. [DBEXPRESS]
    ; T: X" N, ^+ c, j+ L. A& `
  44. sqldir=mysql_sql  o) U7 p1 O2 G1 K6 P8 a
  45. Drivername=mysql6 g7 K" V) t1 M4 @
  46. Database=test
    6 N: \9 P( K! B  Z+ w- I) [* y
  47. Hostname=localhost+ v( B2 t5 f' [' f" W" a9 k
  48. User_name=testuser
    + g# J, q, X- R+ @; H
  49. Password=my_password, X  O9 k* \' y3 L) x
  50. GetDriverFunc=getSQLDriverMYSQL
    ! a; N4 b: r% i3 r+ a0 U
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    2 ?* b6 M- x) w, C5 w
  52. LibraryName=./libsqlmy.so
    6 ~" R9 N* I3 {1 f& I5 I8 a( Z6 M
  53. Active=1
    ; R# M( @2 w# a9 x0 ?7 M0 Z
  54. ---example---7 x! D1 [6 x+ \/ K. [6 `

  55. 0 E) @) R- R" d4 G9 Q$ c
  56. On a windows box, also running the MySQL server locally, it would be:5 ~, V* X" Q" E2 G% X& w4 a+ i
  57. ---example---
    ) ^$ y) o- F3 n
  58. [DBEXPRESS]3 p4 g+ n. T* I9 h% F# F" g- U, J
  59. sqldir=mysql_sql
    % a2 W- \8 D1 H/ ~) W
  60. Drivername=mysql" U$ d- W$ V. D. d# V! G9 C
  61. Database=test& C# a3 c# Z* s" v, g8 j% y
  62. Hostname=127.0.0.1
    + o; j' e0 S5 ^; v5 J2 N: I* l
  63. User_name=testuser, E; L( w/ D  t; f5 ^8 _1 ]
  64. Password=my_password
    / n9 t' ]  Y" p' B+ _6 l3 `
  65. GetDriverFunc=getSQLDriverMYSQL6 [( \- l, _% u+ |  N
  66. VendorLib=libmysql.dll: k! p. g( k, }, U3 @' O
  67. LibraryName=dbexpmysql.dll5 |9 A( v0 X5 e" O7 W: I* g
  68. Active=1
    ) O' ~  r* B; k0 \" T
  69. ---example----
    1 F& h! {0 _5 P; w, S: I$ D
  70. - written 02.03.04 by pwk.linuxfan) k1 b& w$ P. e( H* T
  71. + U5 Q. O9 m% l+ L' |
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
, [5 |, ?8 {0 o3 P7 h

  1. ! K* p# w, Z, i9 G5 T' E
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    3 F% X! m1 S; u: R4 u

  3. * F4 f' V! Z9 d+ S" g
  4. # # #我们所需要# # #
    $ P! {3 H% u3 D. W- C! @0 \
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    & o/ ^/ {0 f" @+ p8 F
  6. 不会解释如何做到这一点-也有文件存在,为
    ) ~( W' q$ b; a# v0 J2 F
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    % n, h: ]9 J% o; l% P+ Z8 z3 L
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    / X+ W. s# P- @) b
  9. 随着数据库。此外,你需要一个卖方图书馆安装于( Z" W( H5 W- v
  10. 本地机器,这是我的MySQL安装。
    ' H" O) R0 u  z
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从+ T- F, \) U1 x; Y3 d) U: o2 U
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 9 u1 V3 N$ g! p2 Q  {
  13. 数据库。 2 I0 n+ i: n0 u: n
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在( k  D+ {& z. \
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    0 P# }# B6 w, U3 |4 y8 z6 y3 E
  16. 在teamspeak论坛,如果你有兴趣。
    & E  n* O) V& w6 ^( u
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ) J2 |& `3 d) R) Q9 z, U
  18. Borland公司使用。这个司机只能界面与客户端库6 f' i& i0 p7 r
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ' \& S2 ?! \  m1 N  k) H& T2 e* E% V
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为$ r- ^# Q( Z$ @0 G' M( Q  o2 {7 T
  21. " vendorlib " ,并解数据库连接。
    * [* c8 g# C/ u5 m8 j" |
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 : v- N' n# z) q. Q
  23. % ~5 y  t! J' _6 i
  24. # # #做好工作# # # ! p: X6 H! N/ H3 u( Y5 N1 k
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都+ t3 x. H+ r! `7 n0 N
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在2 ~& q' E/ ~4 `4 D2 x5 \; y
  27. 结束: % Q+ C+ a, k7 k+ T
  28. ---削减这里--- & c# ~. A0 K. z7 [/ `
  29. [ dbexpress ] 2 K$ H: L+ G6 n: e: }
  30. sqldir = mysql_sql * ]$ i2 W) q  ?* S5 D
  31. drivername = MySQL中
    1 f% k& {+ C! I3 v$ \
  32. 数据库= your_database_name_here 0 a5 `4 B1 R* X1 f: ?! l) r7 w
  33. 主机= the_pc_the_mysql - server_is_on + m! a* }# k, i- u
  34. user_name = user_name_on_the_mysql服务器
    - L% W8 q- {$ O7 o$ n
  35. 密码= password_to_go_with_above_user_name + Z+ o7 |7 R" C9 J: h0 Q% }
  36. getdriverfunc = getsqldrivermysql 5 f- e4 j7 ?* ^) ~  U8 k5 a
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    : {' V# d7 y% F
  38. libraryname = path_to_libsqlmy_libary 4 f4 g1 _  B. t, g; B$ H
  39. 积极= 1 $ N$ Y1 b3 C6 Z# E3 K8 x
  40. ---削减这里--- 7 d" k; q% x6 k# o- K
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 0 N. Q$ g7 ~) L
  42. ---例如--- % f: B! i! b0 N& R% q" M# _
  43. [ dbexpress ]
    ! h' g+ H2 N! S; K0 c8 j2 O
  44. sqldir = mysql_sql / b( _  k- W1 y
  45. drivername = MySQL中
    / P6 I  w  c# v' v! v) J' T
  46. 数据库=测试
    / D; E7 {) g7 y' F* i
  47. 主机=本地主机
    : `6 C) H- K- I6 ]$ D, z
  48. user_name = testuser , O2 ], p$ e# z9 P" D2 ]
  49. 密码= my_password 0 F: G) S: z% G" n# Y' L! _+ U
  50. getdriverfunc = getsqldrivermysql
    + ?# [% w: s; `. V) {2 ?. a; m
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 " w0 J8 \& e( w% [4 D7 j% u2 g
  52. libraryname =. / libsqlmy.so
    2 S. ]& A; v3 h3 g& n3 j
  53. 积极= 1
    1 R  {+ A) @2 x' l
  54. ---例如---
    . O+ ~% [6 k0 A- b" l

  55. 3 i* o: k2 G# o& j3 h% l* L4 W2 `7 m, z
  56. 对Windows中,也运行MySQL服务器本地的,那就是: " O8 M9 w- ~- w6 a
  57. ---例如---
    2 V6 i: p4 r" R
  58. [ dbexpress ]
    9 E* \. }0 X# |$ X( |9 m
  59. sqldir = mysql_sql
    - G$ l+ i9 |8 P4 B7 }
  60. drivername = MySQL中! n& @6 D5 V) b2 D. u3 q* g) t
  61. 数据库=测试0 ^5 x6 Z3 S0 T/ M- P$ }  ^
  62. 主机= 127.0.0.1
    8 O  A+ ]/ g1 N0 t, [& n- B) V7 K
  63. user_name = testuser
    * D6 i  |6 b1 }: j2 r% [  p) D! w2 Z
  64. 密码= my_password * ?6 O2 E* f& |7 M: R, z% m4 q
  65. getdriverfunc = getsqldrivermysql ' S& i  U  L& x% w
  66. vendorlib = libmysql.dll在
    . M6 A( ~$ O+ t* m
  67. libraryname = dbexpmysql.dll
    1 p( C7 Y7 J/ y3 G  H* w
  68. 积极= 1
    $ r" G" N6 |& {
  69. ---例如---- $ Z  c6 d3 U3 `  ?' |2 G
  70. -写在0 2.03.04由p wk.linuxfan& q1 u7 R4 c& 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
* u/ ^# l! {8 r/ T# ?2 t- ]# Z) J2 I" o
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-21 02:01 , Processed in 0.090524 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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