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

2691 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
4 M2 {5 p& i  ^: P" S" w. M& j
! {% V( c  y, {

  1. 5 Q8 x6 F: i" Y; z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    : ^$ `, F' Q# |3 S
  3. 6 r0 @9 |9 t0 [. K& H; O0 f" s
  4. ### What we need ###5 _! y+ C$ o& W% [+ d3 z
  5. Naturally, we will need a MySQL server to store the data for us, this document 6 @' R1 O7 P& }' c8 Y' E3 h
  6. will not explain how this can be done - there are documents out there for the 1 i% K: w8 F4 d1 E8 K2 h
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    + X& W9 |& {" c5 V! v
  8. and a user account (username + password) that has the permissions to do stuff$ W- \9 l9 d3 u5 q* b
  9. with the database. Additionally, you will need a vendor library installed on the7 L, I6 u1 ~5 @
  10. local machine, this came with my MySQL install.% e. N( F) s! s6 c
  11. These instructions will not tell you how you might transfer your data from the4 ?' E/ A6 B& I4 r2 k( ]
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
      O) v& `4 A6 Q
  13. database.. F) t4 N/ y0 V! H
  14. Some users have reported ways to import a SQLite database into MySQL, but at; d7 c4 J# u7 \: l6 j6 g. k
  15. the time of writing, there are still too many issues - check the current status* D) r  N) z- w
  16. in the TeamSpeak forums if you are interested.2 f7 Z- a; @$ G2 G! F% E3 i
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ! K" G; O3 H" A  `) P: x( g
  18. Borland was used. This driver can only interface with the client library that 1 @5 h% f; y0 A8 d0 t6 n5 ~
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ) C8 {( V, i2 n6 q
  20. client library - basically all you have to do is to use a 3.x client library as ; `" K7 ]- D: K$ v8 a) x/ u& \
  21. "VendorLib" and a 4.x database to connect to.* P- E$ ~- @+ G8 A) x/ _8 N0 O7 h: q
  22. If you need more info about dbExpress, you can contact Borland.4 N- |6 C) Z- O3 E  |* l$ X
  23. 4 q( |0 I2 }' @7 L8 S6 C9 \' z
  24. ### Doing the work ###
    0 M: O9 ~) I& [: z: G& B
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
      N2 F' u- t, |3 f- ^9 Q
  26. the perquisites right, just open your server.ini file, and add this section at
    * s' \  h5 w& [& m' @, y( g
  27. the end:& I: L9 ?5 g+ z
  28. ---cut here---
    $ u% Y1 F8 ?8 x7 G( F/ G" a
  29. [DBEXPRESS]
    1 H; R3 M5 \1 ?) g3 I
  30. sqldir=mysql_sql  O" b: Q5 {6 X6 M
  31. Drivername=mysql4 i6 {5 @6 q4 ]( X) M
  32. Database=Your_Database_Name_Here
    / K0 c3 g$ ]9 B3 O6 r
  33. Hostname=The_PC_the_MySQL-Server_is_on
    5 }; D1 U9 U. N* c
  34. User_name=User_name_on_the_MySQL-Server
    ! u5 v# T6 l+ b5 V* b, u9 H$ x
  35. Password=Password_to_go_with_above_user_name
    1 b5 O+ v# u+ n) G
  36. GetDriverFunc=getSQLDriverMYSQL# n3 t) h& R, U  @# m
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib+ z5 D4 @+ {& c9 M% P8 f$ G/ M# ?- p- ?# c
  38. LibraryName=path_to_libsqlmy_libary
    4 E$ t7 U$ V+ n5 R$ t1 x. ]
  39. Active=1/ i, n2 Q: e, o8 K0 v! l& ~
  40. ---cut here---
    1 V6 l3 k* |% ]+ C* o( ]2 ?! \/ W1 S
  41. In my environment (a linux box with a MySQL server running locally) I have:& L, A9 L0 x3 y' _6 C: t8 P
  42. ---example---
    ( ?9 W8 ^/ n( ]5 C& f1 h) i! _1 ^
  43. [DBEXPRESS]( V  l! @9 P. C
  44. sqldir=mysql_sql
    . {1 k4 ]+ S* D; k
  45. Drivername=mysql9 d9 m( h; l' f
  46. Database=test* |8 h. S3 ~8 n/ y8 s8 K( j4 ~
  47. Hostname=localhost
    6 m8 P/ ?  X& O" ]! j
  48. User_name=testuser
    - b1 V# w6 \) c2 b% A; F
  49. Password=my_password
    * z& U. X# \- G1 B8 p) j9 C
  50. GetDriverFunc=getSQLDriverMYSQL
    2 _# z* d& o+ k) t
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.00 C6 t8 y. ~! X# E4 L
  52. LibraryName=./libsqlmy.so" X6 j! l3 J; [! ?' q
  53. Active=1% I, T" ?/ L! W; e( g- S( ?, q: q
  54. ---example---& c9 l4 v& _9 ?* O

  55. 8 C5 U1 o$ J2 S3 z* B! }& B
  56. On a windows box, also running the MySQL server locally, it would be:
    " R; u2 P- G* L. T
  57. ---example---" j: s# r; S+ q$ z4 N5 B
  58. [DBEXPRESS]
    , @# g& r# o- c$ U. v, `2 W
  59. sqldir=mysql_sql7 C$ p1 ^' n# N2 f2 p* Z& I6 r
  60. Drivername=mysql" z2 }2 ]) }4 z9 p) G4 @1 e
  61. Database=test
    1 _; Y/ H. P' J4 v" S
  62. Hostname=127.0.0.1
    % z  C; d7 B4 o: W; w
  63. User_name=testuser. v( z/ v# M! h2 o' |2 ^$ f
  64. Password=my_password" I  R# D, P8 {6 ]# {
  65. GetDriverFunc=getSQLDriverMYSQL
    ' v4 T2 w0 t$ e4 @/ y2 Y* q  |
  66. VendorLib=libmysql.dll- C! U8 u  H( C& t" t7 G% n' A3 v: t
  67. LibraryName=dbexpmysql.dll' x8 a4 V# p6 L' Y. l
  68. Active=1' x5 Z9 z: s+ g1 t- j1 {9 v' z
  69. ---example----
    : x* c9 }$ m3 O, K
  70. - written 02.03.04 by pwk.linuxfan2 l  Z/ O# R: d3 a
  71. # T' a( v9 ?% S( ]: E
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
. X# i, R8 j+ l/ J( p7 ?( g
  1. 0 l6 w$ d% _. V) C8 D3 K( V9 r
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######   t' E2 Y0 F* W# ?8 J: \; ~: j
  3. ; v0 P% L3 k: C5 x- ^! l# \1 w
  4. # # #我们所需要# # #
    + p4 E! r4 k; _" [3 Y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    4 k. o1 |0 l6 k1 U7 g
  6. 不会解释如何做到这一点-也有文件存在,为8 ~7 m5 B$ E- Q1 x; L
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用" V4 [  I& E1 a/ u+ k  [: V
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西% ^' k/ I# H5 H4 j- B7 ?
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    / z" r5 }/ h) W& ~% Y
  10. 本地机器,这是我的MySQL安装。   B3 N% O2 e- C! `! s- @1 r6 |
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从: I6 @" m. p, E  m; Y6 h
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    / E2 f  l, {5 C7 v- [6 N# Y4 b
  13. 数据库。 . w8 f% e7 H( c$ M/ D
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在+ Z; i' h! u8 m+ j- k$ h. @5 d
  15. 编写本报告的时候,仍然有太多的问题-检查现状# A, M" I* G3 g" f! d' w
  16. 在teamspeak论坛,如果你有兴趣。
    5 ~+ }7 P  t' U, _6 X% A
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    1 ?) o* v' j& U1 P; n7 ^8 A
  18. Borland公司使用。这个司机只能界面与客户端库& A+ m4 g: T7 [- X) H# `
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这. ]! Q1 M* h; A! N, i1 c4 p3 z
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    + ~& r3 F( u6 @  ~
  21. " vendorlib " ,并解数据库连接。
    6 L1 m, r! o/ ^3 w
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    6 E2 [) @" m  n
  23. , w8 L' U) ?- ^9 ~$ M' ~3 }: p1 P' ?
  24. # # #做好工作# # #
    # k8 t" X3 r; }8 i& B" i
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都3 V" J& p  |, N2 V+ g4 m+ j# c
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    3 K" D7 [! b( d" _! Q: R' p
  27. 结束:
    / `& H5 K8 [" ^* ^/ e: `/ H" R, g  s
  28. ---削减这里---
    ! E& E& O1 i7 w$ H& p
  29. [ dbexpress ]
    2 ?. z' `# r9 R; e6 `. Z( A
  30. sqldir = mysql_sql
    . y' n$ w2 u0 o9 K
  31. drivername = MySQL中
    # d! c9 f- }, d6 f
  32. 数据库= your_database_name_here   s8 p" m" O3 V3 W# j3 F+ ]8 y- K: @
  33. 主机= the_pc_the_mysql - server_is_on
    " c* A9 w! x' U0 B2 G* B
  34. user_name = user_name_on_the_mysql服务器
    / B2 \: U9 @# D  e4 {3 A( t3 D6 U& p
  35. 密码= password_to_go_with_above_user_name
    ; ^+ o, {. v7 d. }
  36. getdriverfunc = getsqldrivermysql % I% w3 B9 s3 C0 C
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 1 Y& B- T4 u& K8 ]  g4 \
  38. libraryname = path_to_libsqlmy_libary
    ( C% R/ G: g3 x
  39. 积极= 1 + ~3 y$ j4 E. |4 j5 q# \2 H0 ^. v
  40. ---削减这里--- " ~7 x6 B  z, H: Q1 A. V) P, m4 X
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 1 `: d- i; ~; S4 K& X
  42. ---例如--- + k4 @3 O/ y: B+ d+ ?
  43. [ dbexpress ] 8 A4 G/ B+ q1 d' z- f
  44. sqldir = mysql_sql , v5 x0 [" ]5 [6 {* s3 ]
  45. drivername = MySQL中
    , ^" x% N* q& N1 b5 T- h2 l
  46. 数据库=测试4 d- g9 s7 ]# M/ [2 E4 v9 T2 `
  47. 主机=本地主机: w: [0 _( e/ }
  48. user_name = testuser
    ' O( [. U+ v1 n5 G
  49. 密码= my_password 1 F% J$ F- f. Z' G5 N. m' H
  50. getdriverfunc = getsqldrivermysql ) {+ P4 l- x1 J8 @6 o
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 , Y5 g+ ]! t9 B3 ]! I
  52. libraryname =. / libsqlmy.so ( s; f) C; ^( I) |4 {0 D, B" G! R
  53. 积极= 1
    6 @. \/ h: X+ B3 u8 g$ l; A! J" l
  54. ---例如---
    7 k# f1 ^) y, \$ t1 L& G% [

  55. - {. J; Y4 s% U0 C* [& I( R
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ! C5 k& p9 B& x8 d+ P. E5 F3 o1 o
  57. ---例如--- & Z: o9 x& t7 d( r9 \3 F4 o# a
  58. [ dbexpress ]
    " [7 m- c1 E! [
  59. sqldir = mysql_sql
    / r) C, U1 D2 `+ D1 F
  60. drivername = MySQL中
    6 D; x" v! S% k, V8 I2 l
  61. 数据库=测试
    9 S1 R) [4 p5 c0 I* `1 V3 A
  62. 主机= 127.0.0.1
    3 {" D- N; m1 X' j
  63. user_name = testuser
    7 O0 [( {+ v+ Q+ m
  64. 密码= my_password # Q+ X2 o+ b/ D+ y, |' e
  65. getdriverfunc = getsqldrivermysql
    6 c& |4 X. L$ ]% M
  66. vendorlib = libmysql.dll在- `- {# M3 `! n) {% u, w
  67. libraryname = dbexpmysql.dll
    / y# G  K/ w, p
  68. 积极= 1
    # Z2 Q# C/ U( m( C$ @) r9 R
  69. ---例如---- 9 {2 q( x5 m0 R* I# T) h# u
  70. -写在0 2.03.04由p wk.linuxfan6 ?8 `/ H  S: M7 G+ _
复制代码
发表于 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
# y: ^; Q" P/ k8 s/ X4 W9 T5 A( [6 H! ?( E
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-1 21:00 , Processed in 0.113934 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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