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

3323 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan & \2 p) V6 V; V% ~8 W' F3 Z( W
5 _; b9 `: Q  N+ r: v4 Y( H
  1. ; m2 U- p+ C, M$ h
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######; E- M& ^4 L  b( ^8 V% q
  3. ! ]/ Q  O7 g& e
  4. ### What we need ###
    , Z% K$ l  a1 x: D2 K2 \
  5. Naturally, we will need a MySQL server to store the data for us, this document
    - S4 E% [. b5 E% Z$ [* ]
  6. will not explain how this can be done - there are documents out there for the
    + c" w: x  P# p2 b$ e8 r1 N; @
  7. interested. The requirements include a (empty) database for TeamSpeak to use" T  j4 G" j& p* ]* h1 V5 }
  8. and a user account (username + password) that has the permissions to do stuff5 g" z5 \4 ?, F6 J' f, u
  9. with the database. Additionally, you will need a vendor library installed on the
    ' S8 q9 @8 Z7 t) J. q8 J3 u7 z5 \
  10. local machine, this came with my MySQL install.
    9 A# a" b+ ^$ `# U
  11. These instructions will not tell you how you might transfer your data from the
    " U  G- e# |0 @; Y2 b# {
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL2 Y. Z' _) z0 G/ g4 h, ~5 a
  13. database.
    1 T& m, n' w' n5 r
  14. Some users have reported ways to import a SQLite database into MySQL, but at  P" i, W( U3 M5 T  L
  15. the time of writing, there are still too many issues - check the current status( T# ~- D- [+ o3 i6 d
  16. in the TeamSpeak forums if you are interested.- V$ F6 [0 I/ ^
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from6 l8 u5 |) m8 L3 p% J0 h8 R: Y
  18. Borland was used. This driver can only interface with the client library that / o" a' E; g4 c0 n$ e' f0 W8 ^$ n/ A
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this# B4 o3 O4 V! T# R. @: P/ ]
  20. client library - basically all you have to do is to use a 3.x client library as
    ; Y9 k/ H0 o) b9 {! M4 ]' V
  21. "VendorLib" and a 4.x database to connect to.
    , v% @, B$ S! R- k7 {  V
  22. If you need more info about dbExpress, you can contact Borland.; ^% r! K+ G9 |
  23. 3 M. h6 c8 p6 O2 U
  24. ### Doing the work ###. Z7 A7 B' g, A
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ) O1 \, N5 P2 K1 I& d( W  A
  26. the perquisites right, just open your server.ini file, and add this section at
    " t) L( e! l& D9 `$ e2 M( {$ t
  27. the end:4 _$ K& V2 l1 e) s5 X# U
  28. ---cut here---
    ; F2 P8 `0 H8 r+ w7 W) X8 L$ f
  29. [DBEXPRESS]# k" C+ i" }5 s) w0 o/ E
  30. sqldir=mysql_sql
    # l% r% H) B8 B. J# t
  31. Drivername=mysql
    ( h5 w7 l# H1 q0 ?( W5 w0 }
  32. Database=Your_Database_Name_Here- K! s% N! Z7 q  z+ [
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ) X+ G9 s6 u0 l
  34. User_name=User_name_on_the_MySQL-Server
    2 l  J2 U6 R9 o- u8 F3 D# w$ P! A7 @8 `
  35. Password=Password_to_go_with_above_user_name
    ; g! s$ w+ I1 i
  36. GetDriverFunc=getSQLDriverMYSQL7 u, Q, b' f/ l. o( W" d3 ?2 v
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    0 [+ u: e& V0 K( z
  38. LibraryName=path_to_libsqlmy_libary, H5 s& N5 `# ^- t; {; r6 z
  39. Active=1
    & z6 Z) Y7 ^, M1 k0 L& Q. z* r
  40. ---cut here---
    : v* l# H/ t9 n" U5 r
  41. In my environment (a linux box with a MySQL server running locally) I have:
    # O0 L0 M0 m- {7 ~" x5 ]- Z$ ~
  42. ---example---1 v6 T' K% s; G" _! A; f! e3 W
  43. [DBEXPRESS]% h& N: D( Y9 S6 `
  44. sqldir=mysql_sql3 k: n% }! j. }4 q
  45. Drivername=mysql
    ; h8 y% _& J: F) Z) f9 ]
  46. Database=test* c" L' i8 E2 j7 s4 r, j# C& z- \
  47. Hostname=localhost' ^2 }3 k& A1 K; }* O
  48. User_name=testuser
    " O/ J3 ^+ r3 s" [9 k- f. U
  49. Password=my_password
    1 ^1 @. J/ d* m8 w
  50. GetDriverFunc=getSQLDriverMYSQL
    + p1 h$ A) P4 \  g
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    3 p0 O; c* R. M; b# _( p
  52. LibraryName=./libsqlmy.so  x" `: d* s  j4 Q
  53. Active=14 n: v; u0 k1 f9 s
  54. ---example---
    0 o6 Z, B% [# u/ C
  55.   T% t: s. h: @- Z+ _5 D; I
  56. On a windows box, also running the MySQL server locally, it would be:% a# A! J9 a9 O
  57. ---example---
    2 G" J3 Q! A% k% c1 Z
  58. [DBEXPRESS]) d5 C) X" ^  `$ q4 r
  59. sqldir=mysql_sql
    5 Q$ G1 g4 l; @1 s; G! U
  60. Drivername=mysql' m: g* y) |2 x* p! K/ D% u8 `; y
  61. Database=test: I( p7 H, c" r( K. U
  62. Hostname=127.0.0.1
    ; O5 A( U' }) D6 ^* K% {
  63. User_name=testuser
    5 }) ?) H2 W8 Y# S. E! d
  64. Password=my_password: Y& Y" o0 j. w# S
  65. GetDriverFunc=getSQLDriverMYSQL9 X- W/ i. E  Y: P
  66. VendorLib=libmysql.dll3 F& G7 j) o6 N7 W; ]
  67. LibraryName=dbexpmysql.dll
    * \# |/ G0 b- ?/ Z: O$ [0 Q& h) v2 |( l
  68. Active=15 H5 `$ h' b4 [0 T+ ?
  69. ---example----% H8 m% D. I$ D( |0 t9 J# q* `0 c
  70. - written 02.03.04 by pwk.linuxfan! k; r9 T9 B( }: \! T1 s/ h9 z
  71. , m; M" @  W" [+ f6 A/ ~- {  h% i
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
* @' \! I8 A0 n. g% Y8 a7 D6 _2 W

  1. 9 X6 W. I: `; F5 L- T9 T. b
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 8 M1 o' c$ P1 [% p. R8 G' m

  3. ; p# u& l+ f/ w+ H9 }
  4. # # #我们所需要# # #
    ( \$ b9 t' m% m# k9 p
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件8 O* y' C+ g) b! m
  6. 不会解释如何做到这一点-也有文件存在,为
    9 O) o/ G  z( u; D
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    6 ?, l( m- H- W$ d4 {) C
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西' W$ @9 h  l0 Q+ p; J2 Z" r6 q. y9 m
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ' L* P7 V& Y$ G9 |! C, K
  10. 本地机器,这是我的MySQL安装。
    + b/ V) U4 H2 U# p1 j2 ^! P$ v7 h
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从% j/ I, ~6 H$ e% O4 L- j
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    & }0 F/ F% ?0 j" s+ I+ I3 ]7 M# k
  13. 数据库。 8 R- B4 e: _- b2 o" o& u
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在6 g# _; A' K7 c; q! i
  15. 编写本报告的时候,仍然有太多的问题-检查现状; X. a# v& Z+ l! T4 a* T- E) b
  16. 在teamspeak论坛,如果你有兴趣。
    7 N/ I# b0 @2 O$ c7 Z* F
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机$ R: x' R. X6 u9 P
  18. Borland公司使用。这个司机只能界面与客户端库
    , z+ c& M# g. w
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    7 X5 X& d  p) n1 n1 a
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
      z6 F5 H3 I, I/ @
  21. " vendorlib " ,并解数据库连接。
    . H' ?% v7 V, o( u* C' ?" O$ r; L
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ' g1 x- L' r% r* \

  23. " a( I3 u% ]' @  f) [4 A6 W2 X
  24. # # #做好工作# # #
    # R6 H. ]+ V; u4 U4 Z6 J% t: o
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都8 s; R3 T* |/ R+ e& Q- i
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ' ]0 h( R) `, e+ `" L+ D; w
  27. 结束:
    ) D3 k4 p  \3 M) ]
  28. ---削减这里---
    ! e7 o7 l' A  O6 J0 Z) i
  29. [ dbexpress ]
    4 S/ W0 N7 j6 D5 }4 ?' n) o: h& x
  30. sqldir = mysql_sql 9 t/ B5 K  \9 I+ W9 f) Y9 M. x' ?
  31. drivername = MySQL中+ g, D# r* g  r% u# E5 D9 `6 G
  32. 数据库= your_database_name_here
    6 Z3 U, G! s6 |) F; K! ?7 E1 e4 h
  33. 主机= the_pc_the_mysql - server_is_on ; x0 W4 y% S9 I+ Q3 F
  34. user_name = user_name_on_the_mysql服务器
    $ J/ G+ ^: ?9 D; k0 o4 h
  35. 密码= password_to_go_with_above_user_name - x- v9 o( r/ D* r* j1 [8 S
  36. getdriverfunc = getsqldrivermysql , _  r5 B3 q- e1 _# c9 |
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    0 i! e! b8 [$ M
  38. libraryname = path_to_libsqlmy_libary & W9 m/ w6 ^7 J5 ^$ o7 |& r
  39. 积极= 1
    1 P, M* Y# ^% }3 J; C. H# F
  40. ---削减这里---
      h% e( F* b4 \* E' G. H$ B+ L
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 2 Q6 e( \" [8 Q$ t* |
  42. ---例如---
    $ i& Z; u0 {/ k' U# W
  43. [ dbexpress ] ! Z# G1 [; i% v* e/ n+ Y+ N3 \- I
  44. sqldir = mysql_sql 0 F. k) @7 W7 q
  45. drivername = MySQL中9 b9 V  w# f6 [0 w" L1 M% k3 ^
  46. 数据库=测试
    3 M3 X# O( \$ w* w% R6 d
  47. 主机=本地主机
    # e3 f& E+ s, A3 o* b5 k: b
  48. user_name = testuser # I1 a4 C- w+ I- a2 b
  49. 密码= my_password 1 ~9 C/ Z! r0 E2 u
  50. getdriverfunc = getsqldrivermysql
    2 f% r+ e0 v, E( S. V
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    1 h1 t0 e1 I8 B# @
  52. libraryname =. / libsqlmy.so
    , F) A/ ?  H. L! J, A% }
  53. 积极= 1
    ' T7 L3 \+ W7 @
  54. ---例如--- , y8 t& n  M$ I$ s: H1 P1 c
  55. 0 g; H' Z9 d- t3 l7 Z
  56. 对Windows中,也运行MySQL服务器本地的,那就是: $ ~4 }7 y/ Q7 _
  57. ---例如--- - Y# V8 ^  J) A2 H
  58. [ dbexpress ]
    $ R5 }4 a: p, P- q
  59. sqldir = mysql_sql
      a+ ]4 m# n. a! B+ A
  60. drivername = MySQL中8 H& u7 `" v9 y5 @& n
  61. 数据库=测试
    0 Z7 ~2 W5 p8 f- L' p! E
  62. 主机= 127.0.0.1
    + e( P0 O6 G3 o( A& y' I, M
  63. user_name = testuser
    4 S- t  ^' C3 g( E# x, g
  64. 密码= my_password ( G0 I& N/ L# |; G, w2 z
  65. getdriverfunc = getsqldrivermysql ( [% K8 G/ _9 T1 c" ]3 ]' S: q
  66. vendorlib = libmysql.dll在
    6 c9 x, O( @: a  `3 I4 T, ~, x' S
  67. libraryname = dbexpmysql.dll * J' S/ J4 g5 W3 T$ |" M! W  ^4 V
  68. 积极= 1 ! W. f& @8 X. W) a4 g0 p" V
  69. ---例如----
    # N, u, i' U. }* ]5 H; B+ `9 c
  70. -写在0 2.03.04由p wk.linuxfan+ P0 p4 {( k- A: \; O
复制代码
发表于 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# @7 H0 [4 U9 Y/ p; Y, l) H/ `

! g  f( o+ t3 ]8 F3 l6 r  Cbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-13 08:23 , Processed in 0.092802 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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