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

2858 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
" y9 z1 V1 t2 E* G2 N# E4 V+ C5 D8 m/ W7 ]: t+ a& q; T" R- {' p5 i
  1. 0 P# n- \( ~+ f3 m& l/ H
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######* f- _( x1 A+ N

  3. - _. T4 j( Y7 s9 Y
  4. ### What we need ###4 r' A: S$ w7 p0 t
  5. Naturally, we will need a MySQL server to store the data for us, this document
    1 I1 \5 l0 w* N/ g  u' u# j
  6. will not explain how this can be done - there are documents out there for the
    / j; e3 b. V7 p
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ) r/ e' ]7 o+ \0 V% S0 U+ ^8 N
  8. and a user account (username + password) that has the permissions to do stuff7 q. J1 P7 r8 g$ o1 V
  9. with the database. Additionally, you will need a vendor library installed on the
    2 C. I" B7 Q+ N# D" _# M  u7 F; G
  10. local machine, this came with my MySQL install.
    - p- ]' C# x6 a8 r
  11. These instructions will not tell you how you might transfer your data from the
    ) s3 B0 P* V& F
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    " w* Z+ I5 y7 E( a( g1 R( G1 q
  13. database.+ ?9 F; z4 u0 q4 M
  14. Some users have reported ways to import a SQLite database into MySQL, but at- I8 w3 X) Q! l9 u+ c$ d5 P. c
  15. the time of writing, there are still too many issues - check the current status
    2 N+ h$ E5 [2 O' ~2 j' V* @
  16. in the TeamSpeak forums if you are interested.$ d; Q3 j; o: D- }6 D2 G- `& }
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from8 t9 h7 ]/ C. c
  18. Borland was used. This driver can only interface with the client library that
    ) y# y# }: [1 P- m2 G  Y" L5 M/ A
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ) k$ Y8 L& w) G0 n; C
  20. client library - basically all you have to do is to use a 3.x client library as
    , e8 x2 E" v6 I) L0 H
  21. "VendorLib" and a 4.x database to connect to.' a, t0 y8 R/ c% h4 k3 P+ G' p
  22. If you need more info about dbExpress, you can contact Borland.
    1 i* d5 s# p9 M, k) {' n# b' H" I

  23. / y8 C+ D  ?$ Y& g, E  P
  24. ### Doing the work ###
    / T) k* D) y; S: e$ I
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    $ S8 `( @1 p( n# e
  26. the perquisites right, just open your server.ini file, and add this section at
    1 ?0 G& F0 l% k* t: }3 Y! v
  27. the end:# c) D& h6 v, n
  28. ---cut here---
    # Z/ _& |% a0 P& s% ^% ^7 Y& }- y# v
  29. [DBEXPRESS]
    ( ]5 u5 ?3 ~$ |& R! K. m( ?2 _5 V
  30. sqldir=mysql_sql
    ; f7 |0 j- _9 Z- j3 |% m! l: @; `
  31. Drivername=mysql
    # M' p, v; U3 g" T1 ~9 W& q
  32. Database=Your_Database_Name_Here
    2 h, @2 K8 h5 H9 o( W& ]
  33. Hostname=The_PC_the_MySQL-Server_is_on
    , _" l) r+ Q; B& J$ v
  34. User_name=User_name_on_the_MySQL-Server$ @$ W3 B' M( }  o2 f% j
  35. Password=Password_to_go_with_above_user_name
    + {0 r+ m; O5 v/ ^" W# X7 y2 e3 `
  36. GetDriverFunc=getSQLDriverMYSQL  s1 m# ~: D7 ?8 |9 K. N
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib/ Q+ a& R0 }( [- e0 u
  38. LibraryName=path_to_libsqlmy_libary3 x: i2 @+ s$ F3 I
  39. Active=1. w- k; W, U" N8 P
  40. ---cut here---" h: X0 c& }# s! a/ u5 a2 E/ T
  41. In my environment (a linux box with a MySQL server running locally) I have:# Q5 n7 R5 V8 s! y; h# c. U* i
  42. ---example---1 N* j* r5 c! j5 U; U- v8 D: s
  43. [DBEXPRESS]  X; _" ?+ t2 K7 n- M0 O* ^
  44. sqldir=mysql_sql
    . D- e9 N* w' D9 Y+ Z- J; ~4 {
  45. Drivername=mysql+ `) o. V" i! }7 U7 l! V4 j* n& a- Y
  46. Database=test* o3 x4 ^8 g* G! s" g! @3 p6 s
  47. Hostname=localhost8 U% p; K! S. c9 @
  48. User_name=testuser4 A- F" _5 ?8 d1 p' ]! @
  49. Password=my_password7 _' H4 T. o; r2 P  b9 C$ l
  50. GetDriverFunc=getSQLDriverMYSQL
    7 \' Z  f4 ~4 A1 `" k
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0* j) q8 F; q$ ?& C
  52. LibraryName=./libsqlmy.so
    " p9 h5 S; X, Y' f4 p" n
  53. Active=13 `: @7 D" e: F4 X& q2 R
  54. ---example---! U: C' V. L) N% h9 ]/ T
  55. 7 y8 _* `3 f; ^$ |7 p
  56. On a windows box, also running the MySQL server locally, it would be:+ H: t1 _+ W4 Y" l. [
  57. ---example---+ C+ p) E& P1 F, r% T
  58. [DBEXPRESS]
    ) Y6 X: e* B0 g9 D& j
  59. sqldir=mysql_sql
    % }  [' g' Y4 K) j+ T
  60. Drivername=mysql
    5 @+ z; m+ v& I# D- D
  61. Database=test5 H! ]  a4 h' t# W1 L
  62. Hostname=127.0.0.16 q% F& [8 ]& r7 e2 ~
  63. User_name=testuser
    : E; f% I1 a5 J
  64. Password=my_password
    ' H/ B0 v/ Q/ @
  65. GetDriverFunc=getSQLDriverMYSQL4 E$ w& j+ O; r! Z# @0 i. J
  66. VendorLib=libmysql.dll
    8 V. C2 u, L8 U7 _2 }' m& m
  67. LibraryName=dbexpmysql.dll" X# G7 W# m9 {- f: }
  68. Active=16 M- ?% k  |/ F6 s
  69. ---example----; [$ V+ E0 q0 R+ X3 [9 ?
  70. - written 02.03.04 by pwk.linuxfan. r' t) L- }+ n" V/ C) V% ?

  71. * F2 U, o" W' Q9 E/ i! P3 z
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看" V" ^# l% d9 W" j
  1. : _* `5 ?2 s* y
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    # p1 e3 ^* S" |' w

  3. % q* r; K# `8 E  X. r( L. i
  4. # # #我们所需要# # #
    : H/ M1 u; ]! P3 u9 w
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    , C3 D% Q7 T% y2 ]& n( @
  6. 不会解释如何做到这一点-也有文件存在,为- A0 U  B7 g) r6 e' t6 }
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    5 C) n9 V6 Y( b* f! w* B
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    $ k8 w) J5 `) Z* f) H8 @0 v
  9. 随着数据库。此外,你需要一个卖方图书馆安装于3 t6 ^3 _, R$ \/ N
  10. 本地机器,这是我的MySQL安装。 0 V: Z2 V8 C' h8 h2 L# V& Q7 ~# M& V
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    6 G8 G+ o4 q2 G$ n( N- U: b
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    $ n6 e& B, O, W$ G2 C5 |
  13. 数据库。 ! l. f0 h  M1 f& X8 v
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ' G7 l! T9 d4 W0 @; P2 K: V
  15. 编写本报告的时候,仍然有太多的问题-检查现状/ T! {3 _$ T6 x- v2 B
  16. 在teamspeak论坛,如果你有兴趣。
    1 r6 c9 Z( m0 I
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机; o0 S' W; {- j/ M3 G
  18. Borland公司使用。这个司机只能界面与客户端库# {9 ^( Z/ F- W6 Q+ }- |
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    " R. L0 I  i; Y, V
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为/ a4 E' n8 F6 o  o
  21. " vendorlib " ,并解数据库连接。 $ F/ Q3 R* f  d8 m
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 . u6 s: p6 T" H7 }/ n
  23. ( X9 N0 `! }8 Q6 [' `
  24. # # #做好工作# # # : p) L) d: Z4 R  H$ x
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    & u4 W/ `. A! F8 l
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    + A4 H' J) s3 s% M: _) B% h8 m
  27. 结束: 7 X1 u* x! p1 _4 y
  28. ---削减这里--- ( B1 k' l& n# O9 X8 Z
  29. [ dbexpress ] $ N- }' j. G. H% f$ N5 v
  30. sqldir = mysql_sql " M1 U( T( E' S6 Y
  31. drivername = MySQL中6 |  `5 ]' S% [, {: b  f* d! ~- R! b
  32. 数据库= your_database_name_here
    " y( ~- Q4 |. J/ s" Z
  33. 主机= the_pc_the_mysql - server_is_on
    8 r" }( i- O" U: [9 ~
  34. user_name = user_name_on_the_mysql服务器
    " m9 I: U7 \: ^! ]: _: e: o4 b5 L6 c
  35. 密码= password_to_go_with_above_user_name
    : k# u4 A/ L, W2 w/ w; o4 r, E
  36. getdriverfunc = getsqldrivermysql : Y& A1 S5 ^+ b
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib + r' D6 o/ T6 U
  38. libraryname = path_to_libsqlmy_libary . D  T" A1 I; ?
  39. 积极= 1 4 a+ i  h3 }: m, l' L2 y' ]
  40. ---削减这里---
    4 n% m5 Z) I. t9 h$ N
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    2 ~' G! |4 d! J1 U0 E8 H! _
  42. ---例如--- 3 R# [6 Z9 }1 `* Z
  43. [ dbexpress ]
    - b% \* i; p3 B! ]- X* a+ n
  44. sqldir = mysql_sql 2 c) n0 [+ m. H" P/ S( ?+ N9 J$ x& k
  45. drivername = MySQL中2 P) q2 k/ u) k0 X" }
  46. 数据库=测试) ^( D" q# U* Q+ q8 Q: O# |; Q
  47. 主机=本地主机
    . n2 K( W( B1 J' |
  48. user_name = testuser 6 S/ }7 b" j5 I% f
  49. 密码= my_password 1 r$ ~8 r) t, A
  50. getdriverfunc = getsqldrivermysql ! Z5 H: H# k4 Q9 h& d+ y) I! \
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    5 c; c8 K5 D: S+ F1 y
  52. libraryname =. / libsqlmy.so
    ; f2 i7 [* }* ?5 n  x$ N3 j
  53. 积极= 1 - A. N; o+ B+ ]6 l) t& c; v3 B$ L# y
  54. ---例如--- ) ~8 H* `2 I7 R6 i; Z

  55. * c! j/ r( v' `6 ~2 T: a7 z; T) S
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    5 i: L6 ?* o* E: F7 L" T
  57. ---例如---
    2 B* K; U" B  Y4 K7 }- }
  58. [ dbexpress ]
    ; p# Z% E: Z; Z
  59. sqldir = mysql_sql ) Y( a! x+ H& o5 i: P
  60. drivername = MySQL中
    6 s, r8 S" ~6 ?5 {( Y; j+ `
  61. 数据库=测试
    - m( }; s5 ]* I) C) Z
  62. 主机= 127.0.0.1
    1 b) ~7 }( ^% s; p; W
  63. user_name = testuser
    9 f/ T2 Z5 ~* u7 E/ B% ]! @% U1 a
  64. 密码= my_password ; _4 I# d" v) E9 ?+ s1 z
  65. getdriverfunc = getsqldrivermysql ! N( p8 a! F% ]+ G$ Q
  66. vendorlib = libmysql.dll在
    # m9 f5 E' y% ~& z4 X( q) A2 h4 K
  67. libraryname = dbexpmysql.dll : Z1 C* v1 F4 b' E
  68. 积极= 1 " N2 n, p2 h- W9 j
  69. ---例如----
    + J1 W6 o* O4 q/ K* e/ W! M0 S
  70. -写在0 2.03.04由p wk.linuxfan
    8 ^( B8 o7 r- U8 r  j( b/ ^
复制代码
发表于 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
8 c0 d* N6 [; K( B, M! N9 \2 ]/ _. I; [1 k, g$ ~0 K: Q3 r  i+ j. b( i4 ]
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-8 12:27 , Processed in 0.098073 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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