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

3361 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan   X6 V  }5 f. n- s4 ?6 H+ v

# a5 f0 w  @* W5 E' p: x. U

  1. 9 F* W0 h( v+ e- M' r
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######- x& X: o: S: |! v. a

  3. $ F( F- o7 M- P4 u
  4. ### What we need ###4 m% A( g- I. M( w! p
  5. Naturally, we will need a MySQL server to store the data for us, this document
    $ R" G6 \( p- Z* P
  6. will not explain how this can be done - there are documents out there for the ! G% u$ g# S8 O$ o% W8 Z1 q
  7. interested. The requirements include a (empty) database for TeamSpeak to use* c& Z. A" x" w* b' X& l
  8. and a user account (username + password) that has the permissions to do stuff
    # O4 S# v$ n8 M$ ~8 r
  9. with the database. Additionally, you will need a vendor library installed on the6 n5 o2 [2 h3 p
  10. local machine, this came with my MySQL install.- e9 o  e8 w3 x
  11. These instructions will not tell you how you might transfer your data from the; X  c7 {! O7 s$ V% f$ n
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL/ [/ k) }  t. B6 [: |( O0 g# a
  13. database.
    6 @- j# S: x- |% x$ i
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    3 v# y# @: N7 d6 o+ v, l
  15. the time of writing, there are still too many issues - check the current status+ c8 ]1 D8 v1 w- Z7 B1 q7 T
  16. in the TeamSpeak forums if you are interested.
    # @' t% {- F! z
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from+ i" h3 E% J: S& a; @- g! g
  18. Borland was used. This driver can only interface with the client library that
    4 n0 j2 n8 _) S
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ) h$ S+ C2 U2 i2 r1 C' E; ^$ G1 H5 e
  20. client library - basically all you have to do is to use a 3.x client library as 1 f7 k. V' R0 @
  21. "VendorLib" and a 4.x database to connect to.
    4 `, ^' [8 Q/ W
  22. If you need more info about dbExpress, you can contact Borland.0 E2 Q6 |; k% _6 |& t

  23. 0 E2 {0 W6 O. [& s5 m) f4 K
  24. ### Doing the work ###. g3 B6 C$ A3 G* y2 F) X! ^$ z
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all+ q- M7 ]; b) A* u6 N# [
  26. the perquisites right, just open your server.ini file, and add this section at
    # m  d5 W- s/ R+ Y) h
  27. the end:5 F% X0 H$ A' ~$ E' z  _
  28. ---cut here---
    ' C- r2 s* F3 D  T8 C; u. m
  29. [DBEXPRESS]
    ! |1 _% S8 I7 f, H/ ?( e, [
  30. sqldir=mysql_sql# f6 f0 M7 ^" M; W8 e) N
  31. Drivername=mysql
    , _4 @* E/ r% R& a; V
  32. Database=Your_Database_Name_Here
    # `/ h; i( R) n& J
  33. Hostname=The_PC_the_MySQL-Server_is_on, @9 g$ c* Q. n' U! T" u% L
  34. User_name=User_name_on_the_MySQL-Server
    1 x; B( W8 A# I+ C1 U
  35. Password=Password_to_go_with_above_user_name
    1 \  T0 C5 w$ U8 {4 ?
  36. GetDriverFunc=getSQLDriverMYSQL" M4 u3 s5 t% [. l5 q' d
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib8 v4 P% u8 y/ @. N) ?. L
  38. LibraryName=path_to_libsqlmy_libary
    / V& Y" s) N6 I
  39. Active=1
    - q( W& H" B% ?) B7 B& T  o
  40. ---cut here---
    / {) K8 y; o7 G( m; B* X+ z
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ) `# f3 C4 ]' z+ ]! [3 T) Q! C: ]2 k
  42. ---example---) e6 G/ k6 ?' }$ @( s. R
  43. [DBEXPRESS]0 s5 U& E% U- `& Z2 `
  44. sqldir=mysql_sql
    & P% ]. }' M  F2 X
  45. Drivername=mysql* i7 H' u, r0 U
  46. Database=test
    , d, w& [( Y- U
  47. Hostname=localhost
    ' Y( f0 _" ~! ]( o  d; Q/ {
  48. User_name=testuser
    ' N: j3 o) |) ~# o* T3 V
  49. Password=my_password& P2 X2 Z, q& ?+ s
  50. GetDriverFunc=getSQLDriverMYSQL
    . p( N& Y9 _7 ?- O8 v
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0- B) L* R" x, V8 J$ Z
  52. LibraryName=./libsqlmy.so( I. q1 g) B- C' n) p
  53. Active=1" v) B( Y& u% O  O1 g
  54. ---example---) c2 b) E, n: b$ ~$ T4 A; A

  55. * v% V9 E" ?9 j. u* l) ^
  56. On a windows box, also running the MySQL server locally, it would be:% r  z5 V1 ^# e
  57. ---example---
    / \2 p1 J+ B5 E7 L3 |/ O+ {
  58. [DBEXPRESS]0 d; o* _/ ^9 o. ]# k* r8 _
  59. sqldir=mysql_sql5 q  F- L1 R2 l% n/ f9 P; z7 A, n
  60. Drivername=mysql) [' l- j& z1 X' S9 S* s
  61. Database=test
    . m8 F4 D" e0 R) q1 M0 S0 e
  62. Hostname=127.0.0.1
    ; s$ J! @/ ]0 g( s& w! [
  63. User_name=testuser
    # J& ?: A! K1 |7 S/ `, F8 H$ ~; \( \
  64. Password=my_password
    " i! \1 Z) n. {; N
  65. GetDriverFunc=getSQLDriverMYSQL
    + o/ N) D" e+ I! f( ~/ Y
  66. VendorLib=libmysql.dll
    7 u# V# l5 z, i& \& [8 V) a2 z3 h% _
  67. LibraryName=dbexpmysql.dll, h( W" l+ |3 Z5 u7 I
  68. Active=1, p8 o' r& X+ H" t3 Q" b
  69. ---example----$ |. _6 f' Z" h  _/ P: f  b
  70. - written 02.03.04 by pwk.linuxfan; d9 H. @. f$ }1 H& |# f
  71. , z& ]( I' F1 a, t* y2 u. S% n( N. B
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
) k1 a* n4 M4 M2 N, `
  1. : @1 k3 v+ B, ^4 N
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    " T; p4 a# M" |8 e% D' ?
  3. 5 l: |! _2 v4 U+ j/ [
  4. # # #我们所需要# # #
    3 J2 i# |* i- b9 T5 ^3 E! N: G0 a
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    : w' V% S1 e$ V  d( q9 R9 p5 r
  6. 不会解释如何做到这一点-也有文件存在,为
    & n! C* J3 b1 W! ^$ C% g7 q9 G- u  |
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用" r# |1 v1 N! ]) B% D; E, n5 r$ {
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    , L& Y8 s( q4 P
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    6 m8 K6 y3 q; B' X/ l$ c
  10. 本地机器,这是我的MySQL安装。 - \* }/ `/ T& R6 i$ m  n
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从9 n( e3 ?" _" K! E6 M7 [
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    & r* ~) I/ b. T
  13. 数据库。
    & f( r/ c: q( G# l4 d
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在6 `9 n4 W! k9 R
  15. 编写本报告的时候,仍然有太多的问题-检查现状- k* ]; L) Y# o
  16. 在teamspeak论坛,如果你有兴趣。
    ( Y; `% B3 n0 s
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ) m% M- n$ x- q7 G+ ~  U6 ~6 a
  18. Borland公司使用。这个司机只能界面与客户端库9 f' o5 `2 N  I+ P: I: p# B5 @
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ; X( }: K4 s: L" j
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为4 j! |. G: I. F( y8 O
  21. " vendorlib " ,并解数据库连接。 ( R+ r6 j5 W0 a" z  k& o: Q
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    / c8 ~1 m5 L2 o) q8 o: `
  23. 4 s" @! O) @: n0 I0 K+ K
  24. # # #做好工作# # # 9 w! a6 U6 I6 k8 Q5 Q$ P! U( B; Q' s
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都; D9 {& t4 r& ~! o
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在  b) j% U$ B# t5 c2 ~
  27. 结束:
    ! p+ a% f- H7 e7 r- y6 T
  28. ---削减这里---
    " B$ g& u7 d3 v1 e( ?+ o+ M4 B
  29. [ dbexpress ] ; q/ \& E8 g' F/ o9 Q
  30. sqldir = mysql_sql
    5 d, }* P" R9 j' Z
  31. drivername = MySQL中4 u& d% `  ~1 v, o
  32. 数据库= your_database_name_here   V8 z+ g2 A) b) m
  33. 主机= the_pc_the_mysql - server_is_on
    3 F7 E; D' S7 S. g9 i- D7 v
  34. user_name = user_name_on_the_mysql服务器
    0 K# u6 `$ _2 g! t1 v
  35. 密码= password_to_go_with_above_user_name " Y3 e" g; t- |
  36. getdriverfunc = getsqldrivermysql 6 X; g. Z, Y! ?1 W1 h
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    3 q9 t/ L1 c# E7 z8 k& n2 X
  38. libraryname = path_to_libsqlmy_libary
    8 l9 U. {8 j' J7 a, i9 X
  39. 积极= 1 - l& M: E9 a. O- ~+ I
  40. ---削减这里---
    " D, ?# [# h" U! c
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ' W& w0 v$ i0 y4 S2 U  V
  42. ---例如--- ( e3 J$ E% E- J) p  _' o
  43. [ dbexpress ]
    3 W5 m, g0 D7 N
  44. sqldir = mysql_sql ! T" G9 S, k3 S* m1 o% w$ X/ d# w
  45. drivername = MySQL中! n. P- |( l. ^( A. H# p
  46. 数据库=测试5 G# Z, d: R2 l5 f
  47. 主机=本地主机! H+ G5 E" T4 S; L  A
  48. user_name = testuser
    ' o/ f# |4 g! u' q" Q1 }
  49. 密码= my_password ) d  O( H6 {$ u; L  H. `8 g- V
  50. getdriverfunc = getsqldrivermysql
      V/ t: D/ |1 y
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    # @, i' P4 j- L/ z
  52. libraryname =. / libsqlmy.so 8 E. z/ w, W: _+ v
  53. 积极= 1 ! d4 R4 Y" X. E8 L! a% O5 P6 E+ d
  54. ---例如--- 9 k8 [- \* s! M

  55. 3 [/ o3 O- a: W# n4 `2 J' }
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    & B% h4 p/ H  V/ F- l- ?- S
  57. ---例如---
    1 H9 ^; e# u. C  I% \
  58. [ dbexpress ]
    , x- b1 O8 l# {" A
  59. sqldir = mysql_sql * Y# c) T0 r5 }8 a
  60. drivername = MySQL中: q- }# n& N$ L* h+ L3 ?8 P
  61. 数据库=测试" j' n, H) \, c' ^% s
  62. 主机= 127.0.0.1
    ! ^( N! Z0 K8 p3 q: l$ ^* o
  63. user_name = testuser
    3 ~/ _# j' J, t# f# a6 [# {& }' q
  64. 密码= my_password 4 t" Z9 X; X4 u0 U
  65. getdriverfunc = getsqldrivermysql
      a3 b1 v5 [' g4 h! s. N& O
  66. vendorlib = libmysql.dll在
    * c% O' X2 r! N$ n3 a( [- U" `+ ~
  67. libraryname = dbexpmysql.dll 7 R( T# [, ^6 |, g) F  _7 w
  68. 积极= 1
    & L" ^" ^: O! J3 ~0 X: l# q
  69. ---例如---- 5 j2 Z7 @( \$ I- t; G0 Z! ?
  70. -写在0 2.03.04由p wk.linuxfan
    . n: k& y7 O/ Q  X6 D
复制代码
发表于 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
& W8 U. F7 V/ S! ], o* O! l6 R* V0 C2 T0 p6 H- g. ~- l2 j! m/ e
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-19 18:19 , Processed in 0.100791 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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