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

3460 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
$ Q! f% o0 m6 e6 |! j
( e9 S- ~1 t% G2 }% W' j

  1. - J. G% @) I/ |4 k! }3 v
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    : `% _# H, M, A' h3 Q' j/ Q$ F1 I

  3. 4 k- }+ ^$ o9 V0 l% D- a) Q( {
  4. ### What we need ###8 u1 I8 L6 Z8 Y2 S
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ; |7 d) w( m! V7 j* D7 F) r! U/ @- ?
  6. will not explain how this can be done - there are documents out there for the
    . t9 f2 h% A8 Z& z
  7. interested. The requirements include a (empty) database for TeamSpeak to use% Z4 K# U3 [$ S
  8. and a user account (username + password) that has the permissions to do stuff# B2 {" m( i7 u- `0 P, \
  9. with the database. Additionally, you will need a vendor library installed on the
    8 h. `& k8 Q3 K; x3 k& p+ |2 q9 U6 K
  10. local machine, this came with my MySQL install.+ j) a6 }# ]6 Z
  11. These instructions will not tell you how you might transfer your data from the
    % D2 S$ j% U! T/ k
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL; y, ]+ q2 i2 ?5 j
  13. database.7 T2 d6 c( d) X0 C, P
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ! ^! a" N; a' |. a9 a. M
  15. the time of writing, there are still too many issues - check the current status
    8 L9 D& Q9 ]  X' P5 E; V
  16. in the TeamSpeak forums if you are interested.
    ) w! b' i3 V- {- F, b' x+ X
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from' m! h; T4 |7 S1 R0 m
  18. Borland was used. This driver can only interface with the client library that / L2 U& a8 a/ F/ O$ J  e
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this/ G+ F' C- R$ w! G" [
  20. client library - basically all you have to do is to use a 3.x client library as 8 I' `# v: w3 x0 P/ {
  21. "VendorLib" and a 4.x database to connect to.' w* _) g- V; [% L0 X( N- n, K
  22. If you need more info about dbExpress, you can contact Borland.
    5 n& s7 a0 k, N. Z
  23. 9 t( {$ Z6 h7 b) k: q% Q0 r
  24. ### Doing the work ###( r- m/ H9 q* T+ c
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all# _5 A2 ]$ [/ g  }+ O
  26. the perquisites right, just open your server.ini file, and add this section at7 v7 t2 R1 P% k3 {0 p
  27. the end:0 F$ [1 }$ t# `; U; B2 H+ z# R
  28. ---cut here---
    . v" E* H# F: j" n5 W2 m8 S
  29. [DBEXPRESS]2 h/ ]  J. A8 z- H( E3 V1 E
  30. sqldir=mysql_sql) `  n6 N( y3 E5 J2 r4 ]
  31. Drivername=mysql* w' p5 @' @9 }( w& {& j/ W
  32. Database=Your_Database_Name_Here
    / G! i( r" E! W5 l5 l3 d' J. h
  33. Hostname=The_PC_the_MySQL-Server_is_on+ K$ F1 T! E# s( D
  34. User_name=User_name_on_the_MySQL-Server
    - h& |0 m" H% _2 w- L7 v( ^2 x8 ~  B
  35. Password=Password_to_go_with_above_user_name+ [& p# ^, i+ ~/ ^2 ^. L7 q
  36. GetDriverFunc=getSQLDriverMYSQL
    ) I, f2 E- z8 Q  w* k
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    2 X  M0 @+ T: [$ G4 `1 V
  38. LibraryName=path_to_libsqlmy_libary
    * r: o* o' m! z6 w; P8 z3 ?+ _
  39. Active=16 Y  s- Z6 r# T1 |1 i
  40. ---cut here---
    1 w; a) s: U1 ~2 g
  41. In my environment (a linux box with a MySQL server running locally) I have:/ O! _$ R1 T; P7 W: X
  42. ---example---
    ) u) _) d! r: c7 x) Z
  43. [DBEXPRESS]7 G6 R$ r+ k: n
  44. sqldir=mysql_sql
    ' S! R" I) I7 ~3 ^; G) k
  45. Drivername=mysql3 r, }/ b) S% Q2 ^" K. F" T" z
  46. Database=test- [  j- t7 z0 A/ c
  47. Hostname=localhost' ^+ X; C( t* @  ]9 ?% y- m
  48. User_name=testuser$ D2 t# v5 D2 e/ b
  49. Password=my_password& E/ G$ m0 b% x& u0 O, Y2 |- J/ D
  50. GetDriverFunc=getSQLDriverMYSQL
    - i/ i& F, k( _- [
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    & e3 _0 M3 P4 S" K1 R! ]
  52. LibraryName=./libsqlmy.so
    " ]$ `2 S& @3 C
  53. Active=1
    9 X+ M) T, G& m! L+ f
  54. ---example---
    * E6 }! j) }/ M' v

  55. 0 s" h* ^* J$ j, m7 ], W; m! ~# H
  56. On a windows box, also running the MySQL server locally, it would be:. s+ K1 \6 k5 Q# ~
  57. ---example---2 }5 b. f. a! U6 _' F* _
  58. [DBEXPRESS]
    7 z' J; Z  c3 @) o
  59. sqldir=mysql_sql+ U- |6 |; A# _/ P0 C% L
  60. Drivername=mysql$ [: y6 f  j2 [3 H: P! d
  61. Database=test
    % W% B( t) B! V5 w" Q
  62. Hostname=127.0.0.1. [6 H; A* A: n2 |; Z
  63. User_name=testuser
    3 S4 Z5 _% V! Q% m: A( S
  64. Password=my_password5 r/ M7 }2 a1 L- o' l% e! p: G, _
  65. GetDriverFunc=getSQLDriverMYSQL
    3 F! X3 W' [, |7 g6 I
  66. VendorLib=libmysql.dll& O0 X5 L) W. D7 I" l
  67. LibraryName=dbexpmysql.dll! o& r5 J& V$ g8 j7 P# X
  68. Active=1  P, N; B& }" t2 ?
  69. ---example----+ D& O' q; z& T8 Q( g1 o
  70. - written 02.03.04 by pwk.linuxfan
    2 V% v6 X: _- }. m8 y- S

  71. & H! v. O; ]" s" t' i6 z
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看! T$ ^# g, o! W, L* o& S
  1. : a8 o  ^' g/ V4 u! d8 A4 A0 _
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    + C6 o- Z1 t+ M! o
  3. . }7 Q' D2 k# t+ S( p7 e
  4. # # #我们所需要# # #
    ; m  [3 ?" Y" v4 c
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件, D& H9 {4 R; g/ ]/ b9 w2 s
  6. 不会解释如何做到这一点-也有文件存在,为. z+ V! w+ z+ R; Y) Z8 X
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    : A4 q+ z5 w% c1 Z7 J, a. l$ ]
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西3 R) Q: U4 t5 V. P/ h/ }, c
  9. 随着数据库。此外,你需要一个卖方图书馆安装于  H! U% f( [* ?/ }) P; q8 Q
  10. 本地机器,这是我的MySQL安装。
    ( k4 ^  a8 S3 A' n) C, y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ' C; v) ~( v% ?+ P9 L* f3 G
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL - `. G: n- Z! B6 Y3 f( s- r  M
  13. 数据库。
    2 E1 ?0 \/ l! @* q; ]; k1 M) k
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    * K0 j4 u4 b' |& K4 C0 Q. n# j
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    6 h2 Q% u/ w  s+ n3 M, i. G
  16. 在teamspeak论坛,如果你有兴趣。
    / G' ?& z. L/ ?/ C
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    , a0 N; |, _3 k- \6 ~# Y
  18. Borland公司使用。这个司机只能界面与客户端库2 |' N3 P& Z3 i* }
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    / m$ @6 \* Q' e, ~, Q: F' R0 }! q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    * P, F- K+ Z1 z" L& Y
  21. " vendorlib " ,并解数据库连接。 2 ]0 ]6 L2 ?0 F0 k% j
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
      d% e- R6 N' p6 C3 W7 Z

  23. - Q, f" @) \* O8 ]( \# L
  24. # # #做好工作# # #
    0 o' r6 J# l. S+ \' Z( n
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都: _! b( l7 L' E9 X- J
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在: e4 v; T0 L- Q1 s5 f3 z
  27. 结束:
    0 u( S7 f6 }! G4 Q; F9 I
  28. ---削减这里--- ! g! f+ C% E# {( `7 l( v
  29. [ dbexpress ]
    6 X# r1 [& c# r+ g; d
  30. sqldir = mysql_sql
    . \" Y5 ~8 V! I' o5 R
  31. drivername = MySQL中3 Q9 s: L4 q6 B3 e& T5 e
  32. 数据库= your_database_name_here : r! i$ p, w4 \/ g+ j
  33. 主机= the_pc_the_mysql - server_is_on , `. H, v8 J5 Z# y
  34. user_name = user_name_on_the_mysql服务器
    5 D1 `& ?+ V* V( \+ A1 m
  35. 密码= password_to_go_with_above_user_name
    " s9 V9 r2 m$ o6 a
  36. getdriverfunc = getsqldrivermysql
    . e, z0 s( ^* R/ i
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    9 R( u1 T& Q. h" r" z" G
  38. libraryname = path_to_libsqlmy_libary
    ' b( g( Z  N. F+ l
  39. 积极= 1 9 L3 M& \1 k$ L8 ~7 O* O  l
  40. ---削减这里---
    + f1 F- i! T  x: V2 U+ f
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    8 Y- V0 _  v# F" D* Z4 x+ X; f
  42. ---例如---
    , k/ s& l4 v( n$ i; W
  43. [ dbexpress ]
    # g/ q2 w9 a+ l9 t; _. m/ m
  44. sqldir = mysql_sql 8 ^. L( W0 G, p" ?/ t! F- n
  45. drivername = MySQL中( `. S( J# o! [" a
  46. 数据库=测试
    ( H4 y8 T* d% {9 v! f
  47. 主机=本地主机
    7 c' T- q6 V: V( e& ]5 v- R& S
  48. user_name = testuser + a7 B0 V1 e; i; f
  49. 密码= my_password
    $ N' L0 A+ t: i7 V
  50. getdriverfunc = getsqldrivermysql
    9 ?  |* T8 m3 ?/ ?1 k
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 , B& H8 E/ q9 X& t
  52. libraryname =. / libsqlmy.so ( x+ v3 Z( q+ s' K9 a- G; ]" s
  53. 积极= 1
    * p8 \8 \- n$ v0 H" k# Z
  54. ---例如--- # s' I4 e( }* _! {8 v. b; M% I

  55. / E( V& ]; V+ M6 F# `
  56. 对Windows中,也运行MySQL服务器本地的,那就是: * k7 u1 q2 L2 B+ Y( q  T* Q% P
  57. ---例如---
    4 [" i7 O4 w6 f1 p: a" s
  58. [ dbexpress ]
    . @+ q4 w. U0 i% N; m) q& m
  59. sqldir = mysql_sql
    ! K9 u* u; k+ o/ B
  60. drivername = MySQL中
    ; ~  g6 C' i4 q2 T& X' j
  61. 数据库=测试
    $ H  F4 y' P* _1 w
  62. 主机= 127.0.0.1
    3 R! b  X, z$ D% s
  63. user_name = testuser
    " \2 e. [5 }) _8 L9 H2 a$ A% D5 _
  64. 密码= my_password
    ! H/ b/ y+ l6 w* z0 M3 N2 H
  65. getdriverfunc = getsqldrivermysql # y) [) ]7 U5 `
  66. vendorlib = libmysql.dll在
    1 S4 l4 u0 n( C! w" j' L
  67. libraryname = dbexpmysql.dll
    ' s. \1 e4 j3 X; I; I
  68. 积极= 1 3 a  Y) b2 m# K  Y% p% j
  69. ---例如----
    ) u* g& B" T( }# E, r6 u9 O
  70. -写在0 2.03.04由p wk.linuxfan; k! U9 Y- q1 h/ r7 h; Z# ~
复制代码
发表于 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
  `* E. x2 R: b# c  x3 ]4 J2 y" L9 v& m0 P  H$ K8 Z7 Y* C
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-2 02:47 , Processed in 0.071885 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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