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

2656 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
0 G$ D1 V9 l' s9 S$ u8 ]% Q. q; [0 V4 ]

  1. 4 Q5 }; I0 P' I! @4 X  j  f
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ) d( P/ J- \' I3 s8 H

  3. - S& }( d2 t0 O: W
  4. ### What we need ###  B- Z8 {' ?! w# d. I
  5. Naturally, we will need a MySQL server to store the data for us, this document
    : N. b, P$ ?. s% u# l/ v+ e
  6. will not explain how this can be done - there are documents out there for the + ?( I* a' y8 ^. B) O/ b4 @" v
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ( |6 E) `( I9 L- T" p, k
  8. and a user account (username + password) that has the permissions to do stuff; u  v1 \( W+ j8 y3 ?
  9. with the database. Additionally, you will need a vendor library installed on the+ U$ a7 c5 {4 E
  10. local machine, this came with my MySQL install.; \0 B2 u0 m) \4 a; d
  11. These instructions will not tell you how you might transfer your data from the+ I4 N5 m/ r$ ]' r
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    - G7 v8 X# t, Z4 \
  13. database.
    * G; X: f5 B( i4 J* k  s7 U/ F5 H
  14. Some users have reported ways to import a SQLite database into MySQL, but at% n& V1 M& ^6 T! v
  15. the time of writing, there are still too many issues - check the current status& k4 Y) S0 b3 N( h; P1 K
  16. in the TeamSpeak forums if you are interested.- w- t" v; Z3 r9 s/ X6 \% ^0 Z
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from$ ]7 c0 U+ [- r. f% j
  18. Borland was used. This driver can only interface with the client library that ) ^* V5 C& ]: `3 K$ t( F) D, [/ Y
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this' n/ {8 P' S. X' K8 ^+ {  M+ F
  20. client library - basically all you have to do is to use a 3.x client library as
    ! U3 q6 p' @: c2 [1 v  t# |& F
  21. "VendorLib" and a 4.x database to connect to.
    * ?/ W3 z% c; h; @
  22. If you need more info about dbExpress, you can contact Borland.
    " j7 l5 l: ]# Y# p1 M" y5 ?

  23. ! ?& o# c8 h) U: v2 k' A& z
  24. ### Doing the work ###
    # z, x( ~9 r: L+ R4 P
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all9 O' x6 @! ]/ m6 p4 S& s& y
  26. the perquisites right, just open your server.ini file, and add this section at
    2 r4 g* T: n% v: W$ c! @9 \
  27. the end:
    9 B7 L: p: N7 s) S2 Q; X% u. W: n
  28. ---cut here---( A$ @9 @$ P+ x: I) V& l4 f  `8 M
  29. [DBEXPRESS]9 U7 r8 `( U$ y. Q3 l( c3 C. q
  30. sqldir=mysql_sql
    % \7 ~3 I! Y* a' o, S
  31. Drivername=mysql# B% Z! ^1 n9 j6 i, j
  32. Database=Your_Database_Name_Here- o. O. t: q# S0 }' G( {) K3 a& i
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ' y7 W) [" W! C
  34. User_name=User_name_on_the_MySQL-Server
    : x5 L: w1 K% u. r- O
  35. Password=Password_to_go_with_above_user_name
      S% W* N8 l0 d1 N
  36. GetDriverFunc=getSQLDriverMYSQL
    % w4 S6 y: h: s
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    & N0 ]* Z7 C6 p+ I. [
  38. LibraryName=path_to_libsqlmy_libary' p, \4 ?1 T# y
  39. Active=19 |+ I/ Q. \8 A
  40. ---cut here---* N2 D# k- B& p* N4 Y9 Z5 i9 a
  41. In my environment (a linux box with a MySQL server running locally) I have:
    5 I! E4 Z& Y1 p2 T* _* \1 h
  42. ---example---
    4 H% M( u+ m/ l$ f& I! x
  43. [DBEXPRESS]5 |9 }9 H$ B& V8 @4 ]; Q
  44. sqldir=mysql_sql
    : E5 x8 c' O1 ~9 ~
  45. Drivername=mysql
    ! z) b+ {% C$ p7 M, W" }
  46. Database=test
    3 ]* s3 {4 _, G
  47. Hostname=localhost0 w3 T  z4 D& l- X' z# I( n% U1 i
  48. User_name=testuser" z. \- e) q2 o8 E7 {
  49. Password=my_password
    ' O; Q- G8 Z+ d
  50. GetDriverFunc=getSQLDriverMYSQL
    # t+ M- b- s8 c1 o6 F& P
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.00 U! s0 A0 h) N6 n
  52. LibraryName=./libsqlmy.so
    4 [8 d6 B5 V/ z* X, s: R# q( ]
  53. Active=1
    # T: @, o/ [! x6 K' w' V
  54. ---example---
    2 r. ^, K2 j4 w4 |6 B% F
  55. , j# _, F+ B; d% F  M1 ^
  56. On a windows box, also running the MySQL server locally, it would be:& n9 }! a- v4 E8 _1 a4 r: ]
  57. ---example---- v# Y  U+ o7 |+ y" d- d# X
  58. [DBEXPRESS]8 F8 z6 r5 p# g7 K0 a$ l
  59. sqldir=mysql_sql
    ; g/ F4 f8 e+ x2 p
  60. Drivername=mysql, w- W% m; e: {* R+ t
  61. Database=test
    / x8 n4 V/ s$ I# l
  62. Hostname=127.0.0.1
    ! ]* q. b0 r* z8 o6 q' x
  63. User_name=testuser+ V) ~% m: B9 g# M$ _8 q
  64. Password=my_password
    " Y7 c- Q: M  z4 F, o* j# X
  65. GetDriverFunc=getSQLDriverMYSQL
    % l# |0 m" |1 ]" f8 @$ s
  66. VendorLib=libmysql.dll! m" M! O/ Z* ^- M5 F
  67. LibraryName=dbexpmysql.dll2 U- Z3 o- U/ u% g8 S
  68. Active=1& n5 `2 Q2 |1 d+ p" s
  69. ---example----
    & @( F* t7 {  R( P( r5 M
  70. - written 02.03.04 by pwk.linuxfan# |9 Z/ S' {- ^4 P( q# x

  71. 7 s2 f2 U/ F& L1 g  n/ B* E/ _9 r
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看6 L$ w: i: v, L/ y& S- d7 T: M
  1. ; L  p1 r, x9 p0 x
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 5 h( h2 }" ^" }9 U1 h

  3. ' ]) L, x2 s+ X9 O, n; ]$ M
  4. # # #我们所需要# # #
    + W" ]5 k' Z& u1 x  f% }( _9 W7 I
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件& H7 Y8 ?2 m! F' H! s4 f
  6. 不会解释如何做到这一点-也有文件存在,为
    % |( u. D& W6 n: T. b
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用! V8 w# x- m" S! @" Y- l, t
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西: M, _# e. c  ?
  9. 随着数据库。此外,你需要一个卖方图书馆安装于* u$ A" Q& r- H7 N% h( c
  10. 本地机器,这是我的MySQL安装。 ( \1 i6 j. N* T( t/ \) G6 ]- }3 N/ k* G
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从, E( s! o0 g3 O5 p8 k. ?8 c
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    - S* s2 J9 w- C+ r$ P
  13. 数据库。
    . i& n9 d' \( L( c6 ^
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    # m/ _1 R( u0 m* B0 C
  15. 编写本报告的时候,仍然有太多的问题-检查现状( W. X; ~: h7 k: Y0 K- Y+ }6 m4 e
  16. 在teamspeak论坛,如果你有兴趣。 ; r0 [9 U& z+ f  I4 v% C+ b
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机! X' @7 l, ^6 X! w3 g* O1 x0 \
  18. Borland公司使用。这个司机只能界面与客户端库
    & `5 ]4 k1 b- ]7 ^, M2 A) F! {: G
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这4 T& W$ v+ j+ \; D( i& M
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为# S# q0 u- y6 u; e' ?
  21. " vendorlib " ,并解数据库连接。 - D  P; {% a4 y# p6 A9 s" J
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 % \" d8 ?5 |) s# R: z+ B
  23. 0 v& C3 l. E, I, _# r( e
  24. # # #做好工作# # # 5 J8 y  U# ]- ]7 k; Y
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都+ f. C+ k/ V( a/ E& W- x; l% y
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    - K% }. K) M: w% r! Q9 s6 k
  27. 结束:
    8 Y, Y# ^4 ]! H* j8 B) _
  28. ---削减这里---
    / w3 d* K. }) k
  29. [ dbexpress ]
    5 X0 L% E, L7 [/ n, {1 x6 h
  30. sqldir = mysql_sql 8 d$ E( A  e% L1 C
  31. drivername = MySQL中
    # O4 \. j0 W0 `4 A& g7 k3 O
  32. 数据库= your_database_name_here
    6 Z2 g2 _/ P! _. ~2 `' K
  33. 主机= the_pc_the_mysql - server_is_on " z: L6 f5 Y& M, ^9 y
  34. user_name = user_name_on_the_mysql服务器0 y4 M$ \, D  R6 n" c' p
  35. 密码= password_to_go_with_above_user_name
    ( b9 T4 o& H; J& U
  36. getdriverfunc = getsqldrivermysql 5 U! t+ A* S: l* }0 e2 B5 g
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    , T5 |( p: l3 f8 `6 T3 A# z
  38. libraryname = path_to_libsqlmy_libary
    " K$ \/ m* R, d+ \4 `
  39. 积极= 1 9 [3 v9 H1 K0 A: x) {5 N
  40. ---削减这里---
    " I  M1 w2 T2 s0 [
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: - f4 A  M1 }) u8 D' M
  42. ---例如--- ' {; c: _8 I, b; ~  X
  43. [ dbexpress ]
      Y7 R- Z& `1 v$ R
  44. sqldir = mysql_sql
      K. ^- Y6 q; V) i8 Q$ d" F
  45. drivername = MySQL中9 _% Y& a6 k( S6 d
  46. 数据库=测试4 [' A4 N$ V7 C1 @1 x/ e& }
  47. 主机=本地主机; v9 h0 U. n  g6 e$ Z9 D( j# `# L
  48. user_name = testuser
    " E/ h, m6 L* U0 q3 U+ C
  49. 密码= my_password
    0 z1 s; H8 E9 u' ?5 y- Y9 L" H
  50. getdriverfunc = getsqldrivermysql " _! h: Q( Z4 G9 A- S
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ' H& Z2 `  J3 d, k, S) ~
  52. libraryname =. / libsqlmy.so + s) d# t- t# `; f  }6 x
  53. 积极= 1 . y7 _& h& Y2 B( p
  54. ---例如--- & }2 f* E) J/ T

  55. 2 h1 ]$ J/ u0 n# F! ~
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ! l! a! }$ U/ Z$ ^/ p& ]/ y1 }9 A
  57. ---例如---
    - A' A0 P9 Z9 N' E  A1 f: G- \
  58. [ dbexpress ]
    * z8 B. m7 `' y% ^
  59. sqldir = mysql_sql ' |  z6 _, g  _- @
  60. drivername = MySQL中
    3 z7 ]; N) t; t' R. _6 Y" W
  61. 数据库=测试2 ]8 V) y+ u0 d& w+ h; H  E' {
  62. 主机= 127.0.0.1 " u& E$ N' q5 \! X, ?) F
  63. user_name = testuser
    4 ^( R8 _' ]# N8 |& d. X
  64. 密码= my_password
    7 d) O* R5 r1 r* N- f  B$ N, o
  65. getdriverfunc = getsqldrivermysql : X/ B( F. I; F0 O, [0 q) s( K
  66. vendorlib = libmysql.dll在
    2 r6 x/ w  t( b' O5 I) t
  67. libraryname = dbexpmysql.dll
    & z1 q+ Q/ c; O! ?3 y. E2 o6 v
  68. 积极= 1   C" o, r6 a4 {3 q( `
  69. ---例如----
    $ x7 s7 D& ]4 ]. r
  70. -写在0 2.03.04由p wk.linuxfan+ m! V( W- @5 W/ @; C
复制代码
发表于 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- U( s8 L7 Z; N# d* z  V
% b1 l. D) e; A/ x  m" o3 o% R
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-23 11:52 , Processed in 0.092316 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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