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

2226 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 5 a2 e5 U+ I8 J, v' @2 C

5 c6 z9 \5 |; n0 V' F

  1. 8 P% D0 M' Y6 ]* h' F, h
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    7 m% Y6 q( `8 L9 y# h  Z$ v
  3. ( G7 S8 T3 F2 b( F, z+ j
  4. ### What we need ###
    ! t5 M3 I7 Y# ]8 [/ O! [+ d
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ; ?( X2 s1 X6 K
  6. will not explain how this can be done - there are documents out there for the
    . `( V+ t5 I8 t7 _* h* J
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ! J* v* T( O* l* K5 C
  8. and a user account (username + password) that has the permissions to do stuff
    " ]9 A& @8 \2 l: K6 S) Z, B3 K5 K
  9. with the database. Additionally, you will need a vendor library installed on the
    7 }3 M, O6 s9 ~) o
  10. local machine, this came with my MySQL install.
    0 `' O: n4 E8 w" U
  11. These instructions will not tell you how you might transfer your data from the; N; T6 n0 L* |5 L' [# K
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL7 r/ x& w2 g8 }6 _8 e. C. n
  13. database.
    . }$ I' V" u" h; v: B7 m
  14. Some users have reported ways to import a SQLite database into MySQL, but at. C5 p& R$ S- A& }; a5 |5 g# _% t
  15. the time of writing, there are still too many issues - check the current status, G( Q# r8 ?) D8 _
  16. in the TeamSpeak forums if you are interested.
    9 x( S* ?; n' m
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ( m" O" ?4 ^( x1 O8 g6 V
  18. Borland was used. This driver can only interface with the client library that 9 m9 E- E/ Y  P; Y) r! D2 o
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this( `, f" N) X& Q2 O3 R) Z
  20. client library - basically all you have to do is to use a 3.x client library as
    9 D, K  \# f1 {! C4 u
  21. "VendorLib" and a 4.x database to connect to.5 }6 f3 Y: B% @+ s( P
  22. If you need more info about dbExpress, you can contact Borland." M. P) Y6 K) W# J# Y0 o0 u
  23. ! L2 }) A% V7 x4 V. }/ y2 N
  24. ### Doing the work ###
    / k" N* P3 Z/ e  t
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all5 V* d$ C2 J7 T+ n% t
  26. the perquisites right, just open your server.ini file, and add this section at4 @7 K" B" C1 A9 E4 M2 a5 {) U0 A
  27. the end:
    / p2 C0 Q+ W' r$ ]  b4 o: K
  28. ---cut here---' x1 D: z2 i' Q) j- I" ]% N* }3 v9 m
  29. [DBEXPRESS]$ W. q2 W8 }2 h, k) }, y! k
  30. sqldir=mysql_sql
    : {* F( ]$ r! y( Z  o- B( w
  31. Drivername=mysql
    + `) Y; z! Z& {, o1 h0 V
  32. Database=Your_Database_Name_Here
    6 b/ ^- C- T2 O) W
  33. Hostname=The_PC_the_MySQL-Server_is_on
    3 C6 X% B) I# i% `
  34. User_name=User_name_on_the_MySQL-Server
    ! K& Q& G4 B7 A: V- P: Y% o5 c
  35. Password=Password_to_go_with_above_user_name
    + E$ J7 @' ]9 {& d* r
  36. GetDriverFunc=getSQLDriverMYSQL  w) h- B# o( g6 }
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib3 W/ ?4 q; c: E
  38. LibraryName=path_to_libsqlmy_libary+ m3 N% g& `' R- J( f" `) l
  39. Active=12 L) l$ [( \7 v
  40. ---cut here---
    / F0 n6 ?8 g6 z* e
  41. In my environment (a linux box with a MySQL server running locally) I have:& W6 v/ v* I: S3 u/ H# M4 [
  42. ---example---
    0 G9 F9 a) `0 d$ {% U6 O. N
  43. [DBEXPRESS]& s: ^2 y' t/ b% E" a; V# T) z
  44. sqldir=mysql_sql! T. B0 C) `# h3 Y
  45. Drivername=mysql7 Z& y( O" b+ A; B3 `
  46. Database=test6 t' J2 m( S2 b  G- B, x3 D4 i
  47. Hostname=localhost
    ( R: {* H0 g9 c  W" v' }5 g  q
  48. User_name=testuser
    & H9 n* a5 c. R, |3 X) [
  49. Password=my_password/ I. z: C% S$ S! u. j4 h
  50. GetDriverFunc=getSQLDriverMYSQL/ X' `7 i8 c: s# O
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    0 f& X: J. e- R7 L; S. ]! M$ ]
  52. LibraryName=./libsqlmy.so. {; ^' G# N" C! Z1 Y1 Q& o
  53. Active=1$ t+ u' b. H6 g8 w0 E/ G9 t
  54. ---example---
    5 m; [- |6 _7 b* r
  55. 5 N7 [% _4 u* g6 q+ S& x
  56. On a windows box, also running the MySQL server locally, it would be:4 b: r) q, l+ f
  57. ---example---' h8 C8 G  N' D1 S# Q( ^# I
  58. [DBEXPRESS]3 E9 {. X8 U: @; `! t. ~3 G6 f- u
  59. sqldir=mysql_sql  `7 r6 g/ e! Z6 ]+ h7 h- c! `
  60. Drivername=mysql
    # a8 K& v7 U2 j- i$ x: F) Y
  61. Database=test
    ! a* x- l% M! c- O. I4 H
  62. Hostname=127.0.0.1
    ( k: p5 U& ?' i  M
  63. User_name=testuser  ?0 e. O4 A2 T, _
  64. Password=my_password; Q0 T( y8 l- D& M& ?6 e
  65. GetDriverFunc=getSQLDriverMYSQL& ~* i/ V- A( V
  66. VendorLib=libmysql.dll
    0 L3 \0 ~' c2 F- V& R& |/ T* G
  67. LibraryName=dbexpmysql.dll
    % W: n  \, Q& k8 q8 A# E
  68. Active=1* x( [5 ^/ x% J) q
  69. ---example----
      i1 m2 Q; a3 |9 r) h. _& k
  70. - written 02.03.04 by pwk.linuxfan
    ( I& T8 E" y. a1 X% q! [

  71. / R/ h- t, W- h. c  @" }4 s/ T
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看9 ^% ?2 u$ W1 v% r& W: ~6 v; S! x; q
  1. + H/ X  \. k! [
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    4 [2 z( p7 ^* o0 j( u# p4 p, `: a

  3. & E. v/ |$ A5 y( ]
  4. # # #我们所需要# # #
    # A; B( O3 H! @1 v( _1 e% g) v
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件3 J5 H  d+ I2 t( d
  6. 不会解释如何做到这一点-也有文件存在,为
    + o: ]( u% P: U& t9 t( _; g
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用0 Z  N3 T, U( P* g6 }4 T9 u
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西( I/ h$ K' _4 ?5 f
  9. 随着数据库。此外,你需要一个卖方图书馆安装于4 R" Z; D7 i: J
  10. 本地机器,这是我的MySQL安装。   ?8 F- O5 V# g, E
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从' Z2 Y6 Z( r4 j" B) y6 {
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 4 V* G6 g  i8 I  ], \% M. _
  13. 数据库。
    ) O# ?7 @9 M: F7 T. @: m2 z! j
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ' n/ j/ B! z% f6 C
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    $ w+ T/ T& l' b6 p. B4 Z$ ]
  16. 在teamspeak论坛,如果你有兴趣。 2 Z; W/ _$ B+ w5 x2 S  S  o
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    2 b2 u$ S! ]  U3 P
  18. Borland公司使用。这个司机只能界面与客户端库5 k6 A. i+ V# H4 R  Y( U! l  Y
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    * ]& O4 t6 p% q2 z2 p$ K
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
      h7 B  v3 V2 j! V
  21. " vendorlib " ,并解数据库连接。 - z' v* v  z( U: I) K& _: ^& f
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    . S" \3 q, _3 \8 @
  23. # @- t# Y+ c1 B+ J
  24. # # #做好工作# # #
    7 U) t' I; Q" [) J% T' G; t2 o! r
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ; T0 l& [7 {. T1 f# y: i1 R
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    : y2 b" F+ e! z+ H- D  J6 Q! L: L
  27. 结束:
    4 s$ W2 b' z/ {5 R
  28. ---削减这里---
    / t1 @, ~8 Z! a
  29. [ dbexpress ]
    ' E1 ^7 l( N" k# Z4 ^/ ~) P" {
  30. sqldir = mysql_sql
    - q1 v- V* ]3 [
  31. drivername = MySQL中
    8 Y4 v* k, x. F* }  z1 I5 r
  32. 数据库= your_database_name_here
    " y& i/ S  ?4 k% z
  33. 主机= the_pc_the_mysql - server_is_on 8 g7 p4 Q$ C" H# J
  34. user_name = user_name_on_the_mysql服务器
    - e5 v2 w+ @' L
  35. 密码= password_to_go_with_above_user_name % i0 D- E9 E2 S5 Q$ r5 ]
  36. getdriverfunc = getsqldrivermysql
    ' `& j2 N8 e3 S5 u
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ( ?% W: A& G5 Z# _3 Q! \; C
  38. libraryname = path_to_libsqlmy_libary 8 P$ m( G9 y$ Q5 z- y7 F7 ?9 G
  39. 积极= 1 1 I) v; Q' F8 ?# Q! ?9 X' n
  40. ---削减这里--- 1 p) _) {9 u8 w! I
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    2 f8 k: A8 y/ M7 F  X
  42. ---例如---
    ; u/ e2 \8 b9 R* b/ z2 q
  43. [ dbexpress ]
    # {  u5 c3 @* ^4 V
  44. sqldir = mysql_sql
    - B2 n8 |. e& |% c' C# R
  45. drivername = MySQL中
    : B0 X( u6 p4 r# @- E9 \4 p
  46. 数据库=测试6 [& q1 Q% y0 U) _6 |. A( N- t1 J
  47. 主机=本地主机
    9 k, z! _- h2 Z! ~. X  P6 ^+ ]  I
  48. user_name = testuser
    0 P- x6 ]8 m: M
  49. 密码= my_password
    , r/ s, ~2 O# H" j0 N, N/ @: J% C
  50. getdriverfunc = getsqldrivermysql 7 L6 J$ n, O+ \( `+ h) z. n
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 , Z1 n% H. Z2 z3 M; Z0 O
  52. libraryname =. / libsqlmy.so
    ! z+ P, ~+ e! M# R/ R8 f5 g
  53. 积极= 1
    ' M# t5 B# l5 c) B* _2 y
  54. ---例如--- 3 E6 E9 u# v$ |/ k% U& I
  55. 0 _$ a, T) P# h. }+ U1 s2 h# V2 _
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ; \  v% N) T* g# \* r+ v0 p4 N
  57. ---例如--- ( \* f8 C4 ^# K
  58. [ dbexpress ] * t  S! R# g$ W
  59. sqldir = mysql_sql % A. f3 _; u& o4 O$ J
  60. drivername = MySQL中+ H$ c# d: Y# ]! Z4 @
  61. 数据库=测试, f7 P) K) q9 x- D1 n
  62. 主机= 127.0.0.1
    6 o7 [* S. I8 A! @2 S& V0 w
  63. user_name = testuser 5 |' s8 e$ c. B) F
  64. 密码= my_password 8 B2 y6 ]( x( z  s
  65. getdriverfunc = getsqldrivermysql
    : N- T6 [& V( a: G
  66. vendorlib = libmysql.dll在5 y- z( ]$ ?- O
  67. libraryname = dbexpmysql.dll 5 t9 v; d- y) \; J1 k& |
  68. 积极= 1
    ' V' [0 `( T  e8 d, X
  69. ---例如----
    ; E9 H3 I1 Z; w2 k
  70. -写在0 2.03.04由p wk.linuxfan
    6 F$ l" F$ _; S5 P( G
复制代码
发表于 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. G) @5 O. d: W2 R, |
7 e3 K' }1 M  r4 }
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-24 12:10 , Processed in 0.103879 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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