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

2591 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
* [# m$ o* k. p. p) u& l, D4 G! K; a5 V2 s9 m

  1. ; }% ^4 v4 N7 q$ L( Y! R3 [* Z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ' j7 c) S/ d$ [& p& s8 c
  3. 8 v& e3 |8 x' Q5 P
  4. ### What we need ###! M  y. n+ X' P2 E* Y
  5. Naturally, we will need a MySQL server to store the data for us, this document
    - m: D: N0 v9 p: }  K
  6. will not explain how this can be done - there are documents out there for the ; E% }4 ?1 i& P0 G/ n( s
  7. interested. The requirements include a (empty) database for TeamSpeak to use9 Z* [2 J2 H( A+ Y
  8. and a user account (username + password) that has the permissions to do stuff  B+ r6 H; t0 ^4 t4 D* f
  9. with the database. Additionally, you will need a vendor library installed on the+ a; b$ _6 v" z& \
  10. local machine, this came with my MySQL install.
    1 r1 @3 [( p. j8 h
  11. These instructions will not tell you how you might transfer your data from the
    9 c* I4 |4 a% c6 N3 L; @8 ?. k
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL' M4 o; D! H" K3 Y6 @) R: C& b5 d
  13. database.
    # Q$ T' @/ p2 }8 Y8 W
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ) _2 [! M- ?+ R/ l) F( C
  15. the time of writing, there are still too many issues - check the current status# W/ f* T3 F+ `/ Z; F* U6 G" ~
  16. in the TeamSpeak forums if you are interested.4 r& }# e# k2 }/ R2 N+ i  _) Y
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from& Z( U0 q: h4 _) J
  18. Borland was used. This driver can only interface with the client library that
    ; n  Y! S$ u& Z0 c% d( W5 V
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    $ [! @% J5 j7 j8 t; ]
  20. client library - basically all you have to do is to use a 3.x client library as 9 r0 `8 w7 u8 M, o: t
  21. "VendorLib" and a 4.x database to connect to.4 m" l* N3 D( H- V  ]5 s
  22. If you need more info about dbExpress, you can contact Borland.
    7 Z# ^: a, e6 Z' l. w- m

  23. & D. T0 a$ B* ^/ ~
  24. ### Doing the work ###
    2 M+ o  w; m; X+ _; W, S
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all( Y: R6 M) g2 x5 T4 H" h
  26. the perquisites right, just open your server.ini file, and add this section at
    9 y, c4 c  `' A- u* L) K
  27. the end:- q8 m7 ~0 Y" c. \" V
  28. ---cut here---
    ; E0 ?1 p$ x' t! m
  29. [DBEXPRESS]" Z% P$ e! g# p
  30. sqldir=mysql_sql5 d7 r0 Z8 _# u- K# g0 ]
  31. Drivername=mysql, H9 t2 T7 k5 |
  32. Database=Your_Database_Name_Here. K4 m. v6 P: |; C( [
  33. Hostname=The_PC_the_MySQL-Server_is_on
    6 @: Q2 U3 n! I3 S. K; e4 N
  34. User_name=User_name_on_the_MySQL-Server' U' I9 o2 U9 s& a# n& _- y
  35. Password=Password_to_go_with_above_user_name
    2 V# N9 h! z6 B0 k
  36. GetDriverFunc=getSQLDriverMYSQL
    8 b7 w6 P% y; M  s+ g9 Q, V1 U
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib$ W5 J: B# \* @: P; K4 z9 }
  38. LibraryName=path_to_libsqlmy_libary8 b% }. k% e4 ^7 n2 r2 N
  39. Active=1
    7 \! r7 g: }9 d: f5 V& R2 c2 Q
  40. ---cut here---
    ' Z3 Q6 U! _4 a
  41. In my environment (a linux box with a MySQL server running locally) I have:' T5 H1 s* L* E
  42. ---example---% R' Y  Z3 n# e+ c+ y
  43. [DBEXPRESS]" L4 i1 u2 W! \# e/ o
  44. sqldir=mysql_sql
    , @6 k7 h' G$ l! c; Q" w: o7 B0 m+ w
  45. Drivername=mysql
    ' P+ O2 K' i0 k6 O9 J
  46. Database=test
    ( I9 m; o4 M* |$ B" m
  47. Hostname=localhost
    - X4 E/ O. P8 G7 L+ Y% m
  48. User_name=testuser
    $ a( B/ q1 v) O% O& o% O! @! u) o
  49. Password=my_password: y8 ^" @$ ^* D0 @. m6 P! H
  50. GetDriverFunc=getSQLDriverMYSQL
    9 ~* c% h; A! i
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.01 Q: P' f- V6 W& \
  52. LibraryName=./libsqlmy.so! k, A( V& v4 F9 d& O8 u7 k
  53. Active=1
    8 S+ M3 K3 K: O5 S1 s& l
  54. ---example---$ q4 c. r" Y8 p) T) Q: C
  55. ; `" n, T' c) x+ Q/ u2 |
  56. On a windows box, also running the MySQL server locally, it would be:
    4 e' F- E; E, t
  57. ---example---
    7 b% _0 Y7 B2 P: c
  58. [DBEXPRESS]
    & }/ z- L/ r1 Q- Y; N
  59. sqldir=mysql_sql; ~% V. F1 J8 I% k
  60. Drivername=mysql( ~7 b- t* N4 `: l8 D  k( c6 P
  61. Database=test" X; k( N3 t9 M
  62. Hostname=127.0.0.1
    + |7 N! Q( T0 A* ?9 C0 {
  63. User_name=testuser! ?, ]3 k: l' a& m
  64. Password=my_password
    ) L5 h; x" k( ]! k$ F5 k
  65. GetDriverFunc=getSQLDriverMYSQL+ o# {0 a- x$ x( G
  66. VendorLib=libmysql.dll
    6 a5 A  F9 }( \& n6 Z
  67. LibraryName=dbexpmysql.dll( v9 s+ B  ~; J) {
  68. Active=16 q0 P" x: ^5 C# p9 `
  69. ---example----  I2 e7 p$ K$ e- I. r3 s
  70. - written 02.03.04 by pwk.linuxfan6 i# j7 H* x* ?
  71. : |3 F0 ^/ {! y8 A3 t3 j
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看2 Y6 d6 |' ?& S0 W! \' ?
  1. 4 ~5 `  y. E) N& a# Z+ t
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    9 }  W/ |, a/ ^7 B& g# Z
  3. $ k* A) ^. B, B* m' S
  4. # # #我们所需要# # #
    ( X; @3 ?0 \0 l8 u9 M) _
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    . J# k+ W0 i7 O' Z# i# _
  6. 不会解释如何做到这一点-也有文件存在,为% s& Y2 p" l. b/ O  E2 {- [
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用1 H$ P" [+ l* f/ Z9 A; s
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    6 B) W$ S$ [5 D* B  P, ?
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    & h2 c- S8 J% O' W. y( @  {
  10. 本地机器,这是我的MySQL安装。 : }* {2 E3 @! L( c6 z  l
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从2 h+ }6 i1 X; C  z$ T" ]
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    2 I2 @- p2 A* W* ?
  13. 数据库。 " P3 `5 ]9 I- O( n' N
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ; Q' r; k* j" T! s: ^3 t, ]
  15. 编写本报告的时候,仍然有太多的问题-检查现状1 l1 B, g2 g/ k4 r# |! c& e
  16. 在teamspeak论坛,如果你有兴趣。 3 E/ \& z3 o; s: P+ ~7 u
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机9 h" D& p' Q: t6 r& f6 D9 P
  18. Borland公司使用。这个司机只能界面与客户端库2 T; ?5 y' [1 I  Q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    & J  S( G& h+ A. @  A2 x) C6 [' S
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    9 a8 X! u; e$ K% t
  21. " vendorlib " ,并解数据库连接。
      q  U$ Q5 V+ |( L( h' {+ A
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 7 f4 q; j- g0 @0 T3 F7 {

  23. ( N' S' S5 X) F! p
  24. # # #做好工作# # #
    . m% A1 r+ G; \  G2 b
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都: g- ~& d) D' |( T$ v1 i
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在: }, ~$ o# _; ^$ V/ H) n
  27. 结束:
    ; q. f2 G; d4 q! s* c
  28. ---削减这里---
    9 z' M0 @6 p8 ^4 z& Y. r) E3 v
  29. [ dbexpress ]
    " A4 C& y6 u, t. H$ S2 f; ~2 B
  30. sqldir = mysql_sql
    4 J' }2 d% L+ p# @6 l
  31. drivername = MySQL中+ Y, K8 @7 Y/ H' L$ Q- p& b
  32. 数据库= your_database_name_here
    . f4 x1 |" \+ Q9 [( ?
  33. 主机= the_pc_the_mysql - server_is_on
    0 R; S- ]: X, ?4 A5 c" j
  34. user_name = user_name_on_the_mysql服务器
    $ N, u" |" Y5 D, f$ T
  35. 密码= password_to_go_with_above_user_name " ~* G1 f$ o0 o- w  t
  36. getdriverfunc = getsqldrivermysql
    / R7 q3 R1 b: l* p& c  ?
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 1 i$ I- E% a0 @' z5 Q8 D, O
  38. libraryname = path_to_libsqlmy_libary * E% A( o/ c* V1 g0 |
  39. 积极= 1
    : D1 A  N, I) e' o- G4 H- i/ J
  40. ---削减这里--- & U$ \$ C$ m3 K
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ( s/ `  O; [4 @; [# c
  42. ---例如---
    % X1 h! Z  x! x9 ?0 F
  43. [ dbexpress ]
    5 k& J$ {6 G1 n  B
  44. sqldir = mysql_sql
    8 w3 [2 H, k: [/ i9 L6 g
  45. drivername = MySQL中
    0 L! y7 `( G1 z, Q
  46. 数据库=测试
    4 p5 E0 ]0 O+ Q0 S8 I
  47. 主机=本地主机0 K) U: ]( P. m, R5 ]
  48. user_name = testuser
    : x( A) |- r. o! U
  49. 密码= my_password 3 o% q" Y/ c- M8 n0 ^
  50. getdriverfunc = getsqldrivermysql ; S0 _3 c" Q+ Q! @, v
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 # {. _+ y/ Z; B
  52. libraryname =. / libsqlmy.so
    # O8 n4 W. {' V# y/ t& D
  53. 积极= 1 ; Q  Z. x& X- ^' b) q
  54. ---例如--- ! V; K8 ]0 p7 e6 \

  55. : A  c( z0 V: c8 [* w  N. z6 J
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 1 t! ^% H2 X1 W. R0 C7 y7 s( m5 v
  57. ---例如---
    + E: s3 @; g2 i3 q7 y
  58. [ dbexpress ] 7 N6 X7 Z4 H9 s# e  J" j& f
  59. sqldir = mysql_sql & F2 ]  Z7 X# v9 I- r; `4 ~
  60. drivername = MySQL中
    6 K9 U2 F9 H2 O: ]: ^: J
  61. 数据库=测试
    # ~& `, d4 k: S5 B; `9 `
  62. 主机= 127.0.0.1 2 e' b/ ^* y. D, S9 T' F, ~
  63. user_name = testuser 4 b$ m) H7 I6 q8 o9 @
  64. 密码= my_password / w, j5 T9 x5 |) Q' w
  65. getdriverfunc = getsqldrivermysql + c3 c0 G5 p- p3 m2 [" N2 t
  66. vendorlib = libmysql.dll在0 o6 B! \* d$ s0 D( ?
  67. libraryname = dbexpmysql.dll
    : v/ }$ f& }5 `# }6 I8 v
  68. 积极= 1
    4 N0 t3 L9 h) T) ?
  69. ---例如---- : w1 ?' N' w8 N1 t) L  c& y. ?
  70. -写在0 2.03.04由p wk.linuxfan
    0 n8 }8 W0 s, r8 L' N3 V
复制代码
发表于 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" \# D) L/ L5 q5 F3 [0 s

/ M1 F% x/ v9 ?4 s% f* Fbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-7 23:36 , Processed in 0.104719 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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