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

2774 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
; k$ N# ^  I! f+ z' g9 _
9 |; X. l& f& y7 r
  1. 1 t9 r5 l& t9 h2 {- ]# ]
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######+ S  G' @7 `5 t5 E- R

  3. * x8 s( r9 }+ B1 v  h: u" _1 h. h
  4. ### What we need ###
    # r; Q( z1 R4 x5 q
  5. Naturally, we will need a MySQL server to store the data for us, this document 2 y" b, [- n  _
  6. will not explain how this can be done - there are documents out there for the
    8 I, A  K# E! Q! ]4 Z& R
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    : L+ ?$ F/ z& s" }; ]& P8 y
  8. and a user account (username + password) that has the permissions to do stuff& r) r# ^! P/ F, Y! ?: ?9 n
  9. with the database. Additionally, you will need a vendor library installed on the( r" Y; |% L  U) |9 q- L
  10. local machine, this came with my MySQL install.
    3 C0 \2 O; A7 i2 D& w% o
  11. These instructions will not tell you how you might transfer your data from the
    7 r6 Z5 b7 c, o, V: Y4 `/ |
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    6 B4 b! L# |9 r6 O
  13. database.& v7 c* }- m9 T, v" w; m
  14. Some users have reported ways to import a SQLite database into MySQL, but at. w9 q# m4 E: C: O' z
  15. the time of writing, there are still too many issues - check the current status) z# z6 O2 T! p5 w
  16. in the TeamSpeak forums if you are interested.! r0 B2 A4 _: J( L. M, T* V
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    / h- V- F; T$ |' U9 f
  18. Borland was used. This driver can only interface with the client library that 0 [7 {9 k9 b! h7 ?7 S& O
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    : w5 z3 Z6 V3 r
  20. client library - basically all you have to do is to use a 3.x client library as 0 p2 d5 ?5 z; \, `
  21. "VendorLib" and a 4.x database to connect to.
    - O5 N: }, m1 G, I5 C
  22. If you need more info about dbExpress, you can contact Borland.) ^1 M$ g! Z5 h. {2 H% U4 R" e7 W
  23. 0 X6 S* K+ u6 v4 X  @
  24. ### Doing the work ###8 e; H* |: ]# o
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all( r7 s$ B) g; u7 G9 q; W" @( [
  26. the perquisites right, just open your server.ini file, and add this section at
    $ {4 x; y8 _& @7 ~  x
  27. the end:
    5 L, P2 \% {, K8 y6 @( a
  28. ---cut here---
    - C) b$ K$ ]  Y+ s
  29. [DBEXPRESS]- F: |  b9 {# E2 u) \) [' B% J$ }
  30. sqldir=mysql_sql1 H" C9 H0 M3 y/ W3 F' k& R
  31. Drivername=mysql" K( m9 l6 F( J0 m  u$ l& l6 j, }
  32. Database=Your_Database_Name_Here0 y' I& M! r! k
  33. Hostname=The_PC_the_MySQL-Server_is_on
    # r1 A, P5 Z% ^
  34. User_name=User_name_on_the_MySQL-Server
    5 G2 v, ]0 j) D7 f( {
  35. Password=Password_to_go_with_above_user_name
    . t! w( Y0 Q8 j
  36. GetDriverFunc=getSQLDriverMYSQL
    . x! e- `/ v& [' K: x" G8 u7 J. e
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib' ]: @6 |8 Q  M3 W
  38. LibraryName=path_to_libsqlmy_libary, v9 V% [- j5 x9 Z0 E# v6 e' t# W
  39. Active=1( l" B; D  T9 ~, r8 Y
  40. ---cut here---
    + C; g9 a- s( a7 ]# @$ ~, p  v) X* A' ~
  41. In my environment (a linux box with a MySQL server running locally) I have:3 s: N0 h1 b6 u/ L
  42. ---example---
    ; ~2 b; u* n+ H; h6 B, x. `, w( c
  43. [DBEXPRESS]0 d- M: }+ `$ @5 k' M+ G
  44. sqldir=mysql_sql% j( Q) ]' [' A+ a/ N! c
  45. Drivername=mysql
    ! u  C$ l' w0 h- o5 m0 t
  46. Database=test; ]5 `  S5 a8 c9 ~: j$ c! N) }
  47. Hostname=localhost
    ( q2 w* \* Q/ i& }) L+ s; q
  48. User_name=testuser0 j4 {+ H; Y0 A& [" [' J# m* `4 L; ^
  49. Password=my_password3 k& S1 u0 i( B- [, {
  50. GetDriverFunc=getSQLDriverMYSQL# x& a" c5 G% G; _8 @
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0' c# m* j3 c  q3 J, {6 l
  52. LibraryName=./libsqlmy.so
    4 D* r; U! Y( R0 ?$ y
  53. Active=1
    ) q* N0 `& X) O6 C
  54. ---example---
    / S7 {8 u! A* e2 m: s  v1 ^

  55. * f! e3 E0 Y# }; G
  56. On a windows box, also running the MySQL server locally, it would be:
    # X) ^* u& z. P. _
  57. ---example---
    ( E! K3 z/ N- d0 u2 T! M) a: \
  58. [DBEXPRESS]4 Y7 u1 n: F- V: e) s6 u7 u
  59. sqldir=mysql_sql
    7 g+ C) `  Y, G* g5 j/ s! f0 l3 F
  60. Drivername=mysql: p( W/ h# Z* ]$ a1 u% x
  61. Database=test
    2 x% @2 W( L' m& M5 y
  62. Hostname=127.0.0.1
    + z; K  Z8 ?" A
  63. User_name=testuser2 z( h$ Q" w6 `8 |
  64. Password=my_password
    6 Z' q' V6 @" `6 m3 h$ b" T9 k
  65. GetDriverFunc=getSQLDriverMYSQL
    3 t$ ~% d. c) U- K; N1 X/ `
  66. VendorLib=libmysql.dll
      g; n: J# N, q. _5 g- r0 D5 S( r
  67. LibraryName=dbexpmysql.dll0 U' T9 K: d0 U- S$ I
  68. Active=19 g9 J" x& o0 P: H/ N# h
  69. ---example----3 y0 N0 p6 h0 y% s! @& b
  70. - written 02.03.04 by pwk.linuxfan
    # ?5 T( n- i: R5 q
  71. * n0 u: k$ I6 }" g, L
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看! T2 i- A/ m2 ^
  1. ' d  |' g* s/ s" c; {
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    4 y: J9 ~" S! c! A, J- f

  3. * w* t; R. I% G
  4. # # #我们所需要# # #
    : Z2 `* N! d; t3 _) x& e: n
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件3 ]% W+ g+ _& y* q6 i  N$ l$ Q
  6. 不会解释如何做到这一点-也有文件存在,为
    . `+ `' d8 M/ F8 r* |! h
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用+ z- G  C2 j7 X& ]# _! w) g, a
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ( h% P0 I3 O! Z$ M7 h+ @2 P) L
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    3 a, N3 i7 p3 p; Z4 j* D
  10. 本地机器,这是我的MySQL安装。 0 n+ G8 R# o! l# M2 {
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    . u  \, I& j0 g
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    / z2 W$ Y5 p* _$ I
  13. 数据库。
    0 q  o; H) y' }) s7 m% R6 }
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    / H. C' f, g5 M7 T. H. U
  15. 编写本报告的时候,仍然有太多的问题-检查现状9 k) E1 W" A7 N. X3 Z
  16. 在teamspeak论坛,如果你有兴趣。
    $ U) w, q- R9 S. P0 D8 k
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    1 Q1 ~) X  W( x4 u- E! o
  18. Borland公司使用。这个司机只能界面与客户端库0 _. D8 w  c) s4 R/ `+ h. \" u
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    9 P; Y* f6 v! l/ ?- G
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    * a6 ^3 J3 M: R" H4 G+ z
  21. " vendorlib " ,并解数据库连接。 * Q& m1 N3 P8 B; w+ J
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    - h# z+ y# S7 h! I2 b1 \
  23. ' ?/ I: b( C6 D
  24. # # #做好工作# # # ; m- U' _# f2 O
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    $ a1 k0 z# k" M) {2 Y
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在* @! X: V. \! Y& g1 v' o! ~# F9 ~2 `
  27. 结束: ) u( X# K# {1 \
  28. ---削减这里---
    & `& M) _- |2 T$ ]. C
  29. [ dbexpress ] ) `( m6 h  d3 Q+ B/ _' k" W4 {
  30. sqldir = mysql_sql
    . s% b8 p4 o) n/ `4 ?$ }: `: H
  31. drivername = MySQL中
    " m' @$ w4 Y, a0 p
  32. 数据库= your_database_name_here
    ' T9 P' h- j' I& T) x# D
  33. 主机= the_pc_the_mysql - server_is_on
    * g. R$ ?! y+ R/ G% a
  34. user_name = user_name_on_the_mysql服务器  ]$ o& a* F/ s! D, y0 L4 b
  35. 密码= password_to_go_with_above_user_name $ c+ _  _) `6 @2 h/ t0 P  _" @
  36. getdriverfunc = getsqldrivermysql
    8 \8 d7 y$ d/ [* m' \
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    + e% I0 @/ r; N! ]- X& w: k
  38. libraryname = path_to_libsqlmy_libary # L3 R% u0 U' _9 o% l1 o, @$ n( j
  39. 积极= 1 0 _* c& n% b  ^# ^
  40. ---削减这里--- ; f/ C, @. ]* y+ g0 z( `) n1 f
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: + w8 _0 \8 e( t- i. N
  42. ---例如---
    . K2 M" D! C. W! C) b& n
  43. [ dbexpress ]
    5 ?3 u: w& h; v: P( i6 q7 |4 D
  44. sqldir = mysql_sql
    + g) Z6 s* K# r' ]  P2 q- t% r! F0 K
  45. drivername = MySQL中' D$ @8 f( x/ X! [  d7 Y8 ]; I& y
  46. 数据库=测试
    + k# j, O1 @# ^0 X4 ^% \
  47. 主机=本地主机" w- L1 o# B, t. q
  48. user_name = testuser
    ) U" z3 [! K  u4 ]; ~* U5 _* l  Z8 Y
  49. 密码= my_password
    ) a1 r6 n* p1 O+ F" u6 E
  50. getdriverfunc = getsqldrivermysql
    6 P" k6 P/ b' u$ H) Y1 N
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 . F# |: Z$ S' g' `
  52. libraryname =. / libsqlmy.so
    8 X% l/ X0 z( u5 }% n4 P, C
  53. 积极= 1 - z7 c+ z# r. [/ S8 c
  54. ---例如--- % \4 t: Z  |( t* F$ V# C% `
  55. # V7 r& W+ r! R) O
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ! y5 ]. C5 i& h
  57. ---例如--- 1 K6 a" i# P, g
  58. [ dbexpress ] * @: s6 P7 U7 Q
  59. sqldir = mysql_sql
    . z0 h$ q- I, h* V* U& f
  60. drivername = MySQL中7 `2 k9 J6 @# g4 ~% s7 D
  61. 数据库=测试4 e8 O- c  ^) Z4 c, }, j  U
  62. 主机= 127.0.0.1
    ( c+ A" X3 c9 ]1 Y1 p
  63. user_name = testuser $ Q2 X* E. G# U3 D" N  ]  Y/ a! q
  64. 密码= my_password 1 L  o$ q2 s% {6 [# d. _$ B
  65. getdriverfunc = getsqldrivermysql
    ; v7 F$ P3 |/ u  k2 k& I
  66. vendorlib = libmysql.dll在
    ! ]  X" y* D1 o- L0 p/ r8 y" u
  67. libraryname = dbexpmysql.dll
    5 w' P; U* M0 ~/ N
  68. 积极= 1 , ^$ ~: m1 F) ~4 M
  69. ---例如----
    ( x( F4 e2 h' @$ C# O1 I
  70. -写在0 2.03.04由p wk.linuxfan$ Y7 r0 L$ e) v# K2 S8 b
复制代码
发表于 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
, I, B6 g# E: v! ~/ d" n6 X$ X
% w' o3 @: A) i7 ^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-17 14:59 , Processed in 0.110204 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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