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

2795 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan # _: K1 W0 M2 j4 ~# m7 M

9 d" y) D$ @! [' B
  1. & O; I5 `0 x) q
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    $ c* I- `2 n% v! h7 |  t- h
  3. 5 O% C  Q% @1 i8 a
  4. ### What we need ###7 D$ W  H" K# D! S6 S& ]
  5. Naturally, we will need a MySQL server to store the data for us, this document
    : L+ ^! W! k' E6 X3 \$ P5 w
  6. will not explain how this can be done - there are documents out there for the
    0 v" x$ G$ }' \% m* C6 @
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ) k. ^9 Y( s) e" h6 n3 x2 a- O: J
  8. and a user account (username + password) that has the permissions to do stuff: E' k# v4 Q+ e0 Y% x; g0 p
  9. with the database. Additionally, you will need a vendor library installed on the- b+ P. X. X% p& |
  10. local machine, this came with my MySQL install.
    & z3 p$ y' d3 n/ o1 ~
  11. These instructions will not tell you how you might transfer your data from the
    . H4 ^$ q* j% U7 @$ |; P  w
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ' H1 l$ C7 l2 x0 E& U
  13. database.% O5 ~6 R4 m" `" C1 I9 U; t- ?
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    . }: [7 V$ Q& i* i, ]1 s
  15. the time of writing, there are still too many issues - check the current status
    " d5 ~8 Z) }: f, L
  16. in the TeamSpeak forums if you are interested.- V! N- c4 N2 C9 q+ A7 b* v
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    , B/ m& A8 \( y9 n' U/ h0 g
  18. Borland was used. This driver can only interface with the client library that ( d" @) z3 a3 @6 E4 \. Y
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this0 e( ^3 L% b0 n% ~7 I0 Y
  20. client library - basically all you have to do is to use a 3.x client library as
    * j- }4 B  a( \& z3 F
  21. "VendorLib" and a 4.x database to connect to.
    ) ^8 h$ d& q+ K$ c
  22. If you need more info about dbExpress, you can contact Borland., P' b( b# y" p  V) ^' @. D$ _0 e

  23. 1 Y( _" I: R2 e
  24. ### Doing the work ###! G6 o2 w/ ~- c3 t9 [, w" F( \
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ; K  e7 l4 l& |: Z7 ~4 M
  26. the perquisites right, just open your server.ini file, and add this section at% X# n' ^! t- f1 ^6 k' G' m
  27. the end:/ X& M6 G3 i% J  b# n& G* ^9 S4 G8 D
  28. ---cut here---
    6 J9 n/ u7 d. x
  29. [DBEXPRESS]
    * _% h1 B1 U, K: e3 g' Z1 c+ A
  30. sqldir=mysql_sql
    $ G8 U- N: Y! e0 y; h
  31. Drivername=mysql
    2 s6 R! B: e/ X. d
  32. Database=Your_Database_Name_Here" }8 K# {4 X- S2 F& q  F4 ?' ?5 X
  33. Hostname=The_PC_the_MySQL-Server_is_on
    1 X. Y7 l9 w# J( {
  34. User_name=User_name_on_the_MySQL-Server6 D" J1 C5 E; u! @5 C. ~
  35. Password=Password_to_go_with_above_user_name0 \2 k1 d3 _! f/ G( `
  36. GetDriverFunc=getSQLDriverMYSQL) m$ v+ l; z' O% S
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib; Y9 V* P( D& c/ b) p+ D
  38. LibraryName=path_to_libsqlmy_libary3 A& F6 N) x9 `6 e/ H9 F* \1 O
  39. Active=11 n" b# z  a% B  P
  40. ---cut here---
    : y' p/ ~7 t2 Z/ y. e
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ( @  B- ^# c" ]
  42. ---example---$ e6 M, f9 \9 X
  43. [DBEXPRESS]
    ! R  d; a, Z" A. U. P, p
  44. sqldir=mysql_sql
    ; k4 V$ C. p: C
  45. Drivername=mysql
    ' @/ @4 Q5 c) o' f: _5 c
  46. Database=test
    . M; S" K& z" b- ?- |
  47. Hostname=localhost$ W. y8 X- i- v* M4 d1 M
  48. User_name=testuser
    8 g  I; Y: j7 W! Q
  49. Password=my_password' x3 `6 o. Z2 V; r. M* K8 f
  50. GetDriverFunc=getSQLDriverMYSQL
    2 c: r  A. B7 P# g
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    3 o" S& |0 Y9 b  D# `
  52. LibraryName=./libsqlmy.so
    5 i( I2 D% V9 }. V* B1 Y2 a  B
  53. Active=1
    % ]6 r- S2 I1 H. s, a
  54. ---example---: `  y1 b4 n) @* s
  55. 5 R2 b% k* _- N. D/ S4 S
  56. On a windows box, also running the MySQL server locally, it would be:
    * w8 p# p7 R# w# w
  57. ---example---
    : U. q( X  {6 H& Z: I
  58. [DBEXPRESS]2 @' A/ ]+ J. L5 t: |
  59. sqldir=mysql_sql
    ! t7 E+ [6 k! [0 Z. U4 F* G  m
  60. Drivername=mysql, ^; ]. Y* y% T8 t/ P+ s
  61. Database=test4 ]) z8 \" W& I9 i. o
  62. Hostname=127.0.0.12 w7 f: A' C& Y5 P( P' ~$ V
  63. User_name=testuser
    3 e3 _: R: j# A6 a" |
  64. Password=my_password4 [, f; f4 a+ l5 T  \. ]3 g
  65. GetDriverFunc=getSQLDriverMYSQL
    $ z9 H& z; R5 u0 ]2 ]! N
  66. VendorLib=libmysql.dll
    , z; w( u/ s3 W. x+ k5 b
  67. LibraryName=dbexpmysql.dll
    ; Z0 ^7 _) w" `! j
  68. Active=1
    8 x/ B" d2 I* O+ O
  69. ---example----0 e5 ]7 o! I# |  {
  70. - written 02.03.04 by pwk.linuxfan) P3 q4 F( f, s; g2 q$ G2 \
  71. # {9 T# F7 s/ K+ j3 |6 D
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看$ f) o* A/ _$ @
  1. ! M+ X5 N; t0 p9 V9 }
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    2 S. N4 u2 k: E* W
  3. 9 _& |& q2 \9 c% Q5 e
  4. # # #我们所需要# # # . R* B  m7 @. {. V* a& P7 C
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件, f0 _8 |8 ^  I+ _6 k3 p
  6. 不会解释如何做到这一点-也有文件存在,为2 m' o& u/ u: y# |  u
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用- J% ]2 a- V- x# S3 _" j3 }
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西. W2 |$ u3 I% r) j+ p8 m
  9. 随着数据库。此外,你需要一个卖方图书馆安装于% `4 L. w' B& ~7 K4 U. w: w
  10. 本地机器,这是我的MySQL安装。 ' ^8 P8 g4 B" j& a7 i
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    2 N1 F4 Y# w, [: i
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ; Y  R6 `# W, |) c/ D' k1 q* t# t
  13. 数据库。 7 C0 D" _7 \. W% A8 |' p. N; Y
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    8 A& N7 R( T" b) I
  15. 编写本报告的时候,仍然有太多的问题-检查现状  k% G* V* s2 e; h! v% X3 z& h
  16. 在teamspeak论坛,如果你有兴趣。 6 c) t6 Z8 J, W
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    : h' c4 K: I" m5 l5 C$ ~, b8 X
  18. Borland公司使用。这个司机只能界面与客户端库
    8 t2 C9 r) U; J3 x! l9 m
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这: `2 @: k8 h0 v& \8 u0 A# E8 _
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    / g" p% C: ^, R2 e+ u( \- ~$ b3 @
  21. " vendorlib " ,并解数据库连接。 " b6 G* ^( s' _4 F  k
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    , R3 b) E  t& P" T

  23. 7 n8 w- l5 |! y. N4 X
  24. # # #做好工作# # # * C! F0 r, h7 w
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    1 P4 d6 B+ s5 R$ ]4 L5 A7 K
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在8 u4 I+ H, u% Y6 e) D
  27. 结束:
    . o$ V9 J" A% N0 {
  28. ---削减这里--- ' m0 Y7 l% y" Q* A: R1 r
  29. [ dbexpress ]
    ; ]* ]6 F1 ~) G  l4 B
  30. sqldir = mysql_sql
    0 l$ L. p% W- [- q" M, N$ V
  31. drivername = MySQL中, E& o/ J7 b- b7 k
  32. 数据库= your_database_name_here 4 {! c: q1 T4 `0 {6 o% {
  33. 主机= the_pc_the_mysql - server_is_on 6 v. A4 n( n, Y1 N0 x( |3 k, I+ K
  34. user_name = user_name_on_the_mysql服务器
    ) [* W& k8 L% }1 p
  35. 密码= password_to_go_with_above_user_name - K! c9 l3 ]) d: B/ F
  36. getdriverfunc = getsqldrivermysql
    - R4 S3 W4 M9 h! U% r
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 0 E5 p% K& U: o& s  c" S, t- x
  38. libraryname = path_to_libsqlmy_libary 4 L4 `: E- j5 |* m9 y* c$ Z
  39. 积极= 1
    1 S( b, ?% N) M) c' B9 v
  40. ---削减这里---
    - f" A7 z# O! B2 v
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: & L5 G/ r) K$ B( I
  42. ---例如--- 3 a& L4 k) J3 }5 f
  43. [ dbexpress ]
    , W. D% F1 K. t& v0 `& t
  44. sqldir = mysql_sql
    ; x) }' M# F$ ^. Z
  45. drivername = MySQL中* p4 v! y' F; o/ t
  46. 数据库=测试+ t3 ]: {9 O" B2 Q$ X) u2 P
  47. 主机=本地主机
    - W' @" A8 ?- V$ F6 Q6 G
  48. user_name = testuser
    , q8 z: M- c: o4 ~
  49. 密码= my_password
    ( e# ?% W. K8 y" Y( W! q( {
  50. getdriverfunc = getsqldrivermysql . ]5 n) }( ~4 e, V
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    1 s* I) _6 R- Q$ w8 r0 V
  52. libraryname =. / libsqlmy.so
    * D4 ~- y! C6 h3 Q* h- C9 ]3 j
  53. 积极= 1 ' S+ B# y+ m1 d% o; A/ t( B6 M
  54. ---例如---
    / V0 g9 i2 k5 t+ N9 _7 W: W
  55. 2 C0 |1 e/ l$ l
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    6 x( d: C/ L. F5 ~* n9 K! Y
  57. ---例如---
    $ h9 o1 ~0 W# D3 H4 p9 y7 `
  58. [ dbexpress ] . `. d: ~8 X# s3 l) P2 A, o/ W4 L9 _
  59. sqldir = mysql_sql
    ; ~% x7 ]6 T2 L5 q# g
  60. drivername = MySQL中
    $ j, R  k/ o3 T8 G5 Z8 X' ^
  61. 数据库=测试
    5 K. u  k5 A) q4 t0 f% `
  62. 主机= 127.0.0.1 # V; G# a, }# [, d! L5 Y) x
  63. user_name = testuser
    3 ^; p* m9 Z& \# C: o& A" r0 W' S
  64. 密码= my_password
    6 h9 R/ t% X& s5 n9 c. I
  65. getdriverfunc = getsqldrivermysql * u1 H! q, `, Y- P0 m+ w
  66. vendorlib = libmysql.dll在8 w3 r4 u0 F8 G! q8 C2 ^# G2 d
  67. libraryname = dbexpmysql.dll " Y+ N$ ?% }0 D- t5 d
  68. 积极= 1
    : P. G$ ]1 T- a
  69. ---例如---- 3 K( L) f, V) k1 @
  70. -写在0 2.03.04由p wk.linuxfan
    , y% R6 w+ R/ V- V( q- @4 j& j  O
复制代码
发表于 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
5 A9 @7 a* V4 V/ z/ \' Z# |
# }$ h. k+ B% Wbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-23 08:04 , Processed in 0.130603 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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