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

2219 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan - k) k1 k! R# \' e4 `! h( s

5 q5 ^; x2 s8 J. q; f& \7 v- R5 I* B
  1. ) l: [3 v/ {. R( B" U! V
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######9 y7 W' ^! s2 X

  3. 4 P# f$ k' m& x& ~* B. O+ X
  4. ### What we need ###, c# D7 b5 x$ C+ R: j; }
  5. Naturally, we will need a MySQL server to store the data for us, this document , t( S) }* l! x% x( X8 ~; X; a6 \, n
  6. will not explain how this can be done - there are documents out there for the
    ) P0 ?# F5 ~+ W5 ^2 v0 {" D
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    5 a! z. z8 ^) z6 [
  8. and a user account (username + password) that has the permissions to do stuff5 ^5 z/ R9 ?' W. x; q
  9. with the database. Additionally, you will need a vendor library installed on the5 ^8 T% [/ o+ H  z
  10. local machine, this came with my MySQL install.  T' \. B' F5 e& {) `- n
  11. These instructions will not tell you how you might transfer your data from the
    ' i  a5 y1 ^- J+ W1 `5 }3 @
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ; Y1 B" n$ |$ M7 Q( e
  13. database.
    & @* q7 W' x8 N1 j' q; n5 F. i4 L
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    7 e4 a0 y+ p) I. K. U) x
  15. the time of writing, there are still too many issues - check the current status( v# s! {  Q1 L
  16. in the TeamSpeak forums if you are interested.( j  v! ?0 l  f
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from: e' c7 m3 _6 \) I  P0 N- L$ |0 i
  18. Borland was used. This driver can only interface with the client library that 6 |# `8 j8 p$ N
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    - E% S7 `% N3 _  n, Q) h$ U
  20. client library - basically all you have to do is to use a 3.x client library as . n7 ^3 B% t5 \* V6 R9 a
  21. "VendorLib" and a 4.x database to connect to.
    6 c  _- ?+ u; v6 {6 ]& A: }
  22. If you need more info about dbExpress, you can contact Borland.
      M3 P) h6 _; p, z4 T8 _
  23. 2 `# f4 E- U2 m; C' q
  24. ### Doing the work ###
    6 z7 u, i6 Z/ X9 G5 b% a; y
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all! g; q5 {$ ?7 k/ W) C+ \8 s
  26. the perquisites right, just open your server.ini file, and add this section at! k5 e/ m) i  a5 f- W
  27. the end:
    * t# f$ l1 ?; v4 @: O. J: s' R
  28. ---cut here---! a+ W( q9 O" Z0 i! f
  29. [DBEXPRESS]7 P6 o# t9 V6 |# ~( @& Z# k! }9 j
  30. sqldir=mysql_sql
    ! d, W! G0 J/ v& r4 p* v# N3 n; [
  31. Drivername=mysql
    7 I2 l& w. Q, ~+ w
  32. Database=Your_Database_Name_Here% P' b& D' n* w
  33. Hostname=The_PC_the_MySQL-Server_is_on& f6 {& P5 P+ @
  34. User_name=User_name_on_the_MySQL-Server8 C/ l3 e. C# s
  35. Password=Password_to_go_with_above_user_name
    5 [& l/ O$ S1 \( ^* ~
  36. GetDriverFunc=getSQLDriverMYSQL5 c# B* `! x+ G, _
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib9 H1 @; i# t6 m# H% o; W9 U
  38. LibraryName=path_to_libsqlmy_libary
    ) d4 l+ X" u  Z- I
  39. Active=1( F; r: u+ k9 A7 M3 g+ B& t
  40. ---cut here---1 y$ {5 S, b8 v$ \# N% M% L1 c  a
  41. In my environment (a linux box with a MySQL server running locally) I have:
    , g( F! M' g, [1 a3 B4 Z2 ~9 {/ @1 G2 `9 p
  42. ---example---  r4 q6 O- b1 C& R" A1 F
  43. [DBEXPRESS]2 S  h9 }2 h7 }! E7 S
  44. sqldir=mysql_sql
    , a: k; f0 C$ J- W* o2 n7 I3 V" |
  45. Drivername=mysql
    8 e8 ~" P* L  B
  46. Database=test
    ; _' Y7 P, D. z/ H$ ^4 D
  47. Hostname=localhost! m- c% {) k* K; s1 z' l: e4 j6 W  A5 s
  48. User_name=testuser
    ! N4 P% C+ _5 I9 Y
  49. Password=my_password
    * h/ h/ C- j& ~8 r3 q6 s* w& Q
  50. GetDriverFunc=getSQLDriverMYSQL
    + J! w9 b+ H1 p  f$ B4 D& [
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    9 k; n3 D( T" V7 Z
  52. LibraryName=./libsqlmy.so, [3 d; ]" c4 ~$ H+ f- a" z- m
  53. Active=1
    % r7 N% O* x: ?; x8 p3 v/ h! o
  54. ---example---
    + ]8 S2 R9 R, t
  55. 6 ]9 C0 k4 M. c0 u' T6 G, C( E/ ~
  56. On a windows box, also running the MySQL server locally, it would be:
    5 C: K1 L, J$ Y% y8 }  a
  57. ---example---
    6 k5 c( k3 j6 q3 ]5 @. h3 S
  58. [DBEXPRESS]% V2 C; Z. c, N1 Z& D- _( }7 t
  59. sqldir=mysql_sql
    # _) a/ n4 L0 o
  60. Drivername=mysql
    5 q% W0 n# v- ]8 i
  61. Database=test
    + H7 K  _: [9 `$ P
  62. Hostname=127.0.0.12 D, U$ b8 a6 \6 S$ ~0 t
  63. User_name=testuser+ m! k2 F7 [# _1 J. @% _% b3 e
  64. Password=my_password
    " A6 w: i* c4 w* t6 f
  65. GetDriverFunc=getSQLDriverMYSQL
    " j7 q3 _( m- W% u% O- `
  66. VendorLib=libmysql.dll
    3 x3 W$ Y8 v* v" \
  67. LibraryName=dbexpmysql.dll
    ; J  W' h" z& i* M$ s% R$ g" k: l( C3 G
  68. Active=19 [3 _( P4 H2 ?5 D9 O
  69. ---example----2 Z" Z( Y& p& L6 S
  70. - written 02.03.04 by pwk.linuxfan
    1 \, W5 F3 p8 X% o
  71. + s* N2 D: ?9 p$ Z$ Q( g8 j
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看  h3 p! U1 S8 T: B9 f6 W( L' j& r3 y

  1. 6 K: A5 r+ u+ S- Y( c! P! p
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    " M1 E" P7 c, g
  3. ! \: z# Y; I  `, A! J
  4. # # #我们所需要# # # 9 P% e2 `0 w- @% V
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
      k2 R/ u+ ^5 i- \- Y  h
  6. 不会解释如何做到这一点-也有文件存在,为
    2 ?5 d$ h4 j+ i6 H
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ' j- c; ~" B9 X  ~" y
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    : T( y7 p' w) q; ^: B
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    2 V$ L2 z1 u1 L2 l' D+ x
  10. 本地机器,这是我的MySQL安装。
    5 M3 x; d$ H( G7 v1 t
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从: D0 {, w$ |) ?5 U: s
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    3 u8 v. e3 ~$ Y* O3 q$ U
  13. 数据库。 8 n0 p5 \8 P: `3 z& O
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在  E7 \' D0 b7 U# [1 L: C
  15. 编写本报告的时候,仍然有太多的问题-检查现状6 W* C; H+ J  ^9 R5 M
  16. 在teamspeak论坛,如果你有兴趣。 5 l+ y; B9 b* m) C7 w. M* W
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    $ d( B) I' D  K5 [7 D
  18. Borland公司使用。这个司机只能界面与客户端库
    ! |9 j- H, b% R* Z
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这' A- O/ x9 w& p) ^3 M
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为  i/ M- }! z1 e' {, ]" s! @7 s
  21. " vendorlib " ,并解数据库连接。 ; ]  ^. |0 m5 J' U; z3 h
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    # i0 E1 Q, ?/ ?/ Z- R3 `2 S
  23. 5 J) S0 C; x( O/ }+ i
  24. # # #做好工作# # #
    / K+ i6 ]) d" ^. ~
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都( o( g; T8 @8 d0 ~% p7 s2 A2 B
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在8 V' {7 H6 q0 T- z' n
  27. 结束:
    1 w  y7 t7 X/ @+ D
  28. ---削减这里---
    : h7 ?3 e# `0 a; E# T+ v' |$ {+ `
  29. [ dbexpress ] , N* r- e" ?1 K
  30. sqldir = mysql_sql 6 K5 b& d/ z/ O2 i# y& U
  31. drivername = MySQL中
      s! c/ `( v7 Z1 a8 |$ V3 s
  32. 数据库= your_database_name_here
    " P' `7 w$ N+ F& U& l
  33. 主机= the_pc_the_mysql - server_is_on
    * L' D# n. m( [7 y# B1 P+ Q, a( U2 c
  34. user_name = user_name_on_the_mysql服务器: ]/ `0 |3 c" S4 ]7 M6 |  Q7 S+ N9 N
  35. 密码= password_to_go_with_above_user_name * \- x' k1 q4 R2 A. H
  36. getdriverfunc = getsqldrivermysql + _3 \  x6 W9 P
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    : _% ]2 }; m" K9 v5 q
  38. libraryname = path_to_libsqlmy_libary , r' Q. b2 X1 m3 M7 A
  39. 积极= 1
    ' z3 M( J+ T: S; P% _
  40. ---削减这里---
    , C: ?( l3 k# B9 m+ h
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 0 x+ E" k/ L. ~) @
  42. ---例如--- / {, W5 U* d, z! f
  43. [ dbexpress ]
    & D0 L; q# z6 T
  44. sqldir = mysql_sql , j: F' h# g! R9 r
  45. drivername = MySQL中' q- b" N/ b% x$ W
  46. 数据库=测试3 z8 h% e) c: j6 L; g1 G+ J% f
  47. 主机=本地主机1 g9 i2 @0 X3 J
  48. user_name = testuser
    # M' a7 M6 v6 ]9 o/ Q
  49. 密码= my_password
    " M9 D4 k1 a( _6 W% Q
  50. getdriverfunc = getsqldrivermysql
    / X4 L8 U' @3 S. @- x+ C: I2 K  h
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    0 u( [" N9 r2 H: ~  T/ z6 z
  52. libraryname =. / libsqlmy.so
    + I) G- I& {( h0 y1 k: Q# b) r
  53. 积极= 1
    2 p: t, q0 S3 a4 _2 p& D0 i; Y
  54. ---例如---
    * m# F0 z1 ]1 Y& `+ m% S" ^

  55. 9 ~9 L, J8 j, n2 U: w& A
  56. 对Windows中,也运行MySQL服务器本地的,那就是: $ S0 d3 J5 K+ n4 G+ r
  57. ---例如---
    2 z; a7 c# `) w3 x8 R
  58. [ dbexpress ]
    8 o4 @" ~3 Q) d1 [9 y
  59. sqldir = mysql_sql
    $ m2 ~! Q, ~* T
  60. drivername = MySQL中* y3 R& Q* F) _5 l1 y' B1 C) Y
  61. 数据库=测试$ D! ^& d: M. m9 x# c& B8 ?* c- {& s
  62. 主机= 127.0.0.1
    * B! V% Z9 J( r2 k1 m: t5 C
  63. user_name = testuser 2 Q0 `2 R- q2 `3 M% J
  64. 密码= my_password   k9 D. U3 G* J: o
  65. getdriverfunc = getsqldrivermysql
    ' H7 _) |8 e0 K- D; J
  66. vendorlib = libmysql.dll在: x: [+ o, v6 L: `$ F6 n& \
  67. libraryname = dbexpmysql.dll
    5 ?( i# @, S5 `" U5 `! {8 b
  68. 积极= 1 / _" G% K0 V! P8 v9 j. a
  69. ---例如----
    % [# l& W9 p/ C
  70. -写在0 2.03.04由p wk.linuxfan3 i- p' w/ T+ n$ ~
复制代码
发表于 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) n7 \  W5 w* B4 K4 M

* ]* v; c$ S( b9 @8 `but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-21 16:36 , Processed in 0.103799 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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