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

3034 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 3 k2 D4 G: j0 @- t1 p3 r

" B! Y% z. y1 E* V7 s8 y# v

  1. , z- C: z. l1 b' s3 z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######0 |. Q- B9 c, f( F9 |1 P
  3. + }5 I; F3 |8 c# Y: {/ V+ [
  4. ### What we need ###
    1 q/ n/ U$ Q5 w  Q. R# U
  5. Naturally, we will need a MySQL server to store the data for us, this document " ^1 ~5 b1 a, J- S0 x/ B5 R
  6. will not explain how this can be done - there are documents out there for the
    ' n7 f% x/ S% w# Q5 o8 ~
  7. interested. The requirements include a (empty) database for TeamSpeak to use& R* {, Z5 ^' f& x9 G: [5 ~  q
  8. and a user account (username + password) that has the permissions to do stuff
    / \: Z. a3 a! W- o
  9. with the database. Additionally, you will need a vendor library installed on the  V: e( i5 J- H6 |9 B9 U6 g/ D' K$ F) U
  10. local machine, this came with my MySQL install.
    ; @0 F7 ~* c9 k5 }# o5 o# [
  11. These instructions will not tell you how you might transfer your data from the$ Q* _& ~! E5 ~3 t/ @8 W& x" P( v7 ?
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL. ]' V" E4 ?- \4 y- X2 [
  13. database.1 C- P7 c/ v/ t1 h
  14. Some users have reported ways to import a SQLite database into MySQL, but at0 U$ p% Q2 b7 h
  15. the time of writing, there are still too many issues - check the current status
    % D0 J4 V9 X* x
  16. in the TeamSpeak forums if you are interested.
    . J* m+ W9 J/ M4 T1 @( f% Y8 N
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from9 a$ t- r3 I/ l2 J8 E. |3 o5 }+ H
  18. Borland was used. This driver can only interface with the client library that
    3 w& N0 M. ~  e4 c4 [* I' H/ _
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    % q) J- V; U7 E& ?
  20. client library - basically all you have to do is to use a 3.x client library as ; |% B3 Z- j% |% ~) W$ k( j
  21. "VendorLib" and a 4.x database to connect to.
    1 O6 W. r$ h3 ]0 c' ~; w2 C$ I" ]' q
  22. If you need more info about dbExpress, you can contact Borland.
    2 Y; \: e$ w! w; d/ O% S, l& ^/ t

  23. ! V# d7 Y. R. w+ K
  24. ### Doing the work ###6 |9 D- a; H1 F' ?) C
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    . C! _; c) G3 I* t! @  V
  26. the perquisites right, just open your server.ini file, and add this section at+ O2 f% s8 I) x. x4 p
  27. the end:' j/ R* }9 O+ G( ~9 w4 `
  28. ---cut here---
    6 E. u8 y& }1 r, K! @
  29. [DBEXPRESS]3 x  ^7 h5 _1 `) I
  30. sqldir=mysql_sql
    9 b1 R9 x$ L( W/ @: E+ p4 Z; E0 R
  31. Drivername=mysql
    ' j- s, W- n0 b$ O7 h) h. |4 |
  32. Database=Your_Database_Name_Here
    ; O, m& x2 ^9 J/ E* W% [! j
  33. Hostname=The_PC_the_MySQL-Server_is_on
    2 }  M; @  a* |5 i; x* J
  34. User_name=User_name_on_the_MySQL-Server
    6 E+ I6 z( x( n1 F
  35. Password=Password_to_go_with_above_user_name: B: S( z& G; A. C" X
  36. GetDriverFunc=getSQLDriverMYSQL
    ' p' K; \* D1 s& [7 ^4 p
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib' @: K$ k1 i/ l. A. y
  38. LibraryName=path_to_libsqlmy_libary
    ( S" Y; N3 u5 s9 J0 m! G
  39. Active=18 Z% i  k' q1 u9 _: d( e
  40. ---cut here---
    9 K4 |7 k. q' @% k
  41. In my environment (a linux box with a MySQL server running locally) I have:
    3 a1 P0 R% U( t5 q) c' _  o0 d
  42. ---example---
    ' e) D1 q( K9 N' ~9 w  f
  43. [DBEXPRESS]9 K6 t+ S5 c9 F+ d) ?; {; P
  44. sqldir=mysql_sql5 Q9 ]4 `6 u: L
  45. Drivername=mysql. D9 P" ]* r, t! V+ x
  46. Database=test
    8 {- N/ x( j# `* V
  47. Hostname=localhost4 L* f: u( N5 c
  48. User_name=testuser4 k/ e0 p5 m5 p& }& V
  49. Password=my_password) ]# d$ a2 q: f9 e9 v0 D  c
  50. GetDriverFunc=getSQLDriverMYSQL- H' k! n, s' C
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    2 r% k7 c& U4 B$ E% B  ^8 S
  52. LibraryName=./libsqlmy.so  v0 L4 ?& v; N: ]5 X
  53. Active=19 B1 B% B# _. o8 x9 r% X7 e
  54. ---example---& p4 |8 R$ d" C/ h, S3 u/ p
  55. , ?3 P- f1 }/ g( w3 ~
  56. On a windows box, also running the MySQL server locally, it would be:- f0 M  H( j1 e: i! g
  57. ---example---
    % M: G8 t1 Q2 V
  58. [DBEXPRESS]
    3 [; O2 K8 ?9 Y/ V2 S
  59. sqldir=mysql_sql
    & ~1 I2 J9 `0 \1 H! u# W
  60. Drivername=mysql+ q; s) ~6 L: C6 G6 c9 H
  61. Database=test
    ' V% o6 }7 m2 f$ k7 y
  62. Hostname=127.0.0.1
    ' V' l' [; m# @" M
  63. User_name=testuser
    $ L  @) `* o  E% Y) y6 x. D
  64. Password=my_password
    5 n; Q& X+ k- A9 z/ K" S8 x
  65. GetDriverFunc=getSQLDriverMYSQL
    : X- Q7 z- N% c' N5 a# A$ j
  66. VendorLib=libmysql.dll
    6 _) y1 [7 r" e4 T9 k4 Z
  67. LibraryName=dbexpmysql.dll& Y& N4 Z5 c2 f" d- ~
  68. Active=1) a* A+ E$ G4 I3 [
  69. ---example----
    4 g. q5 Q- n$ [! Z$ O. v
  70. - written 02.03.04 by pwk.linuxfan3 n! n, [9 z/ l- J8 h9 p1 @, v

  71. . j; t# O- X4 ~
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
+ q4 W4 _1 P; M  ^& O
  1. , z6 o, d# w8 O2 O, V
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### * ^+ d# R/ r- e. l

  3. ( j( O5 ?$ X* B5 M, P  M7 v1 Q
  4. # # #我们所需要# # # ' b8 [9 T6 R) }& }4 f
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件5 A+ m: N  f' i+ G6 Y7 M  N1 e
  6. 不会解释如何做到这一点-也有文件存在,为" A+ O/ k) {& e: B
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ) B+ w, V  f1 j# c/ W
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ( V& y. r: Z  l2 E* ~7 ?
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    . h$ U! ^7 s3 m" E( t9 N- S0 e
  10. 本地机器,这是我的MySQL安装。
    % N% U6 q9 v) @1 o* E3 c9 N! L
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从6 n% Z/ K" z9 U; K8 G( o& w
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ! K+ m" J8 g" H& m
  13. 数据库。
    ( }( X# Z% z& D
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在9 y6 b( w& E$ e2 p' ]4 ~
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    8 }: N6 j8 o! K( h7 a
  16. 在teamspeak论坛,如果你有兴趣。 ( O$ h5 r$ ~/ x+ a1 I+ Y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机6 o' A5 ~. [2 v0 i' B
  18. Borland公司使用。这个司机只能界面与客户端库7 K6 K# s8 q5 ?7 }! X
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这5 y3 z+ f6 p" U# d: o. B
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为) z  K* d0 D* q" [2 l: l
  21. " vendorlib " ,并解数据库连接。 % k: z# s" c1 ]2 w4 s0 \+ W! s
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    , s2 Z2 _5 M% x) P$ C' f

  23. 1 C" a1 @% c8 i1 ]
  24. # # #做好工作# # # & ?# c) U' `' K; l0 P
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    . z4 }% N0 Q6 g# J7 a1 q+ B
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在# \" F) I( p. i5 h
  27. 结束:
    # U* z  T$ V9 H' ]1 Y6 `: }# n
  28. ---削减这里--- ) X" U$ Q  T- O% m
  29. [ dbexpress ]
    % N! F/ o* l% ~* ]# s# p& V
  30. sqldir = mysql_sql # U5 Q8 P4 u$ M: F
  31. drivername = MySQL中8 }! T; P* R% ~2 Z  U
  32. 数据库= your_database_name_here 1 U$ P9 E" b5 m6 h* d8 \0 E
  33. 主机= the_pc_the_mysql - server_is_on   E+ V7 c/ N+ `! V6 ^0 R
  34. user_name = user_name_on_the_mysql服务器
    8 d- y' b' M% \4 x' t) X8 _
  35. 密码= password_to_go_with_above_user_name
    % {6 Y& T7 K; n& J& c( B
  36. getdriverfunc = getsqldrivermysql # {1 o* j+ i3 Y/ I
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    + E! c  O/ W! _8 j/ h4 }7 D3 |
  38. libraryname = path_to_libsqlmy_libary
    4 A; a9 x& g9 ~3 D' u4 Y+ q
  39. 积极= 1
    ) \- \6 S6 F6 X) j7 M' i- h. T8 E0 e
  40. ---削减这里--- % x( M! S+ `& l3 I; Y2 C2 U: ^
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    & q0 N6 c, e! W/ L. D  D6 M
  42. ---例如--- 0 l1 d0 Y- ^' z9 ]6 ^+ O4 V: V
  43. [ dbexpress ] % m( b) P  `; w  P4 ^
  44. sqldir = mysql_sql
    ( P+ y/ l5 M' _. N  Q0 _  d2 Z
  45. drivername = MySQL中
    ! Y, j. @1 m! Z
  46. 数据库=测试
    $ h! |; w6 h/ E2 X3 q
  47. 主机=本地主机
    & q9 a  u) W/ z2 E' V
  48. user_name = testuser ! q4 [3 n: w; u* m: S6 H( C
  49. 密码= my_password - ?" K+ A4 q- [4 T
  50. getdriverfunc = getsqldrivermysql . W; g7 h( D9 E9 w/ i( E
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 : j/ M% a: O+ K3 j! A$ m3 w. {( E0 m9 v
  52. libraryname =. / libsqlmy.so ! E1 Q% r. _8 I0 G$ \1 X& ^# Y
  53. 积极= 1
    9 E9 s' m( S% p& U
  54. ---例如---
    + S9 [, S# Y. I8 w0 }3 k

  55. & z& D' v( A  c& P, r) k, F
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 1 n, \9 y2 C. J; L
  57. ---例如--- 0 j+ k  \/ x  z2 Q  v
  58. [ dbexpress ] ( W& K- w& N( A. a
  59. sqldir = mysql_sql
    / ]! x) T/ n: y8 n& ^
  60. drivername = MySQL中% N' l0 |0 \1 C) l: A" ~1 G8 C
  61. 数据库=测试
    1 b" [+ {5 ^% `
  62. 主机= 127.0.0.1 / I5 @+ _7 e4 X
  63. user_name = testuser 2 ~' u% j8 J' v6 G4 T9 ~9 \0 k
  64. 密码= my_password
    5 Z# p8 {# r  f6 f6 S1 e
  65. getdriverfunc = getsqldrivermysql % A/ e# M8 W0 [# e0 [2 {
  66. vendorlib = libmysql.dll在
    7 J6 O# }) I: u  h9 t
  67. libraryname = dbexpmysql.dll
    " n, E/ p8 l) u& U
  68. 积极= 1 8 x& W. ]8 Y4 c3 ]' j1 h4 f
  69. ---例如---- ) n4 O1 L/ u  t( \
  70. -写在0 2.03.04由p wk.linuxfan
    ( _& T. N+ j+ _! q
复制代码
发表于 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. Y4 H$ H0 c9 T  s0 ~% K9 J
( R, `: s7 s; I2 }3 P
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-17 18:56 , Processed in 0.096380 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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