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

2555 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
: c2 N, L% }# S6 N3 q1 h/ }: o% a; e9 U. H4 G
  1. * T* ~% o0 |5 ?2 Y* i1 H
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######* q7 f- u1 r7 a4 r. ?7 {) u( V

  3. 0 E- A  \2 V5 z' {, S
  4. ### What we need ###
    + u' \8 c% x) U
  5. Naturally, we will need a MySQL server to store the data for us, this document 4 L* M4 G" C0 _( ~1 {$ B3 `( T
  6. will not explain how this can be done - there are documents out there for the 7 F+ c  \5 ^& o7 R) y. _) E
  7. interested. The requirements include a (empty) database for TeamSpeak to use: l1 B1 C3 M! b( g( r
  8. and a user account (username + password) that has the permissions to do stuff1 S5 y( l% c- b  |5 ]5 M
  9. with the database. Additionally, you will need a vendor library installed on the
    5 R# B- i) O' Z9 G
  10. local machine, this came with my MySQL install.
    % [  s5 `- K, w& O/ k' d
  11. These instructions will not tell you how you might transfer your data from the" k2 k) h5 B7 ?3 Q, T
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL! i& I" }9 }8 ]$ R3 _$ K
  13. database.# p  P# h. E1 w& L( w2 {
  14. Some users have reported ways to import a SQLite database into MySQL, but at' a! V- |6 Z1 N% J- W: k( S
  15. the time of writing, there are still too many issues - check the current status$ W1 J+ H8 G: e: {
  16. in the TeamSpeak forums if you are interested.
    2 v' X) f9 {6 u0 S
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    " ~: i6 R( b6 N) L& G( A
  18. Borland was used. This driver can only interface with the client library that 7 D" V% E# k9 y6 ?! g
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    $ z# ~/ i: S( s) i0 Q4 p0 Z" q+ H
  20. client library - basically all you have to do is to use a 3.x client library as
    3 e- ^. `2 \4 H. c
  21. "VendorLib" and a 4.x database to connect to.
    7 [1 N& w3 X; k' d3 M# ^- U
  22. If you need more info about dbExpress, you can contact Borland.- n8 i! F* _8 m

  23. . w2 g+ U8 z) _
  24. ### Doing the work ###
    7 W& z% Z0 @( e% z- q$ Z0 {
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all) q) j5 e' ~4 l+ E" l
  26. the perquisites right, just open your server.ini file, and add this section at
    . Q1 l2 V. O6 {' @% k2 {  Q: c. `
  27. the end:
    $ C- T/ g. [: g( W5 J+ R
  28. ---cut here---* i% v" k9 h) s1 m) m1 d
  29. [DBEXPRESS]1 ?: c4 N. z: R. T
  30. sqldir=mysql_sql
    : \" t. y3 b! I. e/ T
  31. Drivername=mysql
    9 g4 {3 Q6 n) R6 @
  32. Database=Your_Database_Name_Here$ \  G3 B/ U! K8 E$ v
  33. Hostname=The_PC_the_MySQL-Server_is_on: ?6 d6 j5 V# Z. g) y" ^, D7 Q
  34. User_name=User_name_on_the_MySQL-Server
    ; r) b, K1 A( ]/ r8 x
  35. Password=Password_to_go_with_above_user_name( O' g% z) O. b$ f9 G  Y1 M  s
  36. GetDriverFunc=getSQLDriverMYSQL
    1 h% G* E& _9 ]
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib2 E8 l: E& G! b, o2 d) S
  38. LibraryName=path_to_libsqlmy_libary
    ' x4 n; X2 O; C+ h: Q
  39. Active=19 R! L; w% D' e! F. e# `
  40. ---cut here---
    6 b0 f8 e- I; U# M7 i
  41. In my environment (a linux box with a MySQL server running locally) I have:
    0 U) m1 [0 n1 F, S6 k
  42. ---example---; @. y% r! @8 n$ M
  43. [DBEXPRESS]7 [2 F, D) j. p
  44. sqldir=mysql_sql9 Z3 M, b9 N- P# j9 X- j* _
  45. Drivername=mysql
    ' K/ D4 F3 R( L9 ]: U9 e
  46. Database=test
      D6 d4 }1 C- _. Z" c5 |1 |9 Y+ V
  47. Hostname=localhost! W0 M5 m9 n6 I* ~& l
  48. User_name=testuser
    , y% M& ^4 O! G
  49. Password=my_password
    , [7 w, \$ A2 d- x9 S+ G
  50. GetDriverFunc=getSQLDriverMYSQL
    , _, `" G6 d: W; e3 d2 s
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.05 ^  y; ?; i9 h4 X7 A
  52. LibraryName=./libsqlmy.so
    , V/ q# ?6 g( F2 e% N
  53. Active=13 v- N) d8 d( |! _) a
  54. ---example---7 B3 a& Y# p. w
  55. * P: m) j, D2 u9 b9 G/ Z; T
  56. On a windows box, also running the MySQL server locally, it would be:
    5 M/ m2 A. Q/ v0 p) Z, @) R
  57. ---example---
    8 t) R0 Y) C' Z
  58. [DBEXPRESS]
    6 e0 q7 B! M( o$ U; [
  59. sqldir=mysql_sql! b9 g( _0 ~) b
  60. Drivername=mysql
    * b9 ^: h2 E1 b  e/ r
  61. Database=test
    & u/ k/ N8 \0 S3 j" f; f
  62. Hostname=127.0.0.17 D7 O% z- |$ i" N9 \$ }
  63. User_name=testuser
      Z+ c, S- u4 d6 G' l2 s
  64. Password=my_password, S0 b# S+ F$ F/ D$ ^; N+ d8 ^
  65. GetDriverFunc=getSQLDriverMYSQL
    6 f& u& Q! ]2 F$ e$ t# f
  66. VendorLib=libmysql.dll
    # }6 L" }5 u# ^5 W3 E' a0 [
  67. LibraryName=dbexpmysql.dll
      N( r, F) V# v( Z) L. l
  68. Active=1/ y6 W& M+ s( A" R2 R: v
  69. ---example----
    9 a6 G. _% m3 x7 I0 t3 K' Y- k
  70. - written 02.03.04 by pwk.linuxfan7 s1 \* a; `$ `1 H! y/ l1 {/ P
  71. 0 ?9 h# Z: S+ E5 `7 c: I" S
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
9 T& y- Z, M6 O8 X: w! E
  1. 4 [) q+ I- h: \; p: Q
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### , E* \6 `& @8 E; w; D6 f  G
  3. ) a: V+ m3 }3 W$ Z% J
  4. # # #我们所需要# # # 4 I: Z; _1 `- R1 b" R6 \6 a
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件4 g1 [. K2 c4 k- `0 M  z; I
  6. 不会解释如何做到这一点-也有文件存在,为
    + {5 k# Q6 \4 k3 `' N; r( @, r5 Q& z
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    : b$ F* ~; M$ ^5 |4 O5 O
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西, f8 a( x: s& c  g
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
      X$ n5 H0 r0 R, h$ n: D
  10. 本地机器,这是我的MySQL安装。
    ) M9 q6 I2 V" W# V5 J- k: i
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从$ o5 Y: e7 @; l; C
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    * I) Q& {" @+ G( N
  13. 数据库。 % T& Y+ q$ G3 x4 p
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    # H1 \% `# a( A8 d5 c
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    * ]* W4 U% ]- i) n0 w  v
  16. 在teamspeak论坛,如果你有兴趣。 & r6 Z9 d1 [5 h" g: w6 V3 j& g. u
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机" Z; L4 Y3 L, o& H# k2 m( `
  18. Borland公司使用。这个司机只能界面与客户端库8 B$ W% i, E  u
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    9 }" w6 t% K3 A  g1 E  P
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为1 d1 @9 c4 n7 H7 L
  21. " vendorlib " ,并解数据库连接。 # l) |3 Z2 H* w$ |8 f+ d# {/ @
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    . I  Z5 N; A/ o) A! I1 M( E

  23. 6 n: |5 C2 X) Y/ ?& E) m/ ^5 Y8 d
  24. # # #做好工作# # # ( R' q2 N. d* d1 b; F) M
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    8 u' u/ c: G# T, g5 r' \
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    2 k% D, ?  ]1 X" Z/ Z
  27. 结束: $ y# W4 O& S, f" M9 m
  28. ---削减这里---
    0 K. [% [$ X' J) U2 d
  29. [ dbexpress ]
    & m4 P0 g+ n" c' z
  30. sqldir = mysql_sql " k1 d* l8 f. U+ g: e
  31. drivername = MySQL中
    1 a. E" M" p& _  T/ [. {
  32. 数据库= your_database_name_here 1 J4 {: h1 Z% |
  33. 主机= the_pc_the_mysql - server_is_on
    $ ]- V$ P. }2 H) m5 }
  34. user_name = user_name_on_the_mysql服务器
    9 s# V$ j; t  L7 y8 v
  35. 密码= password_to_go_with_above_user_name 4 O' c; X/ P; ]# L# C+ P
  36. getdriverfunc = getsqldrivermysql
    6 C$ p  x+ q9 ^: y
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ) U- G8 p, |& P; p* M1 ]# [
  38. libraryname = path_to_libsqlmy_libary
    % Q' `/ w$ W( d; Q! d' L
  39. 积极= 1 - M- k+ r/ W+ L+ t6 A' A
  40. ---削减这里--- $ L4 e4 {5 x+ l  k$ ?/ U" J
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: " O4 k) F0 i% _" a9 T) P' k9 J
  42. ---例如--- 4 Z1 I3 Z; Y) L6 F1 C2 r8 _
  43. [ dbexpress ]
    2 G4 D; ~, J$ r* i
  44. sqldir = mysql_sql
    , O/ }: e! e" i( O, v, Z- a7 w2 C6 e
  45. drivername = MySQL中
    2 S. o0 v6 i( V5 p3 O9 b, g
  46. 数据库=测试
    - j! o- Y9 ^8 m5 P  X, G" `& c
  47. 主机=本地主机
    ' n2 v- y$ m7 |$ q
  48. user_name = testuser
    - `1 i2 n& j3 i7 s: W, u6 r5 s
  49. 密码= my_password 1 d4 t4 L! L. q
  50. getdriverfunc = getsqldrivermysql
    ! c9 x+ S, I2 o. u
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 6 n: I" P) Q, E5 O+ b
  52. libraryname =. / libsqlmy.so / z, a0 E" Z: \
  53. 积极= 1
    1 X: A1 ?/ S- `( x
  54. ---例如--- : ^' _; d7 p7 h5 \: M
  55. 2 X% k4 o; K" L: q2 B, [! N
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    . W; X! U* x$ q* b
  57. ---例如--- 6 G' Y$ H; o6 R1 c+ ]0 O
  58. [ dbexpress ]
    0 t* g! ~! I: M5 D# n' ]) E
  59. sqldir = mysql_sql   {* ]6 x7 w# q) v
  60. drivername = MySQL中6 }' G# U- I; _3 F
  61. 数据库=测试* o; O4 s; m* O$ }  e
  62. 主机= 127.0.0.1
    3 @& E0 y8 H2 u  n
  63. user_name = testuser
    5 L8 W9 M3 c5 `1 z; f
  64. 密码= my_password
      m8 {; x0 p. M3 ^4 y* f" M2 k
  65. getdriverfunc = getsqldrivermysql
    8 X+ z9 p$ N# h4 I: C! r6 _# J; k! }
  66. vendorlib = libmysql.dll在
    . g0 X* D, a7 I
  67. libraryname = dbexpmysql.dll 0 E# E! ^1 ?7 `  k8 Z
  68. 积极= 1
    0 I2 L+ G' j$ \1 |
  69. ---例如----
    3 n( T: |6 q) B0 l% C2 G8 R. \+ h
  70. -写在0 2.03.04由p wk.linuxfan
    7 ]0 U! _7 ^5 ^2 R- Z" y- a
复制代码
发表于 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
. r. k! H6 T/ d1 V) g; O- s0 p! T5 p" s* Q2 j/ @- Q
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-26 01:29 , Processed in 0.103526 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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