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

2760 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
+ S7 q' U6 h8 Y9 J; v& s* D4 p& {& i) E

  1.   M" V9 J/ L, q5 H. z8 U* G
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    / t1 I- R: U% {' b& ^+ h( d

  3. 3 j' ?/ Q1 A$ O8 K2 l
  4. ### What we need ###
    8 {% k8 d( Q' c1 a; ]! n
  5. Naturally, we will need a MySQL server to store the data for us, this document # c) f2 Y1 \& ^! Q5 i$ k
  6. will not explain how this can be done - there are documents out there for the
    $ Z9 }' d7 G' a8 p) `7 u
  7. interested. The requirements include a (empty) database for TeamSpeak to use. d0 i1 ?$ ?3 t3 q% J
  8. and a user account (username + password) that has the permissions to do stuff) w0 E" \/ u2 V6 ~. U; f
  9. with the database. Additionally, you will need a vendor library installed on the
    # E" Q9 C: p  ]
  10. local machine, this came with my MySQL install.! z, r4 {9 ]2 a. b
  11. These instructions will not tell you how you might transfer your data from the) q: I* ]$ g0 `; p' @. f: d
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL7 j- V( V8 X% h  ?5 t4 y
  13. database.- r( n4 ]' @. O3 C7 B
  14. Some users have reported ways to import a SQLite database into MySQL, but at8 h9 q, a- ?! U# a( E$ t& |1 I
  15. the time of writing, there are still too many issues - check the current status
    8 x$ x" J# x0 H4 G0 I
  16. in the TeamSpeak forums if you are interested.2 F' ^- G. u5 H$ C4 `/ q. L; `
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    9 z% m5 r5 b" _
  18. Borland was used. This driver can only interface with the client library that 7 [; J2 p6 \# o6 g1 X4 h
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    4 Y# P5 }8 F) k( W1 e' T  R1 R6 l
  20. client library - basically all you have to do is to use a 3.x client library as 4 g. {0 A  p; x  l
  21. "VendorLib" and a 4.x database to connect to.
    * C1 T* a8 ^( j' C9 N: u
  22. If you need more info about dbExpress, you can contact Borland.  [0 Q7 [, T2 N& D

  23. ; G* R9 _. M4 _
  24. ### Doing the work ###
    ' `+ p+ H! y8 r0 U  Z$ O4 \. w
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all" }! s- }$ ?) v% S6 y
  26. the perquisites right, just open your server.ini file, and add this section at3 Z2 L9 B0 e+ {( v
  27. the end:; I# ~; B0 S! {
  28. ---cut here---0 ]1 E4 {  D$ N+ W# H- ~1 e
  29. [DBEXPRESS]3 f0 a5 n2 r. O
  30. sqldir=mysql_sql! m) C- P" t: g' ?
  31. Drivername=mysql- z% P! f7 ^& m7 q
  32. Database=Your_Database_Name_Here, @4 b# |9 J& W, n6 G) }0 r2 E
  33. Hostname=The_PC_the_MySQL-Server_is_on& a8 u5 P+ R# T1 ^
  34. User_name=User_name_on_the_MySQL-Server
    * V* C4 c( k& L! k2 G
  35. Password=Password_to_go_with_above_user_name# i, a9 K4 R9 T% Y) Y! C
  36. GetDriverFunc=getSQLDriverMYSQL
    * O7 E# ?+ R' @6 d
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib. W. O* }+ W: B* C4 i
  38. LibraryName=path_to_libsqlmy_libary' e: x" d5 m0 d7 J
  39. Active=1
    3 o9 t; `$ E( A9 Y8 {+ r& B
  40. ---cut here---3 e8 _6 p/ Y7 t7 B* I: W3 ?
  41. In my environment (a linux box with a MySQL server running locally) I have:
    2 D0 E) B6 p- t* o
  42. ---example---
    ( n2 O0 O' m1 B' t; w* X
  43. [DBEXPRESS]" w0 M7 i( B8 @* w* r# A0 K
  44. sqldir=mysql_sql# F- O* M! T/ V& ]( ^" `) Y$ v
  45. Drivername=mysql
    5 b( w' D. x( Z! N9 x( l/ i7 w) o
  46. Database=test$ D% C, h% S0 X  ^* v) ?
  47. Hostname=localhost4 O2 W6 [7 @7 h
  48. User_name=testuser: u* v* m& ]" t7 u. \/ m
  49. Password=my_password. o  Z. M, u5 \3 l* F% b- Y
  50. GetDriverFunc=getSQLDriverMYSQL# n3 q9 U+ Z6 Z0 a$ U
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0) s0 u) Y, F3 W9 T( w
  52. LibraryName=./libsqlmy.so
    " B1 j+ n8 j" j7 e" ~
  53. Active=12 f$ L: u$ n1 ^
  54. ---example---7 B) R& ~  L% x- x: U

  55. 8 C8 s  h$ O+ ?' M9 y( I" v
  56. On a windows box, also running the MySQL server locally, it would be:
    8 a0 h; d* @( w- o3 O: W
  57. ---example---  v: D# Y2 J  k
  58. [DBEXPRESS]
    - h5 K7 D: U7 e1 t. |9 Y
  59. sqldir=mysql_sql
    8 g7 w5 O" w$ i" m8 `- ^
  60. Drivername=mysql/ X) g5 W  H9 Y  I% B
  61. Database=test1 W1 y. q. r# C
  62. Hostname=127.0.0.1& W+ M2 m' o4 l- S& [( O4 U
  63. User_name=testuser7 V) v6 W0 @9 I# a! E
  64. Password=my_password
      C( @0 @+ a+ Q8 u
  65. GetDriverFunc=getSQLDriverMYSQL% \8 n0 g: L7 q7 D4 }8 a6 U4 c% d
  66. VendorLib=libmysql.dll
    ' z* Y% m) f7 f" x+ {4 g& W
  67. LibraryName=dbexpmysql.dll
    " K' b6 H( d/ i+ {
  68. Active=1
    + i: B( l- W# e6 I! Q( y
  69. ---example----
    ; ~/ t3 Y4 Z( z' b# F
  70. - written 02.03.04 by pwk.linuxfan
    4 L/ R: a  Y; _$ U% {

  71. ; u9 b0 C9 T) ]7 {) a$ T
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看& O# ?- ]$ f/ o3 t$ `
  1. 8 V8 D$ s/ B/ S3 ^1 r
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### . L0 X. A/ o2 ~& G* o) P. o  q9 `
  3. % Z5 ^/ v- F. A, X0 `6 c
  4. # # #我们所需要# # # 7 h% ?. G# z& L' F: t% b. P
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件; z) |) P2 S7 y& Q! v
  6. 不会解释如何做到这一点-也有文件存在,为
    1 H6 k: S" ~# y( a
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    - o/ X( |% H  s2 Q$ q/ `
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    , k) [( i0 f1 r1 C0 X, E* H, _
  9. 随着数据库。此外,你需要一个卖方图书馆安装于7 m- q8 @2 f& e  `! t4 x
  10. 本地机器,这是我的MySQL安装。   E. x9 j5 T" M4 ?, L
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ; h; D1 r4 d( G  e+ c
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL # R# w* i- B' ~+ x; m% a( c2 n* U
  13. 数据库。
    " D8 Z' N7 s$ w1 Y
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在/ r' ?5 |& ^. {1 Y
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    1 |; l7 b4 A& Q6 Z
  16. 在teamspeak论坛,如果你有兴趣。
    $ f- ~5 k2 V% a8 q( C' t/ x
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机/ m# e; e2 Y1 X; |/ h
  18. Borland公司使用。这个司机只能界面与客户端库
    4 |- p4 V7 g) _4 w) w( a; O' y
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这4 H: y% d! A1 p
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    % {# Q# |0 \2 A: z$ t& _
  21. " vendorlib " ,并解数据库连接。
    ; d( S' s: O+ E) t1 C! t3 [" K" m
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    0 o# P) i9 I! B& e- s) c& v, s

  23. 5 T9 t' i7 ]1 z3 B5 K0 g
  24. # # #做好工作# # #
    ! K) u* W  X; A9 d1 ]
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    - n8 @& C& d% E8 ]1 n
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ( f/ [6 _/ z' ^- B$ Q$ O
  27. 结束: + s9 q; [+ f# w5 @% Z% m2 [
  28. ---削减这里---
    7 `  ^# X  F$ O
  29. [ dbexpress ] 3 w. X) V9 B: }- ]9 y, K
  30. sqldir = mysql_sql , V5 W0 y1 {3 g2 O& h& J0 T
  31. drivername = MySQL中
    9 X7 t0 \( A4 s1 I; E8 z4 u
  32. 数据库= your_database_name_here
    ' W6 j: G, v' H1 d
  33. 主机= the_pc_the_mysql - server_is_on
    & x1 ]3 U/ a3 P7 g
  34. user_name = user_name_on_the_mysql服务器8 Y* _+ Y+ x$ X: w0 Z
  35. 密码= password_to_go_with_above_user_name
    3 n* h% M8 `& s# x
  36. getdriverfunc = getsqldrivermysql , P2 f' e: F9 m+ R/ _: Y
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    " e* l6 @& P, G* ?6 e8 Q8 S
  38. libraryname = path_to_libsqlmy_libary 6 {' E( N0 F& z9 Z  X' F& y: o
  39. 积极= 1 : I% B4 i& d9 l  p" k. A7 R
  40. ---削减这里--- 9 p# D3 B; W: {- f" c
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    - O8 y7 K( `( k' k4 @, e
  42. ---例如--- ! D& @1 l1 w& H( a
  43. [ dbexpress ]
    2 w& o; z$ c: e9 n% o
  44. sqldir = mysql_sql
    " w" e! i: P/ W, h+ H* r
  45. drivername = MySQL中
    , Q3 _& s- z% Z. y/ u! t! g- X
  46. 数据库=测试
    3 }( f  ~) h& d2 F- X+ l
  47. 主机=本地主机* x* j9 }" |- @9 @& {4 _$ p
  48. user_name = testuser
    - K: d. d! m0 \- ^0 \0 P9 S
  49. 密码= my_password 4 m" ?; k% f1 v$ Z) \& g& R- ?
  50. getdriverfunc = getsqldrivermysql 4 Y# M4 _( Y8 Z/ I  s1 G
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    8 N, X1 `- f+ |* @
  52. libraryname =. / libsqlmy.so 2 l$ P! X! C# ]9 q6 V' u
  53. 积极= 1 # {  g/ l5 n: g# |; o
  54. ---例如--- ! B# B  t) e- g4 G# _: ]" ^  x

  55. 0 r3 X! n, `% V6 e0 Q
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 5 D8 n2 y) w1 T( j8 Q( ?. o
  57. ---例如---
    3 t6 U4 z- k& D; @
  58. [ dbexpress ] 0 @6 e" {" w8 R) w- g% c- A
  59. sqldir = mysql_sql
    ' ^) E9 P+ b4 |4 o6 \5 k
  60. drivername = MySQL中
    : ?2 s7 o. n4 E7 D: r
  61. 数据库=测试
    , _) \6 B' }: n: n7 r7 l+ n
  62. 主机= 127.0.0.1   R7 {0 c$ {' l; \6 n
  63. user_name = testuser
    . \5 ~4 g3 L/ o9 J2 [6 h
  64. 密码= my_password
    $ [! ~  b! E# {
  65. getdriverfunc = getsqldrivermysql + q1 D7 k, M8 i; v7 w$ T2 E. E
  66. vendorlib = libmysql.dll在+ F& k. v# R) B; u8 X/ ]
  67. libraryname = dbexpmysql.dll
    0 y! y4 T# q0 o% b
  68. 积极= 1
    3 w4 H4 M) j1 p; Z( n$ K6 b
  69. ---例如---- : S1 Z2 m0 h* Z4 y+ p
  70. -写在0 2.03.04由p wk.linuxfan
    ; ]' D/ @) l0 R5 L
复制代码
发表于 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* k2 H! e6 p. U5 R" F1 M+ O
  a% c' v# {0 M/ s7 c6 B( V
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-14 13:16 , Processed in 0.106589 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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