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

2374 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 7 T! V$ m" [/ z9 z0 S
- C0 j* }7 M* U; P+ e4 ^
  1. . V0 C) E, ]+ m8 {4 {
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    . R! ~0 R; }& Z" A7 h+ \; m3 x. [& c
  3. ' V* D( G; g: J8 S+ K
  4. ### What we need ###
    ' c2 ?# c, [2 c6 J' V/ f) K7 t- C
  5. Naturally, we will need a MySQL server to store the data for us, this document
    , }, V$ h' T5 Q0 B% V# K2 h$ c; J
  6. will not explain how this can be done - there are documents out there for the   g3 K4 ?- m% q. _1 p9 D! D6 a
  7. interested. The requirements include a (empty) database for TeamSpeak to use
      {, S+ d+ [) x5 T3 o" _
  8. and a user account (username + password) that has the permissions to do stuff  Y6 X% }( J9 @: e
  9. with the database. Additionally, you will need a vendor library installed on the
    2 S' [' f5 g' M' a3 P- @
  10. local machine, this came with my MySQL install.
    ' K* L/ a4 g' ]
  11. These instructions will not tell you how you might transfer your data from the
    4 Z$ m0 d* ]2 p' `) d. S, h& K
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    $ b; }9 @" J) Z* @$ f( _  H
  13. database.: `9 T. M8 J" N. X. z& P8 z& g; c
  14. Some users have reported ways to import a SQLite database into MySQL, but at" a8 I+ f$ ~; J$ u
  15. the time of writing, there are still too many issues - check the current status
    ; d* d2 ^# Z  @# Y9 t7 ]$ L
  16. in the TeamSpeak forums if you are interested.$ u: d' x1 U- ]7 T5 z
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from9 K' A* d( k2 Q# K2 }5 d- S, Z
  18. Borland was used. This driver can only interface with the client library that
    8 t- u& N+ K& H
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this3 h1 N/ g% K! \0 J
  20. client library - basically all you have to do is to use a 3.x client library as
    ' P6 V8 x" V# z6 T9 D8 C4 D* ]
  21. "VendorLib" and a 4.x database to connect to.* @! P+ n! u5 q+ m/ y, J5 K. }, i
  22. If you need more info about dbExpress, you can contact Borland.
    $ ?0 W7 F. A' W9 ~7 [$ x/ M

  23. 1 P) ]- v$ M$ |% U" z
  24. ### Doing the work ###' B7 m; \( h4 t
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    * A& r3 F6 r8 R
  26. the perquisites right, just open your server.ini file, and add this section at. A. \* r: O5 L) Y2 v' r+ j
  27. the end:( S+ C( a# [/ j8 G
  28. ---cut here---
    : t) F' X$ ]; C7 R
  29. [DBEXPRESS]3 _' O+ k9 G. H3 z
  30. sqldir=mysql_sql
    & e; w. {- G" C! v; k
  31. Drivername=mysql
    1 m% S) H% Z/ C5 p& V/ i, ]! Z
  32. Database=Your_Database_Name_Here
    7 P/ {/ p# e3 r/ Q
  33. Hostname=The_PC_the_MySQL-Server_is_on. @6 c. ^. @7 F0 n. X+ ?; f
  34. User_name=User_name_on_the_MySQL-Server
    % f# V4 J7 k: f& R3 j7 W
  35. Password=Password_to_go_with_above_user_name
    : s2 y4 D0 |* s
  36. GetDriverFunc=getSQLDriverMYSQL! @0 q& t5 W9 n2 X
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib" D: P. l2 h! f
  38. LibraryName=path_to_libsqlmy_libary
    " o: y/ F! k0 U$ Z3 n1 `# J- b# s% V1 k
  39. Active=1
    0 {1 K' K/ L6 F; D: T& \% Q1 M
  40. ---cut here---
    4 A8 W& U9 S- m
  41. In my environment (a linux box with a MySQL server running locally) I have:$ }. l* C* e7 a% {
  42. ---example---
    ) y* M1 J. p8 ]/ [3 W; x# c! b- H
  43. [DBEXPRESS]' w6 [6 F( n) q. O- I
  44. sqldir=mysql_sql
    ( ]: ~' }; q1 z. o4 R, z
  45. Drivername=mysql) T' z6 \, l: D; t0 `7 }
  46. Database=test3 h6 T! V  p& H& K  U' ]) w1 o
  47. Hostname=localhost  ]; e( M/ \7 v$ q* c
  48. User_name=testuser
    % s# G# A. n1 Q$ O
  49. Password=my_password
    - Q  t$ G  W1 U
  50. GetDriverFunc=getSQLDriverMYSQL
    5 O3 i" T6 s1 o& Z# D5 l
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
      g$ k3 J+ Z0 U  Q; Y
  52. LibraryName=./libsqlmy.so. j2 h4 l0 J9 R7 @; p6 V
  53. Active=1
    1 z. r/ M+ }* S6 `4 R
  54. ---example---) W! |- C  u* I( H
  55. : }6 N* f$ l, @' k% I3 P
  56. On a windows box, also running the MySQL server locally, it would be:5 F% w  g+ ^+ C% \9 J) J/ _
  57. ---example---: [' U5 e8 r9 |' d
  58. [DBEXPRESS]
    0 b& y9 J( [: C% |: G
  59. sqldir=mysql_sql4 \) k% l& K" \! A5 i
  60. Drivername=mysql
    6 Y( ?7 T  I5 N- b: _/ {
  61. Database=test' h0 k" ~$ J: I# w6 f: W
  62. Hostname=127.0.0.12 c) j6 i3 h( g, ]' Z5 s: e
  63. User_name=testuser
    1 P/ g: M9 F, J1 ^) s/ v
  64. Password=my_password- y& z# \# d' C3 a% Y
  65. GetDriverFunc=getSQLDriverMYSQL$ `. i/ I8 `( g, i/ u+ M, ~5 g
  66. VendorLib=libmysql.dll
    ( T, V  R+ b. }6 M
  67. LibraryName=dbexpmysql.dll  n9 p" v. Q- c, ], @7 _5 b
  68. Active=1
    / x: |5 H4 [1 P( {* A) z2 }- ]
  69. ---example----
    8 T9 n% d4 q! i% f$ H6 e
  70. - written 02.03.04 by pwk.linuxfan: |, E+ C0 }& C5 P! B! T1 p: S
  71. 4 y, m8 q, |4 m9 F* W
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看9 e: Y0 q8 f- l* m  k0 [8 }

  1. : u" l3 i- e* ^
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    + a8 i+ i; t2 Z) t, z

  3. . b/ P9 s* D: _, n/ C
  4. # # #我们所需要# # # # U( ?: x  R; U# ~, V
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件/ x1 R; y* N  I& c" E6 e# C
  6. 不会解释如何做到这一点-也有文件存在,为
    2 Z+ ]: y/ ~$ Q! l1 ]$ D4 W8 k
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    1 M  L' T: G3 y1 |0 z  |/ ^+ \
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    7 {4 [7 @1 u+ ^/ A; _& C
  9. 随着数据库。此外,你需要一个卖方图书馆安装于' m- x* ~7 l9 b- c  `: D
  10. 本地机器,这是我的MySQL安装。
    4 L+ t) C7 J* |6 h. a( @
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从8 o& S$ x, c7 {0 M; H* V
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 4 S% C9 W! w* R; E+ |5 X/ J% d
  13. 数据库。
    5 b6 K' [$ a8 {6 Z5 h
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    $ u3 l7 i* L, L8 ?( c4 F, g7 J& e
  15. 编写本报告的时候,仍然有太多的问题-检查现状4 y$ I; @5 {6 u: Z1 d
  16. 在teamspeak论坛,如果你有兴趣。
    . E" k$ @2 }6 @! m6 c0 c  X+ q
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    + o1 e3 X; j3 c- t
  18. Borland公司使用。这个司机只能界面与客户端库
    % G6 S5 V4 t) t1 j& R0 z' D) R
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    % x7 T+ R. C5 W( k6 y- p
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为, S' D; k  R. u3 ?
  21. " vendorlib " ,并解数据库连接。 ( ^6 F. F0 Y/ _7 {  s
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 5 f' n) u5 g. y" B5 ^  O, N! b

  23. / M5 U( ]9 R3 s  j
  24. # # #做好工作# # # 4 d. g) Q' Z# F3 h* t
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    3 o& a' H, C1 Q  P
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在$ k, |: o2 F! G0 q: v
  27. 结束: 7 {# q$ U: H9 }! K
  28. ---削减这里---
    6 k0 l- v, d8 i/ C3 W
  29. [ dbexpress ]
    " `6 m, s" L6 [" t' Q& W  C
  30. sqldir = mysql_sql 9 d! ~) F; O- l. B" k: D
  31. drivername = MySQL中
    / F$ A( e6 S" T. v/ ~5 o# A
  32. 数据库= your_database_name_here 0 Z# Z$ Q4 T- ~: ?5 v8 ]* m7 y
  33. 主机= the_pc_the_mysql - server_is_on 4 H3 D: \: x9 `$ q* b! m
  34. user_name = user_name_on_the_mysql服务器6 s- M% y3 |" X. [
  35. 密码= password_to_go_with_above_user_name 8 q' _4 N- p; T8 M3 M
  36. getdriverfunc = getsqldrivermysql ) O( ~5 d0 k& u) ~5 x5 ^
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ' J/ o( ]  `9 ]# l  m- g
  38. libraryname = path_to_libsqlmy_libary 7 C' t( ?: W7 N
  39. 积极= 1
    2 O4 R  s/ j! f* V( O. z' P& k
  40. ---削减这里--- $ W$ X' B* E; u# D- @  r8 g
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    3 v- O3 V6 Z  K/ m& S7 d
  42. ---例如--- . h3 e+ w9 M. l8 h* D
  43. [ dbexpress ]
    ! }! @0 m! S9 K5 N3 ~6 X
  44. sqldir = mysql_sql
      l2 x( l# Q+ E% C
  45. drivername = MySQL中  [& ?) d* G) W. Z/ N7 O
  46. 数据库=测试* d, U" N; F- i1 v9 [* g/ e4 ^' T
  47. 主机=本地主机1 k0 C9 @' d. @0 b2 k: W
  48. user_name = testuser 0 D5 g. c2 z: w& s( j
  49. 密码= my_password
    $ }3 p4 }/ u7 H, \6 Z; c' h
  50. getdriverfunc = getsqldrivermysql # B0 ~5 [% U% n' k8 d0 p. r
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    , ]9 Y( o6 _7 h7 V
  52. libraryname =. / libsqlmy.so " O/ \- S6 Z6 R1 b; W( Y
  53. 积极= 1
    0 Q" O  Q! w! }4 W" n; D
  54. ---例如--- ' w' u8 b' [2 b/ k

  55. 5 L! {8 y  t5 [' g4 m% c/ x3 N
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    6 b+ L+ }7 e# D8 @
  57. ---例如---
    7 U0 c( c$ d" @3 i
  58. [ dbexpress ]
    5 o/ U3 S0 T! @- {9 q' s- @6 i
  59. sqldir = mysql_sql , q6 _, k* m. y1 M" H2 O3 N$ _) G
  60. drivername = MySQL中$ I! [' Y5 n8 P5 m7 ?# E$ ?
  61. 数据库=测试
    / ^7 |+ x* {% H! D1 D4 F9 A/ n7 K
  62. 主机= 127.0.0.1 - c1 E" Y0 p" ^
  63. user_name = testuser ( l; B( a: e3 ?" C
  64. 密码= my_password
      e& ^" f  U8 E2 _; z* L
  65. getdriverfunc = getsqldrivermysql ; O7 }4 K8 c* v& Q+ H- o
  66. vendorlib = libmysql.dll在
    * s) m% S, @6 Q# \
  67. libraryname = dbexpmysql.dll + B: k+ C' s& q+ {8 h! B% [9 E8 ^
  68. 积极= 1
    ' j! I1 ?$ G: [6 _% A9 |1 g
  69. ---例如---- 6 Q, f+ g( Y! g5 B, H
  70. -写在0 2.03.04由p wk.linuxfan
    9 s; _* p7 f& l4 S/ o: x
复制代码
发表于 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' `/ C) Z4 X- c+ A" l! C1 u
/ j* e& u. \# D% }# X
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-10 20:30 , Processed in 0.128285 second(s), 10 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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