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

2595 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
: z! l3 W) n, Q; V4 F+ K% O4 j9 x3 n% @

  1.   m+ W9 K3 l( E% R
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ; M( x! I; V- i/ O4 i

  3. 9 \0 }- \& a0 _. [
  4. ### What we need ###) F6 {$ I8 R* a% X3 `& O: F
  5. Naturally, we will need a MySQL server to store the data for us, this document
    1 G8 ]4 Z% I2 E5 e
  6. will not explain how this can be done - there are documents out there for the 8 G! `! e: Y. f! o6 j
  7. interested. The requirements include a (empty) database for TeamSpeak to use2 w  ^" i3 Z5 u
  8. and a user account (username + password) that has the permissions to do stuff
    / e4 K6 N; C1 x. D: _" q, I
  9. with the database. Additionally, you will need a vendor library installed on the
    6 ?0 c: `1 V$ q+ @! ?5 y
  10. local machine, this came with my MySQL install.! L; ]5 v# M+ f9 y# Q/ s
  11. These instructions will not tell you how you might transfer your data from the
    . g/ _# }, M$ A& h, h1 a+ x5 x% R
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL! ~! t% t% M; u& r
  13. database.* F' P  [0 n2 G* v' c* X
  14. Some users have reported ways to import a SQLite database into MySQL, but at% C0 ]" t2 V( O% I* K5 ?  O
  15. the time of writing, there are still too many issues - check the current status
    # ~6 a, U* t+ p5 J' M9 Y
  16. in the TeamSpeak forums if you are interested.% R7 g  H% A7 @
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from0 q" z) O7 t$ d9 [- m2 Y
  18. Borland was used. This driver can only interface with the client library that
    ( I6 M$ F8 c" |* {) r" P8 G
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this5 ?' l! f! N$ A5 v
  20. client library - basically all you have to do is to use a 3.x client library as , y0 N- v5 f  C6 e0 b6 R9 u+ l( F
  21. "VendorLib" and a 4.x database to connect to.
    ' w. w. I7 j4 |; l4 _" r5 y
  22. If you need more info about dbExpress, you can contact Borland.* b. ^5 {+ Y( b. o

  23. + r+ [2 S6 s, P1 |6 t, q
  24. ### Doing the work ###/ Z: Z4 B- W' I* F
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    - K1 @) O' ^, `7 ?+ t0 ^) ?
  26. the perquisites right, just open your server.ini file, and add this section at
    3 s, V6 N  m1 d) B
  27. the end:. E$ j) F" f) m. y
  28. ---cut here---' T5 ]3 G& U: z" D" \, \! x6 v
  29. [DBEXPRESS]
    2 T9 g# P( [0 y
  30. sqldir=mysql_sql* A$ V" i) s* Q& S/ a3 M! ?' U: s
  31. Drivername=mysql
      I+ d, i/ Q( O: ?1 u
  32. Database=Your_Database_Name_Here
    ; ?- s9 [( z( r9 C4 A6 h
  33. Hostname=The_PC_the_MySQL-Server_is_on, s' Q( }. g$ |4 n% G
  34. User_name=User_name_on_the_MySQL-Server
    9 z+ X5 g! W: q- ], P9 N* M1 I
  35. Password=Password_to_go_with_above_user_name! C( \; U% Q. r) J: N
  36. GetDriverFunc=getSQLDriverMYSQL
    ) O% l: i; X1 b+ l* m' U
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    2 M+ o- e; n# _7 w# \  c! Q
  38. LibraryName=path_to_libsqlmy_libary
    8 K0 Q1 Z/ m3 P- m/ n9 E
  39. Active=1
      g0 ?) x+ [1 ]: g' i
  40. ---cut here---
    : T8 [; f# w# O' b! m/ X$ k8 S" |
  41. In my environment (a linux box with a MySQL server running locally) I have:
    8 a) M* n% J0 z; _' M, l: F: w
  42. ---example---
    ) r: _. b' x) S
  43. [DBEXPRESS]- Z. }  P4 i1 O3 k( _
  44. sqldir=mysql_sql
    * J: c5 A2 t0 D: r1 S- s
  45. Drivername=mysql
    3 l$ ^; ]0 _2 l' X
  46. Database=test
    ; P1 y8 Y" x. e3 j
  47. Hostname=localhost
    4 }, R4 }) ~9 }! z& C* w4 O7 Y3 u* I
  48. User_name=testuser6 F2 `' ?* B/ D
  49. Password=my_password
    * V& t( t1 Q: b2 l8 {% W" E
  50. GetDriverFunc=getSQLDriverMYSQL# Z( {- Z+ j4 T, O7 B
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    3 r+ ]' }: Q" N1 `6 g- u0 j( X
  52. LibraryName=./libsqlmy.so4 z( n/ u( N# T! r; M0 x+ O* N
  53. Active=1
    9 ~7 Y- j% p" u" n
  54. ---example---, @" A* F- [! v. D. i3 S

  55. * J) M) Z( _! S& Q. `3 o$ z
  56. On a windows box, also running the MySQL server locally, it would be:
    5 P$ z& r# y3 {; N
  57. ---example---6 k3 L* v( K) Z2 t. D9 k
  58. [DBEXPRESS]2 L% ?% `6 L/ k- ^' T( j& t0 \- z
  59. sqldir=mysql_sql
    8 Y- a* S/ u$ g8 C+ o7 C# {* h
  60. Drivername=mysql
    5 H5 O0 {6 @9 F, o0 G' i3 |. K& _
  61. Database=test# L6 o# ~- y1 F. {/ \! k3 C0 Q" h
  62. Hostname=127.0.0.1
    1 `$ B* ^7 n% z! b$ Q
  63. User_name=testuser
    7 [. {7 L0 n$ A! k+ d, F4 h% b
  64. Password=my_password
    . W6 E$ A6 L6 a: c+ q, s; Z
  65. GetDriverFunc=getSQLDriverMYSQL" Z# ]  C7 j6 l) F- S
  66. VendorLib=libmysql.dll0 x$ I7 G/ K4 _) h7 s
  67. LibraryName=dbexpmysql.dll
    7 G% f  w! l/ |! o
  68. Active=1/ y* z  _  ^( ~# x0 p: W7 C
  69. ---example----2 K, v: [1 `2 ?: W+ K
  70. - written 02.03.04 by pwk.linuxfan6 U' C+ N3 H1 F

  71. 3 O: v  X; t% i" M* [4 e7 ]
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
2 f; _% w  J. E1 g8 M2 F; E- `! I

  1. 1 ~1 m7 u/ }7 s1 z
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    . t4 z# b8 L9 i* E/ l) P
  3. 2 j5 F. x, j  S+ s7 K
  4. # # #我们所需要# # #
    ) ?* J$ H2 J3 W% Z8 J
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    & D7 `; Y, e1 p! p1 O
  6. 不会解释如何做到这一点-也有文件存在,为. f5 c* h0 I2 S5 s# E$ o9 A4 a1 O* c: N
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    1 C" i' O' P4 E; A* a1 ?5 V
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    " h1 f! ?" K* N$ X! {
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    + F% v6 [) h$ w0 |9 p* \: X
  10. 本地机器,这是我的MySQL安装。
    & ^& G  |' Q; C- k2 s; a: D
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从0 y! X- U6 c, W6 C$ ?
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ! K  o" n; j) q- c( S3 `
  13. 数据库。
    4 M% d: n2 F2 e! Y  N' {( g
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在! M) s7 {9 \% Q4 N
  15. 编写本报告的时候,仍然有太多的问题-检查现状/ K1 B! G& ?' D
  16. 在teamspeak论坛,如果你有兴趣。 " Y: w% G. ]2 u: l9 e
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    : h" _* z& b! j: G" ~4 `% _4 ^
  18. Borland公司使用。这个司机只能界面与客户端库
    7 y9 g5 E- a  V! H; c2 x6 }
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    . M/ S' Z8 r" r/ ]
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    7 e- O4 S  @1 H  [! ~
  21. " vendorlib " ,并解数据库连接。
    0 y8 R9 a( F: L" T- F. W
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ' n4 f0 w2 p: W& E! a" Z
  23. $ |0 m3 ?+ Y2 O5 D# X
  24. # # #做好工作# # #
    : i, R4 E0 @2 [- n& j% m
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都2 W; z+ Y5 O; F' a
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在/ _) W9 i9 O0 Y, O2 O  N! M' ?' q! J: q
  27. 结束:
    3 S0 Z7 R4 Y3 t
  28. ---削减这里---
    6 g  s* \- M; h( F
  29. [ dbexpress ]
    % m4 T& l& ?% X; m! n2 M% \
  30. sqldir = mysql_sql ; v; T  p( Q1 F
  31. drivername = MySQL中" I' @! V, U- I; b
  32. 数据库= your_database_name_here 3 h8 Z5 }. M3 V6 g7 j& \
  33. 主机= the_pc_the_mysql - server_is_on ; e. N& J% m' ~, u2 F8 S
  34. user_name = user_name_on_the_mysql服务器
    0 N0 V0 [9 g% e& e" ]7 u$ ]
  35. 密码= password_to_go_with_above_user_name - `( D9 G4 Y6 ]! ?) W6 f
  36. getdriverfunc = getsqldrivermysql
    $ ]4 H+ S! S, }3 q; l
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    6 K9 c, h, [, y7 V/ m
  38. libraryname = path_to_libsqlmy_libary - F3 F  E$ N1 J) H4 \2 C
  39. 积极= 1
    ( b7 M/ p- [2 w0 \+ W
  40. ---削减这里---
    $ X' u4 m  O; w$ ?5 _! P
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ; _; a7 P4 C. |
  42. ---例如--- # |7 d0 s# [4 O! ^: t
  43. [ dbexpress ] 2 O+ Q% |; h( J
  44. sqldir = mysql_sql 0 i6 n, b6 F; s( Y
  45. drivername = MySQL中0 @. H6 g5 o$ n) U9 v1 A5 [) V6 y
  46. 数据库=测试3 i0 L& x: S9 A& H! M- J* G
  47. 主机=本地主机
    . n* z: F. v. }% q
  48. user_name = testuser
    5 P4 S6 c. D( M3 ^- B
  49. 密码= my_password ! b, K& W& h3 _' g% w7 F
  50. getdriverfunc = getsqldrivermysql 8 W" D& I1 U$ j1 ]2 d6 N
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ( H' V  j# L9 y" i( H/ r
  52. libraryname =. / libsqlmy.so
    1 i0 g3 C1 _0 V9 ~0 I5 N
  53. 积极= 1
    * g% B, i3 C& h
  54. ---例如--- $ f: ?4 ^" [9 k' d! m

  55. # q6 \; p- T. |2 |4 Q
  56. 对Windows中,也运行MySQL服务器本地的,那就是: $ n2 V  n! \# ?: |5 b
  57. ---例如---
    2 l( @! ^. {$ k3 f
  58. [ dbexpress ]
    , o; e( J' m8 a
  59. sqldir = mysql_sql 9 N% h7 e! x' v) p/ f3 O
  60. drivername = MySQL中7 [) I$ [4 c% c! d8 L
  61. 数据库=测试
    . e7 l- ~# A- V8 Z
  62. 主机= 127.0.0.1 2 ?( U% n. X+ f: p
  63. user_name = testuser
    5 j- E$ q: H; y4 J% u) `$ m
  64. 密码= my_password
    + ~" f: \( A& q5 a9 H- A& m
  65. getdriverfunc = getsqldrivermysql : m, @1 m! Q" b$ y5 U* h' T5 G
  66. vendorlib = libmysql.dll在
    ( W, I2 a1 o: L5 `. J
  67. libraryname = dbexpmysql.dll + O5 M+ }# X% A6 q7 [8 ]9 E- m
  68. 积极= 1 0 T2 R% f) D2 R2 I  F% j8 ^/ O
  69. ---例如----
    2 X4 ~& H7 _2 C: X. g
  70. -写在0 2.03.04由p wk.linuxfan6 J$ T( `# ^' m* W
复制代码
发表于 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
; n5 v- u, c6 q6 A& ]. J
5 @9 o, L7 x* ebut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-8 19:09 , Processed in 0.107569 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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