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

3263 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
  u0 ?0 d: V! z
1 m' r3 @1 I8 O# C/ y

  1. + Y0 I' j( ~( u5 \% b+ p2 ~
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######* [2 }  l) f) G1 l, _( L" ^
  3. " y  u0 e' S% |3 Z
  4. ### What we need ###
    9 |% k1 \% o+ U1 F5 ]7 c
  5. Naturally, we will need a MySQL server to store the data for us, this document 0 `3 `- r) c: d: c2 b' a) d5 k6 |
  6. will not explain how this can be done - there are documents out there for the
    1 }' R6 X* w6 `- j0 v
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ' o+ C% J+ _4 a# q7 {* L. I' o
  8. and a user account (username + password) that has the permissions to do stuff0 c) n6 A1 z3 ~7 V% l
  9. with the database. Additionally, you will need a vendor library installed on the
    0 w: p  I) m* M
  10. local machine, this came with my MySQL install.* L# T7 z4 c2 z. |+ O
  11. These instructions will not tell you how you might transfer your data from the5 j+ U& x: v$ r9 ~
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    + |8 }6 a1 d8 y5 K0 u0 p
  13. database.
    : l! ~. V' J. }
  14. Some users have reported ways to import a SQLite database into MySQL, but at$ t! S5 e. x2 n& f
  15. the time of writing, there are still too many issues - check the current status
    % I7 k, ]: ?! p+ i# f6 d$ d- H& P
  16. in the TeamSpeak forums if you are interested.8 @7 }- t5 w8 T+ e
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    1 J5 h( \4 C9 w- A4 Y7 o
  18. Borland was used. This driver can only interface with the client library that
    - p, G0 [3 J* D- D( z" h
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this  \: ?! g: A* m4 W: P
  20. client library - basically all you have to do is to use a 3.x client library as 5 ^& q* {2 H3 m- A5 S/ x
  21. "VendorLib" and a 4.x database to connect to.' a* R, o8 W- d( o/ V# q
  22. If you need more info about dbExpress, you can contact Borland.6 x9 {# y" P$ o; n

  23. ( M% n+ R' d0 n' q) H9 i
  24. ### Doing the work ###
    4 K2 B, W+ a3 z: w, ]# m
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    : [  \. B7 l9 q/ L, @4 ]
  26. the perquisites right, just open your server.ini file, and add this section at$ S- V0 M6 B( Q+ l) ?
  27. the end:/ D/ A  f6 a8 R7 f
  28. ---cut here---7 Y" Z" J- v: v0 H& F4 Q
  29. [DBEXPRESS]
    + \1 D  F# p8 C3 C
  30. sqldir=mysql_sql
    ( i! d7 a5 a; E. F7 I
  31. Drivername=mysql
    ; E) t6 M  y" e9 _1 T& c
  32. Database=Your_Database_Name_Here% _7 g% o6 @( |5 R& S. z- o
  33. Hostname=The_PC_the_MySQL-Server_is_on
    5 N: r9 ]2 n4 ]* v/ |
  34. User_name=User_name_on_the_MySQL-Server
    " j( o2 O0 c* I4 t: O; R
  35. Password=Password_to_go_with_above_user_name
    6 [8 b8 z, ?! l, X
  36. GetDriverFunc=getSQLDriverMYSQL
    9 L0 N' ~, s# J
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib) C% o1 L. r' l4 M3 K
  38. LibraryName=path_to_libsqlmy_libary
    ' I/ L; ^/ d6 ^9 u
  39. Active=1
    / m  `4 e& z, r' @5 R" d: W! n. d  E
  40. ---cut here---
    " ]6 v5 b& B# M5 G: P; T0 ?
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ) V+ o4 `5 B( ]3 ^1 d9 ^. B) E
  42. ---example---
    0 x2 o1 T' [. c% u
  43. [DBEXPRESS]
    7 g6 W5 A$ L0 K" [+ B  N
  44. sqldir=mysql_sql
    $ ]' D) W( h  I' f9 z# t
  45. Drivername=mysql- j! B& Z' z( S! o! W+ ~
  46. Database=test5 s+ R4 H! d. n" n
  47. Hostname=localhost
    : v* f1 y& l" E: M& d$ n% @, F* I
  48. User_name=testuser
    * E: K& m$ z( ~- p. B  O, ]
  49. Password=my_password
    2 \* _. R7 h; `: l/ s
  50. GetDriverFunc=getSQLDriverMYSQL. y# J3 R) N8 r0 J$ b
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    . ^& R: E+ V/ Z, R" c. M1 X
  52. LibraryName=./libsqlmy.so& {5 j7 T) Z; a/ }$ F1 y7 |
  53. Active=1
    5 s$ w+ P, ~8 V; g7 T( t
  54. ---example---/ K( C* M0 j7 J+ {

  55. * C+ _7 v( A2 d& v* Y6 d: I" {
  56. On a windows box, also running the MySQL server locally, it would be:
    8 @' W8 ^) @$ o2 R& V
  57. ---example---1 O  x, R' x" T! f7 u
  58. [DBEXPRESS]
    0 L6 X8 P' R5 a) b/ ~' z
  59. sqldir=mysql_sql/ ^9 l4 x* A+ ^" b: ~
  60. Drivername=mysql
    5 [$ K" S; V% t6 Y6 c* H8 {
  61. Database=test( m$ _& t' d2 ]! w
  62. Hostname=127.0.0.1/ x. s8 @5 v7 N- q! k
  63. User_name=testuser
    - r6 o; Y. |: C  H; ^! e
  64. Password=my_password
    4 e  G. Q4 h8 j- f" b$ }: s8 J% V
  65. GetDriverFunc=getSQLDriverMYSQL
    - `+ i( K2 l. Y4 a  r$ G. B
  66. VendorLib=libmysql.dll2 ^; i  [. h- o
  67. LibraryName=dbexpmysql.dll; \+ f2 b7 R2 l# x- k$ D. Z* D/ x
  68. Active=1) w8 n: j& d3 q: R2 H, q
  69. ---example----
    / S& q/ l/ \! k& m: Y: z
  70. - written 02.03.04 by pwk.linuxfan2 S- t6 b8 v# g0 O( z' d% x! w
  71. 9 b  g% K5 g6 A6 F) Z& ^3 i
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看- h! H# y; p$ H& ?8 s5 k, z
  1. 5 _; T" c6 m! n, S+ j
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    . k' Q' _( o. Z6 D) X  m6 T2 i

  3. ) n! k! x8 c* A8 ~7 i
  4. # # #我们所需要# # # - e1 m: y; `1 y8 @6 a
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    7 a6 t7 I# F; A' I; x0 ^% L3 T
  6. 不会解释如何做到这一点-也有文件存在,为
    ! [- E3 a' h, ~2 w$ `% r
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用7 {1 z- t+ B) o- z( t3 z2 t  Y4 H
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西% _4 v5 ]3 _9 H# S8 y- e
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    0 P/ A  R! a. f1 J
  10. 本地机器,这是我的MySQL安装。
    ) @& D0 f* D+ t( n. u& ^/ |
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从( b  W  Q: d9 T4 t
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 8 V& g$ O$ J, u; y$ ]
  13. 数据库。
    & _' g6 n7 D1 \8 |  @
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在- b& _2 v+ \! Z+ s. V! P) V
  15. 编写本报告的时候,仍然有太多的问题-检查现状& I! R* k. A7 _# ?( y6 ^
  16. 在teamspeak论坛,如果你有兴趣。 / A: f& Z% S' K; `( d
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机0 f( e) b' x0 S% r! b$ l/ F: W
  18. Borland公司使用。这个司机只能界面与客户端库
    1 w( `2 G  S; o- T1 y
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    7 c7 b9 u; u; ~
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为! Z* \4 ~! ~6 ~% v9 y
  21. " vendorlib " ,并解数据库连接。
    5 s, j: u  x7 j5 @3 O
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ! h  w# }6 m, r9 `7 K  ?

  23.   e& p7 j) {" W, E3 E9 r
  24. # # #做好工作# # #
    ' K, ?# X- G0 I# d
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都! z; `: [5 \1 a/ R
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在5 [/ e; [" b) }! U
  27. 结束: 6 \, L: W0 u, V8 c
  28. ---削减这里---
    ; |. |. b9 G2 s1 |& a) o, k6 [
  29. [ dbexpress ]
    ! x6 J( @' m* U! H" W( {
  30. sqldir = mysql_sql
    ! d% Y& N" |( M/ ~! h5 W+ f8 y; j, h
  31. drivername = MySQL中" \9 s3 h( U8 S  S
  32. 数据库= your_database_name_here
    9 y0 c- S( C3 w3 z, @6 }$ t
  33. 主机= the_pc_the_mysql - server_is_on
    & W, S; W5 Q! T9 R. {& t
  34. user_name = user_name_on_the_mysql服务器  {+ V  b: s: [- O
  35. 密码= password_to_go_with_above_user_name 5 o& m# R& v7 H' K2 q
  36. getdriverfunc = getsqldrivermysql
    ( ]' ~' o) p; ?
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    # H! G2 o* w0 F0 W: ~; B; m
  38. libraryname = path_to_libsqlmy_libary ! F" H, B) j; S- n
  39. 积极= 1 , N2 t3 E( ?( A! k7 u2 _& \0 ]
  40. ---削减这里---
    ) C  E8 P3 O" t' k3 w+ B5 Q  x
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    2 q9 b4 m; j, r5 E+ G. T3 P' g" E
  42. ---例如--- 0 I$ d/ S) F+ H' a+ F
  43. [ dbexpress ]
    $ Z9 q0 n, F) r. @9 S/ \9 C) G
  44. sqldir = mysql_sql
    4 B9 f% S. s4 ^( G: y
  45. drivername = MySQL中4 W/ s: o1 w0 y" q7 X
  46. 数据库=测试
      E, b* ?5 Q6 Y/ G# }1 J
  47. 主机=本地主机2 ?8 ?& G$ ^  F5 V0 m" m4 m
  48. user_name = testuser / V! H1 k: c+ E  p9 f
  49. 密码= my_password
    : o) Q: R8 M+ d4 r
  50. getdriverfunc = getsqldrivermysql
    3 E6 B7 M) |8 v2 M) o0 ^* G4 g
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ! N2 R1 E  ^7 \3 r& N3 C
  52. libraryname =. / libsqlmy.so 6 J+ f( V. R( u1 |
  53. 积极= 1
    ) B7 `3 V4 Q+ O. a
  54. ---例如--- : V( p* g/ c% q; x; C
  55. 2 W0 ~' a. D4 E' v) i$ d
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ! k) u$ G" j( ~3 E. X# _; X
  57. ---例如---
    4 V6 t+ e$ J2 P& r/ k" e2 ~4 y
  58. [ dbexpress ]   B- f7 x! _; A$ d: B
  59. sqldir = mysql_sql
    . s4 ~" R% j# _
  60. drivername = MySQL中
    4 M2 \9 c$ O( `! K
  61. 数据库=测试
    ! j" X. ^4 C2 m% {  e7 {3 n% |
  62. 主机= 127.0.0.1 $ Q+ Y7 {# Y1 ]/ a3 n
  63. user_name = testuser
    ; Z4 S7 ^9 x, O# o/ ]" Q! o; {
  64. 密码= my_password
    . r( p% R/ v8 j5 b  y& {
  65. getdriverfunc = getsqldrivermysql ) U$ V  W1 j/ \
  66. vendorlib = libmysql.dll在
    # X7 A7 A# \* }" x7 p' g
  67. libraryname = dbexpmysql.dll 2 F( a+ l6 B: e% V7 b* p  e# }
  68. 积极= 1
    - |& C1 J* g( E( N7 b
  69. ---例如---- ! n5 S* F/ n! E
  70. -写在0 2.03.04由p wk.linuxfan1 `# B5 {2 ^0 r+ D4 n- 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
; P3 J; i7 M$ j3 G+ i' h8 M
* O7 J, J! @. b) h3 @3 Zbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-30 15:49 , Processed in 0.103309 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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