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

2433 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 3 |$ k( F7 j7 Y0 N5 M; Q

8 s5 E4 a$ s- w+ n

  1. , n" J! Y: F8 ^
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######& G% f5 ?* N+ L8 ?

  3. 6 A2 M8 u6 H! C, M0 e( ?$ P
  4. ### What we need ###
    2 [9 L( c" @5 c9 [. X
  5. Naturally, we will need a MySQL server to store the data for us, this document % k4 p; W& ^0 }5 T
  6. will not explain how this can be done - there are documents out there for the
    0 t8 C! t  j0 K1 B: A
  7. interested. The requirements include a (empty) database for TeamSpeak to use- V9 y- c/ I& g; V+ N' [- d
  8. and a user account (username + password) that has the permissions to do stuff: v! @) L4 R) `1 U9 Y
  9. with the database. Additionally, you will need a vendor library installed on the
    ( k( k7 ^0 r$ r5 W& d0 Z* J5 o) v) U
  10. local machine, this came with my MySQL install.
    4 F$ m. `1 p4 p3 @# |8 N8 s
  11. These instructions will not tell you how you might transfer your data from the
    - _+ t3 s) ~! f
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL* {8 p' h8 t2 Q. q
  13. database.# {% ^! e; f$ d1 b1 v
  14. Some users have reported ways to import a SQLite database into MySQL, but at6 d8 u( O; V7 Z0 [) Q1 G! K
  15. the time of writing, there are still too many issues - check the current status
    ' q6 e' F# O9 f& y& g
  16. in the TeamSpeak forums if you are interested.
    3 {9 c) N  y1 f0 V6 i; }
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    9 b% J9 q, S2 S* t$ `$ b
  18. Borland was used. This driver can only interface with the client library that : n! N8 V0 z! I0 y3 c% g
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    7 k' G, d5 L$ \5 ~
  20. client library - basically all you have to do is to use a 3.x client library as % a& c1 i7 n1 c/ b# l
  21. "VendorLib" and a 4.x database to connect to.
    ' p9 Y  u% U  I$ J7 x9 W
  22. If you need more info about dbExpress, you can contact Borland.
    # u' h' M) m9 V5 Y3 A+ H5 y2 Y- G' f

  23. # O; w3 f5 h" z
  24. ### Doing the work ###: @! Y! G- x& @
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all; w2 a: K- e9 m0 h% `0 R. U* \4 X. n
  26. the perquisites right, just open your server.ini file, and add this section at
    , f0 N( s6 Z9 I
  27. the end:
    2 D" s) u. N2 p, E
  28. ---cut here---- K# D$ O9 g6 y+ a$ W
  29. [DBEXPRESS]
    4 s& E% c& x* ~1 b
  30. sqldir=mysql_sql6 l9 E  t2 T. Y6 H4 @" m) Z
  31. Drivername=mysql
    , _9 s8 q, `" ]! w  w5 R/ M2 N
  32. Database=Your_Database_Name_Here
    1 ], v/ {% ~: I& C
  33. Hostname=The_PC_the_MySQL-Server_is_on- H' R' ^5 w8 r4 b+ w% i1 Q
  34. User_name=User_name_on_the_MySQL-Server
    4 c9 M. d" i- O- d% H/ P
  35. Password=Password_to_go_with_above_user_name: b% e' j' k; g' V5 f+ _- G/ q
  36. GetDriverFunc=getSQLDriverMYSQL3 m- x3 L$ S# {! U1 f1 \! t( B
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    6 y1 s% q4 B' j* t, x+ t
  38. LibraryName=path_to_libsqlmy_libary6 j& Q7 o) d3 g
  39. Active=10 a6 q& }! n2 r$ T5 u$ G
  40. ---cut here---. t+ g8 }5 C7 c: x* s/ I+ v& s+ N
  41. In my environment (a linux box with a MySQL server running locally) I have:) ^2 w5 k9 h3 b/ x% F  n
  42. ---example---% _! {5 k, `7 O- a
  43. [DBEXPRESS]' V( M6 K% G' H. g& c
  44. sqldir=mysql_sql
    6 q1 y6 c) q1 ?8 M( D
  45. Drivername=mysql
    ( r8 C* b9 }# }0 _( L' Z6 w7 i
  46. Database=test
    $ Y! c8 D6 n! M% ^5 p
  47. Hostname=localhost
    ( p4 l! J' q3 |* k. J2 n7 d8 N$ E
  48. User_name=testuser1 Q0 {! g/ F; ?/ M" F8 M/ ?( N
  49. Password=my_password5 G8 B; w3 M/ G6 b) v$ J
  50. GetDriverFunc=getSQLDriverMYSQL0 W5 _' W4 m( h) T
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.05 Z' f: ?4 V% B: d% T& P
  52. LibraryName=./libsqlmy.so- u- \5 s; s) x* y$ N' e+ C/ P
  53. Active=1% {0 h+ O" q3 ]
  54. ---example---
    + s" z7 d1 k2 {6 M6 X! h

  55. + }. S$ {$ N7 F8 ]; W
  56. On a windows box, also running the MySQL server locally, it would be:7 M& T! d1 w5 `! f
  57. ---example---
    . w$ w4 Z4 N, X7 O9 m5 t6 D
  58. [DBEXPRESS]' O6 O& s- p- S, W; G
  59. sqldir=mysql_sql' |8 e  p5 S; G: }1 s1 V% c& ~2 V
  60. Drivername=mysql/ B4 \* d% `$ D+ y: l
  61. Database=test
    0 ]8 i' j. S  R4 r, F
  62. Hostname=127.0.0.1  m0 L8 B/ z0 m+ F) u
  63. User_name=testuser
    9 }- b! T. \# `9 k' y# u; ?0 @
  64. Password=my_password
    * s( G3 [6 k" q
  65. GetDriverFunc=getSQLDriverMYSQL
    6 [6 k2 }& D1 V8 H0 Y# \
  66. VendorLib=libmysql.dll, F# \% G/ z) Y+ X
  67. LibraryName=dbexpmysql.dll; I: U" J2 h4 P1 [
  68. Active=1
    - ]( G. ?- I+ _
  69. ---example----- I, r7 m% {0 ^1 V) i
  70. - written 02.03.04 by pwk.linuxfan
    2 B6 e) h( j3 i& V/ N& w/ ^
  71. : ~7 O6 H& e( h9 n. \
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看: v3 i( }! c% f) r' [

  1. 0 B, s3 i& ?% H. r5 A+ f! v5 ~5 n
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### - L4 m0 Z3 X* A% N# ~
  3.   M% n6 L3 D  \7 h+ `- y1 H. q  x
  4. # # #我们所需要# # # 9 {- |4 y8 n0 D7 o7 m. @, I
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件" x; r- {7 g* a4 }( w2 P" ~; ^3 v
  6. 不会解释如何做到这一点-也有文件存在,为' f" D% k. W2 \3 s( i* Q8 K  {
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用6 Z# a6 o& n9 t0 M4 P8 K8 W
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    5 K, ?. ~# l0 Y6 P" r
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    1 Y% D7 J  V+ V7 J  ^" S
  10. 本地机器,这是我的MySQL安装。
    - @5 z8 b3 j( b+ A$ M7 ~  @
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ' i4 R5 U  f' r$ i
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    $ u: h/ O) e1 O" N: B) w
  13. 数据库。
    ! A# ~4 X! R, ?/ ~  X
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
      x4 f8 _6 G( g0 Q
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    2 L$ u0 j* g( G0 ]6 I9 G6 K6 u
  16. 在teamspeak论坛,如果你有兴趣。
    7 `, z6 L" W4 y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    0 o% R3 z8 p7 Q4 q
  18. Borland公司使用。这个司机只能界面与客户端库
    % E4 m: f2 s8 G5 A3 P' U- C% d
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    , K5 l0 g2 X' {5 V% d
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    # K8 \0 J! d3 K
  21. " vendorlib " ,并解数据库连接。
    $ g  M9 p7 H  z$ T1 R; V( e! r
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 % {3 P" ^1 [" u* o5 [0 t' p! B
  23. ) O. s. ~) L( M$ l$ W, T
  24. # # #做好工作# # #
    5 l! x0 f5 B: F! j
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ; w0 }/ ?$ |2 k7 R+ L
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    / [3 _* \- B2 l6 T. i5 B
  27. 结束:
    4 E0 {3 B: y: M3 _) O" r. e8 z" d
  28. ---削减这里---
    0 W6 [; A) m" T0 y, d
  29. [ dbexpress ] . N' r& M& n+ F/ M
  30. sqldir = mysql_sql
      D6 t# H, ]  J7 }
  31. drivername = MySQL中
    * w2 T2 k7 a. S" h
  32. 数据库= your_database_name_here   J4 V) \4 ?9 V/ r6 B
  33. 主机= the_pc_the_mysql - server_is_on
      F  Z# c% _( [4 B: j9 b2 b9 T
  34. user_name = user_name_on_the_mysql服务器
    9 ]% A& T+ p6 w8 O* @2 @0 }
  35. 密码= password_to_go_with_above_user_name - J# s1 z2 k. A
  36. getdriverfunc = getsqldrivermysql % u1 F9 I# ^1 Y+ X8 S* I& |
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 5 `$ J3 K+ @9 u$ n3 D
  38. libraryname = path_to_libsqlmy_libary
    ) e) [0 G6 Y) N8 v
  39. 积极= 1
    8 A, o- h) l4 }; h7 M: X# y  c
  40. ---削减这里--- 1 A" A. n8 K) L, p1 k
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: , U6 }& y  I) a  @6 D/ a4 c
  42. ---例如--- ( j' _: ]& l+ I% L( N8 H
  43. [ dbexpress ]
    ( |, g+ V1 B; R
  44. sqldir = mysql_sql
    " T, N  O) J2 C. H: Q
  45. drivername = MySQL中
    & p! G2 r2 e! ~# [8 n
  46. 数据库=测试
    0 \4 E! \. \& b' t0 u
  47. 主机=本地主机
    ; v0 R, e+ B  V2 k" m. {+ q
  48. user_name = testuser 9 s& w1 A$ \2 H
  49. 密码= my_password 1 x# b- D& e  c
  50. getdriverfunc = getsqldrivermysql
    5 r! ^: ?: G4 @/ p- }/ p: G5 J
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    , ~6 `, p! |) a  z8 b
  52. libraryname =. / libsqlmy.so 8 N0 M3 ^5 x% S- c/ B. a
  53. 积极= 1 4 J3 S- a( C8 c1 e
  54. ---例如---
    2 w4 _. [( O( \/ H/ ~# R7 e6 L
  55. : b% U: V3 [2 P# p
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 0 o7 Q' d, Y! i; U; s6 t# g8 l: `
  57. ---例如---
    2 X' R# j0 J3 c% i7 T, ^
  58. [ dbexpress ]
    8 C' w1 Z. R; j1 j" {
  59. sqldir = mysql_sql
    6 q5 U: J4 r1 a0 {$ ]& H0 o; G4 n+ c
  60. drivername = MySQL中
    & \1 }0 F  q) G. t& M8 Q0 {& c  P
  61. 数据库=测试0 j1 @7 W% J7 W/ V6 L% M* Q
  62. 主机= 127.0.0.1
    4 a4 x7 m" [2 C9 ]  [* _
  63. user_name = testuser ' T/ `1 C, I" ]4 C2 t
  64. 密码= my_password
    9 O% \4 q( |& o! |" h
  65. getdriverfunc = getsqldrivermysql
    & K4 a5 d: U; k. \! L' h
  66. vendorlib = libmysql.dll在7 U) f  _$ u- z% m
  67. libraryname = dbexpmysql.dll
    # f$ M  S, j: t0 T
  68. 积极= 1 ; k& r4 b$ k5 s! [* y* W- J$ |7 h. c
  69. ---例如---- ) J: M$ R9 g; `. J! \1 e" ?
  70. -写在0 2.03.04由p wk.linuxfan0 Q6 k9 R  \+ o3 X, b
复制代码
发表于 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: A2 x. n( A! ]

$ p- j& `. V; e. j6 @" Ubut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-2 11:50 , Processed in 0.090440 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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