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

2525 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
9 t/ v* _. ]/ P) i5 C9 C; Q8 n/ T% W$ }) k; S; n8 m7 ?' u# \
  1. & g6 }2 }, p* N3 [
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    8 P) z  r! y# N( g& h9 T) T

  3. 0 u! [5 J2 ]+ D% m- C
  4. ### What we need ###
    ! S. P$ w" r, k& a
  5. Naturally, we will need a MySQL server to store the data for us, this document ; z, ^9 f7 `+ k: Q
  6. will not explain how this can be done - there are documents out there for the
    ) Y6 h0 X1 b$ H5 z
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    1 e+ \5 u0 t( ?+ q5 J
  8. and a user account (username + password) that has the permissions to do stuff
    ( V( \/ \4 `/ ^' u
  9. with the database. Additionally, you will need a vendor library installed on the
    * Z* k2 s. N4 U) R& Z
  10. local machine, this came with my MySQL install., q$ e" n# [# v
  11. These instructions will not tell you how you might transfer your data from the
    4 n- R: x+ u- e/ [1 @
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL0 e5 i+ B; a1 \4 L
  13. database.( H- v5 h3 {( @/ ^7 L
  14. Some users have reported ways to import a SQLite database into MySQL, but at$ x# ]/ O/ Y* J, w) I
  15. the time of writing, there are still too many issues - check the current status# V3 R* S1 s1 S3 p
  16. in the TeamSpeak forums if you are interested.
    ( @) V' S, w0 j1 X' s
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from' K) N: u3 t8 q7 N
  18. Borland was used. This driver can only interface with the client library that
      Z- p/ t# v! H0 ?
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this: r0 E( v! n; b
  20. client library - basically all you have to do is to use a 3.x client library as
    , s! E# i* [8 J$ `: P+ f5 [
  21. "VendorLib" and a 4.x database to connect to.5 H  W7 E* s# {6 I5 a* k6 i& [
  22. If you need more info about dbExpress, you can contact Borland.
    7 ]0 U: w; \5 ^4 q4 r# l  D, X, i* u
  23. * S  G; f9 K1 U5 ^
  24. ### Doing the work ###/ t$ s2 z& i# j5 m- m. N' s
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    2 L' U0 \1 `6 D1 M" @
  26. the perquisites right, just open your server.ini file, and add this section at& B+ P! h* z6 z; b3 P' M
  27. the end:
    + s4 V- k4 C, w! A6 ]# v
  28. ---cut here---4 }5 \! R6 T7 S5 O! b4 q3 N
  29. [DBEXPRESS]. V/ K8 g3 a. x: K
  30. sqldir=mysql_sql" J- j4 ?7 `' b# ^
  31. Drivername=mysql
    6 O6 o# X3 J6 f; C: h2 I
  32. Database=Your_Database_Name_Here1 I: G: w* p$ H( s! u1 b; G! ~: E
  33. Hostname=The_PC_the_MySQL-Server_is_on
    " A- m+ _$ E3 ^5 s3 d  p
  34. User_name=User_name_on_the_MySQL-Server! F" O2 p/ l6 O  i
  35. Password=Password_to_go_with_above_user_name9 @9 z' |4 c; N! b: @7 `# p
  36. GetDriverFunc=getSQLDriverMYSQL. ^8 j9 o! w, }! H
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    * R2 m! C0 G  R, h7 A
  38. LibraryName=path_to_libsqlmy_libary
    ; c  n( G+ ^9 D1 t- G
  39. Active=1: S4 J( n& u: N, i7 x. @
  40. ---cut here---' o& [& |) u$ @' M% E1 ]4 j
  41. In my environment (a linux box with a MySQL server running locally) I have:' k9 |" V; j; R& V3 G. |$ ?% {
  42. ---example---- D! f6 D' ~% N/ G9 o1 {
  43. [DBEXPRESS]% n( z" V- @: W. L: d
  44. sqldir=mysql_sql
    ' T# \7 q  u5 O/ y
  45. Drivername=mysql" V3 q, ^; _: x
  46. Database=test
    0 x  X7 G+ e' E# R5 i
  47. Hostname=localhost2 Q; l) D" X6 R; E: _
  48. User_name=testuser
    2 ?3 a. S4 P- X
  49. Password=my_password
    6 V' m% K7 `3 H# v
  50. GetDriverFunc=getSQLDriverMYSQL
    , A4 [! {0 B' N  A
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ) U/ q7 H1 K- x5 w  t9 a; c5 N
  52. LibraryName=./libsqlmy.so! A, e5 r2 l$ k: a, }3 z
  53. Active=1
    $ M. H2 r! V8 J" c! E
  54. ---example---
    0 [) G1 }, a9 M! i; p! G/ ^
  55. ' f! z2 r$ T5 d
  56. On a windows box, also running the MySQL server locally, it would be:
    , r+ [) J' I6 y) K5 }; m
  57. ---example---
    ( t0 a0 m, z, z. b! h1 n- z
  58. [DBEXPRESS]
    - ?3 I7 j+ R7 z" \$ Y7 X" u" @
  59. sqldir=mysql_sql& p  Y, M' X. C8 c) x
  60. Drivername=mysql
    ( K$ V$ K# E7 s8 Z
  61. Database=test
    , e3 b; L- N( {
  62. Hostname=127.0.0.1% l; X/ u1 f/ u5 X3 t9 ?9 @
  63. User_name=testuser9 c4 n% X$ ^: C3 m
  64. Password=my_password
    ; }2 ]9 R) s5 t: l  ?  R
  65. GetDriverFunc=getSQLDriverMYSQL
    , d! n$ v+ m8 \% Q& \
  66. VendorLib=libmysql.dll2 C6 I/ T: [, Z7 A" }
  67. LibraryName=dbexpmysql.dll
    & |( f! Z1 Y% A( U, r' A
  68. Active=19 U; h8 g6 X$ P5 K  E" @: h
  69. ---example----
    ) n2 ~2 _% l- a# h
  70. - written 02.03.04 by pwk.linuxfan6 ?" w9 L: b7 u/ o8 q

  71. $ F) k1 A. P4 y' w% x
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看2 h* S" q. `5 R9 y9 U$ Z  N/ e

  1. 5 k. l) N' T, n3 N0 R6 z! d/ m
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### - t( f* S2 P& a1 V. `" ^( W

  3. $ Z  X( p: {2 S* Q. ]6 R! _
  4. # # #我们所需要# # # 7 ?/ k. `" u4 D* n5 K* o
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ; G4 X" V" E% f" L* _
  6. 不会解释如何做到这一点-也有文件存在,为
    * Y+ W/ {1 B% Z% a5 X, x
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用9 u) ?! @. w* _0 J$ i) U+ H! `
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ! K8 F) _- x, N: T
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    " `( Z" q4 r* |* c+ l3 \2 O
  10. 本地机器,这是我的MySQL安装。 8 ]! O/ |% ]# v$ i$ C3 f
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从% D* ]' v0 j6 d* a( ^/ }4 r
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    % A, h$ P! i* N2 w. P; \) h
  13. 数据库。
    / q7 g4 u2 F8 {( _) H* [
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在: }6 Z  m) n) m  N4 P/ o& Z
  15. 编写本报告的时候,仍然有太多的问题-检查现状. s5 V. w6 r% V5 N/ X
  16. 在teamspeak论坛,如果你有兴趣。 8 U/ ~1 \6 D) m' [# x+ G% W& u
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    5 j4 T/ J2 c( D- ]% Z: d0 x1 B
  18. Borland公司使用。这个司机只能界面与客户端库
    5 z0 D! |& A) Q9 o. o6 r$ Y4 Y
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ' e  @# U* W2 q3 A9 f! N& P. A# C
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    # m' E. _# [" J: d& O
  21. " vendorlib " ,并解数据库连接。
    1 G* r# L- p/ f" f% m( ^
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 : N  d) m: K9 L0 ^1 |
  23. $ X3 x* I+ Z$ v) x" t0 z! ~
  24. # # #做好工作# # #
    & F8 `% m/ V& Z) \$ D
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    : `/ s. p  f- m! ^7 h: X# y2 m5 r
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    " Q0 y4 h" V2 _9 _! Q( F( u5 h
  27. 结束:
      w/ P: M6 x2 {" w* S
  28. ---削减这里--- ! e0 _" ?- j% X- p( V/ d3 L& R
  29. [ dbexpress ] 9 \! m" \* F/ U( x* M7 m5 {
  30. sqldir = mysql_sql
    1 W7 k$ o( b. C+ g6 h$ q
  31. drivername = MySQL中9 f2 D- V( x. {* h) z4 G# e
  32. 数据库= your_database_name_here
    2 C* [3 j, {3 n/ V
  33. 主机= the_pc_the_mysql - server_is_on
    : G7 @& ]1 r  ^' x- f) k
  34. user_name = user_name_on_the_mysql服务器; ~7 {% r2 `$ o4 J  y2 w
  35. 密码= password_to_go_with_above_user_name
    % u5 Q( `1 w: a8 B0 t+ S
  36. getdriverfunc = getsqldrivermysql 5 o, A  e! F. z% }
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    1 V+ R4 z9 O# L
  38. libraryname = path_to_libsqlmy_libary
    , G( I) M# P6 T% |3 c4 T
  39. 积极= 1 & }) W" J/ N7 D
  40. ---削减这里--- 1 [% U9 Y4 a$ Y+ g
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 7 J) ^1 S6 r) I; W% ]7 L7 C
  42. ---例如--- 8 _5 D6 S0 f' o/ n& g, f
  43. [ dbexpress ] 9 X; V' W) H5 q: \+ u1 {
  44. sqldir = mysql_sql
    ! {" m/ Q" O) n1 X3 D/ |, l
  45. drivername = MySQL中
    % z2 d* V; F$ d, ^& w. s
  46. 数据库=测试
    / y) h# J" ?$ Y& F7 d9 x
  47. 主机=本地主机
    7 R9 z* h6 u) x- w- z' I
  48. user_name = testuser
    9 g9 R. u. a, Q3 @* I1 }$ f$ x
  49. 密码= my_password - R9 c1 I3 ?$ G2 z: R
  50. getdriverfunc = getsqldrivermysql
    ( _( l1 |/ [, q( F8 `( E
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    $ d& a, H7 M# S9 E; v+ o0 L! g
  52. libraryname =. / libsqlmy.so & {+ w3 x: V* H  `& E
  53. 积极= 1 ! Q" b8 I* h1 d* P0 V1 |* L- J
  54. ---例如--- . ^! M& f' T$ h: |: P/ _- w
  55. 0 ]6 z+ f3 y1 w' I
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    1 M/ k4 L8 [+ a& l
  57. ---例如---   C! w9 L9 u4 r. l, X
  58. [ dbexpress ]
    7 C. }% R; e& E# p& P: p
  59. sqldir = mysql_sql 8 ?! D1 q# ]+ q2 G- X. g
  60. drivername = MySQL中. }4 }5 a* x9 U3 A. @
  61. 数据库=测试& L- n9 L$ R7 f
  62. 主机= 127.0.0.1 " X' l& x: X& a4 B" H9 {
  63. user_name = testuser 0 I. p7 `" Z2 |/ J
  64. 密码= my_password
    ) H# A" v5 u3 Q
  65. getdriverfunc = getsqldrivermysql
    : U7 O; Y$ j$ s* ~7 ]" V7 Y
  66. vendorlib = libmysql.dll在
    " }' l0 ~4 B2 j' U- Z6 M4 |
  67. libraryname = dbexpmysql.dll
    1 _; w6 g7 |1 o
  68. 积极= 1 1 z  c' U2 P) }8 @' N
  69. ---例如---- # l2 |" f. e' L& ^3 _
  70. -写在0 2.03.04由p wk.linuxfan" @+ k* C1 |4 V! T( I0 [
复制代码
发表于 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
6 n% U; s" \) m8 Q4 e$ _0 N& g
& Y' B3 t2 o7 r5 o+ Bbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-17 08:25 , Processed in 0.105930 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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