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

3291 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan - H; \8 E  v/ @; C
) |) z- S: b% y7 O# G- i

  1.   g0 O0 ?! ]0 V" E" ?* I+ g
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    3 u9 Q" l0 c- ]
  3. 1 y4 M" ?3 Z' {. |0 Y# J
  4. ### What we need ###
    7 H, U' x2 f8 N2 V4 R* `8 O
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ( B9 Z( k7 u+ b6 P& K- W
  6. will not explain how this can be done - there are documents out there for the
    : K; I, q1 ?+ _  P
  7. interested. The requirements include a (empty) database for TeamSpeak to use0 t2 p. V+ V* f; s4 J2 }
  8. and a user account (username + password) that has the permissions to do stuff; \) ^; y5 W/ G
  9. with the database. Additionally, you will need a vendor library installed on the
    ) r; T% ?. P0 L/ w. s8 q. C# a( |: u
  10. local machine, this came with my MySQL install.
      K( q: Q3 c+ j" Q6 `* L, R
  11. These instructions will not tell you how you might transfer your data from the
    4 |( g2 g' M* y" x- N
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    , a3 f5 t& [" G1 _6 j3 n
  13. database.& B; p/ ^! `1 D2 y
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    6 M. Q2 x+ T7 I; q
  15. the time of writing, there are still too many issues - check the current status" B0 B. |8 w0 w) h
  16. in the TeamSpeak forums if you are interested.
    7 |  a- F" r) j: i- o
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    9 a- v/ [4 }4 R; C/ J' d
  18. Borland was used. This driver can only interface with the client library that
    : [4 @' H' y% X
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    . ~* B( v+ O7 d$ p7 h8 v: u
  20. client library - basically all you have to do is to use a 3.x client library as
    % ^0 R6 N. {. o) d
  21. "VendorLib" and a 4.x database to connect to.% E( ?' m2 T. q; A1 E
  22. If you need more info about dbExpress, you can contact Borland.8 S% e: s0 s9 N7 E7 ]2 z# }
  23. " U! w5 ?. ~6 W0 y0 Y: f/ m
  24. ### Doing the work ###$ I1 |; `4 h+ H$ |) k7 f8 T
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
      U; U' a" U+ t" M
  26. the perquisites right, just open your server.ini file, and add this section at
    , c1 X4 P  g; d6 z$ X4 T
  27. the end:- g2 ?: r/ `: |. x6 G- q9 r$ I/ i! J
  28. ---cut here---
    + q- o! Q7 A. R3 L- z1 g& u0 x0 P
  29. [DBEXPRESS]
    4 B6 O6 \/ |! z" o
  30. sqldir=mysql_sql
    # t4 y4 A# l, K& ~4 ^* @
  31. Drivername=mysql+ ?+ O/ p% I- F8 E# X3 R$ `
  32. Database=Your_Database_Name_Here3 `+ j6 D" i. X7 s8 v8 T1 M4 [
  33. Hostname=The_PC_the_MySQL-Server_is_on3 g7 b; z/ C  }
  34. User_name=User_name_on_the_MySQL-Server
    ! h6 ]' m. a' |5 x  j
  35. Password=Password_to_go_with_above_user_name
    " R" D8 d) i0 T) @7 T5 P  H
  36. GetDriverFunc=getSQLDriverMYSQL5 ^& S* n8 t5 f" z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    . k2 F6 @7 j  q+ J9 p8 n+ U; a
  38. LibraryName=path_to_libsqlmy_libary
    ; U  w" b9 D3 L' D
  39. Active=1
    ) O* c5 N, t9 B
  40. ---cut here---# O* K: q5 @* j8 V
  41. In my environment (a linux box with a MySQL server running locally) I have:
    3 Y- }2 X! \1 o# C5 S
  42. ---example---
    " n( z9 |1 t/ r" H8 D  d9 R* t
  43. [DBEXPRESS]; {9 m9 X4 p! {
  44. sqldir=mysql_sql
    % d% V9 |+ U( ?3 r5 Q0 x( k+ _6 _
  45. Drivername=mysql
    * n9 c* l8 h* i5 L
  46. Database=test5 T; g% Z% h+ k) t  o
  47. Hostname=localhost* X2 {2 `" g& K% Y
  48. User_name=testuser
    : t0 J, J! v  {0 C0 v1 V; a8 Y
  49. Password=my_password
    7 P2 k! Q" |! O; O  D/ q  u
  50. GetDriverFunc=getSQLDriverMYSQL& q8 F; I/ U+ V7 R; W. I% Y2 ?
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    * J& {3 V0 d5 J% f
  52. LibraryName=./libsqlmy.so: M& K) \" ?; Y
  53. Active=1
    . B! N6 k) O& g) _+ V$ ?% j% m, g
  54. ---example---
    3 |& D. a" J! N) g! R, P& r8 R
  55. ! p/ g& C( d5 @1 L" @; `
  56. On a windows box, also running the MySQL server locally, it would be:; f6 |- R+ m$ t) M6 y
  57. ---example---$ Q5 ?, v) ?3 n6 M% c
  58. [DBEXPRESS]
    4 O4 d# H6 \) C3 t8 k( T1 M* ]' T) }
  59. sqldir=mysql_sql( u9 `' i; {- {9 E5 ^% x- {- o
  60. Drivername=mysql5 i. Z/ ^* |) e/ K& C
  61. Database=test
    . a! Z3 @& g# v' f5 |5 r. _
  62. Hostname=127.0.0.1
    * K3 ]8 n" M1 x9 |; L6 W
  63. User_name=testuser9 X/ _" p, T) x# ?
  64. Password=my_password, e: N5 ?# X6 q2 U2 U. r4 }0 I  T
  65. GetDriverFunc=getSQLDriverMYSQL
    4 G: N3 F% ^! O
  66. VendorLib=libmysql.dll
    ( N  e! C( J! N! o% v  w* |  f
  67. LibraryName=dbexpmysql.dll, t, K8 B9 Z% \
  68. Active=1( g" L, t: O. b$ Q* H5 ?5 h. L
  69. ---example----
    9 t& n# n( P7 n/ m
  70. - written 02.03.04 by pwk.linuxfan' R% B* V1 E5 ?, M, v4 U# S6 Y

  71. : k% ]$ k& s1 ^) q6 x: y% s- j
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
" H2 M) [# F9 j5 C  u

  1.   v5 H0 N; m: W8 F7 a
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### - w$ g: S: ^9 ?( M: ~

  3. 0 V# g3 J1 U4 X) q
  4. # # #我们所需要# # # ' i4 D& I& V. Y2 f; ]
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ) {' V6 t; e8 _2 m9 P5 k
  6. 不会解释如何做到这一点-也有文件存在,为1 x/ t9 z* v# ?% U: F* A7 g
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用) G' T" K& _/ U4 }7 u
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    & C0 I3 u. z+ Y* C. }
  9. 随着数据库。此外,你需要一个卖方图书馆安装于! T9 g9 p* b: R# ]$ c
  10. 本地机器,这是我的MySQL安装。 0 }" V( p% \6 L2 e
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    , K+ D7 }$ m2 J  E$ v
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    / m/ l+ R* H3 O* D$ {
  13. 数据库。
    4 R0 U' B9 q! @2 p' o& a. g1 v9 k
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    * b4 b& P) z1 s, E
  15. 编写本报告的时候,仍然有太多的问题-检查现状5 i4 l) K" [% M7 H
  16. 在teamspeak论坛,如果你有兴趣。 ( X8 Q+ m9 _! `
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ( n3 q5 E) _: [, l) R  }
  18. Borland公司使用。这个司机只能界面与客户端库
    5 V" {2 ], G4 g9 x3 b7 G# `
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这5 y# i0 s( H  \9 B( H
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    3 n/ m2 E4 j1 g1 u
  21. " vendorlib " ,并解数据库连接。
    5 b8 L' b1 l$ b2 W) a. h$ j5 E0 k
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    0 C+ ^4 N) G" a0 a2 ^

  23.   ?. E# n% [3 G! C9 {9 P
  24. # # #做好工作# # # 6 N& o( B, |" p
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    8 n/ h: {) X0 z/ m; L1 f- {
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    0 `* \' K; f5 L, }
  27. 结束: ; `" k! u5 I& d
  28. ---削减这里---
    # H2 D/ j  L+ o+ W
  29. [ dbexpress ]
    ) R3 J( v; {' F% p# K# o
  30. sqldir = mysql_sql - V) o0 r( ^( N
  31. drivername = MySQL中
    , W6 O% f6 F' ^! m) \) L
  32. 数据库= your_database_name_here
    9 }7 H) y) j& M1 c/ b
  33. 主机= the_pc_the_mysql - server_is_on
    2 Z1 v% Q7 X2 V% h  S
  34. user_name = user_name_on_the_mysql服务器- h% n$ N4 W0 ]; L$ t
  35. 密码= password_to_go_with_above_user_name
    7 t0 p0 l" P( t, G9 B2 u2 c& S) e
  36. getdriverfunc = getsqldrivermysql : s* v+ _) V3 D
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    8 h( `' C" Y/ ^
  38. libraryname = path_to_libsqlmy_libary + S8 t7 D! s) |* W
  39. 积极= 1
    0 Z1 E; L7 e$ H! P3 F, m
  40. ---削减这里---
    $ Y5 ^8 y  v8 _4 w& R4 `
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: : O4 N& |- h1 I! I& ~  R
  42. ---例如---   N# |0 H( m8 c$ o) i+ B
  43. [ dbexpress ]
    ( {+ a* A6 z% y9 N! ]
  44. sqldir = mysql_sql
    ) `1 `6 e7 f8 ]# m8 ?3 [1 r: I
  45. drivername = MySQL中
    ) }' ~0 _# q+ j/ Q- R7 G( F# Z4 G
  46. 数据库=测试
    ! m$ n  y) Y- y) s
  47. 主机=本地主机
    - ?. J  t. ~: M. `9 ~9 ~
  48. user_name = testuser
    , O) d# {9 f& J! G: W( v8 i0 U
  49. 密码= my_password , N9 e9 a' c2 n6 q3 D% a) v. L
  50. getdriverfunc = getsqldrivermysql
    " B9 w& N' [) c6 N% C& f+ D! t
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ' L) M. u" E3 w' g
  52. libraryname =. / libsqlmy.so
      Y, C  R, X$ w& W& Z1 i3 e; g  p
  53. 积极= 1
    ) \5 j6 p. ]2 ]
  54. ---例如---
    1 e" a8 y/ F! T' e
  55. * ?1 b5 t& x( t
  56. 对Windows中,也运行MySQL服务器本地的,那就是: & q5 {8 l' N  T# C! D, l) A1 s
  57. ---例如--- ; }. Y5 Y) Z8 U; _& c2 h2 J7 x4 \7 F
  58. [ dbexpress ]
    . l. ?% U. u* k  N$ e+ d
  59. sqldir = mysql_sql 4 _* s7 q. Y8 R! ?# B1 L$ L
  60. drivername = MySQL中4 L! y- n/ J* {  L. z5 S
  61. 数据库=测试
    , M! _/ r$ {+ K7 ~: x0 H
  62. 主机= 127.0.0.1 % O9 w( _2 y% D6 W" P, o
  63. user_name = testuser
      R1 F1 N8 L. X
  64. 密码= my_password
    2 d" ^6 N( Q. I- a  j
  65. getdriverfunc = getsqldrivermysql / V9 V7 ^; }8 X4 l1 j5 @* g" I
  66. vendorlib = libmysql.dll在9 _+ M% h& ]& O# c) N- a8 P" k
  67. libraryname = dbexpmysql.dll # y/ d. m/ S& p( [$ h
  68. 积极= 1 $ M8 z2 M5 e; T  F5 a# L
  69. ---例如----
    & M) e4 y# V) b) g7 P
  70. -写在0 2.03.04由p wk.linuxfan
    ; \, S! Z- Q8 Q0 f, F
复制代码
发表于 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 words6 K3 z  @+ t) R% V* T

& r' j" V+ j& i4 Mbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-5 10:10 , Processed in 0.103084 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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