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

2929 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan   m4 q' V2 w7 ]! A# [( v
7 ^& w$ Y2 p6 _% M; W9 b2 X8 X

  1. ( A: t# f4 e, o( _2 |
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######7 r0 p+ [( k6 P, H' Q+ w
  3. . x5 o, H3 u1 f' a3 D# F- F. D& N; J
  4. ### What we need ###' j8 U4 b2 P! K
  5. Naturally, we will need a MySQL server to store the data for us, this document 8 A/ s% a5 O  O: t9 [
  6. will not explain how this can be done - there are documents out there for the
    ) M( N$ x* |/ I! l7 D! r7 `5 X7 {- m, ]7 k
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    % i5 _& C" V. B% N- L- M8 ?
  8. and a user account (username + password) that has the permissions to do stuff$ l. p0 l; k. ~) A6 c
  9. with the database. Additionally, you will need a vendor library installed on the
    & x" u. Z# Y! k. p/ c( C. P5 ^0 Q$ [
  10. local machine, this came with my MySQL install.
    2 l9 ]5 {6 S7 o
  11. These instructions will not tell you how you might transfer your data from the  V) q1 _% G0 B1 b7 ^
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    9 P, O, Q, D  |5 g
  13. database./ h, T7 }; Z/ ?, k( ]1 P( t2 S0 S
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ! j3 I& ~/ @7 `0 I
  15. the time of writing, there are still too many issues - check the current status
    9 t/ r" b5 B) G9 F: p# \
  16. in the TeamSpeak forums if you are interested.
    3 _$ G* {8 B' O/ {
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    - y4 D2 ^" x: p
  18. Borland was used. This driver can only interface with the client library that
    $ e+ l0 P# c0 H  ?8 v
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this  e! j2 g; x  @9 G* L, M" Q& j$ D
  20. client library - basically all you have to do is to use a 3.x client library as
    1 W, x$ F5 d# a. j/ U6 l5 I
  21. "VendorLib" and a 4.x database to connect to.
    : L: M" l$ P. c: t3 b  A9 ^
  22. If you need more info about dbExpress, you can contact Borland.& h& ^3 s" [2 W) V' T. V, z" ^! C
  23. ! ]# {; x( v" m8 R
  24. ### Doing the work ###+ n3 H5 g+ }8 ]
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    5 J6 ?- k, {6 m6 A2 X4 O0 y( U
  26. the perquisites right, just open your server.ini file, and add this section at
    ) r( U1 O$ t7 n  H- X. M$ }  g
  27. the end:1 j5 y3 T) k) |! _
  28. ---cut here---
      n3 A& B* h$ ?/ \/ ]! e% a* i
  29. [DBEXPRESS]* j. _3 B( l! n1 C9 k3 f1 {3 n
  30. sqldir=mysql_sql  F- o: G4 J" K; o# u5 A& j
  31. Drivername=mysql! j$ K' b3 z) U' L0 Y; {- k/ }
  32. Database=Your_Database_Name_Here
    4 G7 P1 V" m+ S$ H) n
  33. Hostname=The_PC_the_MySQL-Server_is_on# }  ^% z0 c1 d9 J$ W( `9 I; X
  34. User_name=User_name_on_the_MySQL-Server
    2 U6 j* L# ?8 Z7 y
  35. Password=Password_to_go_with_above_user_name
      w+ I9 O7 n( O0 |" G" X; K, @5 U; ~
  36. GetDriverFunc=getSQLDriverMYSQL/ f! S  |! {5 g! e. r
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib. I* O3 @" c. W/ p
  38. LibraryName=path_to_libsqlmy_libary; I5 q: ~8 n, e! E  u
  39. Active=1
    " W+ v* a, a! W: q, {- \$ W( ^
  40. ---cut here---
    $ k& P5 f& B- ?3 I
  41. In my environment (a linux box with a MySQL server running locally) I have:
    : Q( ^( J4 n/ f# P. {2 @
  42. ---example---  w5 G" O; ]' y! {- f* u8 s
  43. [DBEXPRESS]
    ' r, T8 x2 z8 \
  44. sqldir=mysql_sql2 k8 v0 ]1 W: R+ z6 p( e6 A  G
  45. Drivername=mysql% q1 r4 a( L$ Z/ o  |6 }! W, B
  46. Database=test/ ^7 @) x3 a# H; A, j
  47. Hostname=localhost
    ( X! r' o* i! t: u
  48. User_name=testuser: T9 C" f  z6 v3 e* M
  49. Password=my_password7 U1 X, P5 X" k7 I! a$ r  ]% n
  50. GetDriverFunc=getSQLDriverMYSQL+ w( B8 Q9 q, N' L  J! Q  G
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    - f+ ?4 G: d* G1 X
  52. LibraryName=./libsqlmy.so
    ( ?3 Q6 H$ I5 k) l# k
  53. Active=1
    % j/ g) L6 {+ [# Y" [: W
  54. ---example---+ n! x* U. ^0 }
  55. / }9 \, E5 x- X+ O# Z: P
  56. On a windows box, also running the MySQL server locally, it would be:7 x& |5 {/ w/ e8 B
  57. ---example---+ X- n) ?. N  f& d1 M% h
  58. [DBEXPRESS]
    ; ^3 Y1 `$ G, n& y3 s
  59. sqldir=mysql_sql
    ; n+ R0 ?$ x7 [) V% J
  60. Drivername=mysql0 C2 {4 d8 U) {4 U& ]; ]
  61. Database=test9 h9 w* v# N7 t( z3 ]* R( `
  62. Hostname=127.0.0.1% U, a# {& L( P* b9 q, X
  63. User_name=testuser
    5 p1 _. v( j" A" z
  64. Password=my_password
    # J: M* M- f( k; @
  65. GetDriverFunc=getSQLDriverMYSQL/ F1 U0 a# k5 d9 J
  66. VendorLib=libmysql.dll. _2 p& ^* x) V. r8 R/ f9 p
  67. LibraryName=dbexpmysql.dll
    ! f9 k( A9 y1 j& z( j7 D% e
  68. Active=1) A* `3 i5 T" h1 Y' x. [' `. `( V& x
  69. ---example----1 @% K8 g3 y4 P2 n4 m. R" L; y+ U1 k
  70. - written 02.03.04 by pwk.linuxfan$ g) s7 {8 T6 j1 F
  71. ( P2 C! r0 F4 C5 j+ p
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
% ^: _2 y9 N/ `: B2 W
  1. " [/ }9 t. t7 [4 }5 |  O
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### / ~' P4 @5 O! L( M- {# k
  3. 4 O8 B( |+ Z, n8 Y; v, E7 a
  4. # # #我们所需要# # #
    1 p+ p4 P4 Q) E! I
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ( v5 S3 c% R; u7 |  ~; T0 T
  6. 不会解释如何做到这一点-也有文件存在,为
    * o% L, ^1 S5 d: C& B  H% e/ J+ D9 c$ u
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    1 `6 }+ r. |( u2 m8 j
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西/ H) v2 B$ |& F. h
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    / {* M" c. v5 ^6 C0 L% J! ^: G6 t
  10. 本地机器,这是我的MySQL安装。
    1 D) O9 q4 o9 C* {! x- s/ V
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    " E" r, p$ |6 u( w
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    4 r# J$ a% u( X, b
  13. 数据库。
    " g& ~: M( T( T8 k! T1 A* A
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在) o# g9 a- D4 ^  w& R% J
  15. 编写本报告的时候,仍然有太多的问题-检查现状( A2 V  g/ `1 _0 h) e) @. O0 X3 g
  16. 在teamspeak论坛,如果你有兴趣。 ! s6 o8 r. }+ o+ y- G
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机, |; G+ K6 ^( o' K  P
  18. Borland公司使用。这个司机只能界面与客户端库
    # u7 j' q$ q: a
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ) P# d) e8 ^4 a! ]$ Z2 r3 V
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ! Y  C: E9 V6 i
  21. " vendorlib " ,并解数据库连接。 / g  q# Y9 V$ W2 j/ i+ u
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 + k9 {  ^6 w( g6 t4 Z! x0 \

  23. ' @5 s+ {( q7 }/ n% b" `& ~
  24. # # #做好工作# # #
    - H& K2 S/ ?. a3 L- q
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    4 ?. d& x" _9 r1 H9 v
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    2 ^) Q: `1 g4 @1 y0 R8 o
  27. 结束: & W2 a! O$ F4 D4 |# A
  28. ---削减这里--- 0 i" S' x& B' L" d' }5 y; u, ^
  29. [ dbexpress ] / ]2 J  G8 r* J( P# ]" J# q* Z+ Z
  30. sqldir = mysql_sql
    4 O& V# W5 Q9 Y
  31. drivername = MySQL中7 N- E' X& o% N( C, a5 M
  32. 数据库= your_database_name_here
    6 g' G, x: Q2 D0 u& Q
  33. 主机= the_pc_the_mysql - server_is_on
    1 `+ ]; x3 M- N  n0 c
  34. user_name = user_name_on_the_mysql服务器$ V2 y8 F1 G- I* o* {
  35. 密码= password_to_go_with_above_user_name ' {' P) F" t& J9 T5 P$ E' C6 M
  36. getdriverfunc = getsqldrivermysql
    8 |& T' w! y; ]& y: u& B7 s, F
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ; r3 t7 i: ]( Z9 A- ]6 L( H0 o
  38. libraryname = path_to_libsqlmy_libary & ?0 z( A; C. L( j+ `: Z
  39. 积极= 1
    : z2 y. F( w1 C7 [% p
  40. ---削减这里--- * n! C4 M* b, M' W
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 4 f  s" o6 M! k  g; ?6 H
  42. ---例如---
    9 L, ^9 w1 q( b9 T
  43. [ dbexpress ]
    7 f0 f. h1 H8 Q+ y+ P0 b* O0 f+ V
  44. sqldir = mysql_sql 7 ~, Y8 w/ a( s" g$ {& ]& C
  45. drivername = MySQL中
    4 N  o( c8 y9 F
  46. 数据库=测试- C1 K9 c. y9 L' V* r+ T
  47. 主机=本地主机
    + Z% Q# l6 ~  u% c& m
  48. user_name = testuser ( r) w2 _# ^& @9 [
  49. 密码= my_password
    1 m: J4 M1 Q! U# Q; b0 T
  50. getdriverfunc = getsqldrivermysql
    4 }* g& V) q" i* L( K# a
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 - a0 h' T0 D' S* J
  52. libraryname =. / libsqlmy.so . I5 i4 I  N2 ~3 l1 }
  53. 积极= 1 2 |) e+ J3 D0 }3 }4 g
  54. ---例如---
    " `; p5 B2 w; K: u1 ?, O& M0 b

  55. + p0 O, P* I" b) y  a. T
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    0 W+ S& V2 s$ c! B$ o( r
  57. ---例如---
    ; m# H3 X! r. h
  58. [ dbexpress ] # c# o- T2 p5 D( J
  59. sqldir = mysql_sql 4 g$ c) q( k6 p" o8 `+ n
  60. drivername = MySQL中' t* E  L3 H8 V4 b3 f
  61. 数据库=测试
    % B! U6 t! P- c, R
  62. 主机= 127.0.0.1
    ( J' S; S- P) o; O
  63. user_name = testuser 7 `3 C* f) ?) O7 a
  64. 密码= my_password . j, x  F7 Z- e, H  X
  65. getdriverfunc = getsqldrivermysql
    2 N, m6 B3 H) p
  66. vendorlib = libmysql.dll在
    $ D0 `0 W  o9 g2 D- ~
  67. libraryname = dbexpmysql.dll
    3 m/ u  S  ?3 a
  68. 积极= 1 4 [7 l" p9 ^6 I+ D* b  [3 K
  69. ---例如----
      u3 `* c1 Q' Q0 \0 b6 d
  70. -写在0 2.03.04由p wk.linuxfan" v' z6 M- y, R( x7 E
复制代码
发表于 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 words7 ]) F$ j8 s! q2 A8 F$ ?5 t

  J! ^# O' B4 ^! e% Wbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-23 23:04 , Processed in 0.102652 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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