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

3021 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
8 `+ @( R* Z0 {+ t  t4 k: m: R/ J! z% E2 |6 ], i

  1. ; y, [, P6 d3 k3 c5 s# r
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######5 E+ ^5 z6 \. B3 F) V- ?9 P

  3. 4 N) l4 ?  `' J( t9 _+ w/ n
  4. ### What we need ###
    4 t6 i1 R* I- U
  5. Naturally, we will need a MySQL server to store the data for us, this document " `4 E7 g9 x+ n4 I
  6. will not explain how this can be done - there are documents out there for the ) C4 E$ Z) C/ j' p* O
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    + e8 e6 f$ |9 m% w+ p  {9 G# y& U
  8. and a user account (username + password) that has the permissions to do stuff% D3 {1 K7 u8 P* g) C& N2 l
  9. with the database. Additionally, you will need a vendor library installed on the
    $ N4 Z3 q% i6 D4 I5 R9 ?
  10. local machine, this came with my MySQL install.
    + J3 X1 X% [1 f8 c
  11. These instructions will not tell you how you might transfer your data from the
    * `0 @  P0 ?+ i2 B2 ^+ M) @3 c  D
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    & ?) N! h3 F$ i# Q, H, t6 R; V
  13. database.
    / v+ q) N3 t$ U9 t1 m2 F
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    0 y1 h* K4 S+ L" r( N
  15. the time of writing, there are still too many issues - check the current status
    3 n0 J) d; g& g( k' F
  16. in the TeamSpeak forums if you are interested.
    , m4 U% k+ @% l: @4 }, B, r
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from% w) X* C: D0 z" {" t; I
  18. Borland was used. This driver can only interface with the client library that
    - v. b+ c2 }6 D# K6 [
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this/ y8 x; p' v& T2 `) f6 H
  20. client library - basically all you have to do is to use a 3.x client library as 1 s8 h7 N/ i. v4 r, Y- K
  21. "VendorLib" and a 4.x database to connect to.
    " g0 t! E3 ?/ U& n
  22. If you need more info about dbExpress, you can contact Borland.
    & g9 ]/ R  _& r
  23. 8 w  a5 ~+ N" D7 b
  24. ### Doing the work ###
    2 S% y2 ?1 G3 |0 a  z
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
      W) N9 B* M- u: |, @' s2 V
  26. the perquisites right, just open your server.ini file, and add this section at3 C: k: t7 P* G  S
  27. the end:
    7 z: Z" [" Y1 J1 x) t3 J# U2 q5 O
  28. ---cut here---
    1 c0 M6 K+ [# S3 S* C
  29. [DBEXPRESS]2 r) r( X0 U# ~7 p, S
  30. sqldir=mysql_sql
    0 b  r! z% F+ l* F
  31. Drivername=mysql
    1 R/ R! ]+ L/ N0 C; K- d+ M2 n
  32. Database=Your_Database_Name_Here
    6 l6 `7 k" l. D  j' n
  33. Hostname=The_PC_the_MySQL-Server_is_on6 ~+ W' g! T4 m% T7 l: e7 V
  34. User_name=User_name_on_the_MySQL-Server
    7 }; g7 u' z& v& M* Y" s- s3 e
  35. Password=Password_to_go_with_above_user_name
    ' G5 B0 c* M/ s9 [4 K; t. s
  36. GetDriverFunc=getSQLDriverMYSQL; J5 v% O8 t, w
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib" o$ r* t* g1 s& k$ h' \7 w( @5 [
  38. LibraryName=path_to_libsqlmy_libary
    ( n3 P8 L! p( L* n& q8 F
  39. Active=1
    : d2 g: |) |' W. T  w
  40. ---cut here---
    8 t3 L" A) Z" U% ]. S. N: K. v7 O
  41. In my environment (a linux box with a MySQL server running locally) I have:; d; k1 [5 Q) \" i; b) b
  42. ---example---  F4 ]  f9 F$ M, e+ E
  43. [DBEXPRESS]: D/ }$ v) b! ]) x* R
  44. sqldir=mysql_sql! z! o8 X2 Z4 V# f2 ]1 J$ @
  45. Drivername=mysql
    ) ]) }, A6 W7 B6 Y* H4 r
  46. Database=test7 k0 B* W; V8 c; ]+ {" }% P% `: n9 o
  47. Hostname=localhost
    * g, ]8 N1 y0 a& U& k
  48. User_name=testuser
    4 x3 T$ p3 K) d$ b8 H
  49. Password=my_password
      c  C* j/ R0 K8 w/ [' _
  50. GetDriverFunc=getSQLDriverMYSQL. s$ ^( |1 e# a) ?& c
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    . b/ T" d% a6 L- A) l9 J) S& h
  52. LibraryName=./libsqlmy.so6 y8 {& O/ c, Y9 v0 C
  53. Active=1
    # R3 s- d* m( W8 V9 S
  54. ---example---# r. W) M- ~6 c4 P4 y) m
  55. ) x) r& A$ C$ a
  56. On a windows box, also running the MySQL server locally, it would be:
    , b, B6 M  c1 z
  57. ---example---9 j$ P  V2 g/ J( n* h
  58. [DBEXPRESS]
    / j. Q3 P( y) B' f$ J* C. m
  59. sqldir=mysql_sql
    ) s; v' X- c& X" Y2 Y; B5 U
  60. Drivername=mysql
    2 {# a7 X9 w# R! ^2 b. M( \: u
  61. Database=test6 M1 W6 m: Z8 t* u6 ]' G0 q
  62. Hostname=127.0.0.1
    4 Y& |3 y6 Y; j8 p9 ~  \4 {6 [
  63. User_name=testuser
    & W( n5 }4 _# u+ ^
  64. Password=my_password4 i& B; b9 S* p  U4 w: V, M
  65. GetDriverFunc=getSQLDriverMYSQL
    $ Z  {) I. V' m8 _1 R1 N
  66. VendorLib=libmysql.dll
    ( @, h) X8 O# X) N; I2 [. D' F+ c
  67. LibraryName=dbexpmysql.dll
    . C! X: R9 U# L. u: H% y2 W) o4 e
  68. Active=11 H7 X% f) }: }; I
  69. ---example----
    ' y( s0 B. P! n. U
  70. - written 02.03.04 by pwk.linuxfan
    # T+ k( X: O8 Y4 g3 I2 }

  71. ( y* n7 d7 I- [$ T7 O* S
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
) C+ h' q; b. ^( g9 s1 {) }/ O
  1. ; g; ]8 S" }) X* N8 h) D
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 8 |* i4 M9 N, U# _* \* f6 T
  3. ! f  x, u; S, H$ E0 L0 ]
  4. # # #我们所需要# # #
    7 n3 \/ k! Q- f6 L2 X+ {( G
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    % h2 |* h; O5 W8 i2 y( j. k
  6. 不会解释如何做到这一点-也有文件存在,为8 P- b  }7 W3 ?$ z+ j5 R
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用0 a: T7 |1 j8 T" U
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西" \! I( c* _$ ^) g7 M
  9. 随着数据库。此外,你需要一个卖方图书馆安装于) y) z2 e9 s3 _* q, i" r
  10. 本地机器,这是我的MySQL安装。
    * K8 K/ M) A( {. k9 i8 W
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从, U; }3 W( |7 n- R  B! a# B
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    9 W& b. T/ S5 M& y  t* E
  13. 数据库。 0 }* F/ m$ c/ ~- A* j& ^/ T9 Z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在) q& G+ r( c' m: {: o+ H
  15. 编写本报告的时候,仍然有太多的问题-检查现状5 }" u0 e. m; U; h+ V
  16. 在teamspeak论坛,如果你有兴趣。   ~; s! z2 ]) X7 E' ~+ S
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机" ~" C' Q4 g: k* _9 S
  18. Borland公司使用。这个司机只能界面与客户端库7 Q, S2 N$ f( ?
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这! S4 G/ Z  B0 M& C$ H7 o
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    6 C# c. n) Q& W- t
  21. " vendorlib " ,并解数据库连接。
    ; n4 g' [  v5 K  {+ H
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    + N7 Q9 U3 c6 P$ ]8 Y% Q7 B

  23. % _! T1 t) j6 z& m' k# |5 m, l
  24. # # #做好工作# # #
    , k/ q* H0 O3 ?- z5 Y7 P
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ) }2 F, z/ Q, s9 d# |- [. z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    % e5 C& ^! c1 b  n3 d  {5 H
  27. 结束:
    $ P" L6 ~* |, X' {7 l# V6 ^+ ~
  28. ---削减这里---
    ' [" z- @. `; Y7 ], f$ {! c* e
  29. [ dbexpress ] 4 I  J9 F$ w. k% H8 x6 @$ m/ w3 D
  30. sqldir = mysql_sql
    5 s+ i) M  T$ Q6 z! Z
  31. drivername = MySQL中& h" O# Y, @0 _, o
  32. 数据库= your_database_name_here
    / K0 v5 Y# u1 ?( m" J! j$ K$ t8 }
  33. 主机= the_pc_the_mysql - server_is_on
    4 V  [8 b" m+ ?5 X/ G" h% m& {
  34. user_name = user_name_on_the_mysql服务器
    , S; P1 p& @) c& p% @
  35. 密码= password_to_go_with_above_user_name + c/ Y+ l$ h# B2 ]3 s
  36. getdriverfunc = getsqldrivermysql * _! ^& R+ ]/ J/ @& `
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ; Y  f% r# Y& Y- H/ x
  38. libraryname = path_to_libsqlmy_libary
    + ?# U  w' ]! b, K- ?
  39. 积极= 1
    : l5 K+ q' F. E' j
  40. ---削减这里---
    9 j  w) T, c1 T- A% B
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    9 x" J) c( K2 v0 H! \' B
  42. ---例如---
    ! }+ H0 Y/ O9 `# a; y4 j5 N
  43. [ dbexpress ] % z: Y+ {3 j/ G# ^4 A
  44. sqldir = mysql_sql 7 q* w! N. `* b0 Y6 {6 W6 Q
  45. drivername = MySQL中
    # o5 `) F& W2 J, e
  46. 数据库=测试0 x8 T4 Z+ A) E- P
  47. 主机=本地主机
    ) w: y- L8 j+ {7 x7 I8 d/ v1 U
  48. user_name = testuser
    1 f9 B+ \( x3 U% L+ T/ l
  49. 密码= my_password
    9 N! m) d4 }8 Q
  50. getdriverfunc = getsqldrivermysql 1 N4 Q# ?1 X7 ]- R# P
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    6 s$ x$ ?2 s! j/ h3 t" ]" t
  52. libraryname =. / libsqlmy.so
    6 A0 |. e4 N5 [' r+ @% f& s0 J/ q$ Z
  53. 积极= 1 ) R7 u3 u6 f  w- [( z2 [: p
  54. ---例如--- 0 C. E) r) h' i" {/ z8 r) l
  55. - {% |3 R6 J: j8 ^: z
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 0 V9 C* Y$ x3 e9 [2 \
  57. ---例如---
    ' L# g# w( y: a9 {7 t
  58. [ dbexpress ] 8 P$ P: f# G# y5 x$ X: q+ c1 J" z: a
  59. sqldir = mysql_sql
    ; o0 T$ {$ ?3 R- }3 j& R, H% G
  60. drivername = MySQL中6 ^3 i& ?) }/ J$ o% E  B: m) l' n/ C4 D
  61. 数据库=测试4 G$ d! t' T( X. P0 C7 _- E* ?
  62. 主机= 127.0.0.1 7 M( @" H6 m* z
  63. user_name = testuser
    * b; o" r" Z; c
  64. 密码= my_password 1 C4 z5 ]" ]2 t1 K
  65. getdriverfunc = getsqldrivermysql
    2 v% x2 g; x' o" H4 h! x& R
  66. vendorlib = libmysql.dll在$ i0 k4 }! q" W+ j& U9 N& Z+ n
  67. libraryname = dbexpmysql.dll + i) Q( l( }, S  T' f" j+ \$ b
  68. 积极= 1   j4 z. V4 j& f7 ^# S  t3 F
  69. ---例如----
    3 `+ N- `& y4 W
  70. -写在0 2.03.04由p wk.linuxfan
    , Z; W; F8 w' j6 L8 m7 D" 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" _3 P4 W+ r& _2 u, d* Q% J
2 Y5 x6 b' D: T* }* I
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-14 12:41 , Processed in 0.100140 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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