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

3389 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan - o. U2 z2 ?/ D4 z

$ ?2 \7 G, b7 T

  1. 0 K$ L8 d( m5 c$ T& w6 C  Z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    8 v& N) D/ a6 U7 w+ J6 c1 j

  3. 7 L! q- ]( f* A9 h3 G
  4. ### What we need ###% K$ @% o/ ?# K0 w
  5. Naturally, we will need a MySQL server to store the data for us, this document & Z4 p$ h, L) ]" Z+ z0 j* d
  6. will not explain how this can be done - there are documents out there for the
    * o: w/ J7 s7 }$ z( u
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    7 C( W) Z8 p) Q
  8. and a user account (username + password) that has the permissions to do stuff
    0 v6 f" ~2 s0 b6 {% H1 `# G& z
  9. with the database. Additionally, you will need a vendor library installed on the" G0 F. I. ^! R. z8 [9 w# I( G
  10. local machine, this came with my MySQL install.4 E; g# a4 b$ w& r6 b( P0 e. w( h
  11. These instructions will not tell you how you might transfer your data from the' r" X. x; F6 P& {3 d
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    7 E4 C& a+ U$ }
  13. database.+ A7 e4 v$ }7 c7 I+ L; ], [$ G' C+ \
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ! k8 @/ Q0 @$ |: @& X
  15. the time of writing, there are still too many issues - check the current status3 I2 o1 n9 G1 T& b% ~3 B! v
  16. in the TeamSpeak forums if you are interested.
    2 ^8 p" f2 B) K+ n5 F
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    9 z& x6 ^$ n# W; z6 ^$ K6 p. t, m
  18. Borland was used. This driver can only interface with the client library that
    6 O5 R5 L7 u7 M& o! \
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    8 U, e2 k* n1 B) n$ S; Z# b
  20. client library - basically all you have to do is to use a 3.x client library as
    5 Q9 `, h( |8 ]8 C9 `: S  s) J
  21. "VendorLib" and a 4.x database to connect to.1 f; ?" e; N* o0 {3 `6 O
  22. If you need more info about dbExpress, you can contact Borland., w2 t" e' C4 y; w* H' T

  23. - E4 \) ]3 ], w& Z, [3 s6 R/ P
  24. ### Doing the work ###% W& F- O3 J. b
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    6 }0 f$ `, Y9 Z9 K1 V- u6 ]3 Z# E
  26. the perquisites right, just open your server.ini file, and add this section at
    7 T# K; ~" q2 G0 D& g3 S
  27. the end:
    9 _8 a# R5 J& `. b" l
  28. ---cut here---5 c; c7 K2 A+ m7 |6 ]' `" l
  29. [DBEXPRESS]# v5 n/ r9 M6 I
  30. sqldir=mysql_sql
    0 }$ @/ l, m4 A8 T
  31. Drivername=mysql
    ) ^/ `3 \% b, j( |4 m  E6 w
  32. Database=Your_Database_Name_Here& q  G1 |( r: c- @/ _
  33. Hostname=The_PC_the_MySQL-Server_is_on- r( W3 e5 e4 ~* b3 V$ P
  34. User_name=User_name_on_the_MySQL-Server' {3 Y: j8 L5 H) ?
  35. Password=Password_to_go_with_above_user_name- L1 d3 J: {: N& \
  36. GetDriverFunc=getSQLDriverMYSQL
    & s- m$ o/ r* f+ _, E$ x; V
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    4 b: w; ~: c$ R8 v% u5 a0 B# B
  38. LibraryName=path_to_libsqlmy_libary
    % t3 q% r) R6 V! w. s% b8 B" [
  39. Active=17 A: `1 K: _# _, Q; X
  40. ---cut here---/ R. Q' r* D' w# m: c
  41. In my environment (a linux box with a MySQL server running locally) I have:' u$ i' n: W4 n2 b0 Q; v* s
  42. ---example---
    " Q3 y/ d% q  y6 ^
  43. [DBEXPRESS]$ g. M( G0 W- R! j
  44. sqldir=mysql_sql
    ) e  Q. L! ]/ x5 j
  45. Drivername=mysql4 B) x6 @1 I1 q5 x# j
  46. Database=test( U2 Y" l# j0 m, O0 c
  47. Hostname=localhost: K/ g+ ]6 j$ S: q
  48. User_name=testuser
    ; `2 i1 G! i$ a+ F) L; @5 ~6 L
  49. Password=my_password
    6 A- u% b* B- X' Z5 z
  50. GetDriverFunc=getSQLDriverMYSQL
    , o+ f& r7 y: p+ Y4 i
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ; m/ D: p2 g% u4 j5 L$ R
  52. LibraryName=./libsqlmy.so
    " T. w( ]- [+ z& p3 m
  53. Active=1% m. r4 J4 W5 u/ a! W$ ]- e7 q
  54. ---example---
    5 Q6 I0 g) x% l* N
  55. ! P- E( E* C1 \  R! J# |
  56. On a windows box, also running the MySQL server locally, it would be:
    + k  P1 B9 ~7 J9 e8 J* V
  57. ---example---
    4 ?/ P! ?# p. o/ N  |! o1 e
  58. [DBEXPRESS]
    5 ?9 A! X) q: |+ _- Q" W
  59. sqldir=mysql_sql! p- j  n" g) q2 E2 W
  60. Drivername=mysql
    7 l5 |9 J8 o. \4 [: G5 D+ ^
  61. Database=test: x0 ^, Z4 i( R4 f8 H
  62. Hostname=127.0.0.1
    ) W8 |$ X8 P( G. q" I8 o
  63. User_name=testuser
    ) d7 i3 P2 x3 }6 F1 Y/ r8 t  R
  64. Password=my_password
    2 X& l6 d3 _7 ?9 }* G9 R
  65. GetDriverFunc=getSQLDriverMYSQL
    , Z; ^) s* O2 S6 \  |
  66. VendorLib=libmysql.dll5 |0 U. q5 ~/ i1 Q& j
  67. LibraryName=dbexpmysql.dll! d4 {/ M+ A5 d
  68. Active=1
    ! Q+ S0 d; ~- v; v
  69. ---example----
    9 D  D) ?  E9 k/ X
  70. - written 02.03.04 by pwk.linuxfan, O0 m/ m$ c/ x

  71.   R; k& w0 }4 b4 c; _( z
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看( J, |! O6 h# s! q* j
  1. * v3 W$ c( d9 {1 H
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ' j8 ^& c% ?; J' Q( V: B
  3. + H3 J: ~4 [7 G( m4 L8 ]' w
  4. # # #我们所需要# # # 5 [+ |3 t) m( X8 n# @, F3 A) N" [
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件6 J( u! p& s1 `4 R3 D! q* [4 q
  6. 不会解释如何做到这一点-也有文件存在,为% u" K) H" N* v/ m
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    . h+ H$ F( z( K3 y* P, d
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ( c" m" S7 v! B9 r  J* f; G3 t$ S( F+ n9 @
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    8 M7 A' E; M, T8 ?
  10. 本地机器,这是我的MySQL安装。
    % _. A% j. j: k9 a( i
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    % b6 Z, {2 H0 [) y
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    * G; o, X% t3 Z9 e2 c
  13. 数据库。 ) Z- @- Y6 [4 h% e& T- P% k# O5 r3 V
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在, ~. F  h7 B, O, D
  15. 编写本报告的时候,仍然有太多的问题-检查现状/ l  g/ ^; L* k% o" v  G& I4 {
  16. 在teamspeak论坛,如果你有兴趣。
    % x) U: H) W* u* @
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机0 `0 J8 o3 Q9 G* w' G8 H
  18. Borland公司使用。这个司机只能界面与客户端库' o: I- H& Y) c- ?
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
      [( i1 v: B; n; |- N( e8 i0 C# S
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为4 I. P/ _( l# V& S; v* g- i
  21. " vendorlib " ,并解数据库连接。
    7 c9 o3 M5 W8 y3 Y
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 5 `" S+ ]8 S, |% |
  23. 1 }9 B  r+ O/ A
  24. # # #做好工作# # # * V( Z# t: A- r6 H# T
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都* W/ q8 X1 H: i5 y7 r) ?# a
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    # q" o. y) u7 I- f' z- P8 s0 U
  27. 结束: ' i. c# Y( j5 D+ ~* r
  28. ---削减这里---
    " {0 c( q& Z; h
  29. [ dbexpress ]
    , r" v6 f3 u# r# R, X& V, }' h: \
  30. sqldir = mysql_sql & i' ]+ `9 ?# r! E- a3 G2 Z
  31. drivername = MySQL中) S/ [6 G! r3 P& h1 N
  32. 数据库= your_database_name_here 8 b4 I, ^: _+ h/ S1 ]0 z# W
  33. 主机= the_pc_the_mysql - server_is_on - L0 V) r; y6 d. {* ?7 Y" N
  34. user_name = user_name_on_the_mysql服务器; V* X, F' G3 D. Z* R. I
  35. 密码= password_to_go_with_above_user_name : e" U% d3 j6 M: `
  36. getdriverfunc = getsqldrivermysql + i1 q; i" ]4 B! I; r' V
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib / D- Z" P( c8 ]* Z% k7 I3 t
  38. libraryname = path_to_libsqlmy_libary
    : j  {4 O* q7 q
  39. 积极= 1 * w- r0 b! u! E7 ~) [
  40. ---削减这里---
    % D1 Y) O5 L9 V: Z5 f: H4 g) D9 K
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: , [7 R/ I$ f+ F& p# C- L- J$ k
  42. ---例如---
    " I. @# E( w# h3 u; E) H, M
  43. [ dbexpress ] # i' u! i, f3 _' `7 |. Q8 u
  44. sqldir = mysql_sql
    , T& f% @6 P( D
  45. drivername = MySQL中5 x8 a6 X2 x6 i# s" Z4 E( ^
  46. 数据库=测试& ]: a4 I7 J9 Z3 C# J8 K$ [
  47. 主机=本地主机
    2 i) O. i; K8 C- w  n! W
  48. user_name = testuser 9 U1 w- ~. e+ J+ A1 k6 t
  49. 密码= my_password 0 I, n! s/ d4 e+ i& \
  50. getdriverfunc = getsqldrivermysql , t9 I, s8 [6 J) k" ?4 ?
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    . u+ {& r6 Y' V! @/ L
  52. libraryname =. / libsqlmy.so - N- b8 |4 D' n3 {' ]
  53. 积极= 1
    ( R, \7 A& C' G. P
  54. ---例如--- 8 D2 e7 i& L6 _* T# Y' Q6 V' H
  55. % L. ?) o* y# t
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 4 u8 p5 v$ t4 k( u
  57. ---例如--- + E: V+ @) ]1 [/ L; l! G
  58. [ dbexpress ] 4 O% W: s3 w  A6 U7 P0 q
  59. sqldir = mysql_sql
    8 S+ |( K( V' J$ M6 v
  60. drivername = MySQL中! o" n# {) b6 v8 _1 N% E- ~" x
  61. 数据库=测试" a6 S9 L3 x  P6 s
  62. 主机= 127.0.0.1
    ) n' {0 V  Z4 H& }6 u
  63. user_name = testuser 7 {' y5 H0 a$ @
  64. 密码= my_password
    8 o& h$ l' t" ?& M2 F
  65. getdriverfunc = getsqldrivermysql 6 p/ {3 y5 j; w, k: k- _
  66. vendorlib = libmysql.dll在, u: `: F5 m. U& M
  67. libraryname = dbexpmysql.dll
    4 M. D. Q8 b4 O1 z8 d
  68. 积极= 1
    ; |' S( f/ ~: L9 A
  69. ---例如---- & k* X: O  ^: k, b' |
  70. -写在0 2.03.04由p wk.linuxfan, R- l/ s) s9 }. }: @
复制代码
发表于 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+ Z- ]- E) s. r" L; c5 J; V

3 t3 X: |1 e$ P% H& j! F  Nbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-25 02:36 , Processed in 0.093658 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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