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

3543 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan , O; O$ N7 f0 T2 w: i

1 g0 r; R9 v+ Y( X% g" ^3 V
  1. ) q0 }- Y- K2 V! `5 W
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    8 A: y! H1 {6 j! m1 w
  3. 7 w, [/ _4 ^7 ~3 T, A3 _# V
  4. ### What we need ###
    % @' Z6 x# I% B  R+ @  w
  5. Naturally, we will need a MySQL server to store the data for us, this document
    2 h! u/ G* n0 _. A8 A$ G
  6. will not explain how this can be done - there are documents out there for the ( A! A: `# ?4 {( t7 Y; q
  7. interested. The requirements include a (empty) database for TeamSpeak to use5 _3 q) N1 m9 R0 X) k4 P7 j
  8. and a user account (username + password) that has the permissions to do stuff; o/ [; |  O2 Y) V% @
  9. with the database. Additionally, you will need a vendor library installed on the
    : d- X2 T# L( G) D5 N4 K( @+ Z
  10. local machine, this came with my MySQL install.( z- k" ]( L5 s6 D( {
  11. These instructions will not tell you how you might transfer your data from the
    ; I! v8 k0 k; F# }: ^# v, R
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL; x, N) G% I6 I; K" G. }7 p
  13. database.
    5 n" k1 _. l! \, ?4 i! |+ ]% f  u, f0 Z
  14. Some users have reported ways to import a SQLite database into MySQL, but at9 a% M8 q7 r5 e" S
  15. the time of writing, there are still too many issues - check the current status. c* }& [) |6 m/ h
  16. in the TeamSpeak forums if you are interested.
    2 u: ~, j! f9 U8 J. s4 N
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    7 I. _  A) Z4 g* O
  18. Borland was used. This driver can only interface with the client library that # @9 A- ~  `2 ?" [# [
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ' ]& u3 }/ o8 @2 g. h8 J
  20. client library - basically all you have to do is to use a 3.x client library as   }* b( P  d! `* s
  21. "VendorLib" and a 4.x database to connect to.
    ) P/ ~) R* c. x* S- J2 D: t
  22. If you need more info about dbExpress, you can contact Borland.
    ( w8 q, U0 {8 `- V5 S

  23. 8 O: Y9 Y  u8 N4 H/ z* F, Y
  24. ### Doing the work ###
    7 J: a: G+ ]8 L6 g3 G6 e8 M3 ]7 Q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all; b0 B: z; Y6 W) [' M$ G
  26. the perquisites right, just open your server.ini file, and add this section at
    % D2 \" I. A! t
  27. the end:
    * j6 G/ I- \" p$ ]2 {
  28. ---cut here---
    6 E$ ]( g2 k2 L4 C# Q
  29. [DBEXPRESS]  C3 {0 \1 F' E$ d/ _. M
  30. sqldir=mysql_sql
    ) t, s& c" E: V7 u
  31. Drivername=mysql
    5 a1 x! e' Q( O+ w, J; [( ]7 |
  32. Database=Your_Database_Name_Here
    . i. Q& d4 @$ Y% o
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ; ^7 C! {3 r  D9 k1 S* y* ^
  34. User_name=User_name_on_the_MySQL-Server
    $ D7 N3 r0 P2 ?! b
  35. Password=Password_to_go_with_above_user_name; U; c/ h2 f9 X. j0 N4 ^
  36. GetDriverFunc=getSQLDriverMYSQL
    1 M# T# O& t0 u( k4 {8 z% x5 d
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib/ G) _- _7 [1 M) }" v/ C
  38. LibraryName=path_to_libsqlmy_libary
    4 ]' l9 Q" W! Q0 j3 A
  39. Active=1* [0 D8 g5 X  b* u  B/ s/ ], }! v
  40. ---cut here---
    2 k" m' v" h' f: z0 J! \# j! b
  41. In my environment (a linux box with a MySQL server running locally) I have:% B' _1 j0 J+ n! J, F
  42. ---example---
    4 P: c1 H3 Q5 S) H! `
  43. [DBEXPRESS]
    3 \" r$ ]/ [& }2 T# J/ b
  44. sqldir=mysql_sql
    4 ?. m7 ]8 {& _3 {" e% H3 s. M9 O
  45. Drivername=mysql+ Y) H; C7 n; h
  46. Database=test$ }5 t8 h7 Y- X! m1 c6 A: l
  47. Hostname=localhost
    ) k3 T% c! H$ d( ~
  48. User_name=testuser
    : R9 h% i4 |; ]2 U8 |  A
  49. Password=my_password
    # H9 V; Z, R6 ]- F* y
  50. GetDriverFunc=getSQLDriverMYSQL# L  O  u: _* j: ?( A  y
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0; [" `  a1 v+ l" u( _
  52. LibraryName=./libsqlmy.so
    ( U6 G6 b' J# k, M( w0 N
  53. Active=16 i1 L/ p* [+ G! Y3 q; A* E6 [4 V
  54. ---example---
    / p6 G0 d6 O2 u: R0 @
  55.   y, Q4 q0 q; z& @: [
  56. On a windows box, also running the MySQL server locally, it would be:1 |) o' m8 m/ l# C* M& e
  57. ---example---
    : P5 v) S9 t0 w4 H3 ~
  58. [DBEXPRESS]! [! _# E& o; ?
  59. sqldir=mysql_sql
    2 {, G. Z- U/ G/ z; T! U! n
  60. Drivername=mysql
    # e% i" O& R# q0 ?5 _, o
  61. Database=test; S* }; @" o5 N- K
  62. Hostname=127.0.0.1
    / e5 @9 @( k. |
  63. User_name=testuser
    . v9 Z, V1 i5 W9 z
  64. Password=my_password
    ' t' b; T4 a9 R5 X' K  a' {. l
  65. GetDriverFunc=getSQLDriverMYSQL
    - w& U0 {4 Z4 {, l
  66. VendorLib=libmysql.dll, }$ p' o. H" V0 E: r
  67. LibraryName=dbexpmysql.dll( n7 ?. Z+ X9 v5 R
  68. Active=1
    ; U7 R" H* R3 p) ?, k# m& F
  69. ---example----
    7 \( c; W7 g2 Q
  70. - written 02.03.04 by pwk.linuxfan1 U3 X9 u5 `/ H6 a/ D) H# r& \' y

  71. 9 M4 c( q9 H9 U+ R! u2 `/ l! V
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
( s4 W9 C9 ]5 m, K3 Y% }  Z* `

  1. ; Y' Z/ r5 @, q5 k. S
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    , \( W& s% L) V( A! N
  3. ! K( M. e" b/ C5 s% w) n- ^9 g
  4. # # #我们所需要# # # 0 b6 r: C! X. V& X8 o, P) u
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ( o8 _+ ~+ `7 _  E! t/ f3 _7 A& d
  6. 不会解释如何做到这一点-也有文件存在,为! s/ }7 p4 y) t9 n4 I+ U
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    & _' m; g. K  q" c" w
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西1 s0 J+ m, J+ g% {
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    & a/ j% J( `$ B
  10. 本地机器,这是我的MySQL安装。 , q" _& z: y+ I; h; `
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    + Y# b8 M" _3 g& G1 Y, A( L7 I/ w6 S
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    / o  M) y5 Q: A2 z
  13. 数据库。
    3 r5 n' t  v6 Q0 n* S
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    7 Q. t7 ], `0 L1 w4 B
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ! S$ `! ]9 z' h, z% T4 t6 u
  16. 在teamspeak论坛,如果你有兴趣。
    3 X  c* T; O! L6 d
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机6 ?; h0 F! j( Y6 J8 @2 b* u
  18. Borland公司使用。这个司机只能界面与客户端库5 h3 E3 n& j8 f! D
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这% ^& R2 j. I% j: A
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    6 {% p$ A' ~/ o/ q* D& @8 j8 G
  21. " vendorlib " ,并解数据库连接。 & c/ X$ n/ g* P2 l+ ]
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    2 F" S, n4 k7 h6 R# H
  23. 4 j" Z% e5 i6 @* e) d, j- ]
  24. # # #做好工作# # #   p, t' @1 }$ C, A9 A. D
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都3 s/ J! c( s7 b. I" P' L
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ' W( O% i: [4 f1 o6 y! f
  27. 结束: 9 y, G- I9 E( t" s' S5 Y3 |  }) E# N
  28. ---削减这里--- 9 x1 \  ^4 r, W7 Q% m
  29. [ dbexpress ]
    : d2 a; V5 k" k/ [
  30. sqldir = mysql_sql
    + E& x  c0 q2 W9 t5 a& C2 u1 A) e' |
  31. drivername = MySQL中
    / v3 U* E( b# Q1 a
  32. 数据库= your_database_name_here ! v, R: D  i3 b8 A
  33. 主机= the_pc_the_mysql - server_is_on / u6 m6 X, K) C/ v3 B) J* Q
  34. user_name = user_name_on_the_mysql服务器% }9 d) i: A# P. W9 j( i" s4 t
  35. 密码= password_to_go_with_above_user_name
      [4 U, W! y. K. Q
  36. getdriverfunc = getsqldrivermysql $ }7 [2 N; h9 ]0 H1 W; }( M
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    8 K8 r4 G$ ^& f, k3 Z
  38. libraryname = path_to_libsqlmy_libary ) o  c  r& _" J' ]5 W
  39. 积极= 1 7 _% \! k1 ]4 w1 p+ B
  40. ---削减这里--- 0 P) w& l9 ]: \7 r
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 0 u, _3 [+ s) e( Y# ~+ A7 Z
  42. ---例如---
    3 M8 M7 d& U# u* D5 j( u* Q( A) _
  43. [ dbexpress ]
    + [  Y  `" M/ y/ f6 j. n
  44. sqldir = mysql_sql , R% X9 ^3 B7 y6 [* V
  45. drivername = MySQL中+ ]' g: q6 `  i9 t
  46. 数据库=测试& R2 c: ]( j  W! O5 y9 v1 k& N
  47. 主机=本地主机
    # Y5 r' F& u) f/ R" e; j
  48. user_name = testuser
    6 R- a* H/ i2 k& ?
  49. 密码= my_password - X1 o3 o$ t  i4 ?# f3 W. L6 U$ h
  50. getdriverfunc = getsqldrivermysql
    ( n! k/ Q& H9 e* l
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    : K. E& s! ~0 C7 t, E# d4 x
  52. libraryname =. / libsqlmy.so
    4 @3 l) S/ p6 d8 v
  53. 积极= 1
    & r6 y9 t0 P# R0 m( n. L9 v9 [
  54. ---例如--- : j, L! Y' W" ^1 C, i- ]' t

  55. 9 Q9 Z& l% t8 r* c
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    * w% s8 H) H7 T$ o) d$ \% I
  57. ---例如---
    6 Y/ N( V) \; N  k( B, t4 P6 ^
  58. [ dbexpress ] 9 o2 ?6 @& f0 P, X& l
  59. sqldir = mysql_sql
    2 Q/ O, O6 O3 ?) e& r5 j
  60. drivername = MySQL中
    - P$ N% z5 z; H* G+ r
  61. 数据库=测试8 E. ]( h4 d+ }/ }! ?8 K
  62. 主机= 127.0.0.1
    4 r. N4 n6 x7 I8 I) `$ r
  63. user_name = testuser
    1 }6 l8 ~* D4 l( b) N/ h& i9 I
  64. 密码= my_password
    ; k: J" O0 F: a# `" q: f8 O* D* \
  65. getdriverfunc = getsqldrivermysql : @0 y0 ]! A; L. r5 C4 L
  66. vendorlib = libmysql.dll在$ W, W' c4 [- |: J. M
  67. libraryname = dbexpmysql.dll " O+ C% ?1 A- z4 W& P3 a2 [4 s
  68. 积极= 1   `% K/ |8 N8 W9 A; Q
  69. ---例如---- 6 i8 Y5 \' d. b6 ]. j4 Q
  70. -写在0 2.03.04由p wk.linuxfan
    0 b1 h% n3 @( K8 ]' H" N1 f& 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 words
3 P& V7 L2 m+ {6 z+ d9 @
- r+ B5 c0 ^( R/ k0 c1 Ubut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-20 12:42 , Processed in 0.059287 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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