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

3528 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
$ E1 h$ j2 H. `# f9 ~
# h5 n( I% w% j# d( _' r0 B

  1. 8 k: v/ ?& K! T* _, e. O5 M. Q% E
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######) l& Z2 K6 H$ |2 z4 Y) ]& c# E9 {
  3. 6 S) X2 }7 T& M1 v) A  s7 L
  4. ### What we need ###
    ( P* H6 ]. M: M  [4 o
  5. Naturally, we will need a MySQL server to store the data for us, this document
    1 x& q; D0 y2 }& ~
  6. will not explain how this can be done - there are documents out there for the
    ! ?5 [* t: u: k* C, z) _! ?
  7. interested. The requirements include a (empty) database for TeamSpeak to use  s$ r+ t# G0 [2 {7 \7 x# I$ G
  8. and a user account (username + password) that has the permissions to do stuff
    1 x+ }  `+ _# M4 H" K; q
  9. with the database. Additionally, you will need a vendor library installed on the' i8 j- d) ?2 ?2 c/ V
  10. local machine, this came with my MySQL install.
    + u' Y- _0 C$ j  H
  11. These instructions will not tell you how you might transfer your data from the
    * i9 p0 N/ Z* ?: k0 d0 I8 n- S6 z
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL. D( g: [$ e' \; M! H
  13. database.
    ! u  @1 f5 t# G/ H7 l# t
  14. Some users have reported ways to import a SQLite database into MySQL, but at7 j# B3 g  ?5 k$ F
  15. the time of writing, there are still too many issues - check the current status
    $ B2 n3 y! G5 L4 `3 b6 u
  16. in the TeamSpeak forums if you are interested.! a2 _( N9 i9 J/ M
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from1 K; @3 Q$ b7 t9 h6 V4 s6 m" }0 L7 m
  18. Borland was used. This driver can only interface with the client library that
    4 K2 f  d; ]# _" ^
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this; b! a& i+ J& ~: L* O
  20. client library - basically all you have to do is to use a 3.x client library as ( c$ W" z4 t6 z5 q  a! N' X
  21. "VendorLib" and a 4.x database to connect to.1 q9 `$ e3 U6 x
  22. If you need more info about dbExpress, you can contact Borland., @! A0 E7 h0 F( h3 O7 U& R

  23. 6 }! b% r1 l* X5 p# h+ x
  24. ### Doing the work #### f% o- G) o6 J* o) K
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all/ M  _' g0 o" H8 C5 k
  26. the perquisites right, just open your server.ini file, and add this section at6 m- r5 O* Z8 J0 m6 H6 \5 t
  27. the end:) Z9 E! ^5 k( k$ o( O( I
  28. ---cut here---
    $ m, w: n! @" N2 ]5 c) n( K
  29. [DBEXPRESS], }. q" D9 h! }  T4 X6 N" |# }, H  k9 W
  30. sqldir=mysql_sql* [$ Q1 G+ h# t9 y& u4 x( s& ~* g/ ^
  31. Drivername=mysql  N" }# Z' H( G; S% @  y
  32. Database=Your_Database_Name_Here  ^) p7 o& W3 l) G* `5 C' p: f
  33. Hostname=The_PC_the_MySQL-Server_is_on( r& N8 ~$ p  R
  34. User_name=User_name_on_the_MySQL-Server
    2 r4 s& H% |& M! ^# M* n
  35. Password=Password_to_go_with_above_user_name% y1 D5 Y% l2 t, Z7 }2 p9 U( U
  36. GetDriverFunc=getSQLDriverMYSQL
    ! ~* G! p, W& F6 s! O
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ; O: P7 F. A/ S7 ~: r/ v4 C) d; d. f. `
  38. LibraryName=path_to_libsqlmy_libary
    ! f/ y$ j5 o4 v1 U
  39. Active=1+ U6 M/ y# L8 x& V& s0 R
  40. ---cut here---3 f# y4 y6 N4 K: o' ~  N
  41. In my environment (a linux box with a MySQL server running locally) I have:
    / h; M0 L% s: h8 n) q' A  j$ P, p! B
  42. ---example---
    5 v% Y7 W7 v/ P$ [
  43. [DBEXPRESS]$ `! D% R: I' A  b3 x2 |
  44. sqldir=mysql_sql4 o! k' @/ }) ^
  45. Drivername=mysql
    : f3 S- `' c2 a" A5 X
  46. Database=test
    $ H2 p* r! W  X/ Y& q
  47. Hostname=localhost
    6 \" V- i9 s+ W# v
  48. User_name=testuser0 s1 ]( C9 U, c: Z) p, }4 t1 L! j
  49. Password=my_password' X; h; t* @; |8 k/ c
  50. GetDriverFunc=getSQLDriverMYSQL  e/ f1 E6 y0 r- g" U7 ~1 `4 M
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    , k0 U/ V# _0 T' N& h+ \
  52. LibraryName=./libsqlmy.so* X; Q4 |2 x' K: l' J+ B& G; v% j
  53. Active=1: W( q7 [/ v( v2 a7 z, h% C: F' H
  54. ---example---- u. J; x% J" C) H" D
  55. ) Z) O' E/ M; E+ ^& P3 i
  56. On a windows box, also running the MySQL server locally, it would be:; Z4 t+ E& d0 B+ g1 J; ~
  57. ---example---
    2 Y+ w: U/ w: ]  P3 f8 n
  58. [DBEXPRESS]
    ) w. k/ H* U; I  l/ r: Y2 ^0 Y! q
  59. sqldir=mysql_sql
    ( \: A! m9 D) t
  60. Drivername=mysql, u: Y7 |" z0 M! b7 L. D5 |
  61. Database=test
    7 H# Z* q+ b: I0 h
  62. Hostname=127.0.0.1
    % z' x3 [  t4 F. J/ k; W- v
  63. User_name=testuser9 ?) ?- a. ~% ^: q
  64. Password=my_password* t0 O0 n4 q9 _) L3 O$ u! q0 S2 |
  65. GetDriverFunc=getSQLDriverMYSQL/ g; v2 x) F% p* n$ k+ H+ U- b
  66. VendorLib=libmysql.dll
    1 }; ], X+ G% ^: c0 b
  67. LibraryName=dbexpmysql.dll
    7 i) f7 j0 I4 g+ g
  68. Active=1
    + D% q1 V* q) A
  69. ---example----/ c2 d8 N. q" \7 r4 `* T- f9 ]3 |
  70. - written 02.03.04 by pwk.linuxfan
    9 B2 Z! ]9 P3 X$ I& W4 G

  71. : z0 T1 z4 e9 ^1 |# h  D7 ?! e, d0 W
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看/ S& j5 v) {( P4 I) |1 K2 @

  1. " C2 Z9 U( d$ |* q
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    7 O$ [0 K  P8 H* b/ w
  3. ( l# T, v7 |5 o: Z9 x' K
  4. # # #我们所需要# # # : s2 A" S! e" y4 B5 {3 P/ M# H" Z
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件; J# U3 u1 Z& m. B6 O" ?
  6. 不会解释如何做到这一点-也有文件存在,为
    , \7 r4 C* c5 q7 J6 }
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用. E7 ~2 {" [$ j& O+ B2 k. B
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西. ]9 d8 K' ?- V/ x) g7 n" Z
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    : F( M( ?9 G. Z5 T9 }0 E7 Q" t8 j
  10. 本地机器,这是我的MySQL安装。
    4 E! c) w1 k. H
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从# ^$ G; R" [7 J/ c5 u* S/ R
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ! y' w' k( G* m  R
  13. 数据库。
    " c. \  r. r9 h# }
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    , Z9 t7 \* n6 R7 v; q
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    . z6 W  h' _$ L' Q0 t: w2 ~
  16. 在teamspeak论坛,如果你有兴趣。 # Y1 Y  v5 X3 [! A( o  K
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    + s# w, W* {6 ?
  18. Borland公司使用。这个司机只能界面与客户端库
    8 t! p2 I0 F- Q& b
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    8 N2 i9 P* m  C: S' q4 H' n' N
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为* T$ Y) ?3 [6 x- j7 Y0 T' @1 n# b: T
  21. " vendorlib " ,并解数据库连接。 3 }" r# ?+ `! c& [
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    . Q& Z/ l0 I; J+ ~+ t
  23. 6 w- H! T" C: j: ~9 t
  24. # # #做好工作# # #
    # W& s- P; B2 r
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    / x$ ^0 t5 `8 _8 ~
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    $ _% K$ W) \4 {' G
  27. 结束:
    ; ^0 k2 ^. B0 c+ e4 D
  28. ---削减这里--- : d: @7 H  J4 Z. z
  29. [ dbexpress ] 8 u; [# f$ P9 N! h8 V- {2 |
  30. sqldir = mysql_sql
      n' p2 U1 o2 [: K  I
  31. drivername = MySQL中
    + E. R1 h4 S* d& R- M
  32. 数据库= your_database_name_here 9 k% u# Q3 G$ F0 e* [/ Y* n
  33. 主机= the_pc_the_mysql - server_is_on / x" ~7 s; l& Y% @2 V
  34. user_name = user_name_on_the_mysql服务器* R& u# Q7 @5 j$ y$ K
  35. 密码= password_to_go_with_above_user_name   s: J7 N) |4 N: l8 @3 }
  36. getdriverfunc = getsqldrivermysql 2 A! ]9 |, d: n2 O" r
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    & E1 D$ `% P  N: S( N
  38. libraryname = path_to_libsqlmy_libary , e* J1 }9 \9 a- C
  39. 积极= 1   T! J! J6 X' l
  40. ---削减这里--- + H/ l8 {& Y7 e9 @: r
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    $ t: Q3 o% ^2 T+ M  d
  42. ---例如--- / b! D. c! n0 W6 b
  43. [ dbexpress ] * v1 W" Z2 R% Q) ^" u( l* m
  44. sqldir = mysql_sql
    2 N& y% P( ~% q
  45. drivername = MySQL中
    & i/ d- f! |8 R& t) u
  46. 数据库=测试1 g- g2 i8 ~$ ~2 J9 ?- c
  47. 主机=本地主机' z3 s7 c, T) T3 A% m$ F
  48. user_name = testuser
    # Y9 `  L4 R, C. l. r5 j
  49. 密码= my_password
    7 z5 q( S+ B* P9 Y+ u% @! G( t2 H
  50. getdriverfunc = getsqldrivermysql % c* g1 G" Y5 W" A3 q" Z3 J) |
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 5 Y9 |' r$ U5 ~) E; ~7 W
  52. libraryname =. / libsqlmy.so
    3 T4 v% U% R* a9 P, ?0 C
  53. 积极= 1
    # N$ O* u4 G+ c. s) o
  54. ---例如---
    6 C* {* E6 p8 C( w7 x# _

  55.   I* w# x7 i) U5 Q
  56. 对Windows中,也运行MySQL服务器本地的,那就是: . {. `# ~5 O5 Q0 ?! S
  57. ---例如---
    ; M( A- I; h0 W. K' o
  58. [ dbexpress ] 5 B6 m' c) G  j8 e8 P. ~3 \4 Q
  59. sqldir = mysql_sql
    ; b+ j+ T" Z. e$ J. F
  60. drivername = MySQL中6 d, {! H. z2 `* i! ]
  61. 数据库=测试
    # T# c' |1 n. l. R8 R, v# m
  62. 主机= 127.0.0.1
    * P. F7 I. j& Y# G
  63. user_name = testuser & K' u1 i& a3 Q% \; V
  64. 密码= my_password
    , P9 L8 ^& `, x9 F
  65. getdriverfunc = getsqldrivermysql
    4 ~$ o6 S, d7 b+ M$ C
  66. vendorlib = libmysql.dll在
    / Q) V; m" P( U  V9 Y
  67. libraryname = dbexpmysql.dll
    ' ~0 k" v. j; M7 s( i; b
  68. 积极= 1 3 w* B9 z4 c) R& b7 ?. t; h, J
  69. ---例如---- $ Y1 A9 o5 x/ J1 e1 Q1 L
  70. -写在0 2.03.04由p wk.linuxfan
    ) r5 i- g# F! q- C5 L5 ?; 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) T& p: H$ ?* @# Z  w' A

0 C# R& i# s! abut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-17 07:10 , Processed in 0.056023 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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