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

2585 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
( |! L8 ?& o* H3 h
  J" x( L" h, [# C7 \

  1. ( g) q. v; k' M6 ~5 D6 R+ h
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ( ?5 q, X9 ^% g5 H& F
  3. % r2 Q' d% w' ^6 B" W, a
  4. ### What we need ###! V3 O" U* O! |1 s' D
  5. Naturally, we will need a MySQL server to store the data for us, this document 2 p/ E) M) o7 p: v, g! Q8 s. G
  6. will not explain how this can be done - there are documents out there for the
    5 t+ x9 v$ a) c
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    $ q. l% V4 q, R% h$ a( O4 h6 i( M4 [
  8. and a user account (username + password) that has the permissions to do stuff
    5 d! U4 J, J; b+ T# j0 |0 I$ J
  9. with the database. Additionally, you will need a vendor library installed on the; {4 C, z# K3 u7 p% \6 n, o
  10. local machine, this came with my MySQL install.
    ( \' {# N( B. G' O, [: C7 O
  11. These instructions will not tell you how you might transfer your data from the9 b% v  w0 v, L/ j" Y8 S
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    9 l. @7 m% C* N* s1 y4 b
  13. database.
    1 c$ q, u7 k$ i! S9 g
  14. Some users have reported ways to import a SQLite database into MySQL, but at! y, V1 Q. u8 X) z
  15. the time of writing, there are still too many issues - check the current status
    ( h* H2 p) r2 M' D! t" o
  16. in the TeamSpeak forums if you are interested.
    8 N$ c0 G& |; ?! Q' m( l+ K. d
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    : L% N1 e/ T- T+ B8 P, X8 S5 I
  18. Borland was used. This driver can only interface with the client library that
      ~2 X6 K% I4 `, k' w2 C
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this9 k+ ~8 w+ i" I1 v
  20. client library - basically all you have to do is to use a 3.x client library as
    : X; \' m* I6 L" S  g) o8 P( I. t/ ~
  21. "VendorLib" and a 4.x database to connect to.$ D* v: L; _' \9 e! a0 i
  22. If you need more info about dbExpress, you can contact Borland.
    / J3 U* n8 y& p5 T6 L5 w6 ^: X
  23. + ^$ y7 R2 X3 e9 b* z3 M6 d0 m
  24. ### Doing the work ###1 J4 `+ }8 r' }+ q- Q  I
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all/ q8 W. _# c: e5 t4 P! S. {- I
  26. the perquisites right, just open your server.ini file, and add this section at
    8 v$ o, V3 r. j8 G6 M" y. r
  27. the end:# Q% s1 f- v: Y+ r$ N
  28. ---cut here---
    : S' ~$ ^9 m. R' J% I/ r
  29. [DBEXPRESS]; a0 A: Q. {+ n$ r/ ?0 K* B0 K, Z+ g
  30. sqldir=mysql_sql0 \0 V# ]6 |' N3 y* ?
  31. Drivername=mysql# S3 \# j! _2 F" b8 R1 r- {
  32. Database=Your_Database_Name_Here
      s9 f' g) ?! L2 F' Q( ^1 p
  33. Hostname=The_PC_the_MySQL-Server_is_on/ n* @6 Z/ G& g# h
  34. User_name=User_name_on_the_MySQL-Server: K1 u  }1 I( t) z4 J& u/ X
  35. Password=Password_to_go_with_above_user_name* r, i' x2 q1 b. E2 R6 I! w* ~
  36. GetDriverFunc=getSQLDriverMYSQL
    . o- q( R! ^9 B( j
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib5 w# T" Y$ H3 f8 l4 V6 }
  38. LibraryName=path_to_libsqlmy_libary
      v$ p' A# m" q! x# a
  39. Active=12 q5 l% H8 _: `' z
  40. ---cut here---6 v, h, n( ]* Z0 S& o
  41. In my environment (a linux box with a MySQL server running locally) I have:. }% m$ y0 H! O, F* y
  42. ---example---7 j3 G6 t2 j$ i8 L% X
  43. [DBEXPRESS]
    $ K$ S8 K! B; {. G5 G( o
  44. sqldir=mysql_sql* j1 Y# M( J- z: j7 P
  45. Drivername=mysql8 B$ O. m$ e' o1 [8 |! I
  46. Database=test
    9 b" t. ~' @( A0 W) }( Y
  47. Hostname=localhost( N0 p- S& K3 D* Y2 g0 N. u
  48. User_name=testuser
    & E7 _) O( p/ V0 b: {2 t# L
  49. Password=my_password% y9 g, s) P5 Z; X4 G3 E8 ^
  50. GetDriverFunc=getSQLDriverMYSQL
    8 z" F$ E7 W; S! r  T* P
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    : U* ~: T4 d! q2 P
  52. LibraryName=./libsqlmy.so# m: B7 w1 T3 V0 \
  53. Active=1' j$ `5 V" l3 R  e1 G; y! b! P
  54. ---example---
    & t) @! b% r4 I( ]: X" p
  55. 4 ]; M8 \1 {7 K$ K
  56. On a windows box, also running the MySQL server locally, it would be:) y! x5 g, a6 F# @
  57. ---example---4 o& x, e, p6 l- D4 X! [, e
  58. [DBEXPRESS]
    , H- b) O; T/ m4 i( {
  59. sqldir=mysql_sql
    3 Q; ~. b3 ?/ t# ^/ X
  60. Drivername=mysql  `) C* @& w  w( H+ [
  61. Database=test2 C3 Q* f' D3 e6 Z) x
  62. Hostname=127.0.0.1& K2 I9 K& Y1 H# E5 [
  63. User_name=testuser
    % d( s; \& b( }. ?3 ^8 h7 O3 I9 l. S
  64. Password=my_password6 a' @; G/ S# ~. V4 K  @
  65. GetDriverFunc=getSQLDriverMYSQL3 A& [8 g2 [+ D7 I8 c  I- P3 R
  66. VendorLib=libmysql.dll$ y! }. t. s' Q% w( a* s
  67. LibraryName=dbexpmysql.dll! G" K" ~2 R2 |$ B$ \
  68. Active=19 \7 [- _. h3 [- Z. A
  69. ---example----1 p4 K' c6 S* t
  70. - written 02.03.04 by pwk.linuxfan3 ]4 p7 i! q% |6 Y; A5 K- g
  71. / j' v4 p$ t$ E9 x+ D
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看8 q% ^+ S2 R* w; a* T
  1. ! X4 \2 }: i& v. }
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ; G: H/ t  Y1 o; G8 K, a
  3. ' m6 L# L5 y) L2 b3 m; w
  4. # # #我们所需要# # #
    , q$ D3 _0 s1 N0 v5 M
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    : C/ K" u' Q" K) y' V4 Z6 W4 t! C
  6. 不会解释如何做到这一点-也有文件存在,为4 e: f9 {! g+ o5 r+ H
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    # B2 y- j) Y& B0 a) P# ~
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西# \& U2 U5 u! ^) A( [+ v
  9. 随着数据库。此外,你需要一个卖方图书馆安装于8 J# D/ i0 z; o# R. M# j7 [
  10. 本地机器,这是我的MySQL安装。
    * y2 O" i( i$ z5 p) n/ o
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    0 s$ r2 S0 O% O; y+ |
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    % X* {6 _0 B" [1 H. |0 C) `
  13. 数据库。
    ! X" V* F7 {" u" X8 [2 s
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在$ B; P6 d5 d6 a7 x( t5 W. }
  15. 编写本报告的时候,仍然有太多的问题-检查现状! R6 z3 c% X0 b9 x9 ?
  16. 在teamspeak论坛,如果你有兴趣。 4 ~, X3 h6 f& i. N. K+ `: |
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    , B  q4 M6 V5 }7 c: L
  18. Borland公司使用。这个司机只能界面与客户端库
    9 A3 ~+ s# E$ b* e# Q2 Q5 i0 V+ r8 ?
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ' ]9 r/ F; ?* ?
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为- E+ w4 g" W7 l4 _/ V8 }
  21. " vendorlib " ,并解数据库连接。
    1 _/ M( a. O( \$ p
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    / {" f6 R% t3 K6 M9 |
  23. ( m# r& q  y0 R- [- q
  24. # # #做好工作# # # ! U& f6 ~2 V2 s: L8 N
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都- y) V- T) [0 @7 m$ [
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在% h3 Q7 y' F+ R5 _9 f8 ^
  27. 结束:
    6 t& n# v9 [, s; X' x: G
  28. ---削减这里--- $ e8 Y1 [. R7 n7 f4 ]3 |& p8 Z
  29. [ dbexpress ]   R3 V( N( H: l
  30. sqldir = mysql_sql # |6 [; m0 j. X* H
  31. drivername = MySQL中1 _' x( b- \( ~, R/ @
  32. 数据库= your_database_name_here ' M. y, G, ~0 R. Q% _% L
  33. 主机= the_pc_the_mysql - server_is_on & ?7 i& f- l" o$ p
  34. user_name = user_name_on_the_mysql服务器% Y# l) o9 J6 F: J( L  t
  35. 密码= password_to_go_with_above_user_name . v7 V( l9 V; c1 ?; W
  36. getdriverfunc = getsqldrivermysql
    : Z2 N1 E/ L+ Z1 Q
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ) j; n8 W6 S' s# ~/ N* x
  38. libraryname = path_to_libsqlmy_libary
    , L2 h5 }, L3 j" S4 e- @! w- `
  39. 积极= 1
    - T' V6 r3 n/ F( j
  40. ---削减这里--- * h" M/ x3 x# U5 J
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: - R, w. A- T' i- B
  42. ---例如---
    / W% l+ i. s* s$ @: P7 o- k
  43. [ dbexpress ]
    0 Y3 V9 X  y1 l" W2 c. c
  44. sqldir = mysql_sql ( |3 _* i9 H6 ]6 B5 _
  45. drivername = MySQL中9 o* z/ t2 ~0 F% T4 {1 s) u
  46. 数据库=测试: |! t! x8 ]9 B' @
  47. 主机=本地主机# j$ _* C" }! f- m( d( B
  48. user_name = testuser
    ) i1 t, [& I9 k& y/ ]
  49. 密码= my_password - _+ ?5 Y+ c2 U0 }: H
  50. getdriverfunc = getsqldrivermysql
    6 u$ B# J% ^4 X, w7 m# N
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 + l( T" Z8 u, w1 |
  52. libraryname =. / libsqlmy.so 0 B4 e# ^# f. Y* J( v
  53. 积极= 1
    : B: ^7 G8 M5 g  z( Y
  54. ---例如---
    ( ]. V. i) {) \: E, Q

  55. ! Q$ g. j/ j% l& T+ o
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ; u6 R  U% ^4 v
  57. ---例如--- $ ^2 T& l9 A& _. o( ]$ V7 {+ `
  58. [ dbexpress ] % Z9 @5 u, R6 X# _: i; |
  59. sqldir = mysql_sql
    ; G4 q- M: b! w: U
  60. drivername = MySQL中
      i# d$ y. @7 _
  61. 数据库=测试
    # {2 y9 z2 v1 B( T. e' z  n- X
  62. 主机= 127.0.0.1
      N2 d+ K$ _7 C( A: W. b. T
  63. user_name = testuser 8 E1 {0 b) B% H3 N  k
  64. 密码= my_password ( @5 X: d9 E. s: R) S! @. k' M
  65. getdriverfunc = getsqldrivermysql : J  ~+ ?' T  e5 T
  66. vendorlib = libmysql.dll在
    0 ?- w9 }# Y! u/ t7 F
  67. libraryname = dbexpmysql.dll / I; _1 N: H0 w$ h! l% k
  68. 积极= 1
    7 G* l! o6 l% K4 b- ?* c& {
  69. ---例如----
    ' P( c$ I% _* J' n1 W* |
  70. -写在0 2.03.04由p wk.linuxfan0 x1 z* t% @! M6 k5 s! t
复制代码
发表于 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
& C6 a+ e6 E4 m! @5 q
) E, D/ S0 c- q- V* gbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-6 06:03 , Processed in 0.108367 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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