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

2454 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ) M: }. S" |0 r9 E: U: |

3 Q+ b! W8 Q$ ~) r. e+ r9 _1 y6 h; {5 P

  1. 3 J- ]  W) I' O1 @# W+ @
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######( E% N2 d" F. a2 t# M4 ]% |! O
  3. ' x* B/ a8 q. K7 C1 s% ]; Z
  4. ### What we need ###& L) J2 I# \& ?( x# v8 {+ e$ Q
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ; O, |9 ^8 i. z! H7 k1 |
  6. will not explain how this can be done - there are documents out there for the
    : K9 ?: c4 D2 T. ?0 W) A9 k  ]' f
  7. interested. The requirements include a (empty) database for TeamSpeak to use+ s# R7 @; g5 z, s7 W+ k6 o& V
  8. and a user account (username + password) that has the permissions to do stuff$ o" T; s9 |6 U* j, ]; `+ N
  9. with the database. Additionally, you will need a vendor library installed on the
    $ y" f3 G% w: q& i) d% P. I$ \
  10. local machine, this came with my MySQL install./ s. c9 `% f6 n3 S
  11. These instructions will not tell you how you might transfer your data from the  z/ q  _) L9 K, V7 s- ^
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    6 r$ c7 i9 x8 b8 q
  13. database.
    : {4 u- U8 b; Z' ]- S' J8 L" c
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    7 S' f7 r' ?, c1 c" L5 Q2 v0 L6 V
  15. the time of writing, there are still too many issues - check the current status
    # w/ r6 C5 @! {9 M9 j: s* g0 }
  16. in the TeamSpeak forums if you are interested.; T  j7 }+ o5 L' i( n+ y
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    % J4 v6 o$ _0 d6 ]! e) w
  18. Borland was used. This driver can only interface with the client library that 2 T4 V+ H2 N3 A) Q  t
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this" s9 f" w% C5 a8 ]
  20. client library - basically all you have to do is to use a 3.x client library as
    $ s! L% n% d+ {
  21. "VendorLib" and a 4.x database to connect to.
    6 ^$ V( Q5 B7 K1 x, J
  22. If you need more info about dbExpress, you can contact Borland.
    : [1 V5 B( m7 U! A9 M& E$ V
  23. 5 ~& w/ c+ j. Y8 ]
  24. ### Doing the work ###7 G. t: T" ~6 B
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ' |. w: u0 Q( |* d0 O/ {0 a
  26. the perquisites right, just open your server.ini file, and add this section at
    - h: s1 ^" ]. J- Y3 u9 e
  27. the end:& d$ d. T4 c$ L" w7 k
  28. ---cut here---$ f$ p. D2 f" S* h" P
  29. [DBEXPRESS]
    " m" |- I: f" c( F* g3 ?% V# J
  30. sqldir=mysql_sql0 X+ V( h* _! z9 k
  31. Drivername=mysql  ^9 b8 @5 j' N
  32. Database=Your_Database_Name_Here8 }, r) G9 u% `7 q
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ) n/ E0 J- ~0 Q9 n" e
  34. User_name=User_name_on_the_MySQL-Server
    - E' _* U7 R$ n
  35. Password=Password_to_go_with_above_user_name
    / \0 [4 A& p$ C3 `  Z; o
  36. GetDriverFunc=getSQLDriverMYSQL- F8 `  S8 ]% i# i8 e& M
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    4 b% J- ]5 X% ^1 B/ Y& u  E
  38. LibraryName=path_to_libsqlmy_libary
    1 N; I3 S+ A2 [0 _, o
  39. Active=1- X/ O, G/ F' x- S. k* [
  40. ---cut here---
    0 v( ~; n% f" k7 E7 x
  41. In my environment (a linux box with a MySQL server running locally) I have:! V+ b/ n5 L; @6 U7 Y- L
  42. ---example---0 E% n+ p: r* ]  S
  43. [DBEXPRESS]
    : K  f, V' b/ ~4 \% X+ V
  44. sqldir=mysql_sql
    + @8 a7 Y0 Y4 H! O- ~, `% Z" I
  45. Drivername=mysql. ^6 {: G, x+ N& D% ~
  46. Database=test
    1 M. j4 t8 l( e9 }  |
  47. Hostname=localhost
    5 Y' c. w/ E% n' X1 n
  48. User_name=testuser
    1 {1 s& C) t& ^% N3 C
  49. Password=my_password
    - l, `7 |8 _7 Y1 @; Z: t- w
  50. GetDriverFunc=getSQLDriverMYSQL) v  q, n+ c3 O; |
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0* U/ x4 M5 W% X' z* ^# o7 U1 l) L
  52. LibraryName=./libsqlmy.so
    5 J! t, p! d% M7 W: a
  53. Active=1
    3 g7 I% m, P! l! r
  54. ---example---
    9 m$ _6 g2 `4 ?) a0 T' i. X
  55. ) x% @# f6 Z: |: Z& D& o
  56. On a windows box, also running the MySQL server locally, it would be:
    3 V* D7 d1 w2 W3 c
  57. ---example---. L9 K# s! t- ?* p4 ^1 V9 w
  58. [DBEXPRESS]
    % m( H+ g, B, F* E
  59. sqldir=mysql_sql
    2 O7 k: ~) m1 ^! o' W
  60. Drivername=mysql: U5 o- y* d7 S2 Q+ \% Q- ~8 L
  61. Database=test
      V" i" e, Q( E% ^+ T$ O
  62. Hostname=127.0.0.1# m5 h8 N# K& z" P, a9 f6 l
  63. User_name=testuser
    / b0 J  @3 c$ g; R" b( s9 P0 j! Y
  64. Password=my_password
    : Z5 {" j7 @% i. d9 V, @" _' c2 D/ [
  65. GetDriverFunc=getSQLDriverMYSQL7 d8 F/ e9 t5 v/ e+ ~
  66. VendorLib=libmysql.dll, O  u, X- L. s8 @4 J' p
  67. LibraryName=dbexpmysql.dll
    9 D. e. B0 }( N- E; e
  68. Active=1
    ) t/ p* a" L7 P( p( C; b
  69. ---example----5 g6 U8 G! b% m: f# s: {, t& v( O$ z
  70. - written 02.03.04 by pwk.linuxfan6 j  T$ y/ c0 m+ {: R* }" z

  71. 9 V4 p; @5 o" Z  U6 x. c" j
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
( |9 U- T& s9 j0 z$ }# U- r! i- c" x) n

  1. 2 s+ q: A( M8 @8 K
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 3 I9 o1 A" F# V9 W; v
  3. / e2 v1 |! N* W/ z5 r
  4. # # #我们所需要# # # , e% y) E; f' g! m4 z- w
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    9 a- L9 `* m7 t/ |+ [
  6. 不会解释如何做到这一点-也有文件存在,为& O: ]6 |3 z2 I  [
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    2 @* o" J" _# N! d- Z
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西5 a/ [- c/ d( g$ ]
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    : g, [* Y& f0 Y9 E: L% O3 ~
  10. 本地机器,这是我的MySQL安装。
    9 A) r# S* `) P4 a' G' X
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从2 m+ J7 T8 q. C, F) v* d
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ' I$ P$ \; E  T. c# I
  13. 数据库。 % M9 ?. _) Y$ j' m9 o( I
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    # S# f$ F8 i  {7 o6 J7 j" }
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    7 _# {) t0 }+ h+ f% f: }
  16. 在teamspeak论坛,如果你有兴趣。
    - g& [/ P5 H% s3 {
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    + _) q5 ]4 G, r& o. h6 s
  18. Borland公司使用。这个司机只能界面与客户端库
    3 r( O8 L4 F2 |
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这' u9 M1 x3 N- S( a6 \
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为) u) X8 i7 W5 u7 b( ?
  21. " vendorlib " ,并解数据库连接。 ) l  d# }/ z, _: \  Z6 R! i3 u- ~! D$ u
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 + J+ F( t: _1 |  ?8 k6 F: F
  23. & D+ B7 x' g+ ^4 t4 c6 W! B5 \" x; H
  24. # # #做好工作# # #
    7 Y7 ^) t. l) V$ n
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都( R, D6 Y, z' N; b
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在) D  F* S1 K# F- f& w) S+ B5 w
  27. 结束:
    - {( J+ K7 S$ I* r7 w
  28. ---削减这里---
    * A* G! M! s" E5 U; l3 X
  29. [ dbexpress ]
    7 B3 S/ _) I2 C# u$ D7 S# l
  30. sqldir = mysql_sql 9 m+ G' l2 J. W  t/ X, s
  31. drivername = MySQL中/ D' ~$ d* F, w
  32. 数据库= your_database_name_here & b+ r3 ?. T0 N1 M) x+ n& }
  33. 主机= the_pc_the_mysql - server_is_on - X! ~& m4 N9 t# c  E' Z# J* R
  34. user_name = user_name_on_the_mysql服务器) T8 n9 P6 }" x
  35. 密码= password_to_go_with_above_user_name + S. T, o. p: ?# V! B
  36. getdriverfunc = getsqldrivermysql
    6 T) \; Q, b! v7 [  V
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib # [+ D: v) e. J8 d. M% ?/ ~
  38. libraryname = path_to_libsqlmy_libary
    ( `1 [9 ^! Y$ g7 x* |9 E
  39. 积极= 1
    2 d6 r9 O2 i* n# T( s- T; c* O/ Q3 [
  40. ---削减这里--- ! }8 }# {7 n. M' \
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    7 y1 e, l/ p+ m+ P) T9 \2 f% a
  42. ---例如--- 4 A( v1 s% G( a
  43. [ dbexpress ] * w: q* S: o$ Z/ h4 u3 p
  44. sqldir = mysql_sql
    1 H. R( d: a8 W( ^! W! h3 U
  45. drivername = MySQL中
    $ N- {. ~; L0 H
  46. 数据库=测试
    9 }& `& a8 r! k5 m9 `$ U. A- n
  47. 主机=本地主机
    , C# c3 X, c5 a* {
  48. user_name = testuser
    4 j) h% f- A3 x, S0 ?
  49. 密码= my_password
    2 e. r% j" z# X6 g, w2 i
  50. getdriverfunc = getsqldrivermysql ) C& K% N* z! |& R: w& D. Q- v
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 0 V% u0 |) E. O9 W
  52. libraryname =. / libsqlmy.so 9 X# U) P8 J) N) t" Q  e
  53. 积极= 1   g7 C9 x3 s4 `& k: c% N% ?
  54. ---例如---
    ( `: w+ e; H$ \; Y' {
  55. 0 \+ ^7 N+ [( r2 g$ P0 t
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ' U, h) S1 m& F  e% C
  57. ---例如--- / D- \. h2 p3 ]/ y& u
  58. [ dbexpress ]
    : B0 L+ M; d/ R* o5 [
  59. sqldir = mysql_sql
    4 X  a, Z: l/ N8 W* g! U  c
  60. drivername = MySQL中* Q( `: l  M1 n
  61. 数据库=测试
    8 ^' j6 Y$ ?5 U& O
  62. 主机= 127.0.0.1
    4 i& {3 ?: a/ N! R8 L" H1 k/ M$ `
  63. user_name = testuser   y9 _" ]; C, Q* a7 g! L
  64. 密码= my_password , I. R% i3 N3 u2 h7 F
  65. getdriverfunc = getsqldrivermysql & {- E. R- F4 d( z7 V) z0 d
  66. vendorlib = libmysql.dll在8 P. |8 B( @7 ^  Q( B
  67. libraryname = dbexpmysql.dll
    # R" v2 K7 g. U6 f( N% ^
  68. 积极= 1 1 Z- g. v! O" a% ~3 l* x
  69. ---例如----
    0 r6 C5 e8 ^- Z
  70. -写在0 2.03.04由p wk.linuxfan
    ( p! n' U; X9 }% ^0 |1 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$ z( X4 j# S- n8 H$ q! q/ L+ |
6 Z8 E2 R) I  p! B8 E) y
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-7 02:20 , Processed in 0.115721 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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