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

2684 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan $ P5 ?) p8 }+ G, N! n2 q7 n

0 K: q; R* F& |

  1. % a$ I) H7 z+ ]! U# j  V
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ( `6 w; A& u& c. ]8 l
  3. 1 t+ {, y: G+ E* g1 r2 n# o& D
  4. ### What we need ###2 U$ F: }% \7 V; F0 i
  5. Naturally, we will need a MySQL server to store the data for us, this document
      e* |0 l3 ^+ E; F( R
  6. will not explain how this can be done - there are documents out there for the ( W  }; j5 F5 A) r
  7. interested. The requirements include a (empty) database for TeamSpeak to use7 X# ^* `" _0 ?1 y5 c2 H& Y
  8. and a user account (username + password) that has the permissions to do stuff
    3 V1 K5 z) m4 c2 r# F+ I
  9. with the database. Additionally, you will need a vendor library installed on the
    % c* s! ]0 [; T! ?; ~, t
  10. local machine, this came with my MySQL install.
    ( N  o$ w  \* O1 @  U/ h) u
  11. These instructions will not tell you how you might transfer your data from the
    # J6 y# G2 K) V: C% b* C+ q
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    1 ~5 s3 k& V  U$ ]7 N6 u% S$ N6 g# T- O3 K
  13. database.9 I$ F2 r2 R; b( K( {
  14. Some users have reported ways to import a SQLite database into MySQL, but at! C& o$ s3 c2 R5 X( W, _5 W; |! ^
  15. the time of writing, there are still too many issues - check the current status
    : u& l0 m) C& E* ^5 E7 {
  16. in the TeamSpeak forums if you are interested.# @  q, ?+ Z9 n  e) e7 t
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from$ ^; {0 |) y% x! U7 b. O
  18. Borland was used. This driver can only interface with the client library that
    ) o% d7 F0 V; u# U# J
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this# W4 u( ]4 o2 v8 B1 Y
  20. client library - basically all you have to do is to use a 3.x client library as
    $ s, O! K* W1 V2 L  c; a8 ^
  21. "VendorLib" and a 4.x database to connect to.& U/ C* J; O6 }8 U0 M: Y0 t
  22. If you need more info about dbExpress, you can contact Borland./ Y8 S: E" c/ h2 Q0 v5 w6 W& w
  23. 9 S  f/ L0 E; _- W. I1 u' c. m
  24. ### Doing the work ###5 y- f; p/ V& E
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all# ~$ p3 m8 H1 R% q- w) E2 V
  26. the perquisites right, just open your server.ini file, and add this section at
    7 M" [- C0 D, E- P/ Z7 n# p1 ]% q; s
  27. the end:1 I$ T6 K$ A' l8 G, s
  28. ---cut here---
    , T. ~0 b9 [1 @
  29. [DBEXPRESS]
    1 c! Q6 k# m+ o) ]; w
  30. sqldir=mysql_sql
    & P7 i( k4 h; Y" ~
  31. Drivername=mysql8 \6 ]5 [9 [; ]; G6 |- {
  32. Database=Your_Database_Name_Here
    / d! {: ]" ]. I0 D; E6 \" z/ y
  33. Hostname=The_PC_the_MySQL-Server_is_on5 s0 S8 ~1 s2 f: U2 X1 F
  34. User_name=User_name_on_the_MySQL-Server
    & Z+ i& Q! q/ c# @9 D* @6 U  C
  35. Password=Password_to_go_with_above_user_name) n2 H* n5 h1 I0 `6 r# I$ j
  36. GetDriverFunc=getSQLDriverMYSQL, h4 X" H1 f6 j; p4 [
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    / L7 v6 w, l, A/ K* M3 n( C3 i0 u
  38. LibraryName=path_to_libsqlmy_libary/ G, z2 D4 Y3 b8 V  G; f
  39. Active=1. q; X* ]5 D2 W$ g/ t1 n0 z! q" @
  40. ---cut here---
    * I9 `* A& t+ P& k( |$ u" A) `  |
  41. In my environment (a linux box with a MySQL server running locally) I have:
    $ p7 k. z2 }4 \5 |: F' P- N# _- y
  42. ---example---6 T5 J# X* X6 t& t
  43. [DBEXPRESS]
    ; _: c1 Y- e4 _7 ]) n
  44. sqldir=mysql_sql, m- L% V6 L4 `7 B5 z- n
  45. Drivername=mysql
    + G6 S$ R/ I( K, [. M4 ?0 Q
  46. Database=test, k+ i- _& V" ?" V3 T2 I
  47. Hostname=localhost
    8 \* d- M% k* K
  48. User_name=testuser, H) w8 V' ^, h* y
  49. Password=my_password
    4 b( t" m  [( D
  50. GetDriverFunc=getSQLDriverMYSQL
    : ~( O* n" _: s4 I
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0$ Q6 `% G3 h$ Z7 x9 j! \+ W7 ?
  52. LibraryName=./libsqlmy.so
    / [. o/ K4 {. Q; v, {, o
  53. Active=16 z2 W# Z1 D# B1 o6 V
  54. ---example---
    4 m5 V' S4 m/ r$ d
  55.   W% P) M% t0 k- z7 v
  56. On a windows box, also running the MySQL server locally, it would be:
    * K- O9 s. L( v9 u) V) v
  57. ---example---: o8 q- |) n6 [- Y5 ]" m
  58. [DBEXPRESS]' N1 C/ U" n; t
  59. sqldir=mysql_sql' ?! Q1 V7 L6 R, U* `7 N* B# u% Q
  60. Drivername=mysql
    2 P2 f% N( j' A7 @
  61. Database=test
    6 E7 w  U4 |, f' @3 R
  62. Hostname=127.0.0.1
    ) A: a! D$ p& E0 H
  63. User_name=testuser
    % M9 y) P" f" y% {; r! j
  64. Password=my_password
    $ J3 j1 f9 N# [+ H$ F
  65. GetDriverFunc=getSQLDriverMYSQL
    ; Q% [( Z. k1 V/ W0 L& i
  66. VendorLib=libmysql.dll
    $ p% S- X* {( i# ~* G( C
  67. LibraryName=dbexpmysql.dll
    . O0 _& q+ a9 d9 D
  68. Active=1
    ( f' d& w( Z$ f* H) l/ i) [2 y
  69. ---example----
    : r' j3 z1 y, I
  70. - written 02.03.04 by pwk.linuxfan8 B- d, u) s' }; y% }

  71. + R& ]4 `4 `% F8 z" |
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看  ^$ U, {$ B& g5 H  t- J

  1. - K' j5 n: z' q
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    - ]6 B4 U5 t. o! R$ ^

  3. * s7 ^% U. }+ G9 y. i2 \
  4. # # #我们所需要# # # : K! b2 G3 h( ?
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ) w; w* [* _; I5 \" E! g0 E
  6. 不会解释如何做到这一点-也有文件存在,为
    2 G+ h/ ^4 L# c8 S8 E
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用, g& h6 C" r3 ~3 g& T8 p1 t
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    2 t+ J9 J0 j* Q% y7 C! F2 S# a
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    5 f5 {% D3 v2 A7 h  Q  X
  10. 本地机器,这是我的MySQL安装。 9 a' W. n; G" Z/ l
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从. N" O' C, a/ \9 f* r4 f# |; o
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 6 L% p2 f5 }! T
  13. 数据库。 ' I0 @( [. z: b$ c$ y4 p0 S
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在+ L1 A9 Z$ Y$ s$ S
  15. 编写本报告的时候,仍然有太多的问题-检查现状) ~$ ^, f; \7 Q4 P, }" \5 m$ }
  16. 在teamspeak论坛,如果你有兴趣。
    2 u* g9 W7 R8 {5 R# r. E
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机( Q! W, }; B8 y
  18. Borland公司使用。这个司机只能界面与客户端库4 A6 O2 I7 ^- v; @* D
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这; `! G8 i3 i& ^, r3 ~9 D4 Q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为9 y$ d4 h# \* }) L
  21. " vendorlib " ,并解数据库连接。 + u) ]% A) W( o; u- L* |  s' A0 Y
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    9 F+ S% X5 T3 p( w) R

  23. ) m7 C( K$ [0 X. X8 Y6 M
  24. # # #做好工作# # # 3 p) h4 [( L; z# m7 k" y
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都3 M% k( j7 D- Q4 e1 I
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在" ~8 E" p# C( G& l* {6 z
  27. 结束:
    # Q% ^/ D  M+ P  j8 F/ q
  28. ---削减这里---
    # Q' w0 U4 D- n& @
  29. [ dbexpress ] 1 _# A* }4 p) L2 a, i% Q8 e# ]
  30. sqldir = mysql_sql
    3 n! m6 {  Q, }) \% V. Q
  31. drivername = MySQL中
    " |, q' s- O0 C7 h: m: `
  32. 数据库= your_database_name_here ' p8 k4 o6 H/ C/ `" I
  33. 主机= the_pc_the_mysql - server_is_on * U3 ?9 Q- ~, n* R: r2 j
  34. user_name = user_name_on_the_mysql服务器3 R- K" n+ n! }7 l9 U  G
  35. 密码= password_to_go_with_above_user_name # c; a' q- ?" L$ L
  36. getdriverfunc = getsqldrivermysql ( z, _7 Y) n: S
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    * f( C" q7 Q# P% N" u$ O1 Y& \
  38. libraryname = path_to_libsqlmy_libary 4 L. F: P3 @# @9 k
  39. 积极= 1 ' Z1 A+ N3 d0 |# e3 H5 \
  40. ---削减这里---
    : q- d: h9 v4 }+ T1 T. r9 D- W- `1 T
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    8 G5 e& }" \8 T( @2 G4 l1 p
  42. ---例如---
      b$ H0 a  N3 F! T6 i0 w
  43. [ dbexpress ]
    2 q" E, b! o3 a5 v8 b) A( r
  44. sqldir = mysql_sql * Z3 M# |3 L. H8 `+ J
  45. drivername = MySQL中
    " [; {6 y' f# x7 H
  46. 数据库=测试) n* {9 I" y- D- w& B! X& ?$ i
  47. 主机=本地主机# P. x8 ?: [$ |
  48. user_name = testuser
    / V8 H& u% @, R. I& Q$ a5 I6 U/ I
  49. 密码= my_password
    1 {& y! S+ y) C4 Y0 }) B/ o. Z
  50. getdriverfunc = getsqldrivermysql / \/ I1 t+ C! y: S1 X# @0 X; ~  v
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ; a3 o9 V& g7 X' A; p6 t
  52. libraryname =. / libsqlmy.so
    ( [' @5 H. `& ~: s' W
  53. 积极= 1 6 x! s4 ]5 [% i% @- n( [; `
  54. ---例如--- ; o0 E  `5 ^1 h

  55. ! _( x0 {! u: q# L( X
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 0 }, f3 B" N! k$ e8 I0 M$ K
  57. ---例如--- 1 @! S  n$ y+ l7 C& L
  58. [ dbexpress ]
    5 B) h3 ^+ O4 I; b" a  \( P  @7 G
  59. sqldir = mysql_sql ( G* d6 r  Y9 x0 S6 H# N0 e$ t8 D5 [
  60. drivername = MySQL中
    1 r0 C5 I4 _  k3 s5 `5 h: y
  61. 数据库=测试7 d0 k8 ^7 S5 c1 r
  62. 主机= 127.0.0.1
    . |4 U% Y: k9 \7 E
  63. user_name = testuser
    , U& s1 K* _5 f$ V& `
  64. 密码= my_password 0 T, g$ o$ B- o8 s+ T. p* D
  65. getdriverfunc = getsqldrivermysql ( E$ J6 E6 N, B: w& L& n- q
  66. vendorlib = libmysql.dll在
    3 m1 Z: w4 Y; ~
  67. libraryname = dbexpmysql.dll
    : L2 t' R) n) h8 T6 o9 q
  68. 积极= 1
    6 P% Z3 T! v. Y* y/ p1 z# v
  69. ---例如---- ! x* `: H% ~8 M/ k1 d+ n
  70. -写在0 2.03.04由p wk.linuxfan/ M1 s# U6 K7 A5 g8 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
- v1 t9 `$ K7 o0 q# f. U  T- u2 m( N; [9 n' _
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-31 00:27 , Processed in 0.087231 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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