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

2299 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
" w9 a5 ]3 `0 C* D& g" B1 u, J( p. _& s$ _: K) t9 _+ ~% x9 \! F4 i

  1. * P' R- X& g6 r7 N+ z, a4 h  {
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######( U# R. \6 E/ m
  3. 6 A7 n9 j6 [& t4 X1 `# Q
  4. ### What we need ###8 L" x6 `( {" v0 E" ~" `* D5 \6 Z
  5. Naturally, we will need a MySQL server to store the data for us, this document # v) C7 W) p6 c% f' X
  6. will not explain how this can be done - there are documents out there for the % a2 Y% c% l5 e
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    7 f! `+ x. H5 M( f3 `9 n
  8. and a user account (username + password) that has the permissions to do stuff
    6 ?$ v7 b3 P/ i9 _
  9. with the database. Additionally, you will need a vendor library installed on the, N5 d4 [/ y- }- A8 X
  10. local machine, this came with my MySQL install.
    9 L; G# d- g3 j  t( T5 w
  11. These instructions will not tell you how you might transfer your data from the- X! D9 E7 P" a/ C
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL+ Y5 Q3 P/ G# X9 k% ?9 t' ]+ B
  13. database.( U/ f4 V$ J, X. A( W
  14. Some users have reported ways to import a SQLite database into MySQL, but at% E0 I; X/ u4 d# B3 A1 ?
  15. the time of writing, there are still too many issues - check the current status3 @3 @. z3 Q$ }: r: f4 s
  16. in the TeamSpeak forums if you are interested.
    " b- \% T% w. e9 l) M
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    3 [( F( k, m/ }8 ]- O4 ?
  18. Borland was used. This driver can only interface with the client library that + H  R& b/ d( ~8 m0 O4 T8 _& V1 p
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    # n% X( C1 W$ q5 D# A; I) Z7 D
  20. client library - basically all you have to do is to use a 3.x client library as ( r' v; x6 J& p/ x* P, M5 K
  21. "VendorLib" and a 4.x database to connect to.9 N. m5 c* h! K7 T5 j
  22. If you need more info about dbExpress, you can contact Borland.
    9 g# q  a9 P! c7 D' v
  23. ( r9 S$ S7 `, \
  24. ### Doing the work ###. t1 U& |% s7 {9 w6 v. z7 P  n
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    $ I: A. a7 F4 k* @
  26. the perquisites right, just open your server.ini file, and add this section at6 m: I9 v) ?0 L# U
  27. the end:6 l0 `7 L* |& Q$ e
  28. ---cut here---
    % q0 a* {# b. J8 ^
  29. [DBEXPRESS]
    1 y8 j$ Y* ~3 p' c+ S7 q" d9 m
  30. sqldir=mysql_sql
    ; ]8 [( K; Q3 {; v
  31. Drivername=mysql
    3 ?' Q% J( o: W
  32. Database=Your_Database_Name_Here
    7 [6 |9 [/ }2 @3 P, n
  33. Hostname=The_PC_the_MySQL-Server_is_on
    6 P6 K9 n% e3 B
  34. User_name=User_name_on_the_MySQL-Server  o  H" ]* b4 J, m  y5 i7 T
  35. Password=Password_to_go_with_above_user_name
    % _3 B; k1 b- b4 y: c
  36. GetDriverFunc=getSQLDriverMYSQL
    ) z( L( W0 g- V( G- Q1 |, L! O
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib# L- k& E; j" J" w! S6 `
  38. LibraryName=path_to_libsqlmy_libary
    / P. X. K( T4 C* Z, m5 A  `
  39. Active=1! x4 A2 m7 s& u- }
  40. ---cut here---; {8 J2 z, d! ~7 [2 u" v2 g4 y
  41. In my environment (a linux box with a MySQL server running locally) I have:4 @5 f' Q  B$ X  I+ d
  42. ---example---
      S; X( i8 t, V6 B6 h3 |
  43. [DBEXPRESS]5 P- [- w% o( l( A; }( d
  44. sqldir=mysql_sql( N; V8 Z, O/ z( J
  45. Drivername=mysql
    8 h4 ~( W: V4 K, H* d
  46. Database=test; H' Y: p9 x- ^& O# a6 i3 N+ t
  47. Hostname=localhost
    ; ], d* Y' d. W& k9 q( q" H
  48. User_name=testuser
    - ?: B* P1 |8 L
  49. Password=my_password
    % v3 ]0 O+ c7 {7 n
  50. GetDriverFunc=getSQLDriverMYSQL8 V- n" x1 D, l# c5 L( f3 o
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    5 `0 ?- s. M* Q0 f! ~
  52. LibraryName=./libsqlmy.so2 H9 F2 Z$ l+ w( r" p
  53. Active=17 Z) z4 h" t& C4 |) u
  54. ---example---
    , d- w4 ^4 _+ a8 c+ W! f

  55. & I0 j8 M( `% O# m
  56. On a windows box, also running the MySQL server locally, it would be:4 d/ D8 ?, l: X
  57. ---example---
    % O# l' \* Y0 {3 F7 Y- Q' g7 B8 N
  58. [DBEXPRESS]! G) x. b- }& Z0 W8 ], r
  59. sqldir=mysql_sql
    ! b; _% ]4 A( l# y; F2 a5 E
  60. Drivername=mysql
    / J4 C3 e" I, [" ^9 y
  61. Database=test  m: s$ I* R- [0 F/ x1 i' j
  62. Hostname=127.0.0.1! Q# x- Y3 Z$ B# B% H
  63. User_name=testuser' u) [5 h* G# t( S, s7 T# z( w
  64. Password=my_password: B8 e. T. w! }0 K: c! ]
  65. GetDriverFunc=getSQLDriverMYSQL" t1 {# F2 z0 R8 s
  66. VendorLib=libmysql.dll
    * E: k5 P: }  T" e
  67. LibraryName=dbexpmysql.dll
    , N1 [* ^3 Y! F3 [# C
  68. Active=1  i  s+ s; p( g$ C
  69. ---example----
    ) k2 f4 N+ ]' o8 w4 h  n! z
  70. - written 02.03.04 by pwk.linuxfan4 y7 Q4 g# \, S, y$ N0 M" g% l
  71. * o2 W, L2 O4 X' E$ D9 O: ~; K1 k8 L
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
" b( |- U. {  P
  1. 7 m' V! h  X8 @$ |5 k+ Q" a$ F* {
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 5 V" s- S2 }5 F# r+ T
  3. . c. N, t+ H& q
  4. # # #我们所需要# # #
    $ A" b, k' z$ i# A1 D2 ?+ j
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    + v4 b# r' Q' `, |. [; T  v
  6. 不会解释如何做到这一点-也有文件存在,为' A/ A9 I) w, H& M) a" u4 r% v  l
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用2 D/ E3 `' I) g! }: G# d
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    " G" F: n- T5 M, t  @( w# E
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    7 B% L5 v9 M- @8 f; e5 w
  10. 本地机器,这是我的MySQL安装。 $ [8 y' w+ Y& L9 ?9 ]
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从% D7 L9 @" o( G- V: a
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    7 }4 V  g* L1 L  {# o! C3 }
  13. 数据库。 3 b2 A8 I/ P; U
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    % K3 [" g7 H9 X  p/ O7 t. z/ V; o8 F
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    4 Y, b1 w! F! L$ }5 l# k, o) r. i  [
  16. 在teamspeak论坛,如果你有兴趣。 # a8 T! v! p# F$ ], V7 |1 Y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    % ?. o; p  Z3 S4 A5 _( l+ r7 N
  18. Borland公司使用。这个司机只能界面与客户端库; p+ Q% m  Y4 e7 C) a2 }: j% K: m
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ! j: g5 Y/ l, H' J
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ! A! Z5 a5 v+ r% R$ Y0 A* z  e' x
  21. " vendorlib " ,并解数据库连接。 8 N. s2 f. ]* W' ~: h' E
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ; s5 ^; }1 X( |% C! t! H
  23. . t0 c7 {# {8 ]" \
  24. # # #做好工作# # #
    ) M, B- G6 k6 L/ m; S9 B8 d) j
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    : E1 W6 U3 W( C1 ]& u6 p' \. I2 A8 `
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ! J! `- Z5 T( @% V- Q: l4 f3 o
  27. 结束:
    & F; b8 H: g  Z9 A6 g. G9 i
  28. ---削减这里---
    ' i& w: i" a6 {7 s8 f
  29. [ dbexpress ] ! Y5 L; i9 b3 n$ E5 X+ ~9 x3 |
  30. sqldir = mysql_sql : W$ c# e4 V3 O& {- ]' p3 s  l# k7 z
  31. drivername = MySQL中6 d4 v- I# n  a& P
  32. 数据库= your_database_name_here ' c# ?" g# c! ?$ B4 a5 s
  33. 主机= the_pc_the_mysql - server_is_on
    - B0 K1 M) P1 u0 M: n
  34. user_name = user_name_on_the_mysql服务器
    4 b" [8 w' }/ s) K! T3 W; m- n
  35. 密码= password_to_go_with_above_user_name
    * O0 n  e* }1 P' W
  36. getdriverfunc = getsqldrivermysql / u7 W& h9 z% g: Q
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    . O4 N# H0 o! y& D6 B! F+ d
  38. libraryname = path_to_libsqlmy_libary
    : }# @/ \+ l# m- l8 F
  39. 积极= 1
    6 p/ O6 r! }4 m& ?% [, C$ }$ Z+ B
  40. ---削减这里---
    ( g' Y2 a8 b( s; ?4 A, R9 J: X
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    7 J0 c3 x7 j0 J
  42. ---例如---
    , V/ Y& v( o# b+ j
  43. [ dbexpress ]
    5 N+ `% `) }/ r( k+ Y
  44. sqldir = mysql_sql ( g% Q# U5 O2 i4 d; w
  45. drivername = MySQL中
    ; [! ~5 P- w8 n0 N, U5 D6 @
  46. 数据库=测试6 l# m' @9 p5 U
  47. 主机=本地主机# F7 B; C( Z4 S+ u* J8 B1 X9 X: ?" \
  48. user_name = testuser - K1 e9 V# v7 M5 }
  49. 密码= my_password ) p9 S. J$ P% H" W0 G6 B- J: ?- p
  50. getdriverfunc = getsqldrivermysql
    - i) b' I* p4 I$ o" r3 \
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 3 I4 r( ?2 S) n1 B! v" B
  52. libraryname =. / libsqlmy.so # M' H' c" [& @! N/ t
  53. 积极= 1 7 W0 t, V3 h7 p7 S, o! n
  54. ---例如--- ) c' z) D, z0 M+ i, m& b
  55.   ~, _8 k8 I" ^8 i
  56. 对Windows中,也运行MySQL服务器本地的,那就是: + a, u4 _; ?, x# V) x6 `7 u
  57. ---例如---
    : L3 D9 d1 ]- @# T9 E4 q
  58. [ dbexpress ] 1 z: k5 U3 f( ?* m
  59. sqldir = mysql_sql
    . Z) a+ }0 P  R% g. \2 ~0 j7 O4 T6 n
  60. drivername = MySQL中0 F' F! Q; F% T+ H
  61. 数据库=测试
      h; J9 y3 p- J1 l7 s, O% w
  62. 主机= 127.0.0.1
    ( O1 f" h8 @) r# E* p
  63. user_name = testuser 7 `2 ~! x( g4 Q1 c+ Y4 p
  64. 密码= my_password
    ( t4 L# e0 c. H" B4 s4 n
  65. getdriverfunc = getsqldrivermysql 6 d  d8 G7 C: Z
  66. vendorlib = libmysql.dll在
    0 P8 Y7 f0 N- I. K" y7 B5 n
  67. libraryname = dbexpmysql.dll
    1 b( L3 c1 A/ r6 m
  68. 积极= 1
    6 T3 W$ X# j1 @7 b1 |* P
  69. ---例如----
    4 M% I6 f; L  Z% `1 j, X) l2 C
  70. -写在0 2.03.04由p wk.linuxfan+ x5 L/ |; V3 W
复制代码
发表于 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
$ }) k& Y+ c$ o6 ~( u* k- a3 m: r2 D
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-15 06:25 , Processed in 0.101360 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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