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

2414 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan # w; q: `' K* x* \6 v

- @5 _/ B  [( Z  w
  1. : O# Z, i* F' x+ v: p2 ^7 @0 ^. z9 \
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######! C1 @6 {9 A! x( V( T
  3. 6 A/ ?3 x# C# I, A2 W
  4. ### What we need ###* {( c( T4 F7 w. M9 q
  5. Naturally, we will need a MySQL server to store the data for us, this document
    3 y/ W* M  j% h/ D- a
  6. will not explain how this can be done - there are documents out there for the * a* G& @1 S( n0 z/ Y
  7. interested. The requirements include a (empty) database for TeamSpeak to use# u; B# P* j. {
  8. and a user account (username + password) that has the permissions to do stuff
    ' j: @. x1 Q" J0 \, g! R
  9. with the database. Additionally, you will need a vendor library installed on the
    6 a' |, V" N- r  o2 Q) w/ t
  10. local machine, this came with my MySQL install./ @) z* u$ V/ i, }0 O' s2 Z2 p
  11. These instructions will not tell you how you might transfer your data from the
    5 m4 A% N& e8 X2 u8 Z8 y4 d
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    3 B/ c% n, X( @) k0 J& r: ]
  13. database.
    5 s% Z5 G6 G/ |2 R; n) V; T
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ' X* s2 P+ ]: u. w# o& L$ h8 b9 k
  15. the time of writing, there are still too many issues - check the current status
    $ E, b# K9 @2 T5 c6 o0 L
  16. in the TeamSpeak forums if you are interested.
    ; W' h5 x# b6 q) p- E. W% j
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    - x9 U4 e" Z6 v( E- W* Y
  18. Borland was used. This driver can only interface with the client library that 5 n8 y; y" |: V* R. t. R! e( a% y  e
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this: z$ g+ h" _1 ^) ]# y  j5 B
  20. client library - basically all you have to do is to use a 3.x client library as : C  r5 [9 L; I: r! K/ P) f& f
  21. "VendorLib" and a 4.x database to connect to.
    8 C& O7 b* C/ c1 v
  22. If you need more info about dbExpress, you can contact Borland.; f* d* O' Q! V& a, }5 _

  23. 9 Y1 V: P1 m# \. ~8 j% |
  24. ### Doing the work ###$ d% s: Z/ X9 L& A. N
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    - P& S* O2 {# j/ p; l4 t" T
  26. the perquisites right, just open your server.ini file, and add this section at
      F) ]3 `; @5 ^
  27. the end:1 o4 I) a) ?& x; V+ N
  28. ---cut here---
    7 U  A1 ^0 t! O4 }$ V2 q7 R0 j
  29. [DBEXPRESS]/ u! D1 t& u, j1 j9 M  Z
  30. sqldir=mysql_sql
    $ r& |+ z" A# g6 w  R( s
  31. Drivername=mysql
    ! k1 u5 g0 T9 t5 P" B% I
  32. Database=Your_Database_Name_Here) q8 H# j, w! l5 F& g: M( z
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ; _5 z7 A# b3 w
  34. User_name=User_name_on_the_MySQL-Server
    # F; s. z. g, \; r/ H* e! }
  35. Password=Password_to_go_with_above_user_name* E6 L) t/ ?! N: d
  36. GetDriverFunc=getSQLDriverMYSQL
    2 ^4 l6 u) X; d) e* K' l3 b
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib7 C( u; Z  @; ?* H
  38. LibraryName=path_to_libsqlmy_libary! B' U5 v5 f2 i+ I7 @
  39. Active=1
    $ V& {; h2 G8 C* D" Z7 q, D7 H; m: _
  40. ---cut here---
    * w& E) v& J0 u* K3 U  `
  41. In my environment (a linux box with a MySQL server running locally) I have:# X* g1 f: n! {$ T1 r* P
  42. ---example---& S' j. N8 T. R  J
  43. [DBEXPRESS]3 k1 r$ s3 X8 D. U: I" Z" N
  44. sqldir=mysql_sql
    1 K* [6 a% ?2 n" ~$ Y
  45. Drivername=mysql+ [" U6 ]5 n6 D) S( s
  46. Database=test
    / O# D/ ~. q5 v* s
  47. Hostname=localhost
    , f* B+ ~* J1 O% ~: }0 o' q% X
  48. User_name=testuser1 k- T! Q6 M( u. w1 m
  49. Password=my_password
    ; d( W+ s' w5 {6 r
  50. GetDriverFunc=getSQLDriverMYSQL
    6 z: N/ L9 e( I4 ^2 a
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ' K4 \' a- L7 x, Q  [& `
  52. LibraryName=./libsqlmy.so
    % A& ]. A! A5 U1 s
  53. Active=1
    . v' M/ c8 D- E' p5 R5 i; m. F
  54. ---example---
    1 l- z9 }/ i: p6 ~
  55. - a4 z. G# U$ R2 _2 R/ v3 x
  56. On a windows box, also running the MySQL server locally, it would be:
    9 w* ]! h# ]- k" f8 A$ D
  57. ---example---2 T% W; |0 p/ D( o
  58. [DBEXPRESS]
    " o3 o% ^" z. m' e* g
  59. sqldir=mysql_sql9 J- @& Z  t, _, H: _& ]3 T
  60. Drivername=mysql
    7 p, ~5 ?# k- L
  61. Database=test, l! f# W0 d% z
  62. Hostname=127.0.0.1' G) b0 I9 H: M: X7 y5 ]
  63. User_name=testuser6 {( l! m; A6 j  W5 U
  64. Password=my_password
    & X, ?, @. Q6 g" c: h& }+ |
  65. GetDriverFunc=getSQLDriverMYSQL  k; ]0 W- t0 T
  66. VendorLib=libmysql.dll0 b1 }5 C4 }0 L5 e- {! m" V7 @
  67. LibraryName=dbexpmysql.dll
    6 ]5 |" K: u% R- o
  68. Active=1
    2 `& v  g5 Z- f0 j8 z" l5 {& J7 C. N% Z
  69. ---example----
    9 a8 W& R- j' K2 T6 b" M, K
  70. - written 02.03.04 by pwk.linuxfan. P5 Q! i+ x$ K1 |4 G. x

  71. ) A6 u2 g1 k! W
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看# K, F+ ]3 f. }; ]

  1. $ s( H' j# l* @
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    1 k5 N% n. J$ Y& U. x4 M

  3. ; k. t0 p/ P7 h- |
  4. # # #我们所需要# # #
    4 P- ?- l1 D* L) i: {
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件1 b' {' }9 I& n8 k/ v1 `
  6. 不会解释如何做到这一点-也有文件存在,为
    2 o- t! a- Q. @7 J
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ( a6 A$ w2 ^; C0 r; K
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西3 t- Y) U0 N0 U) \& }5 T5 |
  9. 随着数据库。此外,你需要一个卖方图书馆安装于  D# T5 P( h2 k. E- \0 G
  10. 本地机器,这是我的MySQL安装。
    9 P6 Y" X% t! b  \
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从1 p$ ]# c4 z7 ^1 h9 X1 A% l
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ) B9 o! C! m$ Q$ J9 |
  13. 数据库。 , t4 R1 U' I# u7 i% R  Y
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    + Z. a, h9 a4 F2 K$ s% U: S+ ^' v
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    % z9 [3 S9 H% ~/ G; J7 f3 a: b
  16. 在teamspeak论坛,如果你有兴趣。
    1 `* j. Y' v2 b, o- r" w7 }2 H
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    7 v& K. p5 Z0 a' w& y4 ]0 X
  18. Borland公司使用。这个司机只能界面与客户端库  H) u" F" ]( }
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这9 x9 W4 k* \( s8 m; a+ S5 T& U
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为9 ^6 d+ i$ d( B" O
  21. " vendorlib " ,并解数据库连接。
    4 L- F6 |+ X. d/ i) {% U
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    9 X6 e: j/ r  _8 T
  23. 8 H9 Q8 q, `* [7 L, J) N6 w6 p' e
  24. # # #做好工作# # # / M3 T, g% i# E  f% U
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    5 z0 @( g4 w. Z) p0 w3 x2 R
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    % z# X' A# o9 s* l! d# D
  27. 结束:
    % T2 y9 }1 u; i. P- B" W3 i
  28. ---削减这里--- ) {' P# r% p, b" [5 s- Z! O* y! R9 y
  29. [ dbexpress ]
    3 m. g9 X3 l' i4 k& |
  30. sqldir = mysql_sql : f8 R& ~9 l% d
  31. drivername = MySQL中
    - k; n1 M7 f& e# g1 h; m
  32. 数据库= your_database_name_here
    ; i) E8 n7 Q  [. A& ^. J1 h  d
  33. 主机= the_pc_the_mysql - server_is_on . q! D# s/ S& ~7 \
  34. user_name = user_name_on_the_mysql服务器# B1 s  |' x3 [+ n5 Q4 H
  35. 密码= password_to_go_with_above_user_name $ u) T( \3 U, Z$ T% D0 D4 Z
  36. getdriverfunc = getsqldrivermysql
    + V' o3 Z7 Z' u" d/ w0 T& {" t; Z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib $ q# h! h+ M$ P2 X# l" Q
  38. libraryname = path_to_libsqlmy_libary
    & g. B4 e8 m; ?, Z$ J9 A
  39. 积极= 1
    ! b6 a7 C* E7 Q
  40. ---削减这里---
    $ \8 ~1 S$ g: t  ~& _# [
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: # w* Q( \& I1 B  V
  42. ---例如---
      B# d; P# A& m' U, h
  43. [ dbexpress ]
    ) R# B- S" I1 A) @- }' c) t8 L/ U
  44. sqldir = mysql_sql
    . i9 C5 A* l  Q0 x' u8 Z: X6 d
  45. drivername = MySQL中
    6 h, ]. s- _" i8 X& y- E
  46. 数据库=测试
    2 ~1 ^& U' C3 D5 O
  47. 主机=本地主机% s$ i9 \  ]2 }( e
  48. user_name = testuser
    1 f3 l  y/ M' s! F3 ^# V" n
  49. 密码= my_password * M7 K$ Y- K/ O) M
  50. getdriverfunc = getsqldrivermysql
    4 O7 {) h# ?+ l- F& j
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 2 ~: g4 [7 j, z
  52. libraryname =. / libsqlmy.so
    - y$ m7 Q; @$ w5 T4 L
  53. 积极= 1
    3 B' e9 ^$ q' L; g
  54. ---例如--- , \( a- i7 \, C5 y% u
  55. 2 ]% ~- w$ F/ n
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    / l0 w9 i# b% V9 j+ u) h& A
  57. ---例如--- ( q% ~  O% }- v4 A
  58. [ dbexpress ] 6 U) U+ v* t1 h8 f  K1 v8 {
  59. sqldir = mysql_sql * S' i9 A. p- m7 {
  60. drivername = MySQL中
    % @2 h0 ^2 X2 v8 F% E( f
  61. 数据库=测试
    4 u$ D  u5 U9 D+ J, I7 C( C
  62. 主机= 127.0.0.1 ! i( @7 w0 I8 N1 G6 T0 `4 j- w
  63. user_name = testuser
    / ]; W( g0 A# x0 ~. k1 W- R
  64. 密码= my_password
    ' H7 w8 M2 }7 M
  65. getdriverfunc = getsqldrivermysql 3 T+ E% ]% S  p; o) `( p
  66. vendorlib = libmysql.dll在
    / D+ {6 {5 O, L  E; B. z" q/ ^
  67. libraryname = dbexpmysql.dll
    % q8 G  @/ A: X' n9 A) l
  68. 积极= 1
    ; z' w8 r8 q+ x! S2 c7 K# c
  69. ---例如----
    " E  a: U0 E( m* \6 U0 N
  70. -写在0 2.03.04由p wk.linuxfan2 v  f0 M6 G, ]4 Y
复制代码
发表于 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 words3 r' ]8 k% ^$ S0 d4 t3 H
% o7 o1 A9 B  p, {8 b! f2 H1 S
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-28 07:46 , Processed in 0.108036 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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