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

2727 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
9 H% W+ ]- y  f9 ~8 y9 \. D
- _$ a5 m5 h$ j* f( n2 {
  1. + I" F( A) @* S) ?
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ) G0 @1 T$ n! E  J

  3. ' }* y$ f: m0 b+ ]! {. {  e
  4. ### What we need ###
    9 {) B" }6 h) ~
  5. Naturally, we will need a MySQL server to store the data for us, this document % g% R1 r5 R; V. s
  6. will not explain how this can be done - there are documents out there for the ( j3 ]; x4 s. y, Z3 R6 p. S
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    * ^9 h6 `! v& A5 j2 k9 ]
  8. and a user account (username + password) that has the permissions to do stuff
    , c9 K) T4 I, j  p" u; X
  9. with the database. Additionally, you will need a vendor library installed on the! e# I3 b4 l  E; o8 g" p# _* y
  10. local machine, this came with my MySQL install." s  [6 V" `  G0 _
  11. These instructions will not tell you how you might transfer your data from the
    $ B/ v: v3 R: y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    . _% H- V- u- l- |9 X( ?2 U+ \
  13. database.
    # K& x# I- y6 |0 k7 o/ t
  14. Some users have reported ways to import a SQLite database into MySQL, but at* V: l7 ~- v9 \. O; R% b5 F
  15. the time of writing, there are still too many issues - check the current status
    $ C8 t' b2 B! |
  16. in the TeamSpeak forums if you are interested.  g$ J9 c0 [  @% }
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    " a) K, P9 x7 t" p8 V% S* X
  18. Borland was used. This driver can only interface with the client library that
      C) ~5 y$ ~* g4 J4 ?2 d
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ( v$ ?7 N8 f9 R+ _: U
  20. client library - basically all you have to do is to use a 3.x client library as 1 D( y" c# Y0 S2 A1 R! |6 W, D* p: y
  21. "VendorLib" and a 4.x database to connect to.
    - c/ K7 ]% n0 }: b
  22. If you need more info about dbExpress, you can contact Borland.
    9 K- @* W& P% M, ~- c. ?" r
  23. ! y( {' a4 Q; U" ~" a; M) M( A
  24. ### Doing the work ###9 g* `+ L6 S% p7 {( b7 ?
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all, {$ D8 j+ `8 w% [& Q% f; E
  26. the perquisites right, just open your server.ini file, and add this section at
    ' F6 x7 f5 s: X4 L1 M* y' N
  27. the end:
    + r; }3 _: t+ Y2 ~$ X, n
  28. ---cut here---
      b4 T4 \6 |$ _- _8 c
  29. [DBEXPRESS]
      J  ^7 I( {# L9 Z8 Y3 y
  30. sqldir=mysql_sql" Q8 [$ b5 w; \
  31. Drivername=mysql! J  W2 s. k8 q; Z% M- s
  32. Database=Your_Database_Name_Here
    " `4 k- K9 y* u" e; E- l
  33. Hostname=The_PC_the_MySQL-Server_is_on' S: Z6 V7 C: \  s3 L2 c# A9 |  j2 p
  34. User_name=User_name_on_the_MySQL-Server6 O" a  m8 e2 R
  35. Password=Password_to_go_with_above_user_name0 W1 n$ Y  c0 T# |1 p
  36. GetDriverFunc=getSQLDriverMYSQL
    , h" ]7 h! a5 u( T
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    9 k8 m% c; L% F6 V( P
  38. LibraryName=path_to_libsqlmy_libary7 i8 \' f7 ~' N- Y% j+ N
  39. Active=1
    / @# @& q4 j; K" Z2 h& f5 ?
  40. ---cut here---( X* o9 j; l5 v' i
  41. In my environment (a linux box with a MySQL server running locally) I have:- ^" B+ v- ~2 E: C" d4 i
  42. ---example---9 A$ k$ H" y2 ^/ c" r7 l. G2 p7 F
  43. [DBEXPRESS]- c4 j: `' m- A, n0 q
  44. sqldir=mysql_sql
    , N, E- T* g% L: @/ ?
  45. Drivername=mysql
    $ \6 X- s$ B: ~, Q: G% Q* t
  46. Database=test! B  I1 S. A8 E9 F/ |
  47. Hostname=localhost
    " v, q  g8 _0 l' Y( e; x% Q
  48. User_name=testuser
    : x4 `* j% \, ^  s
  49. Password=my_password8 @2 Q+ g! Q& D: Q: \
  50. GetDriverFunc=getSQLDriverMYSQL
    , Y  D/ r4 i3 @5 r4 G4 a& W1 A9 M
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    " O  x7 N- g% z1 C3 w3 [
  52. LibraryName=./libsqlmy.so
    : b2 _! Y% T3 U, I8 H% l
  53. Active=1
    # J' u  b2 s( C4 @9 K
  54. ---example---4 P9 P% v7 l( V$ G: Q

  55. , v9 ]1 x* I0 ]6 q7 ~: ?
  56. On a windows box, also running the MySQL server locally, it would be:
    6 `/ S2 A" `& ~
  57. ---example---( w7 [* _# |$ Z3 u# y/ n' Z
  58. [DBEXPRESS]
    % Y3 h% E: M) E; Z9 y
  59. sqldir=mysql_sql& t+ e& C/ S% X; I1 f4 \0 Z
  60. Drivername=mysql6 T( T! S- }6 u3 n
  61. Database=test
    ) M* x: p, w; L# `; f: B
  62. Hostname=127.0.0.1
    7 C& f, O  X3 _0 T* |. @- {
  63. User_name=testuser) t% D8 z) H% V* G
  64. Password=my_password
    ! n* ^0 y+ O+ h* u2 L
  65. GetDriverFunc=getSQLDriverMYSQL
    3 A; T! i7 l$ |2 B: w7 N: D6 A: ?$ [
  66. VendorLib=libmysql.dll
    ) q% V1 g, `: G0 Z, v; E0 V* F
  67. LibraryName=dbexpmysql.dll+ G1 n" B3 c& I
  68. Active=1* P  Y* S" ^6 m9 Q, y: Y
  69. ---example----% G( [7 j2 ]" a  [  P
  70. - written 02.03.04 by pwk.linuxfan2 a6 h' Y2 o6 V4 J% W2 q
  71. / @) o4 J# i: w/ k
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
2 v9 P1 S7 n" d2 e: J: g' D
  1. & W( n! y, b/ P  b# U8 Q
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    9 l* D6 J) c( V  a& Y& J

  3. : e6 a* ~# S; B- M% s+ z2 Y" I
  4. # # #我们所需要# # #
    9 v# M& N% N. W* ]7 @0 s
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    7 h0 G/ y" p. p6 \% F
  6. 不会解释如何做到这一点-也有文件存在,为
      ~+ ^' y4 a( |6 p$ C) ?
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    " B8 e3 l1 |( w8 r5 L6 X
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ( z) l1 F' t; T, {
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    / j8 @5 f5 G& T/ }, r
  10. 本地机器,这是我的MySQL安装。 . G" [3 |% _5 I! ]
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从$ j% d# ^8 ^' g5 D. Z5 f2 _% y. r
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    " k5 B. \+ n5 V1 }
  13. 数据库。
    5 [$ t3 m. x9 V6 o. ^. H7 B6 _
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    " Z7 G* ^4 _% F/ g2 u  F
  15. 编写本报告的时候,仍然有太多的问题-检查现状/ {8 @9 h, h0 m6 [* }2 j4 G
  16. 在teamspeak论坛,如果你有兴趣。 ' e. n. q: B& t0 R. N7 f" ^
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机/ M0 g$ F# {# c/ z( c0 v4 b( _0 K' I
  18. Borland公司使用。这个司机只能界面与客户端库- {$ f% V& f1 X8 w6 P
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这( Q+ t6 J) F2 `2 {$ F
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ; j2 T: W/ i+ x8 @8 k* A
  21. " vendorlib " ,并解数据库连接。
    % v; g1 H8 f. o, q! b5 @( N
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    # Y: o8 ]7 g7 `8 \
  23. 5 Y, j% c% m8 ^+ U3 t5 {* g
  24. # # #做好工作# # #
    ' p4 y5 e) X: C, O" s7 o4 n
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都6 G' H4 P% N9 r1 n0 e+ U! ~
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    & |: g0 M4 J& n+ g
  27. 结束:
    3 `1 r1 \' x, d% ~
  28. ---削减这里---
    4 }* \! n6 S4 ]% |
  29. [ dbexpress ] / N# T1 ~( p5 H8 I9 D9 G
  30. sqldir = mysql_sql
    0 X# P) T) t) c: J* \& c
  31. drivername = MySQL中
    9 b5 p- F; ?3 W3 y) f
  32. 数据库= your_database_name_here 3 v- s% b9 d, t
  33. 主机= the_pc_the_mysql - server_is_on
    ; X+ L/ [7 q! b+ x) Q0 w" Z
  34. user_name = user_name_on_the_mysql服务器
    3 g, q! h" Z, X; h6 V
  35. 密码= password_to_go_with_above_user_name
    1 R* k8 I. ?9 m$ w1 G( z- h
  36. getdriverfunc = getsqldrivermysql 9 ?. t; O3 v1 [! A
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    6 U- e: s. H- S
  38. libraryname = path_to_libsqlmy_libary
    : O0 r/ M& c# q' X8 Q) s  f, `
  39. 积极= 1 $ @; ~) o% b: c- d
  40. ---削减这里---
    ; R7 r% K+ Y- V0 u
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 4 M' Z+ X; J* [
  42. ---例如--- 8 d' H. z  d6 ^+ j/ `
  43. [ dbexpress ] , [- D- \1 D' o3 w4 x  B/ M+ r
  44. sqldir = mysql_sql
    ; R2 |8 G: H9 g5 O; B6 ]
  45. drivername = MySQL中
    ( _. e" L% A4 `% X& g! o* {% H
  46. 数据库=测试6 T' e0 S( M4 V  P, F7 \3 n
  47. 主机=本地主机
    6 {1 O% W3 Y& ]+ g; k5 s
  48. user_name = testuser
    + h: ?) K6 b! k4 h& W+ c1 d' @
  49. 密码= my_password
    * R7 U# {. s% d
  50. getdriverfunc = getsqldrivermysql
    % E4 L6 c/ s! E8 {$ w1 d
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 . U3 P0 p! ^. n* G! F- V
  52. libraryname =. / libsqlmy.so   I. R5 N; ^* [* q" p. ?; u# ^
  53. 积极= 1
      r! {; m/ y' a- R) Z/ d3 r
  54. ---例如---
    ; e8 U8 e! W' a, N4 \6 i# i
  55. , h& X) \& \( F* `9 d
  56. 对Windows中,也运行MySQL服务器本地的,那就是: : {5 a+ _# s& E+ S; j* Y
  57. ---例如--- ' A. w: E6 w" `. l
  58. [ dbexpress ] / Z# p  J( ^' ^; w
  59. sqldir = mysql_sql ! E4 X. M2 q/ I5 N) ]+ e
  60. drivername = MySQL中  s7 g8 I0 m- e0 ]9 \+ w
  61. 数据库=测试
    2 {2 d4 e/ y$ g; B) T0 r
  62. 主机= 127.0.0.1
    , j' T+ R, {8 n5 i0 }- r
  63. user_name = testuser
    / t. ]! E4 j- ~: z' [7 d
  64. 密码= my_password
    % g, c& C+ j2 C' r
  65. getdriverfunc = getsqldrivermysql 1 `: q) M7 d7 A/ F, |' k
  66. vendorlib = libmysql.dll在
    " d- e1 I  H' I* R. E
  67. libraryname = dbexpmysql.dll , s# P6 m4 w7 t/ ~* u! _
  68. 积极= 1
    ! o4 [3 t, e. B: A
  69. ---例如----
    - f: Z; D. g! i8 f8 p
  70. -写在0 2.03.04由p wk.linuxfan6 M. x( J+ n: m0 q: z; |/ n5 Z7 m
复制代码
发表于 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
2 l3 ^0 _' _7 A8 H' C
, V+ @* W* r1 t5 J8 V" Ebut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-9 02:40 , Processed in 0.098773 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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