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

2673 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
( `8 W0 ~' t" a* S9 v1 O
# _! C& s0 U/ a* I6 P+ B6 a. J

  1. " r. N' M  p$ O2 P! {
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######' i7 E# Y1 _9 s/ y9 a
  3. / f  D4 U8 d( ]8 _1 c% ^: O% J! Y
  4. ### What we need ###
    4 S+ j5 H& {; a
  5. Naturally, we will need a MySQL server to store the data for us, this document
    $ v1 r& [6 H: f3 O$ T
  6. will not explain how this can be done - there are documents out there for the ! e) K' A: s0 c. y9 ^0 v' A
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    4 V) L* p2 N- m2 Q8 e
  8. and a user account (username + password) that has the permissions to do stuff: r( K/ p4 u: Q+ s' [* u9 g; n
  9. with the database. Additionally, you will need a vendor library installed on the* v2 D8 G5 M+ P3 z
  10. local machine, this came with my MySQL install.
    # ]2 k" G# D5 `& _0 i4 a  U
  11. These instructions will not tell you how you might transfer your data from the/ A- y6 a) B* T. g& Q
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    % R4 }$ G0 ?, |# F( Y6 P4 B2 F
  13. database.
    ) V2 h5 ~9 `4 a( k1 X+ D+ T
  14. Some users have reported ways to import a SQLite database into MySQL, but at# A. M. Y% U9 u9 g$ f7 b8 |* j
  15. the time of writing, there are still too many issues - check the current status/ {* `. |4 W0 g0 C- {* J0 k  T
  16. in the TeamSpeak forums if you are interested.
    ! D. A% J% ]1 }
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    6 A  S; k9 a. u  q& j2 y; w7 I' q
  18. Borland was used. This driver can only interface with the client library that ( B, _- t' s6 R& G
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    6 B8 f) c5 B* W6 M3 F6 M# L- q  R  \% p
  20. client library - basically all you have to do is to use a 3.x client library as " {& j; n  u7 j5 a+ m5 n
  21. "VendorLib" and a 4.x database to connect to." X% f2 R- U4 N4 t' i: A( w
  22. If you need more info about dbExpress, you can contact Borland.  P& w, n1 ~0 b5 b3 p* a% |- x. G
  23. ! M* N! y& W1 r9 Q; ]& ^( \( h) J8 w7 O
  24. ### Doing the work ###  x' o" f! O* T2 m7 I2 @. v
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
      W! W8 Y( o0 G9 r
  26. the perquisites right, just open your server.ini file, and add this section at
    * a2 C9 O# I& j
  27. the end:
    " u" c' q% G7 b$ N
  28. ---cut here---6 C& h- m; c! _. Y* c% [( Z
  29. [DBEXPRESS]
    ( e" Q3 \" x6 J& k+ j
  30. sqldir=mysql_sql
    4 k& j! A5 a6 Y- _0 g3 b( n6 z
  31. Drivername=mysql! X  c+ O6 Z7 j2 L: f
  32. Database=Your_Database_Name_Here
    , i4 o3 u+ V* U
  33. Hostname=The_PC_the_MySQL-Server_is_on
    4 Q% u# k, s& G+ a* I
  34. User_name=User_name_on_the_MySQL-Server
    1 \' ~. f: N* |3 F. }! z; I1 \' f
  35. Password=Password_to_go_with_above_user_name. l* K4 S" B& z6 t' z* f5 X
  36. GetDriverFunc=getSQLDriverMYSQL
    % [% v! d5 {5 W2 s  r& `4 N& h
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib; s/ d& `( {' @2 ?1 ~. t
  38. LibraryName=path_to_libsqlmy_libary
    ; Z3 X# S3 F9 |2 h. }7 u) a" }
  39. Active=1$ M3 [3 ]' e) R4 L  f/ f! V: \
  40. ---cut here---
    : q# ?* B  D. W/ S& y! w2 Z
  41. In my environment (a linux box with a MySQL server running locally) I have:$ }$ ?7 f; `3 s, L% v# |
  42. ---example---& \+ T, W; o. O0 _1 n7 X5 q
  43. [DBEXPRESS]
    7 ^9 [& q! A( ^: q- C% e
  44. sqldir=mysql_sql; b8 t: F. ~/ g1 @8 q, @. p, M
  45. Drivername=mysql
    ' l2 B, `# j# |
  46. Database=test) Y$ |$ q! I0 @0 }. e
  47. Hostname=localhost$ Z+ k/ r4 E9 O5 D
  48. User_name=testuser6 z; U8 u, |6 g/ g. m( q' b) C
  49. Password=my_password2 J8 H& t. t( F/ A! _/ n) u, _
  50. GetDriverFunc=getSQLDriverMYSQL
    * t* M/ c7 @7 Y
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.08 C" t' z! x6 e: \- a
  52. LibraryName=./libsqlmy.so
    7 J% A* b  Z0 K) [
  53. Active=1
      o* U% }0 d8 p7 r" g# S. h
  54. ---example---
    ! ]. A" u5 P/ g, F; h: D
  55. - {" C: P" b( ^$ ^. g* s8 O9 w2 o! s( @
  56. On a windows box, also running the MySQL server locally, it would be:8 x! s% c/ I5 z, Y
  57. ---example---
    * w0 w) |/ J3 l4 g
  58. [DBEXPRESS]
    1 T7 U1 E8 G% S) z
  59. sqldir=mysql_sql1 X" \1 j: l: I
  60. Drivername=mysql. k% S4 z1 C2 ]- f+ U
  61. Database=test
    : H8 c' i; y1 r) m# D# D% Q3 f
  62. Hostname=127.0.0.1' F) B3 D$ \$ z4 `9 [9 `) c
  63. User_name=testuser. j$ I6 B4 X) k5 F" Q
  64. Password=my_password
    9 Q# s6 ~# c0 h7 ]4 U2 o  s/ ^9 \
  65. GetDriverFunc=getSQLDriverMYSQL
    * u" x; D  @# y" q
  66. VendorLib=libmysql.dll
    , _* |  a& a1 Y- n
  67. LibraryName=dbexpmysql.dll* A& `+ k8 |4 T- O1 c" }' h
  68. Active=1
    2 M( s, ~2 m5 L  D" q7 `
  69. ---example----
    3 ?% w* H9 {! H# M
  70. - written 02.03.04 by pwk.linuxfan  S3 p: {( }. |4 B/ G

  71. , B$ M1 O# a9 \2 _0 U2 o
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看0 O' y0 b- H/ L1 b' y

  1. 9 ~6 n. L( G' S( k+ ^+ r3 Y
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    . A2 W6 ]1 V6 z, P+ K0 U( i5 @

  3. 1 x; t; T( a1 V4 V4 K
  4. # # #我们所需要# # # . z% B3 U% }* k! B: m6 I
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件* C# H& }7 i3 P! \
  6. 不会解释如何做到这一点-也有文件存在,为! z# r4 g; c1 e( p! L, \
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    6 s! E; v  S3 U
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西6 H% I( m3 c: {$ K
  9. 随着数据库。此外,你需要一个卖方图书馆安装于6 m7 Z6 U3 C. U: s
  10. 本地机器,这是我的MySQL安装。
    9 l. u, q% K; }) L: z7 N; ~% a
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从5 u; g  u+ z" B) L; k; |( J
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    1 |+ m* o4 k. [$ t7 p2 E: P4 i
  13. 数据库。 9 _4 n; J+ w1 T7 m( z! a
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    " W8 u& r' K! ~! D/ [
  15. 编写本报告的时候,仍然有太多的问题-检查现状2 M5 }  W# x* i& v
  16. 在teamspeak论坛,如果你有兴趣。
    9 O, S/ U: i$ n$ A/ @0 H( g" I
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机9 \! x5 K. p7 U8 R( X5 V
  18. Borland公司使用。这个司机只能界面与客户端库7 C( r* A' s9 i% a$ E
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
      ]" c; o: b5 _* g2 ]4 {1 @
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为% J( G) A# K" s& F
  21. " vendorlib " ,并解数据库连接。
    % K2 D0 v& m. A" D7 S' a
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 8 L2 b4 y* p7 ?/ T- ~1 s
  23. $ e" p1 z, z+ e$ a
  24. # # #做好工作# # # " y' b# J+ s$ O' o
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    - u' h& ?+ N& v1 h
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在" n  l/ o" i' r4 y5 J4 u
  27. 结束: 1 C8 z& S! Z' m" S* _# N
  28. ---削减这里---
    , `! D/ G8 A, _; m! P) K
  29. [ dbexpress ]
      H$ V  l& E0 I# r2 E! t
  30. sqldir = mysql_sql ' c$ C2 V5 U: U( O; @6 B
  31. drivername = MySQL中/ i4 F$ a, Z: Q0 X
  32. 数据库= your_database_name_here $ a7 o  m. i2 m5 s
  33. 主机= the_pc_the_mysql - server_is_on
    ; `# N8 L6 u4 N3 m2 g' p
  34. user_name = user_name_on_the_mysql服务器, E& m2 J* d" F5 A, t
  35. 密码= password_to_go_with_above_user_name
    ) b5 p5 Y1 O( V2 F6 @
  36. getdriverfunc = getsqldrivermysql
    / T: w2 A1 ~- {; ]! D
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ( y6 B. R/ T; O2 @4 }. P& |1 i
  38. libraryname = path_to_libsqlmy_libary   }/ z3 u+ d" m2 k
  39. 积极= 1 . Z  d- @' ]& X4 V8 p
  40. ---削减这里--- ; u3 W1 Z5 T/ j# C
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ' M4 ^$ b3 p6 E8 c1 ^
  42. ---例如--- ' n9 f/ }* \1 X+ z! U1 M
  43. [ dbexpress ]
    1 k8 n' P; I. G! a" A% E! y
  44. sqldir = mysql_sql
    6 p: }7 D& t+ C1 u, |+ `" ^; {
  45. drivername = MySQL中
    / d+ J/ P2 ]9 g- M4 \% i( q
  46. 数据库=测试1 L5 X% p6 ~+ y
  47. 主机=本地主机2 N/ s/ t+ [1 P; ?' S7 x
  48. user_name = testuser ' P' B( A9 `! H! m6 W" M" v
  49. 密码= my_password
    9 q5 ?9 J( `& q% \" _
  50. getdriverfunc = getsqldrivermysql * Y' ~  J2 M  S; j- a9 @( h) a
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ) B3 k- W5 j  S3 g8 K3 D
  52. libraryname =. / libsqlmy.so 9 I$ O- V: n6 r& P
  53. 积极= 1 # V* V: Y# \# {" E0 g
  54. ---例如---
    , i+ f/ M  S6 q* S6 X: N$ r4 a

  55. # z/ C) P/ m7 U8 [; e5 `
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    & v; o. p+ B( L
  57. ---例如---
    1 F& h9 S+ a7 ~9 o2 s& f# J6 r* j
  58. [ dbexpress ]
    # N9 |3 p6 ?/ E. c) |; g
  59. sqldir = mysql_sql
    % L9 Y' x  a+ a3 o% ]) W; B0 Q
  60. drivername = MySQL中9 _5 w$ ?# B5 }  Y
  61. 数据库=测试
    # T8 @: w4 m2 p- J
  62. 主机= 127.0.0.1 ! e8 `$ s7 }' V& t9 ]" c! w- Z9 i
  63. user_name = testuser
    6 H: R7 [5 L. h* }+ _* h3 I6 I
  64. 密码= my_password 3 V2 U' t* K' {+ V5 R1 V
  65. getdriverfunc = getsqldrivermysql 7 G* U5 j4 f3 h
  66. vendorlib = libmysql.dll在, A: u. ]( Z9 c  g- w( C  T
  67. libraryname = dbexpmysql.dll
    . |$ b, M* T, H  J: O0 T
  68. 积极= 1
      O& e% l/ Z; v
  69. ---例如----
    ' T4 [2 \; X) Q! Z( w# }- r# A- a
  70. -写在0 2.03.04由p wk.linuxfan% g% N: ]" y* W9 m5 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/ ]3 e- I* m" H

- n2 n( e9 E: j- b6 t* @but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-27 17:04 , Processed in 0.109796 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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