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

2276 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan & p) R9 |8 K1 `$ H' N
/ O8 z9 ~5 n. o% Y) y+ D

  1. : W5 b; W7 R: o9 T
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######0 {! }' P% T! t$ I! K1 A

  3. 8 u4 W# ]& y' y2 I* G9 y
  4. ### What we need ###
    , W  C$ u1 ^2 M' W. R
  5. Naturally, we will need a MySQL server to store the data for us, this document - {( n; U2 p; g) a0 `
  6. will not explain how this can be done - there are documents out there for the
    1 ^0 w, t* Z% l, r# `" ~( ^+ o
  7. interested. The requirements include a (empty) database for TeamSpeak to use3 F4 Z  f% k" C
  8. and a user account (username + password) that has the permissions to do stuff* g- @+ r5 \! L. _/ K, @% R$ g; T) m0 X
  9. with the database. Additionally, you will need a vendor library installed on the
    ! e& U9 d' I  C/ z
  10. local machine, this came with my MySQL install.6 y; B4 s- w# X- y2 F
  11. These instructions will not tell you how you might transfer your data from the
    % [  G; K( E1 j. F! c
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL+ c$ u& r1 z/ I
  13. database.
    1 x& s. D2 Z9 i
  14. Some users have reported ways to import a SQLite database into MySQL, but at* ~+ Q* K+ b9 f) `7 a0 f
  15. the time of writing, there are still too many issues - check the current status
    / d0 Z/ m0 z- ~' n6 R  E9 C. E
  16. in the TeamSpeak forums if you are interested.; Z$ s) A* H9 Y
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    & K6 q7 d' C9 [" [
  18. Borland was used. This driver can only interface with the client library that 6 Y; y: H% T+ C7 w+ Y; I
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    5 ~7 c) [2 t* U. C8 x
  20. client library - basically all you have to do is to use a 3.x client library as
    / ~1 {8 U4 W0 n/ d. T6 n$ ~$ W
  21. "VendorLib" and a 4.x database to connect to.
    1 [8 e% X" I% s5 W, |9 S
  22. If you need more info about dbExpress, you can contact Borland.
    ' n! M7 U" d: A

  23. 7 @9 B5 q$ V& z) ?8 X
  24. ### Doing the work ###
    . H) M8 R+ l' O) c/ ]2 U/ Q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all6 h( U- U& w! n: x; h; x  g
  26. the perquisites right, just open your server.ini file, and add this section at  {+ s" E" F* T* u
  27. the end:
    . U9 d2 q: {% |
  28. ---cut here---* n, o4 x9 ?. S; f
  29. [DBEXPRESS]# y, a  ~8 I' E0 `- o/ b
  30. sqldir=mysql_sql
    / Z7 c: e. \9 d# d% L8 h4 q8 m1 F
  31. Drivername=mysql
    ' |% j( \# G# a: q2 y
  32. Database=Your_Database_Name_Here$ L1 [9 T$ n' i1 y3 C
  33. Hostname=The_PC_the_MySQL-Server_is_on) J. [: L: v) N0 S: j) i
  34. User_name=User_name_on_the_MySQL-Server
    ( y  C, s4 k- y0 d; U% D
  35. Password=Password_to_go_with_above_user_name
    3 o5 [% H9 \7 b4 O8 b' X4 k- n' h7 C
  36. GetDriverFunc=getSQLDriverMYSQL
    / q& H% s$ c0 R7 U& n' A
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    0 H  \% B  \1 O& t
  38. LibraryName=path_to_libsqlmy_libary* m, f7 t! X1 z" Z1 q8 u* @
  39. Active=1: E! Q' B" c: s: L
  40. ---cut here---3 }* }0 v% |; ?' I' j2 I# ?3 H6 ]
  41. In my environment (a linux box with a MySQL server running locally) I have:1 L( v# v- [) o6 @
  42. ---example---
    # n8 R0 n  r  p2 K
  43. [DBEXPRESS]- z) b6 [/ _! O9 I$ D2 z
  44. sqldir=mysql_sql- v* F. J, b" [# ]
  45. Drivername=mysql
    ) Y) ^4 h& Z8 @) N1 q/ a, k
  46. Database=test3 h! F% p' X# F$ C+ Y9 C
  47. Hostname=localhost
    ) c) R- @" N# X' o, ]8 ~
  48. User_name=testuser
    + O4 E% |, H  v4 N) C- Z
  49. Password=my_password4 n+ u% ]7 ~9 d( U+ Z
  50. GetDriverFunc=getSQLDriverMYSQL. W, |& u! q7 T+ a; t- k
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.09 w6 b0 S- n& _9 _3 j- P( Y/ e
  52. LibraryName=./libsqlmy.so
    ( m9 W2 n1 ~& x$ j( ~. D5 N$ q
  53. Active=1
    " H1 }/ [4 l4 b" X6 _* K7 c
  54. ---example---
    0 s2 N% x- b6 Y9 I7 \

  55. ' |0 r" B. O6 t5 ~" `. z& j1 ^
  56. On a windows box, also running the MySQL server locally, it would be:
    + g( F8 w" k! `7 K! l
  57. ---example---
    1 \% N: h% j4 G$ A' v; E( q
  58. [DBEXPRESS]
    2 @7 r" V) G: z
  59. sqldir=mysql_sql
    ! {# V# _. ?& B9 j' v5 F; w' A2 w) b
  60. Drivername=mysql
    % H, s: ^% q  w0 }! A- t
  61. Database=test
      W+ D% w9 C* Z7 Y, S/ Z; m
  62. Hostname=127.0.0.1  \0 w- F6 [  H% ~8 b, {9 D9 U% {+ q
  63. User_name=testuser
    4 H" x. D" ?! A( f# o4 C
  64. Password=my_password
    " S3 t7 G* u( ]9 F; ?5 d* p
  65. GetDriverFunc=getSQLDriverMYSQL
    * o( p7 Q7 k% N/ y+ `6 Y4 \
  66. VendorLib=libmysql.dll( `6 B; e0 V) w$ ~6 n3 W
  67. LibraryName=dbexpmysql.dll
    : t: ?; `# |' O
  68. Active=1  l1 E% M! t  O# g. W
  69. ---example----% ~& l7 ~5 y- L7 V8 n" A9 a! J
  70. - written 02.03.04 by pwk.linuxfan
    # g6 v7 z. K' g* D/ V' \, e

  71. ! Q3 [4 b, X5 r
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看' ^' A* Z7 r2 ^/ I% J5 d" U
  1. ' ]0 K4 M7 T7 X% C
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    % q8 d+ |' D  L; j% J
  3. ! G. n/ E% R+ n% B
  4. # # #我们所需要# # # " h6 m# d5 ~. h4 {. o
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ' E  w/ E* b# e6 h3 e* [
  6. 不会解释如何做到这一点-也有文件存在,为
    ; f. d! J; m1 H0 I* n
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    * |5 t4 o/ Q2 b) n3 u
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西( l* i: |# t9 h. {3 Q
  9. 随着数据库。此外,你需要一个卖方图书馆安装于" W# d. l4 A7 m% D' Q1 v
  10. 本地机器,这是我的MySQL安装。 % O7 f# }1 U6 O+ O1 D
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从- `6 ^. g5 C2 Z9 q, d
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 0 ]1 A# q5 x, |# o
  13. 数据库。 4 d9 q) J$ A. c& s. ^) U  [( u
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在3 d0 ~1 \& L$ z* ]
  15. 编写本报告的时候,仍然有太多的问题-检查现状  g; {# I# T" S
  16. 在teamspeak论坛,如果你有兴趣。 , W1 ]) V# I1 l, c1 ^' e& a$ h  I
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机2 K9 W$ Z1 z0 t7 K9 Q) U. A
  18. Borland公司使用。这个司机只能界面与客户端库
    ! c9 N3 m% r% w  i5 [4 j0 Q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这! }7 S4 n0 T: D2 a8 ~0 U, w# a+ t
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    & G8 Z8 r9 Z# E5 B, I6 N2 w
  21. " vendorlib " ,并解数据库连接。 2 v) M& e/ k+ Y2 t3 V
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    + N% o( ?! ~- i$ B

  23. + r# x6 D, z- [$ j- ^8 j$ a
  24. # # #做好工作# # # " S9 s/ W1 R5 @; [) z5 q, m
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都: z* L; S8 R- d5 `
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在2 h. L2 k9 Y4 s" w  J" s. d: Y
  27. 结束:
    4 P8 |' X+ m/ o; n! T' V
  28. ---削减这里--- ( F$ v: @$ R3 c! j7 [4 g5 c
  29. [ dbexpress ]
    , q' Z  o' `# B
  30. sqldir = mysql_sql 1 H  [" D/ _( t, S0 G
  31. drivername = MySQL中7 [3 ]' s4 I; y
  32. 数据库= your_database_name_here
    " m$ X, m( `1 i
  33. 主机= the_pc_the_mysql - server_is_on 1 j9 e( @6 v6 d
  34. user_name = user_name_on_the_mysql服务器
    ( X, D( H9 a' `' j
  35. 密码= password_to_go_with_above_user_name ! Z0 H- I* S: v/ q! X5 y' k
  36. getdriverfunc = getsqldrivermysql ) x, J- i% L. q' W5 N" ?
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib & U6 Q. R) [/ R2 ~. l% E
  38. libraryname = path_to_libsqlmy_libary
    3 f8 U- f1 D2 I0 D4 P9 Z; o
  39. 积极= 1 6 o5 w3 r5 S7 ]7 E. p$ i
  40. ---削减这里--- 3 z. ~* v  D6 y) K+ Q0 ]8 Q; j) J
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 0 [* x+ d* H2 j2 R* m
  42. ---例如---
      V$ k* a! t/ Z$ v0 k
  43. [ dbexpress ]
    " o" R8 u; F& H9 D
  44. sqldir = mysql_sql
    8 G+ p3 |3 r$ k( I
  45. drivername = MySQL中( T* }! Y% d5 x# a4 ^6 d
  46. 数据库=测试1 \% L, Z+ P& q. J3 V
  47. 主机=本地主机7 s1 h6 u- e9 a1 R3 B
  48. user_name = testuser
    % v" m. e3 i$ S  ~% P$ i9 n# `$ V
  49. 密码= my_password * Y) L7 w' B8 c
  50. getdriverfunc = getsqldrivermysql
    2 x( p2 P# A6 l6 a4 ^+ c; X
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 . Z+ x" E9 n( O5 ^* r6 ?* H
  52. libraryname =. / libsqlmy.so . p# Z  G& Q! j/ i- t
  53. 积极= 1 * o& U8 I% x% c2 I4 Z' z* [7 ]) [
  54. ---例如---
    # f# ~6 M* \$ o1 }0 H
  55. 1 [8 @' ]1 W  `& T
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    + w0 a) ?* ~/ i3 f: J+ v
  57. ---例如--- 1 b" I1 c- B; {$ J. R7 z0 ]
  58. [ dbexpress ]
    ' k% S. ^, Q% R4 s0 M; V
  59. sqldir = mysql_sql ( A1 O3 h  m8 i. Q) s/ Y4 X  u
  60. drivername = MySQL中
    ( v* ~! v. ?! K% b5 O/ [- S& U
  61. 数据库=测试! W% l: `% T" U( p: z. p$ @) V
  62. 主机= 127.0.0.1 1 w, ?# w" n! P  H; \
  63. user_name = testuser 1 L3 C( i) ~2 R4 k3 T
  64. 密码= my_password
    1 v' g' E0 d' p2 S/ }
  65. getdriverfunc = getsqldrivermysql
    8 X: |5 I+ Y, L0 G7 A, K2 S7 d
  66. vendorlib = libmysql.dll在' [- [# b8 P, V2 m
  67. libraryname = dbexpmysql.dll
    ) P' O! c) w; F5 I! X8 B, d
  68. 积极= 1
    - D3 r7 N6 E; y5 `
  69. ---例如----
    ! \4 G0 P4 S2 h# g
  70. -写在0 2.03.04由p wk.linuxfan# V. f/ {5 r1 E- n
复制代码
发表于 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: O) x9 Y6 K3 ?, W: }

6 m, A' f$ Q' S" Qbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-9 05:33 , Processed in 0.114384 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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