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

3624 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 2 U9 V4 K) B4 H# F8 ~5 K- G$ B
" h# M+ W) Y+ V9 z8 \
  1. , f! P2 F. t4 B8 ^
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######0 y; N  o$ |/ D0 t' \/ s

  3. / L: a3 o6 m8 b, b
  4. ### What we need ###
    + t0 p, g. M  R) t4 L! |
  5. Naturally, we will need a MySQL server to store the data for us, this document ) S$ ]- @! d$ G5 v  u& K
  6. will not explain how this can be done - there are documents out there for the
    # {& D" j. c& y5 B
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    9 A1 |; N' g3 K2 V! }* o5 }
  8. and a user account (username + password) that has the permissions to do stuff" A3 m4 |* _3 Q+ l7 O0 l
  9. with the database. Additionally, you will need a vendor library installed on the
      M  C: U% o% E9 ^
  10. local machine, this came with my MySQL install.  j7 k" P7 ]* T1 e
  11. These instructions will not tell you how you might transfer your data from the1 `2 O4 m& }, p* ]' E
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    7 ^3 r0 G% W+ C
  13. database.2 A1 Q- a" _$ U5 y% k7 O
  14. Some users have reported ways to import a SQLite database into MySQL, but at1 C- l! |  {- V# G- u3 x( R- a9 _
  15. the time of writing, there are still too many issues - check the current status: ?& e" `0 u% d
  16. in the TeamSpeak forums if you are interested.
    * m  l- H4 s- m, |2 l* e) l
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    . U" t8 R& E, }- k& C
  18. Borland was used. This driver can only interface with the client library that
    % w* k2 J- T5 a6 d4 l
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    2 d8 T2 K" Y0 R  Q/ d6 c9 l6 I8 {
  20. client library - basically all you have to do is to use a 3.x client library as
    . a/ L+ _) k7 E. y% l( X
  21. "VendorLib" and a 4.x database to connect to.
    0 f. U7 A% k+ \; Q# ~
  22. If you need more info about dbExpress, you can contact Borland.
    6 s  G9 }0 Z$ M# s% G) \
  23. ; O1 @- }; Y5 m% I7 B: K
  24. ### Doing the work ###6 P; R1 _4 }. [( a
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    - c2 `, B. y8 d! ~
  26. the perquisites right, just open your server.ini file, and add this section at
    8 e/ a: D: g4 v* K- b+ g
  27. the end:3 X% U$ b6 O# u: _$ V, z6 \3 r
  28. ---cut here---
    5 C9 [7 f+ k+ A
  29. [DBEXPRESS]
    0 u* B& u+ j; W3 V% ~8 w4 a( N
  30. sqldir=mysql_sql7 r# \2 W% _+ [* o# Z
  31. Drivername=mysql
    : ~: p% M7 r* X
  32. Database=Your_Database_Name_Here
    1 q" k9 X. G. Z. U( v
  33. Hostname=The_PC_the_MySQL-Server_is_on3 c; o2 Y% M7 l. W! P. A3 O" a
  34. User_name=User_name_on_the_MySQL-Server" ?& a- Y2 T/ C7 T4 }8 ?
  35. Password=Password_to_go_with_above_user_name
    - H3 Q6 a8 g/ B  H9 Q
  36. GetDriverFunc=getSQLDriverMYSQL
    9 f0 W/ N! P2 N, B* F1 a  I6 G
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ' b0 O, m) _5 G! y
  38. LibraryName=path_to_libsqlmy_libary
      r% D) D4 j1 ?! `
  39. Active=1
    & O& n$ w( r, p* q
  40. ---cut here---! Q0 [* W+ K# \2 y% k# n9 E6 p
  41. In my environment (a linux box with a MySQL server running locally) I have:
    / d0 I  d4 s) s9 _
  42. ---example---
    ; l* v% [/ v! x( S. C- r& s
  43. [DBEXPRESS]
    ' g5 H( O5 Y7 }1 t& i5 e, u. c
  44. sqldir=mysql_sql
    , s/ a7 s, H/ `4 F8 ~
  45. Drivername=mysql2 Y$ {* p' i& M* @/ [
  46. Database=test- A1 Y+ I( u2 O+ h( r6 ]
  47. Hostname=localhost
    + }4 s& H! G  k3 k$ m3 j3 q7 G
  48. User_name=testuser  q9 z  i! s* h  g2 T5 d6 T
  49. Password=my_password
    , |& _5 N( [* S% ?" y
  50. GetDriverFunc=getSQLDriverMYSQL: V1 T. i# P, y) q! ^4 e( {) u
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0# `9 Z. H( w7 J7 ^5 U! f3 o
  52. LibraryName=./libsqlmy.so
      K& e7 X, ~* @# }3 b3 f3 b
  53. Active=1+ l$ z' C; n: X- v
  54. ---example---
    " p2 I- s& Z5 R1 x: Q, }

  55. 2 B$ H1 t7 V! q4 C7 P, A
  56. On a windows box, also running the MySQL server locally, it would be:
    : ?' ?5 T+ R2 p7 n0 ]. e
  57. ---example---  S; x+ m7 }( P
  58. [DBEXPRESS]
    ! \7 [2 m5 a  J8 i" K
  59. sqldir=mysql_sql
    " f7 t, r) W/ @
  60. Drivername=mysql  N: i" r! ]5 A0 Y; x
  61. Database=test, R6 y! b% ]4 S. Y
  62. Hostname=127.0.0.12 ?, R1 a' n" S  I& T% b# I+ d0 V
  63. User_name=testuser$ }/ F0 d1 W, i2 v' m: g& ^: Z
  64. Password=my_password
    % s2 |  y; @+ N' s2 }
  65. GetDriverFunc=getSQLDriverMYSQL
    5 \- f7 ^7 D+ U' ?+ Z$ {
  66. VendorLib=libmysql.dll+ V' ?, |( ^( O% @" Y
  67. LibraryName=dbexpmysql.dll5 E2 X# c+ w' A0 L% {
  68. Active=1
    ( u) }2 J! v/ a, K6 E: F
  69. ---example----6 I, Q% C. ^: p3 L6 Z% i6 l5 `
  70. - written 02.03.04 by pwk.linuxfan
    7 B! f" Z  k* M* M9 ~
  71. " W1 D. `# l7 X. d* U
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看4 f) t2 }3 U, W; U
  1. " i6 c1 ~2 }$ U9 i* G8 ?' b& Y
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### . W) t' k$ ?$ |  ]# Y4 F
  3. 0 _$ G) y7 W1 [3 M, B
  4. # # #我们所需要# # #
    + \/ e" v0 z5 [2 B& T
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件) ^5 y$ v5 A- X5 i
  6. 不会解释如何做到这一点-也有文件存在,为* d0 C4 P4 i5 b- u+ f* \5 |; V2 I
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用: M1 D3 ]1 t1 o! J
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    : E; F& j5 j( v  {3 |
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    9 @  g- p- S9 m$ ^2 @2 L  p6 f
  10. 本地机器,这是我的MySQL安装。 9 L4 K" l; N6 I" a1 U% W3 z
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从6 S! M# W( a6 ~9 N& l* z* P) D) Q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    2 G/ S7 G) ]$ W8 n, @
  13. 数据库。 * g- [2 d1 y7 i" Z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ' f  O  n6 ^: k, b  n; U
  15. 编写本报告的时候,仍然有太多的问题-检查现状, G" r% c5 W! k5 d7 x0 r* w/ S& [
  16. 在teamspeak论坛,如果你有兴趣。
    4 j: t5 c* T1 m7 d
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机7 R, ?, m& P: e; ?9 k3 |
  18. Borland公司使用。这个司机只能界面与客户端库# p. s4 V" }2 f( J* r$ h
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    & n7 \' v/ B, U( Y1 i% l) I3 i
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    . D  |9 F$ U2 g+ y: G  s
  21. " vendorlib " ,并解数据库连接。
    3 u8 ]4 n2 F9 X& \. L! d
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    " ]8 F- r( [3 A9 c

  23. * D' R8 E6 d% L
  24. # # #做好工作# # # 9 G/ E8 Q+ k. m/ V" v' N
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    : G7 ]9 L2 E  J! n# g' @
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在* P5 c/ Q" ]; B1 G
  27. 结束: & i& y) M" Z+ w  B) w
  28. ---削减这里---
    4 r! Q" w9 [$ J& H6 k4 [- p8 \
  29. [ dbexpress ] $ ^# B6 W! V4 C  k$ v* f7 W$ Y: x
  30. sqldir = mysql_sql : @! O. A3 s( X( l
  31. drivername = MySQL中
    2 z1 W  h0 H  d1 p+ Y" ?8 C
  32. 数据库= your_database_name_here
    ) B) J7 ^. m* N. s
  33. 主机= the_pc_the_mysql - server_is_on
    7 n' C1 ]. Q0 c! F6 Z
  34. user_name = user_name_on_the_mysql服务器
    6 @: y! G7 X2 d7 }! ]% S
  35. 密码= password_to_go_with_above_user_name
    9 n! i6 N1 E( Y
  36. getdriverfunc = getsqldrivermysql ) M9 B- u6 `4 n0 N# K& P
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    / I0 b' [' o& }% L& G- M- q
  38. libraryname = path_to_libsqlmy_libary ! v" B/ C, r$ R6 u" X2 a2 u
  39. 积极= 1
    + |$ K; g% h" z# v( x( e
  40. ---削减这里--- 3 N* ?+ p" ~. G4 n; h7 ?
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ' I! C6 _2 z$ d' V
  42. ---例如--- * k. L8 V! u9 h3 w9 t
  43. [ dbexpress ]
    9 h4 x: Y/ v6 N1 u4 v+ P# y/ C
  44. sqldir = mysql_sql
    4 S0 o' ^( A. f3 _, d* z
  45. drivername = MySQL中
    1 f" B) J4 ?3 R/ t7 d: P
  46. 数据库=测试# H. I+ ?, B( p, X8 L
  47. 主机=本地主机! e. q0 k0 a8 O# z* u
  48. user_name = testuser
    7 B' k4 p! |5 x1 X( O
  49. 密码= my_password
    5 F. a: j5 m# `6 |2 \7 c
  50. getdriverfunc = getsqldrivermysql 2 E# O6 p5 x/ @' J% V
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    4 c, }! i' Y0 S! _0 }+ W
  52. libraryname =. / libsqlmy.so
    : T* [# y& z" C
  53. 积极= 1 3 l( q5 U5 [4 V# b% C
  54. ---例如---
    + w  W1 m- \* H  g
  55. 3 w2 C4 h( t2 m. X5 p9 ]
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    / i3 f0 e% N& s. t8 V/ w6 F, W3 @$ p
  57. ---例如--- ( o$ Y: q# P# x9 w3 ]
  58. [ dbexpress ] " F. o: I0 c: c4 `8 K1 S
  59. sqldir = mysql_sql 4 w3 y- q, Q2 b
  60. drivername = MySQL中# E; Q8 K2 Y. F% D5 l, m; Q& L2 m" N
  61. 数据库=测试. v0 {( ?' x6 R" B7 O7 S
  62. 主机= 127.0.0.1 $ D( D  z9 M! X( s- p/ m/ J
  63. user_name = testuser ' ?  b1 l# z. _* `+ g# h
  64. 密码= my_password , O$ c5 f2 H2 [& S/ O, r
  65. getdriverfunc = getsqldrivermysql ; r) @- i3 L; }+ n
  66. vendorlib = libmysql.dll在9 ^" t2 `  Z' ?
  67. libraryname = dbexpmysql.dll
    4 S2 ?- E* x; H( B0 I" _/ L
  68. 积极= 1 7 S' @8 w9 e* V& o3 x
  69. ---例如---- 4 |0 _9 t5 V5 e; O
  70. -写在0 2.03.04由p wk.linuxfan! K/ ?! k  ^7 p1 f* v% a
复制代码
发表于 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 words0 t. k5 H4 K, s& |5 N  e+ m
2 a. U; ^0 f' I- H
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-12-6 18:40 , Processed in 0.062074 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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