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

2342 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 0 l; ?5 z( c$ U. N

! K1 ]# x6 G8 t6 G2 M2 H# B8 G

  1. ; e- ^/ ]. Q0 n6 x
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######: B- y* e+ {5 M# R6 O7 {
  3. / ]" T! r* q6 J
  4. ### What we need ###& f+ ]) H6 g1 I5 \4 m
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ' t' a, M: q% z( [
  6. will not explain how this can be done - there are documents out there for the ! P& L% J+ `3 f2 j1 a: b
  7. interested. The requirements include a (empty) database for TeamSpeak to use+ H. m/ W1 I7 H
  8. and a user account (username + password) that has the permissions to do stuff
    / g9 b- g: Q; x
  9. with the database. Additionally, you will need a vendor library installed on the: N4 T+ m& d" @5 y
  10. local machine, this came with my MySQL install.
    * u* W, D. v" z' x4 Z! E! o( u
  11. These instructions will not tell you how you might transfer your data from the! t0 ?3 O( R: [3 @+ @0 [  b7 h) y. h% r
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ! ~2 _- W' b/ C/ a$ o! v7 ~
  13. database.! C# b0 O5 a% d4 C& g0 E8 `
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ( A$ r, X% i4 i5 t4 e
  15. the time of writing, there are still too many issues - check the current status
    8 f& k# ^4 J: ]* g9 t% I
  16. in the TeamSpeak forums if you are interested.
    5 U; X) I6 i' w; ^& ~8 n0 D- I# ]
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from* S( h" q: s3 d- q0 s; Q/ J+ l) X! p9 z
  18. Borland was used. This driver can only interface with the client library that
    : g7 C  t9 o- _- m/ i- k/ f
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ' b# Q  i& }9 O- H) g+ E
  20. client library - basically all you have to do is to use a 3.x client library as   Z% k/ _1 g/ `2 C# V# g
  21. "VendorLib" and a 4.x database to connect to.5 \) t- C6 Y3 R5 O
  22. If you need more info about dbExpress, you can contact Borland.; K' Q7 L$ ~1 z/ P. X. B

  23. 2 @: `4 p6 K  b( G- V; g
  24. ### Doing the work ###$ Q( ?7 k3 x/ g' P7 R
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all2 E) P# Y3 M7 S; n6 {/ r+ L: F# t! ?
  26. the perquisites right, just open your server.ini file, and add this section at7 G) h: g' h. D1 e
  27. the end:& V  C& o/ ~& f) J, I2 t2 S
  28. ---cut here---
    9 F+ k! y! }& R; v, k- ]3 M, R
  29. [DBEXPRESS]
    % y6 A9 u  M& `3 _! R
  30. sqldir=mysql_sql
    / [" {- M6 F9 K- c' e+ [4 @5 `# P7 ]
  31. Drivername=mysql
    4 K$ G0 q+ e+ ]8 J! L% I
  32. Database=Your_Database_Name_Here
    6 T3 F+ j7 |1 H) C. @4 d
  33. Hostname=The_PC_the_MySQL-Server_is_on
    $ Y: L. r, O  m
  34. User_name=User_name_on_the_MySQL-Server
    % y/ j9 J& G/ |1 p. D9 z, {
  35. Password=Password_to_go_with_above_user_name
    ( N- Y& b3 g8 S7 C0 c- v. d
  36. GetDriverFunc=getSQLDriverMYSQL/ @% h  G8 P3 D0 }: [
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib- t( H8 T, q5 k
  38. LibraryName=path_to_libsqlmy_libary
    : a) N& f$ K  ^' B. ]
  39. Active=1: I) Y+ z! M1 }7 b1 e& `
  40. ---cut here---* ]2 W( o" O9 i- @
  41. In my environment (a linux box with a MySQL server running locally) I have:
    - z. I8 A6 E! P
  42. ---example---
    / m( Q, @% h# H( d
  43. [DBEXPRESS]
    2 j- r8 `, c) k
  44. sqldir=mysql_sql5 t5 G. k' p& B' t1 X3 d
  45. Drivername=mysql
    7 O0 F; A- ]0 F& d4 E. U
  46. Database=test6 n0 s0 _7 G- ?% Z4 L* X& E
  47. Hostname=localhost
    ; t1 c# X. Q& h* R0 E8 I/ ~% ~* h/ L9 \
  48. User_name=testuser
    3 u% ~  {& A) h6 f' L/ K- X
  49. Password=my_password
    * M2 E; h* t5 v7 Y8 |; q, U
  50. GetDriverFunc=getSQLDriverMYSQL
    * X! n, @$ i% F) z* U
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ) U& a" p' Z& U/ h# i% f
  52. LibraryName=./libsqlmy.so& G2 f/ o6 j- q' `7 a
  53. Active=1
    8 p& Y- Y3 W+ n' [" j  o5 Y3 F5 I
  54. ---example---
    ) q$ h; E, s, S  p7 M' E( P
  55. 1 N. Z* B' X% V6 G5 m. Z
  56. On a windows box, also running the MySQL server locally, it would be:; g! h: e+ f0 f; `* Z2 n
  57. ---example---
    $ T" e- v  }) J; ?" `' \/ W# B, F
  58. [DBEXPRESS]/ [+ Q4 g0 b" o& C4 Y
  59. sqldir=mysql_sql
    , X- V9 q* \' d% V
  60. Drivername=mysql
    ) w6 c* L, C, ^2 O9 f9 P: b
  61. Database=test& s5 w9 \' R$ M9 o9 O
  62. Hostname=127.0.0.12 p1 `: m" o5 R- \% d
  63. User_name=testuser- z* z  X% ^/ `2 d. }
  64. Password=my_password' w5 A2 q/ m$ e
  65. GetDriverFunc=getSQLDriverMYSQL
    $ n8 ]4 S4 ~  |" `5 I' n) K0 }
  66. VendorLib=libmysql.dll
    $ @  [& e& u, O3 R
  67. LibraryName=dbexpmysql.dll
      ~% ]" k  A+ H
  68. Active=10 Q$ ^% U  {6 A8 w, b4 E
  69. ---example----
    1 m$ a+ s1 l. a5 G- n; v! K  u- t
  70. - written 02.03.04 by pwk.linuxfan
    9 X* X0 q% T" ~/ r1 z0 J2 {6 h

  71. # I, V4 A+ V( n* \$ n: M) d
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
! z0 _+ \; W1 Y! E: S9 ^6 N5 p

  1. ; [- _# r8 A5 h: p$ p+ o/ r
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### - R9 T4 b4 }# S6 U
  3. 3 m) G7 D2 a3 e' e
  4. # # #我们所需要# # #
    ' I* j5 b1 a- W* \7 ~% c) V
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ) T* T0 m! G$ @! W
  6. 不会解释如何做到这一点-也有文件存在,为) [0 M  U6 z3 i4 X
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    . {, Z7 |" u! o7 g& [: b# U/ x5 H4 s
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西! l9 V; _" ^4 X) A7 t$ B$ O# i% v
  9. 随着数据库。此外,你需要一个卖方图书馆安装于5 }- |+ n) }$ K9 {' D
  10. 本地机器,这是我的MySQL安装。
    ( a7 A- U' s6 v0 X, P! C0 R
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    # w/ D! _1 u: b5 g9 t
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL . @' K" p& @' y* _2 U& x
  13. 数据库。 & }( v  r) z" y  q; l# F5 V& d; J
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在* X- r! y; E4 y) t8 b% e) b7 ]
  15. 编写本报告的时候,仍然有太多的问题-检查现状  ^2 t5 I! Z7 D. h) c# H
  16. 在teamspeak论坛,如果你有兴趣。 3 O+ k: w' g6 ?" S7 u, N
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机' C- [$ ^+ x6 t6 A3 h5 ~8 N$ E
  18. Borland公司使用。这个司机只能界面与客户端库' p: R' M& V) t# v/ S. n. [5 O
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ( J9 H) }4 s' {
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为/ x) d0 I5 z, q. S2 y% T: B
  21. " vendorlib " ,并解数据库连接。
    5 A* D! X1 C0 P
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 7 ^6 ^& t% v7 A+ B5 m1 P: l
  23. * b! C: D$ v- O( W# @$ t( k& H
  24. # # #做好工作# # #
    3 e. \$ O# ?, ?* m: P& U& j
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    " f- A  O$ W; B2 X
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    + ~4 a  Y6 v9 k" ]
  27. 结束: ! C1 B1 O- G; d* K
  28. ---削减这里--- 8 ?8 ]6 j8 [+ R  d
  29. [ dbexpress ] : Y$ k) j& a8 X) Q9 C9 g
  30. sqldir = mysql_sql
    5 `# s$ ]( l/ B% [1 p9 T
  31. drivername = MySQL中5 h; b4 @) ~7 l4 V' H0 Y0 i0 n
  32. 数据库= your_database_name_here & i$ o) l" |# C
  33. 主机= the_pc_the_mysql - server_is_on + ~! ^% g9 W& A4 J0 `
  34. user_name = user_name_on_the_mysql服务器
    ( B/ r7 a+ `( o
  35. 密码= password_to_go_with_above_user_name 0 v( O. d, j7 |& T. D& f
  36. getdriverfunc = getsqldrivermysql 2 ?/ p, W) \- j/ K9 }, c# ^5 p: a$ }) x
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib % S/ I- G8 @% T* O3 Y9 u+ c4 C+ W
  38. libraryname = path_to_libsqlmy_libary
    - L+ V7 M% m% T6 k% N& O2 f2 h0 ]! [# s
  39. 积极= 1
    ' w7 e7 f' G: `! O1 m- }
  40. ---削减这里---
    0 F9 k' \8 w% C/ c1 V
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    - H* w2 F# H8 X/ [, u  I$ x
  42. ---例如--- ( `6 E7 u, H0 r, f1 L$ c$ M
  43. [ dbexpress ] 1 R, Z5 _3 K8 N+ i3 g  O
  44. sqldir = mysql_sql
    9 d3 w, V( a  ?* P5 a8 B; Q; r& ]
  45. drivername = MySQL中& R1 \* d9 b) r7 Y- w
  46. 数据库=测试+ \, b6 z6 J: X. Z' Y) z
  47. 主机=本地主机
    ' }1 V* C' N- N/ e; _2 r' L! [& ~
  48. user_name = testuser
    $ f( z) v) l, R% W/ b* t
  49. 密码= my_password
    ) ^: s" S% x; ]) q  N2 Y
  50. getdriverfunc = getsqldrivermysql # N& Z. ]; E7 Q, V: Q8 T+ D
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    9 N* S) b8 V9 x2 n
  52. libraryname =. / libsqlmy.so
    + |9 b8 ^% N- ]1 x: X* Y  r. I6 V! x: W
  53. 积极= 1 5 h" S+ p6 E8 p7 Y* r- c* r# [, r
  54. ---例如--- 0 Y, P  g! @& Q5 I: y0 ^
  55. ! R+ \& z& v# N4 `
  56. 对Windows中,也运行MySQL服务器本地的,那就是: # ]) o' E1 w. @7 n4 ?4 f4 {
  57. ---例如--- 8 {8 C* H$ Q' d2 p9 g4 h0 `* W
  58. [ dbexpress ]
    8 z5 v7 _% [, S
  59. sqldir = mysql_sql 1 {/ L5 d( `' F, n+ E& o
  60. drivername = MySQL中
    ; X: A+ T! S) \- M0 R
  61. 数据库=测试, y. j, ~7 F) U% J( [5 |/ p/ z8 X
  62. 主机= 127.0.0.1 * B1 X8 _4 u, y" M5 |
  63. user_name = testuser + t+ ^9 x0 O) r! D/ A1 V2 ^2 ~
  64. 密码= my_password # D" {  @" e) P: Y! v2 |8 r$ Y8 B: |
  65. getdriverfunc = getsqldrivermysql
    ' O0 r' M  L3 H' ^$ o9 m0 ~
  66. vendorlib = libmysql.dll在
    7 U' H  V, j1 c: {& o% j! z4 V
  67. libraryname = dbexpmysql.dll ! o1 ]6 s5 Q7 _; S
  68. 积极= 1
    : ~7 \$ C  d& T
  69. ---例如---- - t7 Z3 B, d, V6 X8 U8 B
  70. -写在0 2.03.04由p wk.linuxfan& s* S" R% d$ p7 `7 z) w
复制代码
发表于 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
9 B$ _# T2 H% ~' h
  z3 Y( p4 Z: q9 r9 c& r; ubut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-27 07:15 , Processed in 0.096044 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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