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

2530 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 4 p& |/ \) d; G$ u

2 v8 D2 z( v+ h) V& U8 [

  1. + R5 o0 @( o9 l1 q4 q& T
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    . }3 h# a4 P- E! N6 J, H! u
  3. ; i- @& E2 p- s  h7 E4 g4 T  g
  4. ### What we need ###
    / Q- p3 c- q- N+ F" j
  5. Naturally, we will need a MySQL server to store the data for us, this document
    $ M, z- @, x' f/ p
  6. will not explain how this can be done - there are documents out there for the
    2 P' T' M6 I" g: l! A# T
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    - s! [) E  Q4 `: [1 k6 {
  8. and a user account (username + password) that has the permissions to do stuff* D- b. t/ V$ ~# Q- @, n8 _
  9. with the database. Additionally, you will need a vendor library installed on the
    ( e7 Y5 |( S8 G) a1 [7 \
  10. local machine, this came with my MySQL install.) @+ i' b' I  }+ \9 T. J1 O$ I
  11. These instructions will not tell you how you might transfer your data from the
      B' l( s" P' S6 Y+ v: t
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    3 C8 e" @. h% r: |& C
  13. database.
    - d( s9 a; O# G* t; X# p
  14. Some users have reported ways to import a SQLite database into MySQL, but at. E9 p( F" w$ [3 r( l* B
  15. the time of writing, there are still too many issues - check the current status
    2 J* _5 g# D% W, n$ ^. S2 H
  16. in the TeamSpeak forums if you are interested.
    6 }. e& \' Y6 V0 B  L7 S
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from% b. w4 j7 F* D# h# b
  18. Borland was used. This driver can only interface with the client library that
    ( _  C, \- _3 A- i/ }+ s) P& ~
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this8 S/ V. L# _9 U
  20. client library - basically all you have to do is to use a 3.x client library as
    2 v1 h( I+ k: B3 @1 ^
  21. "VendorLib" and a 4.x database to connect to.( a/ k* c* Z& Y" |' @
  22. If you need more info about dbExpress, you can contact Borland.
    4 H6 ?' @  I- O6 v) S1 [! L! K

  23. ! c  v- F' x/ S
  24. ### Doing the work ###
    ) a1 _6 p; o$ |" [4 b9 Z% ^
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ( h$ \4 R2 c( R
  26. the perquisites right, just open your server.ini file, and add this section at
    / f. l1 a% |- z6 }0 ?# t1 Q; z
  27. the end:
    + Z9 M) n$ L, `. d& l4 `
  28. ---cut here---+ w& Q; X: h% T  ~7 {
  29. [DBEXPRESS]! Q  G$ A$ T5 o
  30. sqldir=mysql_sql* _9 ^6 k8 n, y0 V" l! M  E
  31. Drivername=mysql; ?2 t8 {7 H/ i# K1 @
  32. Database=Your_Database_Name_Here
    ) [! c8 m  K% j* Q
  33. Hostname=The_PC_the_MySQL-Server_is_on7 C: t9 W  Q2 s# w- Z  D
  34. User_name=User_name_on_the_MySQL-Server0 I# E7 i, V2 q( Y
  35. Password=Password_to_go_with_above_user_name; W4 P7 q: {  ~( C) I
  36. GetDriverFunc=getSQLDriverMYSQL
    , N8 a: r6 Y; J2 N8 t/ p/ R
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
      L, q1 s4 E" t. [+ E
  38. LibraryName=path_to_libsqlmy_libary) Y$ I* h5 I7 [% C- I
  39. Active=1
    * v' g3 V1 _) Y* ]* F" {. Y
  40. ---cut here---" `9 X7 Q/ h5 m' U
  41. In my environment (a linux box with a MySQL server running locally) I have:
    * J) ~% [* A3 s& c
  42. ---example---% A$ T2 T# }: W& H+ K/ U3 o
  43. [DBEXPRESS]
    5 |. x. a! x9 d1 G, a- m' ?' F3 m: Y& ^
  44. sqldir=mysql_sql
    / P- v2 S- u- b" [9 g1 O
  45. Drivername=mysql
    3 Y3 _3 n- g9 I/ D, }& D3 X: C
  46. Database=test/ F6 E4 n" [( @/ L- }% t" L
  47. Hostname=localhost5 z7 N& d1 ]) [7 q9 X; Q* I/ B
  48. User_name=testuser& |7 M5 i/ S* l# B
  49. Password=my_password6 _+ D. c$ B6 P& U& d% ~
  50. GetDriverFunc=getSQLDriverMYSQL
    # u# g5 J* v3 T2 f8 l  r7 E+ r
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    / @+ n% c/ x* p( J4 N& U
  52. LibraryName=./libsqlmy.so
    2 H2 i: n1 S, \) }1 S$ G# `2 [4 I
  53. Active=10 Z# \+ V7 B& g! U, m* `/ ^
  54. ---example---
    / m& ~+ D# ^2 j5 w

  55. . e5 J2 g0 C  y6 C# T
  56. On a windows box, also running the MySQL server locally, it would be:
    7 K* I( {% ~- g, Q" j' k# G
  57. ---example---7 T; W# l6 i  \! W1 Z9 c
  58. [DBEXPRESS]% d; y+ E/ x7 p; v  P# x
  59. sqldir=mysql_sql/ V( f% f: Q2 X6 k6 W
  60. Drivername=mysql
    : @/ U/ q" K2 H9 R; I) _) @
  61. Database=test
    # i7 X9 A; @1 s* D1 ?$ {: A& \
  62. Hostname=127.0.0.1  ^1 ~; y* L  F* C7 C5 w9 Y
  63. User_name=testuser
    ( r# _3 ?9 Y7 r6 y9 h2 a% ~
  64. Password=my_password
    0 E8 L/ V) L7 h$ b  o; Y7 ^
  65. GetDriverFunc=getSQLDriverMYSQL
    5 q( ~: P( j7 h
  66. VendorLib=libmysql.dll3 N) L( u0 T' j* o7 Q! W
  67. LibraryName=dbexpmysql.dll8 a+ f9 w! h& m& y+ M! c
  68. Active=16 U+ H* g/ D, E( a
  69. ---example----0 S. V/ n7 S: F, a2 f. y
  70. - written 02.03.04 by pwk.linuxfan3 k# i. H  n* L# J
  71. ! x/ l5 {% E0 P8 j
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
4 d# J' n, @2 n# n+ H
  1. 1 ?5 y  P( _. K& s
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    % X9 b) u! r) ^" Z5 m. o% A
  3. # Z+ T' D: o( O+ k8 `7 S
  4. # # #我们所需要# # # 3 M- a: ]7 [  x( Y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    2 _* R* Z" t) [; d, n
  6. 不会解释如何做到这一点-也有文件存在,为
    6 T1 {0 U1 q! @$ B4 ?
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    $ h: ?1 _( u+ {  [
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西$ V' ^0 _* W$ @. J4 T
  9. 随着数据库。此外,你需要一个卖方图书馆安装于; R0 G5 i7 ?5 o: W
  10. 本地机器,这是我的MySQL安装。 % |3 T8 ?4 C# ]$ N$ y1 Y, g
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
      t" B0 A, t! g! G1 J. I
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 7 c, m0 G1 L  Y2 |% n6 {/ I
  13. 数据库。
    " x: G; s& u9 k) z* R
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在& d9 X& w7 ~; b0 U8 I0 A
  15. 编写本报告的时候,仍然有太多的问题-检查现状/ a/ J8 g: O8 D% Q
  16. 在teamspeak论坛,如果你有兴趣。 6 Q, |. ?1 h1 n  |" {
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机4 ]/ B4 Z  W4 I: [
  18. Borland公司使用。这个司机只能界面与客户端库2 E4 X- q% X6 @/ S# h/ n: ~" T
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这) V; W* Y! t5 w* }2 Z
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    4 M$ t% Q9 k7 ]  @
  21. " vendorlib " ,并解数据库连接。 " X& K' t$ Q/ \' ?" p  b4 E
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ; a$ W3 u* {, r9 C( i

  23. . l3 m9 w$ J$ J& r
  24. # # #做好工作# # # % ^5 ~5 @3 D$ C4 o
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ) k- u$ q& N7 N( O8 S3 T9 h$ j& N% F
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在) x( {- a' Y6 l
  27. 结束: - g' w  E4 X0 S- ?4 ~+ K7 u7 d
  28. ---削减这里--- $ p: h6 G! j( O" l% E8 W! J
  29. [ dbexpress ] ) A8 F1 T, f% P0 B9 E- G  Z
  30. sqldir = mysql_sql
    ( L8 A  J' B4 Y' p
  31. drivername = MySQL中
    $ R  {% z* @% R8 e
  32. 数据库= your_database_name_here ( l1 T$ z# B( Q
  33. 主机= the_pc_the_mysql - server_is_on 1 ]8 b- m1 G' r
  34. user_name = user_name_on_the_mysql服务器; ?" S/ e, @3 G# _8 C  L
  35. 密码= password_to_go_with_above_user_name 3 R0 i- C& M6 C9 s$ j& u
  36. getdriverfunc = getsqldrivermysql
    0 W9 `5 Q# \( S& O
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
      ~+ C: `$ \, a8 I. _
  38. libraryname = path_to_libsqlmy_libary ; Q, w0 b8 R) ~
  39. 积极= 1 0 q) Z0 p: U% Z: H$ q4 c, @$ B7 {: j
  40. ---削减这里---   v; p6 Q  d' q0 l6 }) B; v( t
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: & ]! c7 N- v) W
  42. ---例如--- 6 L' ?/ M7 o$ @/ V* I
  43. [ dbexpress ] - u9 {6 r5 O7 R
  44. sqldir = mysql_sql
    ( F  Z# X9 b. f- j6 C
  45. drivername = MySQL中% Q8 V7 L% h6 R0 c1 w
  46. 数据库=测试
    3 M1 F1 w0 |6 g2 L/ Y& b0 b7 Q
  47. 主机=本地主机
    % ^& j# b8 n% b
  48. user_name = testuser 1 _4 k1 y& b+ m- I1 H
  49. 密码= my_password
    1 ~. b( `, f; ^- ~* B
  50. getdriverfunc = getsqldrivermysql
    8 _9 B) K/ d; `' D* c" T
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 5 P7 }+ i1 T6 \4 A6 E9 Y5 x' }
  52. libraryname =. / libsqlmy.so
    ) C9 I8 e0 D0 @9 i5 N5 K! p" q
  53. 积极= 1
    3 j5 ]' A2 D+ |+ s8 E- G9 L
  54. ---例如---
    , Z" W/ B; G" w" _

  55. % [5 e' T" e4 s0 C& C# V
  56. 对Windows中,也运行MySQL服务器本地的,那就是: & l. b& s2 t# B3 N5 j" m! R
  57. ---例如--- " P4 I1 a3 A' k1 x8 P( R
  58. [ dbexpress ]
    ( V5 B  |7 d) V# q/ ]+ P1 A
  59. sqldir = mysql_sql
    , t) y, Q7 q% _1 e6 }( w' g4 V
  60. drivername = MySQL中
    + L5 w. t& ?1 R8 w& \
  61. 数据库=测试5 }2 ?$ F5 j2 i$ s: W, N
  62. 主机= 127.0.0.1
    / W. R, U+ Q5 C: i7 y5 C
  63. user_name = testuser ; Y" I1 Y% H8 _, q0 p
  64. 密码= my_password $ C) P4 u3 J" d, S! [
  65. getdriverfunc = getsqldrivermysql
    1 T8 Y7 J) y# F
  66. vendorlib = libmysql.dll在, [# G9 B3 ~& Y2 l& C1 [7 N
  67. libraryname = dbexpmysql.dll 5 a4 m  R- o& s8 T
  68. 积极= 1
      D/ v/ `5 J' y' K2 H; u
  69. ---例如----
    ) r' e  ?% b! c& G( Y/ y
  70. -写在0 2.03.04由p wk.linuxfan( {4 @( s. [5 p+ g4 X
复制代码
发表于 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' b- b* f8 f. ], H7 N/ W

7 a7 R9 p  h" r! g8 M1 q/ A) h; t" sbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-18 10:43 , Processed in 0.117032 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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