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

2818 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
( t6 G2 ]6 P' t. g& s" p& Z( Z" \( A) b5 _
  1. ( f( [1 t# R6 U8 ]% |! f
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
      _0 \! v0 ^7 K2 z3 n% w9 h9 `& u) d

  3. ! f$ T7 w) @, r2 u
  4. ### What we need ###2 U8 w! X+ `# F& V
  5. Naturally, we will need a MySQL server to store the data for us, this document 6 y" @3 a0 {2 {2 W
  6. will not explain how this can be done - there are documents out there for the 0 b. N# v- k* D$ }2 R
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    3 a( F/ J: F" q* S
  8. and a user account (username + password) that has the permissions to do stuff
    ; s) h. U1 u: E$ W, w. v
  9. with the database. Additionally, you will need a vendor library installed on the
    0 ]7 U) i/ |* }/ ]  I
  10. local machine, this came with my MySQL install.
      ?! e4 q9 o- w( n. j' S
  11. These instructions will not tell you how you might transfer your data from the3 E2 f4 P4 w' B8 [2 f
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    + U2 A# ]" T" I; |, f
  13. database.
    4 t0 P+ A6 @, b- @& W( m
  14. Some users have reported ways to import a SQLite database into MySQL, but at1 J) E. k+ w" \/ P. R8 i; O
  15. the time of writing, there are still too many issues - check the current status  P" T, Y2 i9 D1 C
  16. in the TeamSpeak forums if you are interested.% b3 n# P- o8 F* ~$ h9 k' f+ \
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from' H$ K2 X6 o/ E5 ^1 L& z$ X
  18. Borland was used. This driver can only interface with the client library that 2 K7 b2 |+ X" w# b! F
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this" M1 x" U, E) U' u; l' c
  20. client library - basically all you have to do is to use a 3.x client library as 0 `6 s+ v$ v1 r% J: G
  21. "VendorLib" and a 4.x database to connect to.1 `3 h  I0 I# }
  22. If you need more info about dbExpress, you can contact Borland.) s* E: C" ^" N
  23. 1 h* b8 Z) Z/ V% K% L. E& z3 @8 b
  24. ### Doing the work ###
    ; a6 g- j: K% z, y8 f0 K
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all! V, }1 B) [8 i* R0 J6 ^; m5 _# K
  26. the perquisites right, just open your server.ini file, and add this section at- ^* b# w2 d' Y  @# e! S. q  Z  q: d
  27. the end:  N; j. c1 x- m6 M: x2 f
  28. ---cut here---
    # w3 J6 X  L' ]; y, a
  29. [DBEXPRESS]
    % S" t3 H. D, v% W9 e8 y0 D8 g
  30. sqldir=mysql_sql$ \( G# q1 C$ r
  31. Drivername=mysql
    6 C( J, o( t) }/ J, @8 F
  32. Database=Your_Database_Name_Here& i" V$ x$ m2 d7 _( M' J
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ; Y2 c% `/ C+ U4 y& D+ ~% k# o
  34. User_name=User_name_on_the_MySQL-Server1 ?% B$ D! f0 s4 b: Z2 X
  35. Password=Password_to_go_with_above_user_name7 i: L  I, ]( _' q. P. ^4 l
  36. GetDriverFunc=getSQLDriverMYSQL; ?. T+ T; S; d$ k% F
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib, v- M1 V. G/ H2 W1 ?9 \
  38. LibraryName=path_to_libsqlmy_libary+ k+ f6 ^: Z' {# ~
  39. Active=14 Q0 `4 ?; R8 A
  40. ---cut here---: K$ ]3 f" b3 G: h2 Z
  41. In my environment (a linux box with a MySQL server running locally) I have:; ?' Q% `7 a  c  @& ?3 _7 Z
  42. ---example---( X4 g6 J" C# b+ Z' }9 ]# c& v
  43. [DBEXPRESS]1 Q' D1 T+ T! t! t. b
  44. sqldir=mysql_sql+ @! j8 t# J4 x/ {% z8 j( {
  45. Drivername=mysql
    ' A( y: _: M* W  K1 p: q
  46. Database=test
    ( H8 y# M" K. z2 V! E0 x
  47. Hostname=localhost
    % L) W' ]$ R0 N! L$ u# t( d4 |/ k( j
  48. User_name=testuser9 _* b8 ^- ]) o+ P5 C9 K9 h. {
  49. Password=my_password
    1 M4 k! Y1 v  H2 _! j1 a
  50. GetDriverFunc=getSQLDriverMYSQL
    2 c6 }. \7 q/ m9 H
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    * t7 i2 q, U/ {# |0 q4 I0 W
  52. LibraryName=./libsqlmy.so( B; l2 q6 L  J- A/ t: e
  53. Active=1
    7 D5 E' _' C, Q+ q1 H  \
  54. ---example---
    ' O" W& H( T. f- G+ X7 Q7 Q
  55. . ]2 U9 l$ W) P+ c9 N+ V0 p" q
  56. On a windows box, also running the MySQL server locally, it would be:
    7 R" y3 ~7 S2 Y# B
  57. ---example---8 N& S% ]( H' k
  58. [DBEXPRESS]
    # V; H: }( F( b' G( \/ w7 K
  59. sqldir=mysql_sql
    . z( Y8 W! e; T
  60. Drivername=mysql
    . h7 f) A* |$ ]9 u
  61. Database=test: F  C) W: k  f5 \& {& h
  62. Hostname=127.0.0.1
    $ i* `& U) H! T3 i
  63. User_name=testuser6 e, t: K% U8 \2 D: {0 v
  64. Password=my_password( f! r: k* U) u
  65. GetDriverFunc=getSQLDriverMYSQL2 W2 {! {( G! D2 J2 L+ Q
  66. VendorLib=libmysql.dll) b% A7 G5 D- U
  67. LibraryName=dbexpmysql.dll# j( |" Q' F/ _- \0 m
  68. Active=1
    # \1 N! m/ w/ K1 R  V7 X0 U
  69. ---example----# L' w" n: T3 H% v
  70. - written 02.03.04 by pwk.linuxfan5 K! A- o6 H7 P& C: C
  71. # ]9 R# u$ u& K
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
: x' f. s2 ^, v

  1. 7 \2 i( D2 H7 Q" d' t* @
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    . q1 k7 @: e# {

  3. ( P% `9 d, N$ y
  4. # # #我们所需要# # #
    7 T% I5 V8 [* F0 M7 R$ w
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    : U& ^, Y( m4 _8 l
  6. 不会解释如何做到这一点-也有文件存在,为
    * b/ \4 F+ m5 s2 T% B* _
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    3 M  S" C, X  k  G
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西9 M7 _, x* x1 T6 U& |% |
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    # w, E$ N: z$ m% L* }  ]/ ^2 ]
  10. 本地机器,这是我的MySQL安装。 ' M6 G( a& s9 ^6 p' O5 a# @- k, U
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从) v; N0 W5 A* J! Y% c/ R' \4 s
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL & a& |; r' ?* p& p) |% U8 D
  13. 数据库。
    " j/ R) ?  Q" b% H3 U  I
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在# R- X: g2 L( `' b# X1 \- ?
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ( q+ y$ P( f. R
  16. 在teamspeak论坛,如果你有兴趣。
    $ U/ y  f1 K4 ]
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ( D: I* h3 L3 D* ]
  18. Borland公司使用。这个司机只能界面与客户端库
    # `1 t: z3 n: l
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    , x$ v$ C. z$ i4 M: y2 Q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为; G2 v# p. n# e+ n. b
  21. " vendorlib " ,并解数据库连接。
      ]2 a, R* q* X
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 + I( E2 g( ?; S1 R7 ?$ d' I
  23. 3 i4 `) @" R( T" i% S& g& K% E
  24. # # #做好工作# # # ; T8 n( c2 b3 J7 W! `
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都2 f4 O( v& N  b& O7 B0 i* l& I- v% J+ o
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ; X- G2 r# T5 l( t1 p
  27. 结束:
    # R2 v" R. H  z. J8 a( k
  28. ---削减这里---
    4 h+ b: i: ?3 p9 W
  29. [ dbexpress ] , ^% Z, q& B, @4 A( X
  30. sqldir = mysql_sql   F6 H, f# X8 s& |
  31. drivername = MySQL中. Q" c8 ]( [/ e
  32. 数据库= your_database_name_here 7 s" h& k$ I3 w. p# |
  33. 主机= the_pc_the_mysql - server_is_on 2 u, x+ ?1 }/ _- }; V& Z
  34. user_name = user_name_on_the_mysql服务器6 d0 J( Z6 ^! d8 {
  35. 密码= password_to_go_with_above_user_name % z  g1 x2 m+ W# N/ S7 n3 [
  36. getdriverfunc = getsqldrivermysql
    * E, n0 u5 l! }+ {
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib   v+ W) o9 a0 x. Y/ c
  38. libraryname = path_to_libsqlmy_libary " T: i' p' m3 M7 U
  39. 积极= 1
    0 y1 j' ^4 F8 X) U- x
  40. ---削减这里---
    + n: R7 Z* v, f$ |* T: A# Q7 v$ l
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    * F1 p+ ?  ^" j" Z2 \7 r6 o7 [
  42. ---例如--- ( k- r( D8 [# t
  43. [ dbexpress ] " o) |3 y/ \8 @% @( w
  44. sqldir = mysql_sql / l5 s3 E0 L0 a# ?, p% h
  45. drivername = MySQL中$ b8 F. q, o& x* ?
  46. 数据库=测试
    : n1 G9 w1 y3 B2 ~+ ]
  47. 主机=本地主机
    $ L# J) j0 Q+ ?" Z0 f& Q+ N
  48. user_name = testuser ! O6 I& i8 p: R
  49. 密码= my_password
    8 j( N) q1 j4 ]1 z
  50. getdriverfunc = getsqldrivermysql
    ; ]1 X2 Z  S/ h3 L2 ~) v( w
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    , n7 ?. ]$ Q2 R' ^/ M$ \3 k
  52. libraryname =. / libsqlmy.so / v  j$ `, e+ T& C( j7 V
  53. 积极= 1
    7 m' B8 R, U# i. C1 o, [3 t
  54. ---例如---
    9 {* m) r, {- z4 q% s: P6 s: h

  55. + ?' J. H% ?" P1 h/ B* k
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    : q0 v! E8 c4 j8 m: o/ Z
  57. ---例如--- 2 o6 B+ P7 ^6 H4 q7 J% P0 L! s
  58. [ dbexpress ]
    ; X/ u& d+ V2 P) |( k7 x7 Q
  59. sqldir = mysql_sql 0 a- |2 e/ N! @# c2 _& j
  60. drivername = MySQL中0 N" r% t( |' y7 [
  61. 数据库=测试- Z8 p' o4 ~4 o) a
  62. 主机= 127.0.0.1
    & ~8 o/ D& |9 e) X
  63. user_name = testuser
    % M6 X! O' \' I- |9 d/ X
  64. 密码= my_password
      x) M' Z1 i& @
  65. getdriverfunc = getsqldrivermysql . c( j: q& w1 I
  66. vendorlib = libmysql.dll在
    $ c# ^) A1 `) M9 u
  67. libraryname = dbexpmysql.dll 4 {) D5 y7 u/ p6 S% K
  68. 积极= 1
    , M6 x1 V6 f& r( @  f" X* @6 y1 v
  69. ---例如---- . K7 N: e# Q4 _+ I# P% R% l3 `: @
  70. -写在0 2.03.04由p wk.linuxfan& b5 p) N( ]# E( Z- a4 l! w
复制代码
发表于 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/ ?. R3 j4 r- t& n$ L) f( K

# r2 u0 N  b7 F+ O1 ybut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-29 03:20 , Processed in 0.119888 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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