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

3300 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan $ E, ]9 A. Q+ Z8 W$ s

5 X3 Y' r, A; \+ q+ h# w
  1. 5 J4 g& H* U! q2 s7 }4 k# m
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######) h8 N. x" B# N4 Q

  3. + m4 K  ]: e% l) b# V
  4. ### What we need ###: K: Q. V" W, ~
  5. Naturally, we will need a MySQL server to store the data for us, this document ( \$ b6 E& C3 x' h  d: j7 V0 a
  6. will not explain how this can be done - there are documents out there for the % m" w- O8 g: O- y/ n
  7. interested. The requirements include a (empty) database for TeamSpeak to use& C% W! I  M' O; O4 E
  8. and a user account (username + password) that has the permissions to do stuff
    7 e6 c7 N8 v( L5 W& a
  9. with the database. Additionally, you will need a vendor library installed on the. O5 v- r  S6 m& f4 o" Z# l
  10. local machine, this came with my MySQL install.7 h8 V- N3 b3 f: m- i# i5 B
  11. These instructions will not tell you how you might transfer your data from the# H2 K) A: |6 [* V$ w, @9 h
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL5 \$ C4 N, D2 f. \
  13. database.9 C! r$ D0 _, M: j4 v
  14. Some users have reported ways to import a SQLite database into MySQL, but at5 V8 M* q! N( n) h' i
  15. the time of writing, there are still too many issues - check the current status3 N2 A9 N# N, C- W9 h3 M* V
  16. in the TeamSpeak forums if you are interested./ J0 B' A% B5 S" X( R
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    7 U4 a! b6 L$ J5 H# m, k* H
  18. Borland was used. This driver can only interface with the client library that
    % i( W9 }+ X* V# S
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    + I8 s' W% Q! W: `# P0 f3 a0 f- L1 q
  20. client library - basically all you have to do is to use a 3.x client library as
    2 E- L$ |- P* G* p
  21. "VendorLib" and a 4.x database to connect to.' N$ }9 |( c$ D% i! a4 B4 z& q
  22. If you need more info about dbExpress, you can contact Borland.- F1 ]7 v) Z( N; ^- m/ r- n
  23. 3 R: o/ Z8 Q: {9 _! Q- b
  24. ### Doing the work ###) j: M+ N. w( B7 [
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all$ l1 W3 d+ M- P1 h" A2 b
  26. the perquisites right, just open your server.ini file, and add this section at6 T5 g, Y* U9 }
  27. the end:. Z$ K. H/ k- I* T& [
  28. ---cut here---: D5 g: L! c5 d+ G
  29. [DBEXPRESS]
    ; P5 ~+ K/ U; w5 r5 I* V2 ?& }
  30. sqldir=mysql_sql, @! N; {9 V8 `4 Q. C/ N
  31. Drivername=mysql  o% X9 M% {' ~/ u
  32. Database=Your_Database_Name_Here5 K2 {+ w% B& z0 w+ v4 @1 p
  33. Hostname=The_PC_the_MySQL-Server_is_on
    0 z5 X+ w' H' t
  34. User_name=User_name_on_the_MySQL-Server
    5 R* p) x5 U0 {) [
  35. Password=Password_to_go_with_above_user_name
    2 u1 Q+ S2 n- \$ N9 C& M; F+ Q  _
  36. GetDriverFunc=getSQLDriverMYSQL( R) t7 Q' |5 J
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib0 C6 W9 a2 Q6 {8 Y) F1 |
  38. LibraryName=path_to_libsqlmy_libary
    ! I. v% H: y" i, T" ^$ d/ Y7 l
  39. Active=18 K$ h8 d! J$ n
  40. ---cut here---
    % m# O/ t3 s! f! |% W
  41. In my environment (a linux box with a MySQL server running locally) I have:% W, W" u. Z" E3 D
  42. ---example---
    + l* O- R- ?9 m  }+ t
  43. [DBEXPRESS]
    & ]8 ]. k* G% W1 ]! c
  44. sqldir=mysql_sql
    6 Z3 `" o- \( P8 z5 y* @, v
  45. Drivername=mysql
    $ |0 C" J! g; g2 a1 c) C; B. O
  46. Database=test
    . U, N0 n1 D6 ^; Z+ j+ s- A
  47. Hostname=localhost
    2 ?) f0 R5 I9 y# T, Z
  48. User_name=testuser
    2 e1 G8 ]" P  w1 D
  49. Password=my_password; M( M! \6 y/ D: x1 n) V5 T! }
  50. GetDriverFunc=getSQLDriverMYSQL! y, ^8 t) \  x. Q
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.03 F6 J+ c& @7 V
  52. LibraryName=./libsqlmy.so
    ' R# B) J9 y3 l- P% {4 x/ g! b$ b
  53. Active=1' U1 V: ?) |) G
  54. ---example---
    % b# s4 D1 M/ ^" q& q$ l
  55. # I& r! x& N7 i8 B$ E% _
  56. On a windows box, also running the MySQL server locally, it would be:, E8 w0 S5 g1 S; d) @3 U% z: s4 F
  57. ---example---% j2 D, ^/ m. D1 u
  58. [DBEXPRESS]
    5 M+ F4 Q9 N% h" x5 B
  59. sqldir=mysql_sql6 A# b! E* G* I  ]
  60. Drivername=mysql$ _; M; g" }. g; l  M
  61. Database=test
    8 @" {) y$ ~+ |  l9 `0 G  z6 M
  62. Hostname=127.0.0.1
    : M1 W, A: K9 b' J0 A" y
  63. User_name=testuser8 l6 t* A8 w/ @, n4 ]/ J" f4 Q2 s
  64. Password=my_password
    2 w' L  N3 W: @/ Q' S# [) }
  65. GetDriverFunc=getSQLDriverMYSQL( P5 L. ]3 i# p4 R* u6 j3 _6 a
  66. VendorLib=libmysql.dll" Y+ |2 p6 C- S8 \( L9 N. N
  67. LibraryName=dbexpmysql.dll/ U7 P: _6 d8 T7 f1 R! _. h7 S' s+ q
  68. Active=1' S' W3 T) l: M3 ^! N* [8 `
  69. ---example----# u0 F# A/ T9 a. w1 s3 t8 @# t
  70. - written 02.03.04 by pwk.linuxfan
    + x" U. S7 g7 `+ [, m* C( z- @
  71. : v) b( e  V+ h! ^1 Z
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看6 d' s" q- }* C/ o) d2 d5 h
  1. 9 W* X! K( V1 @: P9 k& M) J/ ?3 Q
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ( @0 ?, f$ Q% _* r& Q
  3. ! `0 Y2 \; {1 ?
  4. # # #我们所需要# # #
    6 K  L+ n3 _# T) e- F! k% e4 C
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    . [. ~! z; Z2 |* K
  6. 不会解释如何做到这一点-也有文件存在,为
    , C3 t7 |: d9 |! ~: ~* ?) J
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用" U- j% M4 G' D7 L" {6 D2 l: q
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西9 S( a- P' L2 H# v
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    3 q% S. h8 p7 w6 \+ ?; c; L
  10. 本地机器,这是我的MySQL安装。
    8 B/ A& [( K) g# _
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    . v( f* G+ Y5 x$ v6 o
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL # W& a+ |5 p- p) T& a
  13. 数据库。 9 ?( ^/ r, C+ D+ t- R2 ~: k, Y
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在( X) V: {( r5 n! S- f$ T9 o7 s$ U
  15. 编写本报告的时候,仍然有太多的问题-检查现状! `! R% ?  A# d& f
  16. 在teamspeak论坛,如果你有兴趣。 : t9 F7 a/ i6 u: q
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    7 H! W9 `% B2 S2 Z  P. Q+ V: d- D
  18. Borland公司使用。这个司机只能界面与客户端库
    ! _: l5 Y$ Y" j1 Y4 Y) C: p1 q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    # t- t9 s% L* Q4 d  s2 Q. ^
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为% g, L( ~( y4 i, N3 V7 \
  21. " vendorlib " ,并解数据库连接。 1 T3 z7 M2 D! [" @
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    - m$ C. }) O; h& v
  23.   n: [- Q/ o5 A1 N6 K. `
  24. # # #做好工作# # # 7 C$ u; y0 Y) s- p6 ]3 O1 q
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    / |5 p( N8 y* V# Y* B7 J
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    7 l3 N  V! R! Z- |+ ^8 _2 i
  27. 结束: / j$ F" L9 M. D  I2 W7 e
  28. ---削减这里---
    ' |4 \; O/ M& T2 N
  29. [ dbexpress ] ( V% N4 M  P& W# j+ B
  30. sqldir = mysql_sql ! s) h8 i" R2 b
  31. drivername = MySQL中+ X$ Q9 @$ p0 @+ @
  32. 数据库= your_database_name_here
    1 K0 j/ s( |: c2 A! U0 f
  33. 主机= the_pc_the_mysql - server_is_on 7 D5 D7 C' K3 ?+ Y0 A$ E
  34. user_name = user_name_on_the_mysql服务器. Z! O: ^* v8 o2 g! l- V3 s' G' @
  35. 密码= password_to_go_with_above_user_name
    2 l, {1 m; o6 f9 V4 o
  36. getdriverfunc = getsqldrivermysql : s: Q5 x8 [6 T. u1 H/ q
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib + B2 Z! s" e+ D; k0 c+ v9 H
  38. libraryname = path_to_libsqlmy_libary
    # {' u$ ]  m3 c0 n
  39. 积极= 1 ! e$ h7 e) r& i3 X9 P& h' N
  40. ---削减这里---
    + A2 C3 ~5 q: \4 o; m, m
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    $ [5 k6 W; p! a2 [8 n; `! `
  42. ---例如---
    ' `+ g, R* O4 j/ b; ~5 w
  43. [ dbexpress ]
    & `/ x/ O' _. L6 L0 G& G% d( U: |
  44. sqldir = mysql_sql
    7 q! @6 O  R# d4 ~/ D, I% b
  45. drivername = MySQL中" Y" \; w( a$ Y, `
  46. 数据库=测试$ T' p0 T! L) w8 O0 I3 Z! Z
  47. 主机=本地主机- _+ c5 m- M5 X' b. i
  48. user_name = testuser
    % k6 q9 m& J2 u7 e+ i5 }0 C* [
  49. 密码= my_password / C0 U7 y- Y) `9 j( w
  50. getdriverfunc = getsqldrivermysql ) ^) }0 [* T$ s8 c6 y5 R9 }* h
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    7 F: ^4 O* Y6 f- J
  52. libraryname =. / libsqlmy.so
    . |) o5 W1 D2 \3 w5 f& v$ k
  53. 积极= 1 / e" k7 ]& r/ d7 r7 L
  54. ---例如--- 7 K6 \0 X: S3 `& R
  55. $ X- U) @% l7 u8 ?: f" U+ O
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 3 ^0 e2 s) R! F+ S  _
  57. ---例如--- 0 z! u" E: n. @
  58. [ dbexpress ] 2 Y% ]. F8 t! m, y
  59. sqldir = mysql_sql
    * b& _. S2 w# U; M
  60. drivername = MySQL中5 ^2 P# H1 L4 g( U$ B( q
  61. 数据库=测试
    3 Y, l6 ]% n% U- r9 l) x: J
  62. 主机= 127.0.0.1
    * N9 r* `8 X! e6 n
  63. user_name = testuser
    ; B9 b1 I, A: M4 s* ], R
  64. 密码= my_password
    * }9 Y5 [' _( x; h
  65. getdriverfunc = getsqldrivermysql
    " [, q* _3 @2 ^8 \  }) v
  66. vendorlib = libmysql.dll在8 F* S7 u  f# W* I
  67. libraryname = dbexpmysql.dll
    , j# _! G8 {' }1 o/ U/ P
  68. 积极= 1
    % _  \7 R% n. Q' s# v- |
  69. ---例如---- / h, D( _5 Z" [' w* D' a
  70. -写在0 2.03.04由p wk.linuxfan
    9 L* p3 K# o" S1 l
复制代码
发表于 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
6 O5 n, m- g; ]- f, p& [7 |* Q/ S' E  ^. a  W
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-7 15:51 , Processed in 0.097900 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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