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

3290 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan , P* j4 F; c: n. L( P; Y2 b
% _$ [! o, c1 V* u) V
  1. ) A' X" o' V- J* U
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######' x2 L6 W/ z4 V# u1 _

  3. . N3 F: h1 X6 @( B9 M" b2 j5 @
  4. ### What we need ###
    " p" n% X! ~  P0 f3 I
  5. Naturally, we will need a MySQL server to store the data for us, this document . X! w2 k# X( f
  6. will not explain how this can be done - there are documents out there for the 7 \) P; }2 r7 X# y, Z' g4 N/ z
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    " E4 m7 v0 {( I. O3 o
  8. and a user account (username + password) that has the permissions to do stuff6 A4 c% r, v1 Z. Z/ L4 V) ~
  9. with the database. Additionally, you will need a vendor library installed on the7 T+ i# j; z+ T
  10. local machine, this came with my MySQL install.
    ! G9 G1 y- K& o
  11. These instructions will not tell you how you might transfer your data from the& b1 k' F- h1 F* I1 `2 I
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    " {) V+ E$ z  u. L+ C. `. _
  13. database.9 S3 i* f: P, H" o( R' P5 V& H
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    , K( Q6 `7 J( F0 y  _: ^. @
  15. the time of writing, there are still too many issues - check the current status
    & b' E8 y/ v1 |- r+ [1 b1 Q3 d7 X
  16. in the TeamSpeak forums if you are interested./ V+ F* d7 {3 d4 K4 D7 Y% A" Z! U9 @
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from1 f6 K, Q: C% P& R; a) z; L( R$ i
  18. Borland was used. This driver can only interface with the client library that - O+ f* S/ h0 r; w% M( Z8 I$ R
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this8 c# z) G2 S/ W# M& l! t
  20. client library - basically all you have to do is to use a 3.x client library as 1 p: E; p$ g  Y% d# m! C, @" O( b
  21. "VendorLib" and a 4.x database to connect to.1 v- e" y: O; \2 z* e, e
  22. If you need more info about dbExpress, you can contact Borland.0 Y1 p( w- C! |& M& K

  23. 6 ]+ K+ B( L) p0 v5 S, P
  24. ### Doing the work ###& P) x1 n) H- ]6 _( O' t" L
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all, l; Z, g: J6 s8 v
  26. the perquisites right, just open your server.ini file, and add this section at
    . W: [( T! h5 X% R/ @
  27. the end:
    ) m4 [6 i5 F2 U4 W& t; J) q9 u7 |
  28. ---cut here---
    " Y+ S( T, a8 a( p* P
  29. [DBEXPRESS]' }' j1 F& r) Y6 r; X
  30. sqldir=mysql_sql
    1 J# D0 P* _1 C6 b2 p
  31. Drivername=mysql
    . O0 w: {* Y$ }. d( Q3 Q
  32. Database=Your_Database_Name_Here4 {' ]6 l4 y+ _  ?$ m
  33. Hostname=The_PC_the_MySQL-Server_is_on8 y8 M& z; q' T7 G$ ?$ r
  34. User_name=User_name_on_the_MySQL-Server
    1 z( {* f9 c+ v  n8 s
  35. Password=Password_to_go_with_above_user_name
    2 e: G& A0 f5 Y+ }% K' W( `  V
  36. GetDriverFunc=getSQLDriverMYSQL
    : ?* _( l1 k% V0 b% I" O
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib! o- G4 J8 Q4 P4 u. X+ L
  38. LibraryName=path_to_libsqlmy_libary3 C9 E4 Q; v5 x; d# ^* }) c
  39. Active=1
    ' q' {* [" q5 T3 u2 o
  40. ---cut here---# x9 ]+ u- ]2 Y- O/ T. l
  41. In my environment (a linux box with a MySQL server running locally) I have:/ _1 A* M8 y) b0 u$ i) p1 |
  42. ---example---
    * u, T* P2 t) P  a
  43. [DBEXPRESS]
      b; ~$ [4 A% |  l
  44. sqldir=mysql_sql- d( @5 T2 w2 c1 A7 O1 P; |
  45. Drivername=mysql
    * a9 U6 ], L! p8 T! o
  46. Database=test) V- |9 W7 w0 }% w, l
  47. Hostname=localhost: V( D4 q: v0 j& J  p2 |9 \
  48. User_name=testuser
    $ h2 C9 L! R& H& E( b2 Y9 F
  49. Password=my_password, E) I  ~: [9 B8 w' P4 H* G! V7 G
  50. GetDriverFunc=getSQLDriverMYSQL
    ( X- z4 I9 l* a! t* \' l8 ^
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0/ b5 k: Q) w7 P8 e$ C
  52. LibraryName=./libsqlmy.so
    ' l5 ^  m9 o! j
  53. Active=1
    ( G9 N+ p/ R) N& d
  54. ---example---
      C/ h5 [1 Y( P- g
  55. 1 ~& K' i8 Z2 g2 O$ |5 p0 o& j
  56. On a windows box, also running the MySQL server locally, it would be:6 ]/ j0 ]3 z. B1 k7 X* {6 J
  57. ---example---4 Y3 q# w* g) N. @( t0 j
  58. [DBEXPRESS]
    # R) h! @& l. ]1 I
  59. sqldir=mysql_sql
    $ l3 ~. r* m& W  [
  60. Drivername=mysql
    . m2 M$ Y, l" k' C' B
  61. Database=test/ h( F/ @  c) `$ v1 g; F4 L' t
  62. Hostname=127.0.0.1" V( V. _: z9 q! X; t
  63. User_name=testuser3 q2 @8 k8 L3 l4 d$ B7 r' M
  64. Password=my_password3 ]8 [; j4 }6 H9 Y
  65. GetDriverFunc=getSQLDriverMYSQL
    0 ^; ]! b, w) D4 ]
  66. VendorLib=libmysql.dll( n9 l3 o; {8 `
  67. LibraryName=dbexpmysql.dll
      O3 k" N# Y2 J  g" D
  68. Active=17 e. ?4 Z! [& w4 |3 P
  69. ---example----7 L, Z: d( C% o  m) P
  70. - written 02.03.04 by pwk.linuxfan6 J+ K5 t- ~8 |& b* _) v

  71. ' b5 v5 c2 u, ]& C( ~9 B6 ^8 X
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
) e9 T! M+ p- \4 q

  1. ; h$ h1 `" c+ e, w& ]+ P+ O* B# J
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    6 _% ^2 c( L& o7 K5 s7 c
  3. / M: y! N: N* W  |! `
  4. # # #我们所需要# # # ! \( K, v" j* B1 R# f4 h
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ; M# X2 `% s) T( x
  6. 不会解释如何做到这一点-也有文件存在,为! o( @9 Q) g* t
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用# G5 Q6 ]( `% Y8 m8 D6 C
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    9 I0 [, \! X. L& A( w( @
  9. 随着数据库。此外,你需要一个卖方图书馆安装于; N6 y8 D" W: n
  10. 本地机器,这是我的MySQL安装。 . U3 q/ q8 }5 A1 E3 _9 y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    " V6 w1 w! y1 T4 C0 G; Y3 |/ [
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL : _, A0 L, D; B6 r9 u
  13. 数据库。 - z# I& I% _, @/ L/ h4 j& a
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在' @, S  s+ o8 m9 R
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    : ?) T$ W0 `8 p3 U" R$ k
  16. 在teamspeak论坛,如果你有兴趣。
    % J+ C; E! G1 ~" B8 Q4 `( T
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机, Q0 j+ W; G0 P; E* u
  18. Borland公司使用。这个司机只能界面与客户端库
    2 n1 H" q5 ^' S) b+ ]
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这& z5 \$ X  @& b) \
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    - i& G% h2 g. o, }2 G* k5 ^+ ?
  21. " vendorlib " ,并解数据库连接。
    9 w- P" L: S8 t6 N" X/ T+ E
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    / c5 L" r5 Z: x. r. t# K0 Z

  23. + K5 l% I  _! [4 b& R
  24. # # #做好工作# # #
    $ e2 Y) H( g# ~" ?; c  v2 t
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    - D( i" E2 d3 ~& m
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在6 Y7 f* U% P; j1 E( P% y
  27. 结束: " b: j& o' p2 D8 U: \- t
  28. ---削减这里---
    8 k4 P4 Z. @6 y2 x" f' p" y' o3 x
  29. [ dbexpress ]
    4 c4 c0 U3 _/ b& t! Q: P" |- n
  30. sqldir = mysql_sql $ v$ c5 l" b2 b0 s
  31. drivername = MySQL中4 T. }/ w, s* h: }& R) K
  32. 数据库= your_database_name_here
      b5 ^: m* _. R
  33. 主机= the_pc_the_mysql - server_is_on ( d- x2 Q$ c4 Q  p8 L
  34. user_name = user_name_on_the_mysql服务器
    - ]: R! P& p7 b; q# r) R3 v
  35. 密码= password_to_go_with_above_user_name
    9 w3 g7 V  A6 `5 o
  36. getdriverfunc = getsqldrivermysql , f; X$ u7 o" B1 B0 Z3 I
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    - b) X8 m; C% W, V- ?" I/ q8 N+ C
  38. libraryname = path_to_libsqlmy_libary % ^$ U5 r! W8 w+ a: ^; ?( J2 U
  39. 积极= 1
    3 l# T) _& l. T
  40. ---削减这里--- 5 K6 Y/ j; z8 V# F# w
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    7 L+ `% g  `- K
  42. ---例如---
    5 q- t. o5 ]( ~9 ^# A
  43. [ dbexpress ]
    4 p$ o; G+ G$ ~& v1 k0 K7 Q
  44. sqldir = mysql_sql 8 Q5 W$ z& {8 Y! ]$ B' Q
  45. drivername = MySQL中) J8 d( [* F* n* n$ N8 m4 N
  46. 数据库=测试
    ' Z* F* O! H: i) W
  47. 主机=本地主机; b% z6 E8 T) ?  o& s: S9 Y
  48. user_name = testuser
    " q+ N/ B# u# P/ k- u
  49. 密码= my_password
    * S. h  E2 V2 Y# @* Q+ y
  50. getdriverfunc = getsqldrivermysql
    ' K9 _2 N* u% `
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    " r+ m) C  c9 E4 D* t  @
  52. libraryname =. / libsqlmy.so / h- E( `" y* D8 H
  53. 积极= 1 8 U: j/ A. c3 o3 r- f
  54. ---例如--- ; K) n4 ^/ d; {4 U7 n

  55. 3 m, T4 w  j4 Z, Q) d% {2 q$ {
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ! d( _* @. l4 D0 q1 v& M
  57. ---例如---
    9 I7 B7 |! c+ b6 L4 |4 y/ Q0 Z
  58. [ dbexpress ] % a6 G' N- p: O" p+ S1 Q
  59. sqldir = mysql_sql + v' b' ^! i& y7 H
  60. drivername = MySQL中, `) f2 w% i8 K
  61. 数据库=测试. c7 d5 |! D" X& P
  62. 主机= 127.0.0.1
    8 ]& w  K. b5 Y) g2 ~; \
  63. user_name = testuser & O: b- g& S2 J9 i7 {/ b$ I
  64. 密码= my_password 8 P7 V7 S+ ?- F' O
  65. getdriverfunc = getsqldrivermysql
    % o  [" b) w  K0 j6 M
  66. vendorlib = libmysql.dll在
    3 c' i2 D. G0 n% v) J1 v  ~0 o) y
  67. libraryname = dbexpmysql.dll
    ( I% i" V% u9 b6 N7 o
  68. 积极= 1
    ( [6 ?: Y# z+ n. b% ?: x
  69. ---例如----
    ; w! o; m1 l3 J
  70. -写在0 2.03.04由p wk.linuxfan9 T: J7 ]" I/ p0 u
复制代码
发表于 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
4 B. \" \3 q- v# i" E
: W8 e& g5 T( }0 i& qbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-5 03:49 , Processed in 0.096459 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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