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

2402 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
1 R: e9 I" j/ `0 _" m1 n
) h3 e7 t5 H! Q2 |

  1. 3 c& J% v# H+ c( K
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######) H4 t. E, y! V( h: ~
  3. , `* |! C  b6 {# r9 [. K( S' W
  4. ### What we need ###; J/ I$ ]7 n8 ?% o9 x6 x  T" ]
  5. Naturally, we will need a MySQL server to store the data for us, this document
    5 w6 W9 E- m  Y
  6. will not explain how this can be done - there are documents out there for the 8 L0 D+ `$ t7 u. S  E1 g8 @2 D* Y  z$ Z
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    , ?" v; f; R: \5 n5 V! u
  8. and a user account (username + password) that has the permissions to do stuff
    3 U# F) [9 y- O  z/ v/ f
  9. with the database. Additionally, you will need a vendor library installed on the
    . @9 q3 T: K' ]; I0 q
  10. local machine, this came with my MySQL install.
    , r: v. n- w$ X+ a  W5 v
  11. These instructions will not tell you how you might transfer your data from the
    % y6 O/ S4 |; }9 V' K# w  A
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    * w0 H6 @& |/ r- B- V
  13. database.
    2 j. C! c, u$ ^5 {) E) q5 ]
  14. Some users have reported ways to import a SQLite database into MySQL, but at* Q7 S) k9 O& z: |  S# U9 v
  15. the time of writing, there are still too many issues - check the current status
    7 R: I$ ^$ i9 P, ]5 z
  16. in the TeamSpeak forums if you are interested.
    7 i( `' G( ]9 B2 S8 p
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from: S& q1 C* L& t
  18. Borland was used. This driver can only interface with the client library that
    * c3 g$ R8 A  H  m) ~2 v
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this) A# {8 n1 ~! R+ t2 D- H, I
  20. client library - basically all you have to do is to use a 3.x client library as
    0 J* I/ x1 @+ L) ]8 W  s
  21. "VendorLib" and a 4.x database to connect to.+ s$ e7 h: f, k5 r1 [' V2 Z$ W
  22. If you need more info about dbExpress, you can contact Borland.
    3 K/ t  |; r8 \) k1 g

  23. : g& e, q' ], }. E
  24. ### Doing the work ###
    ( K# k% U. }( X* b) D9 m1 F( C
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all# c9 o8 w+ G7 _& F3 p: k
  26. the perquisites right, just open your server.ini file, and add this section at3 s( J, g% a) Q/ X. u& {3 r
  27. the end:' r% h$ f# V) r' j' O  F
  28. ---cut here---
    + i! P4 `5 b3 u5 g" h5 _
  29. [DBEXPRESS], D$ j4 S6 e% h4 o# D
  30. sqldir=mysql_sql
    ( q8 m. B7 F# ~0 ^4 s2 q
  31. Drivername=mysql
    8 x  E* F8 p2 E( `
  32. Database=Your_Database_Name_Here$ j8 \" }0 C3 Y( `, K, e* [
  33. Hostname=The_PC_the_MySQL-Server_is_on
    : x/ l9 k' k* A/ W
  34. User_name=User_name_on_the_MySQL-Server
    7 M! h- {4 D7 }; d! r' _  Y
  35. Password=Password_to_go_with_above_user_name6 g2 @) i5 H+ R! T* s/ \2 h) a
  36. GetDriverFunc=getSQLDriverMYSQL. E' a0 f* Y: i4 E
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib0 G7 R% k0 \! t, ~: q  z$ ~( a9 O+ h
  38. LibraryName=path_to_libsqlmy_libary
    9 U# o* Q- @, B9 N; D. k2 d( E
  39. Active=14 B+ I6 y- j+ l8 X+ ~) j
  40. ---cut here---+ T+ k% ]# E0 W! b6 C: [
  41. In my environment (a linux box with a MySQL server running locally) I have:
    6 y) u# I* p8 A+ c! X( R
  42. ---example---7 D! ?5 m4 |: a% ~) y2 A% s
  43. [DBEXPRESS]: I- o4 v$ A( g3 g
  44. sqldir=mysql_sql$ n% P  Y, D, C2 W
  45. Drivername=mysql# d6 b& u  V7 f8 W$ a9 O
  46. Database=test
    $ P" ~# f, ^( Y2 ]$ G- w* E
  47. Hostname=localhost2 A% j* j* @# @" v% c
  48. User_name=testuser
    1 b+ e8 Y% ^& }; \# [) I- W3 T4 P" q0 |
  49. Password=my_password
    % ~1 ]& p6 _8 t/ f) V
  50. GetDriverFunc=getSQLDriverMYSQL" B1 I! [1 ^0 q
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    7 l, M* t6 A7 g3 M  v/ S2 m4 C
  52. LibraryName=./libsqlmy.so
    - u* z; t% c7 Z- e
  53. Active=1
    * c' [, R" H5 g# `
  54. ---example---7 o/ j3 N. A- l

  55. 9 {1 d7 F+ q" @: f$ D2 f& U
  56. On a windows box, also running the MySQL server locally, it would be:; h3 w$ ^) d; b
  57. ---example---/ q1 n# _! ]; K1 N% f7 E
  58. [DBEXPRESS]
    4 `4 d! W; w9 h3 I8 w; {9 |
  59. sqldir=mysql_sql
    : I  R. F* M1 `! q
  60. Drivername=mysql3 m: Y$ C& Z. U, h
  61. Database=test. G" x- G1 r8 r- Z
  62. Hostname=127.0.0.12 n5 {( O! c3 L4 g$ H  @5 @
  63. User_name=testuser$ Z: j" b3 o1 y: N
  64. Password=my_password0 O, S  X% m4 `# u0 K; v- `
  65. GetDriverFunc=getSQLDriverMYSQL$ U  ~+ f5 n3 W" W( B4 x' Q
  66. VendorLib=libmysql.dll: Z* ]. ]( I- M5 i
  67. LibraryName=dbexpmysql.dll* d7 v4 W( y5 }9 ~5 p' _- T
  68. Active=17 z% \% |1 W. ?3 s) R" a( o
  69. ---example----' S; ?* `, f% b% Y; h
  70. - written 02.03.04 by pwk.linuxfan
    % q5 N% b- i5 w$ n9 L% i; _- f% z

  71. $ N: g8 y) i5 k3 y9 r
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看4 d7 h5 P( u& f
  1. / ^. e9 J3 T1 R! w+ c# f2 S
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 1 P( H+ c4 D; t) e
  3. . Z  C$ @' t. k& N; t# i0 A
  4. # # #我们所需要# # # 6 @& E' _, v) A# e
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    , ], j: {. m+ x/ c
  6. 不会解释如何做到这一点-也有文件存在,为
    - x6 q. p$ k* D/ ~
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    5 {* s6 \- S  l1 [  u& x/ Q
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西6 @* `: T  b/ N8 v3 \& f
  9. 随着数据库。此外,你需要一个卖方图书馆安装于# w! X7 b0 I- m. ^
  10. 本地机器,这是我的MySQL安装。 ; y1 n* {/ Y/ N
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从* A. {: |' Z  F% j# K+ N7 ~
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    / ]* N+ X2 g5 U: W3 m
  13. 数据库。
    8 Z( F  s  j  H: r
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    4 @  {6 n  l+ O- l& o/ ]- Z
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ! r. I. ]+ U# _9 N7 n" y  l
  16. 在teamspeak论坛,如果你有兴趣。 & t8 p, N  z3 U4 V
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机' g0 h. t$ ?! c3 t: C; J
  18. Borland公司使用。这个司机只能界面与客户端库
    2 D, ~8 X" [3 s4 c5 C# I
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这% D; b8 ~2 F2 L5 W0 n
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    2 ]. ^+ y+ ]( G& @" r# N$ {
  21. " vendorlib " ,并解数据库连接。 + ?8 i9 O" U* g+ j+ Y5 Y
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 : L% V3 {, X6 L' N9 _+ N* _

  23. ( p" r: E- z6 r* @
  24. # # #做好工作# # # 0 Z7 O/ K% z# Q% s' M" |7 A8 |
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都" a( y! d! ~5 ]7 z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    " m( M6 U- u% ~7 l8 Y9 g) k6 y
  27. 结束: 9 y2 Q8 C/ q) _
  28. ---削减这里---
    ( E' B. n' ^  E
  29. [ dbexpress ] 8 |/ b* j6 h; X$ K  z, \( y- S4 l
  30. sqldir = mysql_sql
    . _, f3 K7 P, ]
  31. drivername = MySQL中
    ! g/ P# |$ Q: b7 d9 @( ?3 z  w. f; C
  32. 数据库= your_database_name_here
    8 O2 f1 L# ?8 M* c# Q! s" }3 b" }
  33. 主机= the_pc_the_mysql - server_is_on
    - c* T5 U. R5 p4 q( _4 i  n
  34. user_name = user_name_on_the_mysql服务器1 g, X& j3 g% W% {4 t. G# e
  35. 密码= password_to_go_with_above_user_name ' _8 J+ b2 z. N& K
  36. getdriverfunc = getsqldrivermysql
    * O  `0 D: u" k. W7 l8 w: j
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib $ w% ]. r% j- t! b0 w+ P- J$ v
  38. libraryname = path_to_libsqlmy_libary
    : d2 T. I1 p/ o$ A; Y- f
  39. 积极= 1 8 y9 l1 ?5 f* {9 J! N* L
  40. ---削减这里--- 1 j3 O/ w& W6 u' O2 d. H
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: * q; j; t) Y% q: F6 i" G* Z, y
  42. ---例如---
    % O- s& ^' I/ `  z# a: C2 k# ]
  43. [ dbexpress ] 6 T& r% D  `+ w" O6 W3 m
  44. sqldir = mysql_sql
    # F+ \% M0 l7 v2 A
  45. drivername = MySQL中
    8 k6 C5 J! V4 J: H2 \; R5 R
  46. 数据库=测试
    $ H# J3 x5 H2 I( \6 [7 B
  47. 主机=本地主机
    + d( \0 i/ A. y7 ^! u! [6 T8 V
  48. user_name = testuser 8 d# w5 `7 n5 m* v, z  f
  49. 密码= my_password 8 {9 d& E8 i- l1 g8 x# d: I3 K' ^
  50. getdriverfunc = getsqldrivermysql
      K  m9 {! R; c0 I: Y, v# V0 |
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 7 r5 c' U. n: _9 i. s, Z
  52. libraryname =. / libsqlmy.so
    * ~. `3 h& z; H# Z8 F
  53. 积极= 1 + m$ U, W; D, K- o
  54. ---例如---
    1 H, @0 g& `3 ]7 S: D

  55. , r/ Y( e0 \, L0 V
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    0 v0 z/ `5 Y6 ~1 p
  57. ---例如---
    * a0 x% |, D1 c& _7 b/ Q
  58. [ dbexpress ] 3 F% ]7 e1 Z9 N1 {% {
  59. sqldir = mysql_sql # k8 \$ p; ^9 z! m
  60. drivername = MySQL中4 H$ i, ~! s/ L9 j4 A
  61. 数据库=测试
    7 {" F/ N, v5 W
  62. 主机= 127.0.0.1 # B9 b! i6 e- G8 ^8 Z4 h/ S4 J
  63. user_name = testuser 8 |, q4 J2 G9 C/ B1 _; y; X
  64. 密码= my_password
    - e" T# ?5 X" G: s7 J) c8 E
  65. getdriverfunc = getsqldrivermysql ( V- R( @6 T2 i2 P! _
  66. vendorlib = libmysql.dll在* e, h( ~8 M+ w( i2 @
  67. libraryname = dbexpmysql.dll 5 p; X7 s" X& z/ F- |
  68. 积极= 1 # @  i' c& \2 f. I- p
  69. ---例如----
    / }8 _5 Y, D: U5 s( b  ?* U; ?( B0 g
  70. -写在0 2.03.04由p wk.linuxfan" G. z" Q3 j/ ^9 P+ O3 W9 l5 z
复制代码
发表于 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
2 Z3 x, F/ H0 R& [+ ^& |. V
+ Z1 D8 I- b# z. L' m& d0 U$ ubut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-23 21:00 , Processed in 0.106000 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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