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

2323 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 5 w5 x" r5 c* Z& K3 a+ g. D. F( C

) P+ F' V) ~& }! S: G7 J0 l

  1. # c# i/ L/ x+ n! q
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    9 S8 g/ [* @9 K
  3. 1 t1 v/ g! l$ `* f
  4. ### What we need ###
    , D2 B8 u! Y9 h& E) o
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ' t* \# M4 d! {8 U0 f" x
  6. will not explain how this can be done - there are documents out there for the
    ! W5 @3 ~) W, x8 Y  ]; [2 s2 P
  7. interested. The requirements include a (empty) database for TeamSpeak to use3 M, m+ W1 d: r8 b
  8. and a user account (username + password) that has the permissions to do stuff
    $ l) J& E' S$ @8 j' h! O& Q. X7 c
  9. with the database. Additionally, you will need a vendor library installed on the( c  p5 K9 X* P* A. t) F" }4 J( O
  10. local machine, this came with my MySQL install.. l. P5 Z8 S! R% U
  11. These instructions will not tell you how you might transfer your data from the
    7 j7 r3 j" i7 I1 A
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ! l5 ~) z# f; N# M" R, ?5 t( |
  13. database.; Y$ l0 |6 @6 b) p/ [* x
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ' ?7 l) O/ c( I5 W" Y1 O4 Q
  15. the time of writing, there are still too many issues - check the current status. m8 N# f) i! ~6 j
  16. in the TeamSpeak forums if you are interested.8 d$ t( s0 p% T8 J( r5 U. d( x3 x. y" C
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from6 ~5 C& L. d; U8 j( s6 E# Q
  18. Borland was used. This driver can only interface with the client library that " m4 S& X5 a: c3 J$ w
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this4 G1 B7 x6 N: x
  20. client library - basically all you have to do is to use a 3.x client library as
    " v( \  }' [5 z6 F5 {; n& c
  21. "VendorLib" and a 4.x database to connect to.
    # O7 ^) R$ @# \% B6 F
  22. If you need more info about dbExpress, you can contact Borland.
    / l: \3 b; G# z, ?! T

  23. 9 o* \& m1 o$ w
  24. ### Doing the work ###
    4 v7 `0 x5 ?; Q6 g% V) P- k& n
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    * D$ I' X  |# y+ M1 E
  26. the perquisites right, just open your server.ini file, and add this section at1 @" I5 e) k9 L
  27. the end:4 H9 v0 A5 p0 ]9 ~  U4 `' g7 d
  28. ---cut here---: ?6 J% N& m& t8 u% r/ A
  29. [DBEXPRESS]
    * X# t* f$ ?+ x  b2 D
  30. sqldir=mysql_sql
    + {" z6 ~: M4 ]; X) v6 e
  31. Drivername=mysql& H! c, i. Z4 f0 y" K6 s6 w$ Z
  32. Database=Your_Database_Name_Here8 N' Q+ g/ D+ ~" r* @. f8 w1 P
  33. Hostname=The_PC_the_MySQL-Server_is_on5 E  a! s3 }! K1 f4 t4 x1 ~
  34. User_name=User_name_on_the_MySQL-Server2 s4 \; r. K+ h' m/ A6 x6 ]
  35. Password=Password_to_go_with_above_user_name7 A0 o$ `5 h( G  O- E- ^
  36. GetDriverFunc=getSQLDriverMYSQL  D; l$ r7 r2 U, m7 l5 `- f3 D6 Y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    $ ^6 m, e- ^' T0 R: S! ^( O6 C
  38. LibraryName=path_to_libsqlmy_libary
    0 K$ ^2 q% r& k- f% ^
  39. Active=1
    4 n) G4 d2 T# h& m
  40. ---cut here---
    ! M8 A; V+ v2 K6 `
  41. In my environment (a linux box with a MySQL server running locally) I have:
    . S& {# Q, w+ I: c( E
  42. ---example---
    ' z7 `1 O& T6 j: Y4 r% }* d
  43. [DBEXPRESS]! Q; t" E5 I! ~4 F
  44. sqldir=mysql_sql
    $ d0 H) f! p' r( q# n" K
  45. Drivername=mysql+ x, I8 L5 f4 `5 e# t
  46. Database=test/ j' p) T5 H5 q* j6 Z; H: z) U
  47. Hostname=localhost
    ; W" U! D! o: I& i& O$ A: L
  48. User_name=testuser
      f3 ~4 y9 k/ o, G/ M) i
  49. Password=my_password$ y) s4 @! |; M' T$ Z
  50. GetDriverFunc=getSQLDriverMYSQL3 a: S0 M' w, x
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    % V% }9 @1 R& K  U' Y4 @( J
  52. LibraryName=./libsqlmy.so' I1 U  k, W0 |) {9 P2 o* G
  53. Active=1
    & {. A8 ]* O& Y/ q! Q6 ]
  54. ---example---
    4 V6 r# S6 D* X8 n7 G
  55. - o; ?% L9 x" g  t% E
  56. On a windows box, also running the MySQL server locally, it would be:
    6 B2 t3 r8 P; Q
  57. ---example---! u: [# p# F( W3 W
  58. [DBEXPRESS]
    4 C- P0 K3 `; X+ S9 P* B" e
  59. sqldir=mysql_sql5 I* x+ _' k# P/ C, e/ V# ~
  60. Drivername=mysql
    - Q1 ?+ T; ]  s8 n% u; d. H# P
  61. Database=test
    7 l8 o, e7 G' Y& T5 R1 j
  62. Hostname=127.0.0.1
    + N' G: S# b: o1 @$ K# r) ]- b
  63. User_name=testuser
    7 N' Z$ n4 M5 x1 `) O
  64. Password=my_password
    2 e/ ~, r1 K* _, J* U4 Z1 K
  65. GetDriverFunc=getSQLDriverMYSQL
    ' I( c; L, V5 k  _4 U3 @
  66. VendorLib=libmysql.dll
    0 |7 {0 O+ K1 ^* x
  67. LibraryName=dbexpmysql.dll& r. h: R4 w& I- V
  68. Active=1
    & D9 \6 O, L5 X7 D2 K' B
  69. ---example----
    9 m0 _6 g( U: h0 K7 A; C2 i/ E- v' Y
  70. - written 02.03.04 by pwk.linuxfan
    - i. G- I7 Y7 s! Q
  71. 2 V# E1 g/ l( Y/ p  [
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
1 Z4 |4 E. Z4 B4 D) U

  1. ! a! w, ?" ~% Y* ]$ T) u
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 4 R1 i6 o* D- J
  3. & F2 N/ D' F6 R) k  F! A  D
  4. # # #我们所需要# # #
    8 P- Y# z7 I4 t
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    % v7 J% k2 Y+ |, F4 O: d4 R
  6. 不会解释如何做到这一点-也有文件存在,为
    6 w% U& l+ E/ v, t6 A
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    / T- l8 L9 ^: }# k$ w# j& h
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西7 f; O" ~$ z/ w9 Z7 X& u# L
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    3 S( @' p! N# Y8 g
  10. 本地机器,这是我的MySQL安装。 . ~8 E& Q# T1 Q! P9 G
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ; T7 l$ s. l3 N; S6 g$ A( z$ l
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ) E! B- q5 f+ e
  13. 数据库。
    1 ]# K" F4 \" {4 \, L
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    . k4 i# O0 a3 ]8 i* m
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ! w+ ?5 c  s5 \8 b+ u  F, S. d
  16. 在teamspeak论坛,如果你有兴趣。 7 n6 o, c% z; b& d! ^4 s) C
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    * g' s! y9 b' s4 U
  18. Borland公司使用。这个司机只能界面与客户端库
    6 Q  `: M. ?6 X9 h- R% l
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    / g; V2 {6 f% `& \/ R
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    / |2 T4 H9 H3 b# f: O. X
  21. " vendorlib " ,并解数据库连接。 . F& f( F& \% Q; }
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 5 R8 W$ z" R  T% C7 G
  23. - }- J# N; U1 A8 ^4 P
  24. # # #做好工作# # # / B# F) r5 n# g* x- D0 i
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    - C# H. e4 c* G, |/ n- a/ c0 c
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在7 N( h4 A, h6 b
  27. 结束: # j  x2 L* L0 k. G8 o) E2 B3 \: u9 T
  28. ---削减这里---
    ! F" R' F6 k7 X0 @" z8 Y$ N
  29. [ dbexpress ] + n; y  d; o: V: `/ g
  30. sqldir = mysql_sql 1 h$ ~  m% |$ T7 a. H/ V. F1 C' L
  31. drivername = MySQL中9 }: Y. {/ R2 k6 y9 ^
  32. 数据库= your_database_name_here
    ' J- k, {& ~$ W) e; l- W+ y# O+ t8 P
  33. 主机= the_pc_the_mysql - server_is_on
    % W1 F$ `# Z0 z" u( a: p
  34. user_name = user_name_on_the_mysql服务器
    . q+ n' }; [, `; y$ V; L4 s& g
  35. 密码= password_to_go_with_above_user_name - \3 _4 J: y1 ^* J. ^
  36. getdriverfunc = getsqldrivermysql
    ' E) A% z9 r2 n
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    + V  g$ t- K; C  C
  38. libraryname = path_to_libsqlmy_libary
    + b- ^3 p& Z7 @( \6 V
  39. 积极= 1   r4 k7 \, B% w  v; s
  40. ---削减这里--- ! h& r/ [7 A# a, J
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ! q; l6 h2 }; J+ {: n1 X/ f+ D
  42. ---例如---
    8 T9 [8 Q* ]# U7 U4 \0 W  p
  43. [ dbexpress ] 2 x7 `4 s% H; P, Z! V. O
  44. sqldir = mysql_sql / q8 \4 S. e$ \- k0 p6 ?
  45. drivername = MySQL中
    + V6 O: L3 v* R4 r
  46. 数据库=测试  U8 y' L7 |6 w1 y+ z& F
  47. 主机=本地主机
    ! N' c! t! `, Y% d- O
  48. user_name = testuser
    / m/ U% i! [* m. d
  49. 密码= my_password
    ' x* m% h4 G) k
  50. getdriverfunc = getsqldrivermysql $ y" Q4 H2 n, |: `1 V& ]
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    7 Y! o; H+ b! [& e1 z0 u* t
  52. libraryname =. / libsqlmy.so , Q# n) g/ t* Y9 x) G* D* R7 M4 J
  53. 积极= 1
    2 v0 Z+ {; z9 P% o$ Z2 e6 D
  54. ---例如--- 4 P" c2 a/ f2 I/ m7 N1 N$ y

  55. 9 n% S4 K" w+ Y# l, X2 n2 v# t
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    , a4 s7 f4 M6 h: W0 R/ s
  57. ---例如---
    7 M, I8 z; G8 u7 t* O' T5 y
  58. [ dbexpress ]
    ) j2 q+ Z2 i6 l8 I
  59. sqldir = mysql_sql
    ) O, c9 T' H9 d* l1 D  V- Y! N
  60. drivername = MySQL中. N# p2 d. c: G  s7 a0 S% u, |, |
  61. 数据库=测试' w8 `6 U! s0 H# O
  62. 主机= 127.0.0.1 . ]; e' q. f8 l: v! V+ m  I5 P
  63. user_name = testuser
    6 B7 I9 [' Q& r$ j& V* F# Q1 _
  64. 密码= my_password
    ( j/ Q. u1 l5 i, U$ t  Z4 Q: G
  65. getdriverfunc = getsqldrivermysql
    % N7 e+ D: j( a+ ~
  66. vendorlib = libmysql.dll在; R; m) Q/ |: X! T, e
  67. libraryname = dbexpmysql.dll
    6 p& X0 f8 J/ J/ e# ^% m  f4 z
  68. 积极= 1 . r' Z5 G+ v9 Y/ G
  69. ---例如---- 2 a$ N6 U' g8 G3 V6 X
  70. -写在0 2.03.04由p wk.linuxfan$ @( R7 G8 @( J4 q. K
复制代码
发表于 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 words5 l! H' @. _1 G4 D" N, q
3 p5 f) v. X# {" J3 J
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-21 10:37 , Processed in 0.113505 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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