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

3564 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 0 A# r4 @; \3 X3 {# V) V6 z6 a$ T, \

  ?& u8 p7 p  K% E; u& U! U3 r

  1. ) y  t# }/ u# Z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    6 w, U1 o7 B/ ]* [

  3. ' m) k. _6 _9 _$ [+ l
  4. ### What we need ###- o5 G3 O" @8 ^5 ]
  5. Naturally, we will need a MySQL server to store the data for us, this document % p( g9 S' ?& H7 n  y
  6. will not explain how this can be done - there are documents out there for the
      o; A3 @, I! K$ C7 l
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    " h7 v- |  M9 G8 f/ m
  8. and a user account (username + password) that has the permissions to do stuff
    / U* C# Z$ p7 \$ m& V/ F# J0 J
  9. with the database. Additionally, you will need a vendor library installed on the, g. S% n- I/ E0 ?' ?% p
  10. local machine, this came with my MySQL install.+ d  o: }/ |9 J0 [( w' X
  11. These instructions will not tell you how you might transfer your data from the5 F' Z7 i; t; P7 x4 }  o
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL0 B: t, H9 w3 Q. s6 o2 j/ V/ h
  13. database.
    9 {  M, N1 x% E* K% h) k: L! Q: H
  14. Some users have reported ways to import a SQLite database into MySQL, but at! m! l- V! Q, T) w/ ?$ M
  15. the time of writing, there are still too many issues - check the current status
    $ Z6 j7 Y8 w) a5 [) x
  16. in the TeamSpeak forums if you are interested.0 a8 p+ Q) q( P7 M; v
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from) ]! c) e8 Z. H- _; F
  18. Borland was used. This driver can only interface with the client library that
    - I' S) K) S) e) x* M& A
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ' V# b$ H6 T9 ]0 p/ w, P6 V/ V
  20. client library - basically all you have to do is to use a 3.x client library as
    & P% T( f8 e* A) ~5 Y: Y
  21. "VendorLib" and a 4.x database to connect to.. i. I2 d! p4 g/ ~
  22. If you need more info about dbExpress, you can contact Borland.
      [" o) ]7 Y8 y( E) y  F9 t  g

  23. / g% s0 ]+ L' ~
  24. ### Doing the work ###1 `/ f2 d' b# c1 L
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ! y$ x) [% c2 R2 s: u% w
  26. the perquisites right, just open your server.ini file, and add this section at0 _. S; z% Y% b( z5 c' F
  27. the end:
    9 ?6 p) t: u' m- k" C2 Z* Q: t' J
  28. ---cut here---) [" m0 H2 _$ a7 b$ a; u  s
  29. [DBEXPRESS]
    1 T5 x. f$ T6 z% r/ N8 V2 M
  30. sqldir=mysql_sql/ l* a4 k( N, E
  31. Drivername=mysql
    1 H8 l. X2 |. ]: V/ C2 f& D
  32. Database=Your_Database_Name_Here7 z5 p1 V! G' g: B
  33. Hostname=The_PC_the_MySQL-Server_is_on
    + o' T7 S* M* ?/ |/ B
  34. User_name=User_name_on_the_MySQL-Server
    / N* y  R3 U; U; ~4 j5 d" S2 ~( U
  35. Password=Password_to_go_with_above_user_name
    9 Y' @7 ^/ h6 [# q7 ~9 q& V
  36. GetDriverFunc=getSQLDriverMYSQL5 F! q4 p. I4 M7 a  V% ^- x- u, v7 |* y: z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib  N# Y% X% c7 {/ V; M8 ?( _
  38. LibraryName=path_to_libsqlmy_libary1 s  a" f% d$ k$ u* F  Q
  39. Active=1& i& B# v% M. d& D) l$ h0 q+ S& _$ t
  40. ---cut here---* _4 y, j8 p$ g2 P
  41. In my environment (a linux box with a MySQL server running locally) I have:" ?( J. h; l0 C! m: h; N
  42. ---example---$ ~0 S6 ?. T3 G$ P
  43. [DBEXPRESS]/ X" L7 \$ u2 ~8 F6 H
  44. sqldir=mysql_sql
    ) `6 Z: y+ I# J' U9 K
  45. Drivername=mysql
    + l  {) Q( `2 Y0 T8 w0 F* q
  46. Database=test
    8 B+ ]- X8 h8 p. e; i( A
  47. Hostname=localhost8 [8 |$ I+ {- t1 F5 Q+ g0 D& A
  48. User_name=testuser8 k: w0 r" B; Q4 c% M) V
  49. Password=my_password
    + R& l) T. h% _* i! p# |
  50. GetDriverFunc=getSQLDriverMYSQL* u# G! p7 B1 i6 `" O: ?
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0* m( R$ z. a  @4 U8 k% ^; x6 q
  52. LibraryName=./libsqlmy.so
    0 m! u8 m$ v% C1 x2 j
  53. Active=1
    : L) g/ \1 _; m8 T$ Y- I* ]
  54. ---example---
    : \% h( N1 I" [: y- |
  55. + Y+ Z# p* ?& U) |% ]6 ~* r4 ~
  56. On a windows box, also running the MySQL server locally, it would be:: R4 _& ^# c+ J8 I9 x) l( d
  57. ---example---/ D0 W! I6 b; j  k$ A! q% S
  58. [DBEXPRESS]
    " o& e% s; {, A
  59. sqldir=mysql_sql$ U8 }& F) F' d% L, U
  60. Drivername=mysql% e! a8 y& r& Z' O( J4 f4 y6 E
  61. Database=test/ K4 j, r! N% k
  62. Hostname=127.0.0.1
    8 K# F) I7 _& E6 y8 _$ O& }
  63. User_name=testuser
    / G' q/ |7 i/ u4 D' O. u9 }
  64. Password=my_password
      f3 C" j4 C/ j
  65. GetDriverFunc=getSQLDriverMYSQL# T- S& U: E% [2 t" U" A, {
  66. VendorLib=libmysql.dll; L5 k- J* @9 K$ Z& I+ [
  67. LibraryName=dbexpmysql.dll
    0 r% c" r; Z+ \  g  M
  68. Active=1- h% s; j8 P/ I0 A
  69. ---example----" z3 m8 t; s1 w9 t* w
  70. - written 02.03.04 by pwk.linuxfan9 }0 N% p- I9 C5 z, g! w* d8 p; H* j+ Y
  71. ; r0 ^. H+ L$ Y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
9 {" |  R) l+ W$ u6 C1 [2 Q/ H% h

  1. $ D7 ]& i: D, t, H2 D" D8 a9 {+ h
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ; C  w' N( [1 `! n+ C) s

  3. - Z- p. L% Y7 @) X  c
  4. # # #我们所需要# # # 3 @& u  ?6 f) b: _  v8 h
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件% p/ T& C+ i" V  a* a5 b0 `" o( X5 \
  6. 不会解释如何做到这一点-也有文件存在,为
    , i- b7 K6 T8 h" c* m
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    9 C+ L; F5 c" D
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西, a/ ~9 Z: j2 k! E0 u# s) T, l
  9. 随着数据库。此外,你需要一个卖方图书馆安装于- _  V7 D( y% T8 j2 |* m9 r* |9 p9 `
  10. 本地机器,这是我的MySQL安装。 ) I! {7 B4 |6 W
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从& z& k, p& P1 F" Q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 5 f8 o$ J! d4 R& d% e" ?/ b
  13. 数据库。
    ! W! ~3 G: ^" E, S
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    # b: _! B  c4 h- Q) p0 z
  15. 编写本报告的时候,仍然有太多的问题-检查现状  t- A5 Z! I0 E, M; Y$ I5 h
  16. 在teamspeak论坛,如果你有兴趣。 & U5 i0 r5 d( P0 X
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机1 Z1 n! A$ Y; O6 }" A. y; u
  18. Borland公司使用。这个司机只能界面与客户端库
    , D8 G+ \4 Z2 w* V$ |
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这4 Z9 R) o  r. y' A- b
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    + p0 k& S- `# w& x7 k9 }
  21. " vendorlib " ,并解数据库连接。 ' O. T* q. K6 F: v; _" m- l
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    $ V  R6 n0 n( g6 m( V. G0 s) F
  23. ; G2 Y( w2 `( H# M9 s( n# {
  24. # # #做好工作# # # - g( ~3 [  C+ ^; U3 y9 J7 j) n
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都% z! i* E! z# W0 A9 J% K
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    0 H7 e' v( l% x# L
  27. 结束: : v1 @9 c3 B0 S8 r
  28. ---削减这里---
    ' V# a" ]/ f* o) H
  29. [ dbexpress ] 8 P3 z* t3 f3 E9 x, u4 x
  30. sqldir = mysql_sql
    ! o3 E& ?% v1 i. e4 H6 ?6 z
  31. drivername = MySQL中
    8 f3 y9 S* v% z9 d' A+ X
  32. 数据库= your_database_name_here & V: c, O# j9 E
  33. 主机= the_pc_the_mysql - server_is_on , r# T' Y& U; Y% F
  34. user_name = user_name_on_the_mysql服务器4 `, w  P' {: U: D3 K& f
  35. 密码= password_to_go_with_above_user_name
    2 D! U) E! Q+ Z6 \( W, u- p4 e) g
  36. getdriverfunc = getsqldrivermysql 9 R# a8 s+ V0 a2 ]- U% j1 \
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    9 z2 Y" _9 |5 M" d
  38. libraryname = path_to_libsqlmy_libary * r( \5 l" u: v# ^+ r% T
  39. 积极= 1 ) h2 `4 C- D9 H4 |) e
  40. ---削减这里---
    : P* Z8 r# M! y& \! |+ S. l
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ( ?1 Y3 b, u  O8 w1 a( g
  42. ---例如--- 1 b# V- L2 B6 c, w8 k# {- [) n7 O" X5 P
  43. [ dbexpress ] , w" a) I. k9 {% _$ n: M
  44. sqldir = mysql_sql
      X0 T3 V) x: _+ h, l& [! }
  45. drivername = MySQL中/ y/ P8 h- R/ `1 f
  46. 数据库=测试
    4 G. f% N& z  j  X* A; A
  47. 主机=本地主机
    1 j8 `- q4 y0 C& h: N0 n$ B
  48. user_name = testuser 3 S" _0 {" e8 g/ X
  49. 密码= my_password
    " Q! F- S7 D! v- U/ T" c/ C0 z
  50. getdriverfunc = getsqldrivermysql
    6 p. @$ O. @' V( O; q
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    9 s& ^, X1 l7 X" d1 @8 q% n0 b6 ~
  52. libraryname =. / libsqlmy.so + _# E' }" S) \2 {* Y
  53. 积极= 1
    0 J- a. I9 K  o2 [
  54. ---例如---
    , w: n+ _' e; x; F. e

  55. ; Z; C- W0 ~8 q, _* h
  56. 对Windows中,也运行MySQL服务器本地的,那就是: - D" Y& k- ?9 k0 p* z; S
  57. ---例如---
    $ `4 F9 n9 p. S3 `9 [: j% V8 G, X
  58. [ dbexpress ]
    4 G. D4 L# K" F7 l' J
  59. sqldir = mysql_sql
    * L* A( G/ |& P; [4 Z
  60. drivername = MySQL中
    0 Y+ |' n5 G7 `2 g* p3 a; h# k
  61. 数据库=测试& u0 K( {9 U( k9 j  q& d
  62. 主机= 127.0.0.1
    6 L- ?7 D7 N# d7 s8 K; X
  63. user_name = testuser
    " N. q- ]: h3 J! {) k: J: v9 ^
  64. 密码= my_password
    & F' ?3 y8 ?( T& v# {
  65. getdriverfunc = getsqldrivermysql
    ( d" e' b0 V9 M* w! P
  66. vendorlib = libmysql.dll在
    + S, j4 l! r2 I/ I: {, s
  67. libraryname = dbexpmysql.dll
    * ]/ n( ~1 l- U# f
  68. 积极= 1
    & s; j0 G/ N: b
  69. ---例如----
    ( g4 z+ {" a4 ^: C
  70. -写在0 2.03.04由p wk.linuxfan
    / |5 I0 s5 J( i3 N% Q% |- @, i
复制代码
发表于 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
5 n. U% [4 C8 u. p( Y8 D3 i; i  b' K: v# k% a
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-25 21:24 , Processed in 0.057461 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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