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

3478 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
& |: z. l5 Z5 p1 ?' h  j
+ H1 v8 ~. y6 C$ P# D% M

  1. + _  a: ?8 \- ~4 z( g' k$ q% j
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    7 A) \% z' U) d! x) ~6 [. \* c

  3. % c1 J& @- v/ c8 S6 G: Z5 n) E
  4. ### What we need ###
    : \7 A# @% o: X3 m
  5. Naturally, we will need a MySQL server to store the data for us, this document
    9 \5 f% E+ Q: f+ U
  6. will not explain how this can be done - there are documents out there for the ; Z$ {; D6 u, \2 k0 t
  7. interested. The requirements include a (empty) database for TeamSpeak to use0 G8 d8 p1 b' f# x) c  q
  8. and a user account (username + password) that has the permissions to do stuff
    8 u; [1 T# r; i9 v% p" W6 {
  9. with the database. Additionally, you will need a vendor library installed on the  V. n4 ], U* _0 A" E2 s
  10. local machine, this came with my MySQL install.
    " k: l1 c! B. z
  11. These instructions will not tell you how you might transfer your data from the
    - N1 a. Y: A% ^. H" Q+ A4 y0 v1 F
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    # \! `) Z# F7 V# `* S: l
  13. database.6 ^* h3 @; l2 p$ y0 X" Y
  14. Some users have reported ways to import a SQLite database into MySQL, but at% |0 b# z% _& [( S' V
  15. the time of writing, there are still too many issues - check the current status
    1 y, X$ X6 M( O( Z
  16. in the TeamSpeak forums if you are interested.
    # g% x9 ^, R6 L2 O5 g
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from2 ]& D7 B/ H; B( y9 |- H
  18. Borland was used. This driver can only interface with the client library that
    ; P* x$ m+ P+ M7 g  b8 m9 Y! s
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
      p5 u" S$ q8 o; V/ G8 t$ w, n8 M
  20. client library - basically all you have to do is to use a 3.x client library as
    ' e. X5 t8 N3 A+ K# A  e/ c1 L! p
  21. "VendorLib" and a 4.x database to connect to.3 C- I3 s5 m1 o6 }9 g4 n+ f
  22. If you need more info about dbExpress, you can contact Borland.
    8 f4 m9 F$ M9 n3 @& W7 |: r

  23. 7 f& M1 X" ?( k$ K  \% V" X
  24. ### Doing the work ###+ `' B. v2 G4 @7 s* t0 E. K
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    1 R' w8 t( _. L, Q5 J4 {# w1 O
  26. the perquisites right, just open your server.ini file, and add this section at
    5 x& d2 L/ V$ y" R0 N1 z! l0 a
  27. the end:
    & k! r# m0 O0 ]  g, {0 N; C
  28. ---cut here---6 m6 {4 G7 \) r$ w: Z1 t0 B
  29. [DBEXPRESS]
    7 w( V2 y( H& v; k( Z" X% P, }6 u
  30. sqldir=mysql_sql
    / p! \% j' d% {, u2 ~
  31. Drivername=mysql
      \, p9 v  R- R. B6 g" ~! B0 m
  32. Database=Your_Database_Name_Here8 V- r" z. n1 b
  33. Hostname=The_PC_the_MySQL-Server_is_on+ [' F6 e5 Q+ A6 F  X
  34. User_name=User_name_on_the_MySQL-Server  Q: i* a0 F4 c6 g
  35. Password=Password_to_go_with_above_user_name; Y, [& O- x( A( c9 g8 n4 w3 T
  36. GetDriverFunc=getSQLDriverMYSQL; w4 t4 P+ c2 I. ~
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib7 N: @/ s: G( x- Q9 B
  38. LibraryName=path_to_libsqlmy_libary  B  q( h+ g. q& }7 i3 z, G
  39. Active=1/ _- c( l- U" `, ]7 h
  40. ---cut here---* r% {4 [: q/ ~7 [  C; \& P0 T9 N
  41. In my environment (a linux box with a MySQL server running locally) I have:" A" U! j( s( d) e) |
  42. ---example---' w4 f+ T* x1 n2 ?5 r6 _  B- P
  43. [DBEXPRESS]! Y. J  S9 y  ~6 {2 g. o
  44. sqldir=mysql_sql
    ! u/ r) I9 e/ o/ C0 M! h4 f3 ~/ u- ?
  45. Drivername=mysql6 [8 O7 G$ H$ }1 K; A2 m- J2 R
  46. Database=test( Y$ f% z  _" v
  47. Hostname=localhost
    ; `- B6 b( z- v3 c# ]+ }' Z% V3 O# C
  48. User_name=testuser5 D4 p/ O( ~' f
  49. Password=my_password3 b! p$ D1 L, `3 n
  50. GetDriverFunc=getSQLDriverMYSQL
    : ]" }% y  T- Q8 Z( `5 }! G9 ^
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    , X# E0 A' y1 o- G! C: w( k
  52. LibraryName=./libsqlmy.so0 v$ G3 K/ ^$ ^! z8 [9 u
  53. Active=1$ s2 M) ~7 h' D/ M
  54. ---example---" `  n" g- h& O) z6 Z2 f
  55. 9 B8 N# ?) \7 ]; `" h" {. ~- ?0 a1 r
  56. On a windows box, also running the MySQL server locally, it would be:. }. l0 @3 Z  n' v
  57. ---example---7 T! O* [( I: B0 D' P! s' ?
  58. [DBEXPRESS]% U' |+ G+ I$ z/ z1 S, D
  59. sqldir=mysql_sql# m' o+ h5 p* |9 b
  60. Drivername=mysql
    ( I7 a% e/ W- [7 P
  61. Database=test
    7 \/ K; m7 L2 ^6 v! ~" R+ y8 E
  62. Hostname=127.0.0.1
    " M7 g9 h+ k1 R
  63. User_name=testuser
    1 a7 U9 b  m0 o/ ?! {6 m( y
  64. Password=my_password
    3 V1 T3 Z/ y# Y0 L
  65. GetDriverFunc=getSQLDriverMYSQL% [2 L" k0 `, e4 ]  Q
  66. VendorLib=libmysql.dll7 H9 U( n* o* M) f
  67. LibraryName=dbexpmysql.dll# Y3 q7 }- e) \; {8 t
  68. Active=1% l/ Z7 V/ y% e  S
  69. ---example----
    1 J% r) }8 H& |. d: y" I, D- R5 v
  70. - written 02.03.04 by pwk.linuxfan
    . ?! m5 F9 V" ]$ P$ A" f! c8 e# Q
  71. - O1 g/ ^- E: W; S  Q# v
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看( r! I( _( y2 A& W8 e3 t

  1. $ b$ S) `& E0 p1 Q2 G
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 9 y6 A5 ?1 @) J6 I8 Z& j+ Y
  3. ' H/ T0 w7 u8 b4 \& S3 z
  4. # # #我们所需要# # # ! z0 o2 b  P: E- [5 V  B7 z# X
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    . O( }. i; Q4 W
  6. 不会解释如何做到这一点-也有文件存在,为
    , _/ \4 e2 t. C" v
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用- G3 A1 N( o' ~5 H0 G$ M3 f* E& l
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西+ l( j2 O. u' i2 r$ Y! O: t# K% U
  9. 随着数据库。此外,你需要一个卖方图书馆安装于+ t. u  j% \+ k# b+ E
  10. 本地机器,这是我的MySQL安装。
    ) o5 Z9 I+ t) F
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    4 Y  r: r. O0 b! Y
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 4 E5 o; s/ r0 ]0 y! ?) Y0 ^! N
  13. 数据库。 5 y: f3 ?6 Q' b& i6 e
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在, S) A4 j% W% g! t
  15. 编写本报告的时候,仍然有太多的问题-检查现状, l! J2 F7 s  P: O+ G7 D2 c# U/ m* O
  16. 在teamspeak论坛,如果你有兴趣。
    9 d$ a7 O# ~8 u* ^
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ( o# |5 ^6 ?  C; K& i; R
  18. Borland公司使用。这个司机只能界面与客户端库+ Q0 @4 q  T# C5 u
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这% b* ?8 M1 ], r
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ! }: g8 w9 T4 Z1 A! V4 L6 \, V
  21. " vendorlib " ,并解数据库连接。 + k2 |* I0 ]+ A% x6 q( r- ^  D% L
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 3 y1 d* n* E1 h

  23. , g( {2 W, g4 ]: X
  24. # # #做好工作# # # 6 L+ w* \* b& j  i) V
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都( q6 l/ p) e* Z' z, M
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    : c( d8 Y. D+ Z* i( R* L
  27. 结束: ( K# t* _5 l% Z5 |
  28. ---削减这里---
    / K& g+ G: D; J* d* x3 n
  29. [ dbexpress ] 0 `- K4 _& G9 g: Z" h$ Q
  30. sqldir = mysql_sql
    9 W" I2 o" ?4 b& n0 B3 d
  31. drivername = MySQL中. r" V+ r  o2 s! Y; |' n
  32. 数据库= your_database_name_here
    ) c9 |+ d" X% B: S
  33. 主机= the_pc_the_mysql - server_is_on - v8 @- i7 I  E. [$ C
  34. user_name = user_name_on_the_mysql服务器
    8 d) B5 @8 o1 @6 L+ |1 K
  35. 密码= password_to_go_with_above_user_name , ^7 A5 b$ t% @) v- g+ y
  36. getdriverfunc = getsqldrivermysql / O* a1 H% o# k& P8 ?
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib : T1 `5 Z* Z3 H7 W, P4 @
  38. libraryname = path_to_libsqlmy_libary
    5 |& x6 O& W8 `/ Q
  39. 积极= 1 & ^# p% A+ V; C$ ^% q
  40. ---削减这里--- % s- l# l$ \* v: Z1 y( p4 S8 H
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ! _  `5 A2 r$ I7 H
  42. ---例如--- # ~1 C2 I* t% \- t! W" P
  43. [ dbexpress ] , S8 E* V: d' H) I& U1 w
  44. sqldir = mysql_sql
    * ]9 x, [( _6 l8 |! A1 N0 u( J
  45. drivername = MySQL中! ~7 D0 ~( W; ~, E  x# f6 D* i! H
  46. 数据库=测试; {2 U& t( A# P5 W* [: f
  47. 主机=本地主机9 U% e. y/ G) i* o
  48. user_name = testuser
    # M# ]7 C- e# B7 {  f. c
  49. 密码= my_password
    1 `9 ~0 ?, i0 B. J
  50. getdriverfunc = getsqldrivermysql ( z- \) ^# {" m* I+ w/ n& H5 H
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    8 P; S' [7 K) u* I3 O8 ?! Y6 b
  52. libraryname =. / libsqlmy.so
    , t0 \5 L) @) C. J1 ]! q. c
  53. 积极= 1
    # [: @5 n8 a0 _* E" T1 x& }& j- y
  54. ---例如---
    $ c( x  t" ?. J. l+ A

  55. 7 ?' L) q5 z2 w( I5 h$ d
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 1 d& e( B. N* r1 i) o
  57. ---例如--- : H- k0 X7 }( Q9 x) p& E
  58. [ dbexpress ]
    ( k9 `+ j3 u! o' U
  59. sqldir = mysql_sql 1 F. l# I8 N( ~8 X
  60. drivername = MySQL中# ?0 U* ^: r+ ?4 i  S
  61. 数据库=测试
    # i5 a6 F/ j# i, _
  62. 主机= 127.0.0.1 # R! D2 \. u- F* A  c) y7 {" A
  63. user_name = testuser
    6 G! d+ j1 d3 r8 q" \* x
  64. 密码= my_password 5 [7 D& @. x% D
  65. getdriverfunc = getsqldrivermysql + z7 Q% s- F+ ~, ^2 q% h5 j6 v. k
  66. vendorlib = libmysql.dll在" W+ m7 J2 y' V8 l; ]/ b8 A* W1 a3 G
  67. libraryname = dbexpmysql.dll
    4 j% Q0 P, ~+ D* ]) y* E; Q% D
  68. 积极= 1 % ^. r+ ?+ o9 A* |, n. C
  69. ---例如---- 6 r- {9 \9 S& i9 v3 Z7 f
  70. -写在0 2.03.04由p wk.linuxfan! b* R" A( d" h' T: 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 words
- B/ l/ h  v- [8 f8 E
. b" y/ m- o" }- Z3 p. `6 S% zbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-5 07:40 , Processed in 0.058096 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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