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

3074 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
% c/ ~$ q0 \; V8 L  @; k6 B7 m: v- Z) O2 z) f0 \7 w! L; e1 g3 v
  1. # G8 W1 ]. i$ W  M! K
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    " R* b4 {; t% C# w* `' l; b
  3. 7 p; [3 D4 W4 a  L' n8 p
  4. ### What we need ###4 R: _8 T9 r/ L$ u& ^( H
  5. Naturally, we will need a MySQL server to store the data for us, this document 6 @& E- G: b1 w" q# n) T9 h; X( [
  6. will not explain how this can be done - there are documents out there for the 0 x1 E, i8 h* G6 V
  7. interested. The requirements include a (empty) database for TeamSpeak to use) n+ _6 S7 V( ^* O( A+ C* S
  8. and a user account (username + password) that has the permissions to do stuff
    , P" e0 a# C" W  ?5 u- l+ V2 D
  9. with the database. Additionally, you will need a vendor library installed on the
    " }* W$ `* Q7 d% y" T2 k" v7 x' v
  10. local machine, this came with my MySQL install.
    4 G# v' M* h3 U* a9 _/ g
  11. These instructions will not tell you how you might transfer your data from the' e# Z6 J. J& D: T1 }
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL4 ?% z1 N+ X. z; w
  13. database.: q- r8 W& ~( U* {: \
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    / x/ K$ |4 Q& b: F& ^" ?
  15. the time of writing, there are still too many issues - check the current status
    : ~; n  Y. O# [# ?5 f
  16. in the TeamSpeak forums if you are interested.) @' w- g& w+ q' A8 X: ^" |& Z
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    1 N: n" t8 X" ~% e0 w8 k
  18. Borland was used. This driver can only interface with the client library that
    ' \+ w( J* O; c& C- B
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ' u; m* p2 G2 x5 ~& u
  20. client library - basically all you have to do is to use a 3.x client library as
    8 X  B2 W! x- O0 |  ]6 W
  21. "VendorLib" and a 4.x database to connect to.
    6 R* L$ W! {8 Q! [, K
  22. If you need more info about dbExpress, you can contact Borland.
    1 P+ k% F+ [4 G* z! u4 k/ W
  23. 2 A2 M% F  z7 x, N6 ]2 ]* X
  24. ### Doing the work ###
    $ }/ u- G0 n5 ?+ f0 s  k- j+ i
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    7 W1 o: {7 Y  h( N- w% M
  26. the perquisites right, just open your server.ini file, and add this section at
    " ^! W4 {5 e0 I) U, Q& \! ^
  27. the end:( ~1 ]# T8 N* @4 R) t$ X, y9 e
  28. ---cut here---: d* \* {6 h' Y, a
  29. [DBEXPRESS]
    1 C& s2 I. v9 P" O) c  J
  30. sqldir=mysql_sql: [- y" Z' }$ ]7 \
  31. Drivername=mysql
    ; c5 M; S) n0 g; w5 w
  32. Database=Your_Database_Name_Here
    0 r! G! O' x7 m$ E9 `2 X1 a
  33. Hostname=The_PC_the_MySQL-Server_is_on
    - Z/ k- g, ^9 R& c, e- F
  34. User_name=User_name_on_the_MySQL-Server7 {& P# P0 ^( U$ v, o. I
  35. Password=Password_to_go_with_above_user_name
    " H/ n" j( Z  D2 M8 d0 `
  36. GetDriverFunc=getSQLDriverMYSQL; }( M% N1 \9 [& Y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib# ~) O. }2 \6 D2 v( O+ N
  38. LibraryName=path_to_libsqlmy_libary
    + C5 ]  E/ H  W6 |' P, D2 r2 o
  39. Active=1
    & f8 V% y/ ]) w* H7 p
  40. ---cut here---. ?6 ]: j; A" X2 h* r1 M8 K: r4 p
  41. In my environment (a linux box with a MySQL server running locally) I have:
    / `5 ~$ T+ k7 G1 V  Q. V
  42. ---example---
    ( D" G& [% j8 ]$ P: {1 i
  43. [DBEXPRESS]
    % {4 V, `: h  p& Q8 x+ D: V
  44. sqldir=mysql_sql
    + r2 I* k5 @% W* @
  45. Drivername=mysql
    9 Q; [: C  E2 z$ K  g+ K
  46. Database=test
    $ l" K! k. E" F
  47. Hostname=localhost
    4 Y! s" I1 s8 _8 g. K/ L9 C
  48. User_name=testuser
    $ V2 W1 U. _* l( ?# }/ H# Z( J
  49. Password=my_password; Q3 [5 p  A7 U
  50. GetDriverFunc=getSQLDriverMYSQL; D- e8 k" a6 }$ N' Y
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    3 ?; G. X; X' j- g! b( r! i
  52. LibraryName=./libsqlmy.so
    ) g% i5 L& f, e. _/ `- K
  53. Active=1
    " m- ]) N) w/ F* z0 R
  54. ---example---2 r: b$ x9 Q/ z

  55.   \* _0 O* v! A
  56. On a windows box, also running the MySQL server locally, it would be:- r/ `5 p9 C1 p) Z  a8 f" ^
  57. ---example---
    ; X# m( o& O' E0 b# y
  58. [DBEXPRESS]! d/ n" T+ q1 ]7 D/ O
  59. sqldir=mysql_sql
    % z2 r0 T% \4 |+ E3 n
  60. Drivername=mysql: g; C8 f+ O# N0 {" W1 Q
  61. Database=test
    - E& n0 d3 T1 m: u
  62. Hostname=127.0.0.1
    ! @4 i3 H8 V4 B2 F2 w- I
  63. User_name=testuser! R% y0 V+ B* T; F" d* m% [4 y" {
  64. Password=my_password, V( \3 M3 L4 i
  65. GetDriverFunc=getSQLDriverMYSQL1 R( m, O6 R" ]5 @" }
  66. VendorLib=libmysql.dll
    # c" {8 y7 z: ?4 [5 A
  67. LibraryName=dbexpmysql.dll0 Q0 J9 r  H) X7 R, ^* M
  68. Active=1
    # E$ {; b& ]$ n3 J' y6 N3 _
  69. ---example----
    2 U& w% m4 U2 o7 s6 d: f
  70. - written 02.03.04 by pwk.linuxfan2 X3 o" x9 X; l, D3 O

  71.   s$ E2 C4 G# j2 y+ k+ T
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看" u& s4 U% B/ K6 g) j
  1. 2 [9 p- [8 V, O* u$ L" z0 x7 L
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 7 K) f& B1 _* F; S0 V5 Q0 k

  3. 8 B' u* j& x1 W' a
  4. # # #我们所需要# # #
    : D' n- _, w" F$ Y" E  Z
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    * @, F: v* p5 O( E% Q
  6. 不会解释如何做到这一点-也有文件存在,为, w2 J7 i$ F, \% i& Z6 [& A
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用2 _/ q2 D$ {! L
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    : u$ [- z/ _5 l% y
  9. 随着数据库。此外,你需要一个卖方图书馆安装于& \- _2 B# j' o( q
  10. 本地机器,这是我的MySQL安装。 2 `& {5 l- v4 y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    " D% D. R# l, {! X0 v7 N
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    - ]: Z# \2 K' E# F5 b1 d9 K
  13. 数据库。
    + f/ m. j: B+ E- l; R( W: c
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    7 `) D4 j' N! P+ S0 d
  15. 编写本报告的时候,仍然有太多的问题-检查现状: R! M/ i7 G5 F! Q
  16. 在teamspeak论坛,如果你有兴趣。 - I0 k( }5 ~' t( U2 R# |8 u
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    1 n: s4 E$ w5 B) P2 F
  18. Borland公司使用。这个司机只能界面与客户端库
    5 M4 W/ \0 n( ?* X7 Q" |
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    4 K4 T/ I) P2 I5 G: Z, N. l9 a
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为9 O. N( {9 K* D
  21. " vendorlib " ,并解数据库连接。 * c: c" s, T, d  Q! T
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 9 f1 d$ y6 u- \3 t! G5 C

  23. , _7 d9 \7 g1 j3 o$ m% B% g  r" W
  24. # # #做好工作# # # $ c* Q6 }# _; _. X6 ~
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都% y9 w& _5 |( k  u
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    . ]( _5 J* ^& _
  27. 结束:
      F: }/ P$ ~7 |
  28. ---削减这里---
    . X0 ~5 w" X% _2 p6 P) ]2 x
  29. [ dbexpress ]
    ' F2 }3 [' _0 e0 [) r
  30. sqldir = mysql_sql   z  c5 n0 D% c# I4 H( ]( u
  31. drivername = MySQL中0 W5 y- F$ z6 ~
  32. 数据库= your_database_name_here
    0 C1 f# U7 a* X) D: F- q7 t; _% i
  33. 主机= the_pc_the_mysql - server_is_on ! t5 L( e: H9 I9 }  H# ^. k, ]- U
  34. user_name = user_name_on_the_mysql服务器* B4 h. e0 P$ @+ s3 o
  35. 密码= password_to_go_with_above_user_name
    . A# t' j3 G  W$ Z1 R* P# e
  36. getdriverfunc = getsqldrivermysql / O6 r( A" [5 U8 K. F
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    6 D' L5 Q; d( q7 y8 l/ A2 S/ N
  38. libraryname = path_to_libsqlmy_libary
    0 C7 _3 v4 U0 @+ u: M
  39. 积极= 1
    ) Y: a1 l6 M8 I7 e8 C
  40. ---削减这里---
    ' h7 G  @3 {9 F7 Z4 z/ Y% D& ]
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: + R9 {0 x1 S6 l# z" x; K, Q& a+ G
  42. ---例如--- , C5 K5 B4 r$ V8 L" B0 K6 u- ^
  43. [ dbexpress ]
    4 z. C; j  g, i! F& \
  44. sqldir = mysql_sql 8 t5 u7 r5 x- X; d" [
  45. drivername = MySQL中
    3 O, y2 z: e- {5 w+ C/ P2 M
  46. 数据库=测试
    - \( g+ F: O9 ~3 S+ U& U& y
  47. 主机=本地主机& s' x+ ?+ I% G/ N1 t
  48. user_name = testuser
    ; E+ p! j( ]' E: f; q% U7 V$ c9 v
  49. 密码= my_password ) ^8 c' [8 T" q$ X* [# B
  50. getdriverfunc = getsqldrivermysql : s9 [4 c) o& H# n5 H
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 9 J# R* F1 R' V5 y- E; H
  52. libraryname =. / libsqlmy.so , L, b6 I9 B  N9 X0 c
  53. 积极= 1
    * b3 Q' T$ [6 j& S
  54. ---例如--- 3 [3 c0 K4 i# h9 c% H9 z# u

  55. , [& e: a4 x6 w- U8 h0 \+ e/ H8 {2 s8 t
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 0 Y+ r: Z8 M- x7 Y* T
  57. ---例如---
    6 \, B# h% u. w( a) B9 ~0 J7 z4 m3 w3 N
  58. [ dbexpress ]
    % T4 x$ u  V# O8 F4 X  g
  59. sqldir = mysql_sql 2 W  r; e; h2 G4 V
  60. drivername = MySQL中, {& n- ^3 Q* q1 X, y  H
  61. 数据库=测试/ V6 C; R7 E* A
  62. 主机= 127.0.0.1 / z: K' y3 ~- x7 h. L
  63. user_name = testuser + o0 ]/ z2 i) b* G7 [
  64. 密码= my_password
    , S+ S, A; z# S- O
  65. getdriverfunc = getsqldrivermysql 0 W' w( ^" R, D
  66. vendorlib = libmysql.dll在
    : e( U+ ^2 I2 T1 J) x
  67. libraryname = dbexpmysql.dll 2 a- b- {1 ~8 T% w* a
  68. 积极= 1
    ! d3 F9 z# z3 M
  69. ---例如---- 3 O4 R5 ?6 Z1 s
  70. -写在0 2.03.04由p wk.linuxfan. t" l# w, M$ @5 w! H# h
复制代码
发表于 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( Y$ p8 F! Z; }5 P4 M

* N4 q: t0 e' Xbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-26 13:32 , Processed in 0.093689 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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