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

2235 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
0 ~6 |; Z4 N1 W8 l1 V6 [
- Y9 o5 H5 r9 d/ t9 ?, S

  1. # |0 ?) p1 I" M! V% S
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######, x8 o+ U6 r2 C! i& z

  3.   A: F  l6 n6 \
  4. ### What we need ###
    * S( g3 ]. W3 H4 {7 v
  5. Naturally, we will need a MySQL server to store the data for us, this document ; Q8 ^3 k8 R! Q
  6. will not explain how this can be done - there are documents out there for the " [: Z3 k* W2 Y. F
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    $ F' @* t- c, w# z& Z  o
  8. and a user account (username + password) that has the permissions to do stuff
    $ p+ I* ^% N/ f9 ?# Y
  9. with the database. Additionally, you will need a vendor library installed on the
    ; M( q' h* i4 G3 o
  10. local machine, this came with my MySQL install.
    . \6 J* g0 \+ }( A2 `
  11. These instructions will not tell you how you might transfer your data from the
    1 w; Z" X2 l; g; _% R! \
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL$ Q3 O9 s$ U$ R
  13. database.
    # M7 a6 o: m/ K( E% w+ y
  14. Some users have reported ways to import a SQLite database into MySQL, but at6 U- ~& K- U! ^) E# A
  15. the time of writing, there are still too many issues - check the current status
    : u* \1 U  c* H- y  J
  16. in the TeamSpeak forums if you are interested.
    " [' {5 W6 H) p3 q, w8 T
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    * T4 ?/ {2 H0 ]0 a
  18. Borland was used. This driver can only interface with the client library that
    0 E9 a# e1 U. A1 m8 z4 m! k0 _
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this, @+ X* J5 _/ s1 m% b% f$ |4 n
  20. client library - basically all you have to do is to use a 3.x client library as
    $ [" z& j' Q! \% d% b+ ~
  21. "VendorLib" and a 4.x database to connect to.
    * p! p% n5 q: ~/ @& R- f
  22. If you need more info about dbExpress, you can contact Borland.
    7 b) @9 W/ }2 e* z/ q

  23. 7 o" f9 [9 N  P% y) }% d) P
  24. ### Doing the work ###
    + P! q+ q' Y* S6 G7 a/ R; F( u2 S9 r
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all- B) |# l4 h3 d& ~- {
  26. the perquisites right, just open your server.ini file, and add this section at
    7 _! |  G9 r( J( d+ N# j: Y* O2 J
  27. the end:' R. i. |. l9 w
  28. ---cut here---* U4 n; A7 ^; B! O: x& @
  29. [DBEXPRESS]7 O" n: Y/ A' H
  30. sqldir=mysql_sql
    ; N3 C$ C8 v6 L
  31. Drivername=mysql
    6 G/ w* Q8 C5 S. x$ l5 T  X" m
  32. Database=Your_Database_Name_Here
    7 ~: K0 v* f6 g8 y7 e
  33. Hostname=The_PC_the_MySQL-Server_is_on6 ], m( a2 x/ v9 n" L/ ]8 s2 {2 m7 A
  34. User_name=User_name_on_the_MySQL-Server* |  O9 S' a1 @' l# h( o
  35. Password=Password_to_go_with_above_user_name
    1 g/ Y1 M' ], f
  36. GetDriverFunc=getSQLDriverMYSQL
    2 j$ A- {8 n9 m/ s( B. A; V  y; Y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib* ^8 z7 `; `, J4 r% [2 w
  38. LibraryName=path_to_libsqlmy_libary
    8 o9 E! v0 D! z$ {7 |  {0 ]$ B: y- f
  39. Active=1
    $ O  A- k$ R% o  }
  40. ---cut here---
    5 U) D' ~$ m# [6 d: R+ I0 B! J) `) h
  41. In my environment (a linux box with a MySQL server running locally) I have:
    - g0 G7 m. ^1 {0 h0 `. n" C' k
  42. ---example---# A4 z% l' f4 y; D, T0 T
  43. [DBEXPRESS]
    1 N$ `& r+ |& M, G. ]
  44. sqldir=mysql_sql
    1 v: U- P  \& j" a# p& \' L
  45. Drivername=mysql
    7 b$ c! W$ }, Y" a
  46. Database=test
    6 N' N! ]1 d( f! \! d
  47. Hostname=localhost$ S$ x2 u. I, d' H
  48. User_name=testuser" G& v* }  S$ t, ]6 V: D; H
  49. Password=my_password
    8 R) v" Y6 ?  w0 i8 ~& f
  50. GetDriverFunc=getSQLDriverMYSQL
    % I- {& x2 B6 F
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0* \# v# o1 s% `- o6 J6 U1 d$ [& ?! F
  52. LibraryName=./libsqlmy.so2 u9 ?$ m" l) a" k) H. R5 p
  53. Active=1+ G. E. j& e# A
  54. ---example---+ Q0 q7 n  ?  S0 |
  55. 3 O" k1 {" n# f! \. a6 w
  56. On a windows box, also running the MySQL server locally, it would be:
    ; h% G5 P0 W3 _) k; r1 Y0 _
  57. ---example---, e# |+ l2 n, \8 B% I
  58. [DBEXPRESS]- c  }2 X: s+ z2 E  B/ ^
  59. sqldir=mysql_sql1 T+ T: X3 `! B7 {
  60. Drivername=mysql
      E* _1 {! m; J( z! l7 a6 |
  61. Database=test
    7 v2 q6 _# j$ e9 {( ~1 J2 C/ c
  62. Hostname=127.0.0.1( `, E4 ]- ~9 C2 z
  63. User_name=testuser
    5 D5 N+ n* I% ]  ?
  64. Password=my_password
    * n1 d& @& H$ N
  65. GetDriverFunc=getSQLDriverMYSQL
    2 _2 u. C) G- m. E: A$ Y' i) p0 v
  66. VendorLib=libmysql.dll
    $ n% |$ }9 g; y2 ]
  67. LibraryName=dbexpmysql.dll
    , w5 {! L$ N/ Y
  68. Active=1! n" n: T% g# l& g  ]3 K
  69. ---example----
    6 |2 X+ @" s+ J9 }7 [
  70. - written 02.03.04 by pwk.linuxfan9 |8 {/ U; ?  f+ q

  71. ! c+ |+ P5 P0 _" u$ O
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
& I0 F* `: C# n& F. H

  1. 6 D; ?' H6 d( |5 N. ]
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ' @$ @! ^) C, j1 s

  3. 3 d7 y( t2 }4 Z+ [2 B: ?9 [
  4. # # #我们所需要# # #
    ; i9 f+ o  R. T1 y( @( o
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    4 G% k8 h4 O" m) B; H4 K. ^
  6. 不会解释如何做到这一点-也有文件存在,为
    5 z! m. C6 I1 }
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用+ \0 E* h3 h! s8 E4 F
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西7 i$ Z, u- u& P2 n7 K9 S0 I$ j& Y
  9. 随着数据库。此外,你需要一个卖方图书馆安装于- |5 u, V9 R2 ?& d- I' g, s
  10. 本地机器,这是我的MySQL安装。 # K0 G& B! j. n3 t. i: ]
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从3 I2 j( N+ u# ]- o5 P
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    * x: |) Z* x  E
  13. 数据库。 : d, p9 p! D6 }) ]6 c/ _
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在6 a, c/ V: @% X3 b
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    5 `# o6 R) g5 a8 h4 k
  16. 在teamspeak论坛,如果你有兴趣。 3 I4 B! q* f8 z) |
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    . h- |0 R7 q* R# R5 `0 g1 K
  18. Borland公司使用。这个司机只能界面与客户端库
    5 P; f: j! `/ Y$ C
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    # k, R- L/ Z2 U3 p
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为" u3 `7 m0 Z/ n. ^7 a! ?" r0 W
  21. " vendorlib " ,并解数据库连接。 7 K% @0 R, T* e* n) r
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。   A" N) C0 Y- b! h3 u9 d0 W

  23. 1 Z& n5 M$ z7 ~1 ]. T6 ]6 q3 A
  24. # # #做好工作# # #
    1 I3 A1 |' G( h) l
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    0 j/ y/ i7 ~9 G( n
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    * n. Y# G; C  Q# R: p1 v- g- W) K
  27. 结束:
    / G. d, G$ z8 h% D  {- |0 R% T
  28. ---削减这里---
    $ C! l  h' U, X
  29. [ dbexpress ]
    " X4 m+ l# t" B' R# V* |
  30. sqldir = mysql_sql
    , O5 c' |8 g& e* l) }& P5 U+ I& o
  31. drivername = MySQL中
    / U0 z% L* B: z$ z# q( v
  32. 数据库= your_database_name_here 9 J  q& @- Z! _( [; M' Y
  33. 主机= the_pc_the_mysql - server_is_on
    5 O6 |% u$ a" f: {2 x; V/ c
  34. user_name = user_name_on_the_mysql服务器
    + \  J; n( U; w2 k
  35. 密码= password_to_go_with_above_user_name
    - N" o/ A4 s9 q# E  W0 r5 p* @7 q6 @1 W2 h
  36. getdriverfunc = getsqldrivermysql   B8 T2 N+ Y) s$ Q9 @0 ?; _
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    . @( {" c, R3 Y4 f! }  P# O
  38. libraryname = path_to_libsqlmy_libary ) d; C' a, m4 B7 C% x8 k0 M! L" a
  39. 积极= 1
    * I! i6 d4 w4 J1 s, z% s! ~
  40. ---削减这里---
    / B" [" Y: y! ^' u
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    4 X. K7 Y* n) i  q3 d
  42. ---例如---
    # V$ K, A& _- t# C/ F6 |
  43. [ dbexpress ] ) j5 ~8 P6 U$ {5 c/ i/ H5 V/ w
  44. sqldir = mysql_sql
    2 `: Y3 p6 D" P- }. k& O8 D
  45. drivername = MySQL中
    4 T- x1 @% o5 f& L
  46. 数据库=测试
    & o& B2 G1 S) V9 T9 U. d& Y5 X
  47. 主机=本地主机2 s: v& J7 s9 _8 B3 ^& d
  48. user_name = testuser
    # v% m" J1 s8 h* Q* T
  49. 密码= my_password . Z+ l9 w$ z& i" `
  50. getdriverfunc = getsqldrivermysql
    % P* T% E8 d6 n: V, N" ]' u5 v
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 " C: `+ K0 h5 `& \) k7 X4 n
  52. libraryname =. / libsqlmy.so
    8 R( P% F4 {! A  L: x, g. b
  53. 积极= 1
    ) k7 S% \& P$ P. n( q
  54. ---例如---
    ; {( j; Q" [3 ^( J6 b
  55. ! T/ [7 A& [5 T
  56. 对Windows中,也运行MySQL服务器本地的,那就是: - y- U! p2 T: i( r
  57. ---例如--- + G- ]/ l6 u9 L7 F
  58. [ dbexpress ] + `7 M' y/ a! r7 Q
  59. sqldir = mysql_sql
    . Y: {7 U% A* {- e
  60. drivername = MySQL中
    3 a! v2 n" D. \5 @4 Y" c8 c* ?" `
  61. 数据库=测试
    * x: ?! w# v! }) W. Z( L! P4 Q8 b
  62. 主机= 127.0.0.1 ; n4 a# u4 a0 s! C) z9 E' p
  63. user_name = testuser
    6 n; \0 \% g/ ~0 v  k2 _+ G
  64. 密码= my_password
    . Z/ N: R4 Q" ^8 y  l; n; n$ W* L
  65. getdriverfunc = getsqldrivermysql
    4 m4 n7 b7 ?. _; h$ V
  66. vendorlib = libmysql.dll在
    0 X7 G* `; Z4 x9 L: N$ i
  67. libraryname = dbexpmysql.dll
    " e8 F9 i7 \. M; b# c) F" w
  68. 积极= 1
    ( T9 T- y8 M! Z/ K( D
  69. ---例如---- 4 @+ U. |) }  s$ U5 w' Y3 p
  70. -写在0 2.03.04由p wk.linuxfan
    : U( N) [8 a3 c
复制代码
发表于 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' T8 d7 a* V! h# l% i2 |4 Q: z
" A9 a' ^& U# j  F
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-27 06:33 , Processed in 0.105887 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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