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

3209 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan : X4 f9 `6 \. s6 j
( @  E6 h" |+ D7 l0 u
  1. . d& l0 ^8 o: y- |" i/ ]
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    + W7 s% r: t( ~+ N& n3 [: d

  3. 3 H% }& b: h0 ]0 a" K8 l- r
  4. ### What we need ###& O3 ?" z- s: i$ h
  5. Naturally, we will need a MySQL server to store the data for us, this document
    : s! _1 x- ^. p7 V
  6. will not explain how this can be done - there are documents out there for the
    ( h( d& \9 m+ \
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    9 |( o7 X/ V- D: v2 V9 y
  8. and a user account (username + password) that has the permissions to do stuff
    4 N6 [3 f8 I% z) E; o0 _
  9. with the database. Additionally, you will need a vendor library installed on the
    , e" q7 e: ~4 j; u, N
  10. local machine, this came with my MySQL install.; F( [5 m. V, y8 a
  11. These instructions will not tell you how you might transfer your data from the4 t% w: A1 C8 h# u
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL8 T7 m! A' x1 R( i$ n, J) W* X
  13. database.
    # k. O8 f6 h8 h0 [  O
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ! v! L, j9 v* I; t) B" w: U
  15. the time of writing, there are still too many issues - check the current status3 W* U8 O9 D+ h
  16. in the TeamSpeak forums if you are interested.+ H# ~, Z  ~( }2 E  m9 B2 w) ?
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from  m- q1 T/ H, o/ @
  18. Borland was used. This driver can only interface with the client library that
    0 n% Y* f- O9 Q; C0 p
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    8 R' d9 u7 O+ B2 X& p
  20. client library - basically all you have to do is to use a 3.x client library as
    ! c) C  T3 c! k; H$ l
  21. "VendorLib" and a 4.x database to connect to.
    , R1 r) i4 X4 W# J# q
  22. If you need more info about dbExpress, you can contact Borland.8 e* V4 l5 }0 S2 i: U2 b' q

  23. 2 O+ k% q2 `& o
  24. ### Doing the work ###
    + U  @* e% b8 G) U" G
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all) T8 t5 N8 m, i: s
  26. the perquisites right, just open your server.ini file, and add this section at
    ) c7 c3 h( Q! n. }% E4 ^2 p: i
  27. the end:: i8 U% m* F0 |8 t' [
  28. ---cut here---0 j% h+ _5 r, d! z! l% a
  29. [DBEXPRESS]! S" ^5 ?* `) g& u: e- E4 o% I5 h
  30. sqldir=mysql_sql
    , o' p# Z  R! J0 P1 g* o; t
  31. Drivername=mysql' X/ B" ^( D, i
  32. Database=Your_Database_Name_Here
    2 J/ w$ Y# R: [2 m. W; N
  33. Hostname=The_PC_the_MySQL-Server_is_on# ?% X; d! u: j: ]- d; Q6 @
  34. User_name=User_name_on_the_MySQL-Server
    ( ]+ N8 X" R  {- [5 e
  35. Password=Password_to_go_with_above_user_name
    5 J+ P  h6 q) V4 ^6 r1 j" ?; V
  36. GetDriverFunc=getSQLDriverMYSQL
    1 V- L* W, @& t
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib. ~. Z+ [7 r+ N4 v( W
  38. LibraryName=path_to_libsqlmy_libary; x+ {8 y" W7 M, v+ t- n" l# a: x
  39. Active=1
    4 d+ z2 g: S* X1 y1 ?# ]% ^
  40. ---cut here---
    - Y( }7 b; I9 [3 m
  41. In my environment (a linux box with a MySQL server running locally) I have:
    9 \" f' R% Z' N( Q5 k1 B  ~
  42. ---example---* I/ B7 Y" ?3 O# ]% I: Y
  43. [DBEXPRESS]' K7 _5 S( l. w. O' b
  44. sqldir=mysql_sql
    6 `3 S' Y4 w8 l
  45. Drivername=mysql
    & ^9 T! ?" E! D2 n* q' T) P( _& A
  46. Database=test; W: X* y" v' D0 N! r, M
  47. Hostname=localhost7 v+ ?% Z0 l6 J- E& n
  48. User_name=testuser
    & T$ V3 _, j* n: z  a
  49. Password=my_password8 I- A) C, f8 H) f0 _. H1 V
  50. GetDriverFunc=getSQLDriverMYSQL: \- C9 a2 L; K0 {- D1 l5 H
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    7 o6 V- U7 Z4 q$ |8 g
  52. LibraryName=./libsqlmy.so
    ( O3 k# v0 a% k. c, U. `
  53. Active=1+ z* u% o7 Q$ y, j
  54. ---example---/ H" Z6 g& S% _/ o/ G' h7 m

  55. " k( K' q) t1 a% D
  56. On a windows box, also running the MySQL server locally, it would be:
    $ O9 @+ D1 P1 y, D! e
  57. ---example---
    $ u3 l/ N% G/ d+ v: j
  58. [DBEXPRESS]
    . `* `2 t7 l, z+ |
  59. sqldir=mysql_sql- R1 n# V- E! H6 E
  60. Drivername=mysql
    / v$ ?9 H3 _! ~% w. y
  61. Database=test: P4 i6 p. _' q( z
  62. Hostname=127.0.0.1
    ) o  l! o/ u& q9 T/ t
  63. User_name=testuser
    - Y0 }9 W# s* O0 Z' D
  64. Password=my_password
    8 _2 |* w2 w) J& \
  65. GetDriverFunc=getSQLDriverMYSQL9 W$ j8 P7 I3 }( Z8 a+ A
  66. VendorLib=libmysql.dll
    9 t- E: y1 E# k, f4 Q. O( u
  67. LibraryName=dbexpmysql.dll7 b/ L) X( U: f  f! W2 i
  68. Active=1( f- a) z2 @% U+ x4 N
  69. ---example----
    ! G$ g: }7 {: Q% M2 G0 ]
  70. - written 02.03.04 by pwk.linuxfan
    . d/ Z6 g( T' i% k
  71. / ?, M( A/ F$ n0 V( d
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看. Y  B7 Y, Q! Q* z2 J% c. ]9 C2 r

  1. 9 q/ D% M) }0 ?3 S6 }$ M' y6 C1 [
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    , t( a. Y/ ?# S* \, V
  3. 8 m) e0 p0 |8 z0 A
  4. # # #我们所需要# # # ; D! C( Y/ m( X. Z0 E; L
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件7 `; I/ u2 |/ Y3 j
  6. 不会解释如何做到这一点-也有文件存在,为0 O4 u! z0 ]  w  s, S0 J4 e1 S0 a9 b
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用3 Y- k  h9 V6 c; @' N* e& o& h
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    & o- Z6 S  g, y9 f( o
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ' q" s  F7 u# N. `% f7 g( X8 t  }
  10. 本地机器,这是我的MySQL安装。
    ( o' e3 [! y3 n
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ; f$ u& |5 i2 N- T
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL + b, v, x2 F' U
  13. 数据库。 , a; L- |  i. l
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    . g5 Q( j0 v) k9 K6 G
  15. 编写本报告的时候,仍然有太多的问题-检查现状) P( D7 M9 q2 D- {: u' m
  16. 在teamspeak论坛,如果你有兴趣。 , V3 L, q/ k7 }) O& a8 Q
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    + H$ q2 ~: q! D% K
  18. Borland公司使用。这个司机只能界面与客户端库9 g% K6 _1 Z/ f2 D! c
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这2 M  u/ C1 x& m) E' V# `/ c* c
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ; N3 F; i  p" a* F
  21. " vendorlib " ,并解数据库连接。
    8 u8 n- W, n3 r6 C
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 % `+ @9 T! R$ ], o/ F' U0 o

  23. " v" Q8 g& \& L
  24. # # #做好工作# # #
    - Y- A$ o4 e1 I, I
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都! K/ J, Y; ]& Z2 G6 t+ a
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在8 n& r. a1 x% L" a' D
  27. 结束:
    * \& t1 _; Z2 y9 G& L6 X
  28. ---削减这里--- 6 }' j. U8 V% a0 t
  29. [ dbexpress ] 4 V6 b# L; R, u8 M4 m
  30. sqldir = mysql_sql
    9 |1 a/ X# q0 |2 ]0 ~
  31. drivername = MySQL中3 r( ^/ {6 O: \5 N
  32. 数据库= your_database_name_here
    # Q. F& _) e' A; x3 n  ?
  33. 主机= the_pc_the_mysql - server_is_on 2 Y+ L& I( L/ x
  34. user_name = user_name_on_the_mysql服务器7 J5 f4 t# Y4 t8 C
  35. 密码= password_to_go_with_above_user_name 2 f( Y) [8 [1 p
  36. getdriverfunc = getsqldrivermysql - \  Z3 d+ H# a* Q
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib , z& ^' c& C. T' v
  38. libraryname = path_to_libsqlmy_libary ( h, U/ N9 p* l1 [/ M2 H
  39. 积极= 1 . A/ J6 ~' m' Y+ Q! v4 B
  40. ---削减这里---
    7 O/ s0 Q% E5 R
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ' v; R7 F+ {5 B
  42. ---例如---   g& l& |* S) T
  43. [ dbexpress ]
      s6 c' t1 \) ]9 W
  44. sqldir = mysql_sql 8 n( \* b* ~. _* N9 G* F* c
  45. drivername = MySQL中# }0 t) J: X( j- h
  46. 数据库=测试$ T6 X9 V" U' e# w) I
  47. 主机=本地主机( A: H1 k3 }' W" c
  48. user_name = testuser
    0 @3 V/ o5 I" Y3 ?; t  h, Z3 K
  49. 密码= my_password
    6 ]7 k# J5 G# k( z$ Q- u
  50. getdriverfunc = getsqldrivermysql ) G# H4 N  T" V9 {
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    7 ^2 [9 H$ d5 Y/ J+ L% _
  52. libraryname =. / libsqlmy.so 4 L+ I4 k' i  ~+ C- W
  53. 积极= 1
    4 G+ N6 t  t: s" [5 E0 b" U9 S5 L( M
  54. ---例如--- + m. J1 p. o  [) H; v( @

  55. . h4 c3 h0 z/ i, A6 o; [  R
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 5 C" G" y0 Z0 r( ~1 |9 ?
  57. ---例如--- . r; R+ k5 T& r. l* E
  58. [ dbexpress ]
    $ {  O( e1 K; y1 b; u5 d
  59. sqldir = mysql_sql
    ) e, @$ T) ]* }- K5 o; e
  60. drivername = MySQL中0 [/ t" W/ J+ m4 F7 e5 E$ J( \
  61. 数据库=测试
    % ]; h9 J! h& L
  62. 主机= 127.0.0.1
    ( F: |5 a* ~7 V: F; z
  63. user_name = testuser
    / H1 |5 [. J: Y' E. v
  64. 密码= my_password $ g+ o9 C6 f* Q# k( m
  65. getdriverfunc = getsqldrivermysql
    ; [1 l  V* Y3 `4 @
  66. vendorlib = libmysql.dll在
    , V; ^; A5 u5 F0 f/ q
  67. libraryname = dbexpmysql.dll 0 x: s9 Z3 b, i8 i/ Q6 i
  68. 积极= 1
    # X1 J& ~0 a) G' [7 a% L8 T) U
  69. ---例如----
    7 X9 I$ N4 U" @" G4 j0 O
  70. -写在0 2.03.04由p wk.linuxfan3 S+ z' m' |8 n. q
复制代码
发表于 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
* `( G0 @) p, I  K: r
9 k5 G% o! B) fbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-23 05:29 , Processed in 0.091821 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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