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

3507 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan , j3 S) y. V- R* Z+ {
( I) k8 n/ M+ J$ H+ g

  1. 2 K- `3 A1 Y2 l) B$ r
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######5 S: Q0 S$ t* Y, d- t- g
  3. . U% O$ W& z; d& p4 y
  4. ### What we need ###
    " _) i4 U) X7 y+ R6 q" Y  a
  5. Naturally, we will need a MySQL server to store the data for us, this document
    : H/ g' ?; _+ u* c5 m3 w! x
  6. will not explain how this can be done - there are documents out there for the
    . X' P% A2 U" H& o/ U; V
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    4 i, t2 U4 X3 x
  8. and a user account (username + password) that has the permissions to do stuff
    0 N9 {' Q) e/ \
  9. with the database. Additionally, you will need a vendor library installed on the8 c8 W+ F5 k4 R+ Y! V& O
  10. local machine, this came with my MySQL install.: P& V+ T( @9 n' y( g
  11. These instructions will not tell you how you might transfer your data from the6 a2 F+ D: h3 [" T- \3 m6 k
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL# U7 |: n" t: N8 q! t
  13. database.
    ( J0 V1 J& @1 l9 q
  14. Some users have reported ways to import a SQLite database into MySQL, but at! ^3 n6 w- @8 t) c( E" J& F+ T
  15. the time of writing, there are still too many issues - check the current status" u2 Y8 H7 J0 M2 U
  16. in the TeamSpeak forums if you are interested.% h1 G1 p* u5 s* a- d- `. t0 C
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from3 X) f/ B/ t* c
  18. Borland was used. This driver can only interface with the client library that
    ; e# ^6 j, x. u; P/ |5 Q) W; D; z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this* k8 z1 B+ Z8 L# o$ Q3 u
  20. client library - basically all you have to do is to use a 3.x client library as * f3 ^- `% e* k/ b
  21. "VendorLib" and a 4.x database to connect to.+ }$ D. d- o" U; E' E- j! _
  22. If you need more info about dbExpress, you can contact Borland.
    9 I% C1 E" |9 x2 j; l8 s
  23. : s  @* O; l+ k
  24. ### Doing the work ###
    7 b0 f* l( w" n# J- i2 g* r
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    6 L; h# M- u/ Z7 r; ?7 j
  26. the perquisites right, just open your server.ini file, and add this section at
    . ]0 [+ S- B4 j1 i" ~) Y/ }9 `$ X& ^
  27. the end:, ~; `" |0 N5 v) |6 D/ f8 K
  28. ---cut here---
    * Y' [9 D2 X7 Z% E
  29. [DBEXPRESS]
    9 @2 Z! z5 u& G: H7 D7 g
  30. sqldir=mysql_sql" ~( l8 ^9 }5 W& s" P' b: B
  31. Drivername=mysql, d7 w2 H! @& F9 x& `! I% T8 a
  32. Database=Your_Database_Name_Here9 K% |5 c* Y1 q  N& F( @  E' @
  33. Hostname=The_PC_the_MySQL-Server_is_on5 ~2 F0 D$ o1 ]2 [3 v  B
  34. User_name=User_name_on_the_MySQL-Server4 E  l0 Z0 {* s2 p1 W5 q& u, H
  35. Password=Password_to_go_with_above_user_name0 Y2 x3 V$ K0 X# z0 J* K6 h
  36. GetDriverFunc=getSQLDriverMYSQL
    % J! x& }$ |, q) N1 e
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib& {4 K% L) A" b& w4 y
  38. LibraryName=path_to_libsqlmy_libary
    4 ~2 W. a% i; Z
  39. Active=1% k" m/ V& |1 h/ v
  40. ---cut here---9 j' c( R. V7 @. u# k, y* M7 c
  41. In my environment (a linux box with a MySQL server running locally) I have:5 ]3 [7 d  t+ `. ?. y6 a# w
  42. ---example---  {2 |% e9 q4 ^- k9 A
  43. [DBEXPRESS]+ a6 @$ F% y: {& r2 [3 W( l6 m! c
  44. sqldir=mysql_sql, I0 i9 h( u. @- i9 L0 Y+ U
  45. Drivername=mysql
    ! u& O- I# y+ g4 n( _, z
  46. Database=test
    $ w! R' }  U' ?9 H6 q; B- z& Q+ c
  47. Hostname=localhost+ Z2 e# o6 i: a7 Z/ y
  48. User_name=testuser' Q& C# O% X. j7 D1 H" B+ R
  49. Password=my_password; ^9 M8 x, U$ n; a+ W8 T
  50. GetDriverFunc=getSQLDriverMYSQL( b0 z% e8 I' f+ \
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.02 N. E( k( T- Z6 F2 U* Q1 y( X* V
  52. LibraryName=./libsqlmy.so
    & d; A% U7 d- n/ i; Z) L, t; u
  53. Active=10 s' e7 V+ P" m) e+ x1 A* P8 m. ~7 t
  54. ---example---
    6 c1 B! @9 o* W. E- s
  55. # V% _7 c9 R0 x# Q) H6 C3 x4 X, B7 a
  56. On a windows box, also running the MySQL server locally, it would be:
    : ]5 G: _# z2 c' `1 W% ?
  57. ---example---% x% z/ T5 [; ~' |# H7 f( B
  58. [DBEXPRESS]
    & Q# a5 ^. r* z( D$ l# }; M
  59. sqldir=mysql_sql
    , V8 x5 t' z0 S& k; S
  60. Drivername=mysql
    " C$ @6 p+ n  r) W, K6 ^0 o
  61. Database=test% a. _: w# G/ n# ]  s( L
  62. Hostname=127.0.0.1$ G1 q2 P, ^4 ^$ M! z
  63. User_name=testuser
    . K4 c0 g# f% J" h9 a3 V' w7 h
  64. Password=my_password
    2 X5 F* c& J; E' e
  65. GetDriverFunc=getSQLDriverMYSQL' L/ N2 d  p; ?: v
  66. VendorLib=libmysql.dll* G. z1 B  Z& `6 K% k1 g" p
  67. LibraryName=dbexpmysql.dll
    9 U  m) U5 r1 h6 F* y7 g. a
  68. Active=1" S3 N$ P( g! n% ?7 h  w
  69. ---example----
    ( ]9 b( s$ e4 `
  70. - written 02.03.04 by pwk.linuxfan( b6 j8 E1 x/ d) S3 p8 e

  71. : [  i5 B* V& V. K+ T1 r: B
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看* ]0 n% q; f9 L- k
  1. % ^, U0 U1 A2 \5 u* O( b: a+ `
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ! w2 `6 I; n; v" m' X0 ]" ?5 T, t9 |
  3. ! m% E- d7 R/ m' O% ?* N8 X9 J
  4. # # #我们所需要# # #
    % O, |: O/ X% [2 F/ z& x
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件' \5 ?! R6 j) m) `; W2 {% v
  6. 不会解释如何做到这一点-也有文件存在,为
    ( w1 w4 E/ n9 ?- g( Z6 o
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用& n3 b8 q# C( n' n$ Z
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ; c2 f9 P1 f) i, S! F# o/ E
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    # ~) E- J! m8 w
  10. 本地机器,这是我的MySQL安装。 7 u" O0 l3 ^  q1 t9 }9 [3 d% l
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    % \3 y8 K$ L: x1 [3 V) H- c
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    1 |  Y- S; ]' m" U9 t: ?) g
  13. 数据库。 6 H  ^2 \2 x( F0 k2 W* w
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    % d- D" m; ]. I/ Z; b
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    / a  V: u" t; `( r$ }; p1 M; V9 Y
  16. 在teamspeak论坛,如果你有兴趣。 % \2 k; B" q- j' C
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    1 p/ T3 b# p' Q! t
  18. Borland公司使用。这个司机只能界面与客户端库" A# e, r1 \4 ~1 ^9 M$ r1 N
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这9 H# X3 X6 g' h
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    & j! u. E/ N, U
  21. " vendorlib " ,并解数据库连接。
    0 ~% G' ^" q- Z. F' L9 S
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ; ~6 b. N# d9 k6 c3 q0 b) a5 y
  23. % \. E1 p& [% N- H8 [2 R9 s
  24. # # #做好工作# # #
    - C4 @" v" G2 y
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    2 k5 b8 Z/ K+ a0 B; U9 k4 y
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    , c1 I1 o6 w/ i' @7 A8 e2 m
  27. 结束:
    - q8 l/ P, a+ p% O$ m
  28. ---削减这里---
      I" @. T; ~* t' x1 B6 n5 ]5 Z/ q
  29. [ dbexpress ] 3 d7 N) e3 X* Q% |
  30. sqldir = mysql_sql 7 o: i, k' {/ U5 d- X( X- C# T$ t* Q
  31. drivername = MySQL中
    1 C" V. `8 [6 l. k, U0 X
  32. 数据库= your_database_name_here & C5 t+ I$ m) c8 u6 [* E# J
  33. 主机= the_pc_the_mysql - server_is_on
    : L2 A. ^$ l( p) W
  34. user_name = user_name_on_the_mysql服务器
    ! `9 ^# Y) L8 C, U( I
  35. 密码= password_to_go_with_above_user_name ' ^# n% s. D3 |
  36. getdriverfunc = getsqldrivermysql 2 u8 H' ^3 p4 y2 _5 {6 s) |8 U7 }
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    . x3 @' c- c+ p! o2 ]- t" l
  38. libraryname = path_to_libsqlmy_libary ! `. M; z7 w2 {" S  p
  39. 积极= 1
    ! s6 D( T0 v6 z# O
  40. ---削减这里---
    ! c9 s  q$ ^/ d& m& c- }
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 8 d2 d1 B/ O  g% {
  42. ---例如---
    9 S$ ^0 _; E. U  m: M9 j6 ?
  43. [ dbexpress ] & \% r# h( @7 F; I; K1 k
  44. sqldir = mysql_sql
    & j4 U/ v, ?3 T- R) s6 E! @. D
  45. drivername = MySQL中
    ; `4 F# F$ r. ~
  46. 数据库=测试
    * Q' F* |( n9 x9 `
  47. 主机=本地主机
    ) h/ }( x: K) g/ L. @6 @
  48. user_name = testuser
    " @( ~$ I9 q4 f5 u" n* ?  W
  49. 密码= my_password
    : t- N" ?6 b0 T) O9 T
  50. getdriverfunc = getsqldrivermysql
    - H# z, H- p' r$ W
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 " ?3 g; b# O8 Z2 g  P( ]6 E& R& N! z  n% W
  52. libraryname =. / libsqlmy.so * R& X" C6 o" \4 i+ O6 m4 u
  53. 积极= 1
    $ B8 g1 @9 |. K$ O( V! ]" E
  54. ---例如---
    . n1 {$ e, X5 ~# e1 m" w
  55. * }4 T' k" f9 D6 k! c# ]/ o+ u5 g
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    " n3 L7 w. g! k# h
  57. ---例如---
    9 L  n* {+ n  V- k; m. H3 ]% w
  58. [ dbexpress ] ; E4 y8 o* b$ }; T& n
  59. sqldir = mysql_sql
    $ ]+ F/ V: G! {. R8 L
  60. drivername = MySQL中
    9 B6 P* N5 @" x- f" w: L. z
  61. 数据库=测试' K3 y- Z% h3 i6 G. U/ D
  62. 主机= 127.0.0.1 & C1 x# l0 B5 W
  63. user_name = testuser
    7 L- X: k: [: C* L" N
  64. 密码= my_password
    ' \, P* I* u/ E  \7 H8 P. p- d$ B
  65. getdriverfunc = getsqldrivermysql * `' |2 x2 `9 |9 X5 ]. A0 a8 Z
  66. vendorlib = libmysql.dll在. T7 G; O) [  q6 q  l
  67. libraryname = dbexpmysql.dll
    4 E9 g7 I3 k  V3 n. n& r8 Y8 k
  68. 积极= 1 - i( r- ?/ X# o6 [/ M6 ]! Q
  69. ---例如---- ' O4 d- |6 m2 D$ [4 X
  70. -写在0 2.03.04由p wk.linuxfan
    8 L& b( Y( Z, @' ]& z) S
复制代码
发表于 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# y: v* \  j+ G  K
8 }: C1 }- r3 G
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-12 18:13 , Processed in 0.049980 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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