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

2561 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ( x( @- n9 _! {

; d3 Q0 {" Y: T! W8 K3 A# r4 W3 }. r

  1. 9 r! i) b& Q5 K$ X: E
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ! I9 m! a  N0 r
  3. 4 l$ i( V/ @" @  V; B6 \6 e
  4. ### What we need ###
    7 H. [) N4 i" F% D
  5. Naturally, we will need a MySQL server to store the data for us, this document
    & M- w9 }  S( `& n- B
  6. will not explain how this can be done - there are documents out there for the
    9 B5 k5 o5 B5 L' ~% R
  7. interested. The requirements include a (empty) database for TeamSpeak to use2 ~* _% ]  p8 i7 {: \, s- F
  8. and a user account (username + password) that has the permissions to do stuff% V$ r( e- W* L& n% w
  9. with the database. Additionally, you will need a vendor library installed on the, z8 b5 q6 E' o. Q
  10. local machine, this came with my MySQL install.
    ! i! j' O: Y; R" w; B
  11. These instructions will not tell you how you might transfer your data from the
    & Q+ j% z- @8 V
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    + k8 ?: M5 e: y* |
  13. database.% ?- b, |7 V4 q7 z$ A: x) O9 ^
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    8 D+ M( ?0 \3 \- ~
  15. the time of writing, there are still too many issues - check the current status
    2 w' i. S$ |3 W5 w$ r+ R0 F& y
  16. in the TeamSpeak forums if you are interested.
    ' ~) `# S4 U2 k% Y  `1 V
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    - x8 k2 H5 v' `! g2 M
  18. Borland was used. This driver can only interface with the client library that
    / @7 c% ?, h/ R! B# x$ O, y$ O  l
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    * {: a9 G9 d: p# n4 e
  20. client library - basically all you have to do is to use a 3.x client library as 5 E. K  ]" s, f% e. n  d3 W
  21. "VendorLib" and a 4.x database to connect to.
    & a( f( U5 p3 ^
  22. If you need more info about dbExpress, you can contact Borland.# h* a6 T) J& P2 _
  23. 1 Y2 E- n$ p' m5 H
  24. ### Doing the work ###
    6 p( E5 z+ T4 ^; w1 V! u
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all3 T/ V; `/ c$ q8 o
  26. the perquisites right, just open your server.ini file, and add this section at
    7 H( x7 ]  Z& G
  27. the end:
    8 i% b. `; y0 F) t* }( ]
  28. ---cut here---# K% M( @5 Y* X
  29. [DBEXPRESS]
    % Y% G5 N$ O  _- G
  30. sqldir=mysql_sql* d1 G+ \: X4 _1 {+ V
  31. Drivername=mysql' [/ @" b: s( B. C* j( f% s9 M
  32. Database=Your_Database_Name_Here
    - h; V+ o! m* I: n
  33. Hostname=The_PC_the_MySQL-Server_is_on$ t4 A6 f) u- q/ f
  34. User_name=User_name_on_the_MySQL-Server; ^) W4 P! C6 y- P9 @1 v' v
  35. Password=Password_to_go_with_above_user_name$ j+ G: s1 W. C
  36. GetDriverFunc=getSQLDriverMYSQL
    ' l" E  v. J+ f( c# `
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib7 m" I$ G, H' A1 Z7 Z
  38. LibraryName=path_to_libsqlmy_libary1 U3 O. T% b0 ^% S7 c' S) `, h
  39. Active=1
    ' t) m0 V0 S- L, i& y
  40. ---cut here---
    . i6 f" Q1 e( R5 {" f6 H6 x5 G1 ?- ?2 A
  41. In my environment (a linux box with a MySQL server running locally) I have:
    0 s$ \& ^6 V/ C% _" R0 p' ]
  42. ---example---& `. i) x" K, {- G' n
  43. [DBEXPRESS], N. t9 s: B2 E& j; o* }8 i1 `3 e
  44. sqldir=mysql_sql3 U% i7 o# O: V" O. i  g  u
  45. Drivername=mysql% _9 G) [" X" [; J* d+ g/ _
  46. Database=test, H/ U8 l+ H; G0 n( {# j  G8 S
  47. Hostname=localhost
    9 ]: y' {, {7 T. d
  48. User_name=testuser
    0 E9 S* a$ p% p" W% z! Q
  49. Password=my_password& C* r- R0 [) @: T* j8 l& P: b
  50. GetDriverFunc=getSQLDriverMYSQL  i! R/ E2 J4 W
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.07 I; \1 N0 B( u/ p' _
  52. LibraryName=./libsqlmy.so
    7 @% t& d- x% J7 ^
  53. Active=1
    0 Y3 [/ R6 O7 f0 h% ^6 l( E
  54. ---example---3 |( x1 m% \/ |: g8 l3 d6 ~3 Q
  55. 3 a7 ?3 o+ K) z
  56. On a windows box, also running the MySQL server locally, it would be:
    5 {+ ]' T8 M5 v, }' C
  57. ---example---$ j: W. q3 T1 A9 M8 T
  58. [DBEXPRESS]0 j! |) g* K" N
  59. sqldir=mysql_sql* o, g$ ^7 f" B- L# ^
  60. Drivername=mysql
    , m' V1 O5 Q/ m# Y/ x0 z( |
  61. Database=test
    # p1 [+ ?: A: m/ _4 U+ M5 }. M4 u* d+ ~% w
  62. Hostname=127.0.0.1
    1 {. s( R& Z& e; S
  63. User_name=testuser8 a: m7 g# d( j; B( O2 y
  64. Password=my_password1 i6 G% D8 v! y/ O* ~
  65. GetDriverFunc=getSQLDriverMYSQL
    % q- X% I5 n; P% x
  66. VendorLib=libmysql.dll
    9 j6 j" `; ?3 P' n! J* o$ I
  67. LibraryName=dbexpmysql.dll
      s" _' B8 U" w' Y8 u
  68. Active=1
    ) E" A9 ]* G! e
  69. ---example----: u5 }/ U* N: M' K5 z! C( W% l6 g
  70. - written 02.03.04 by pwk.linuxfan2 \, w3 U$ E  b) }4 Q* F8 J- e( h
  71. 7 s& a0 `, p' M9 w
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看) _4 F5 S0 k+ t: s1 ~, p/ ^
  1. ( L0 m0 B7 s3 g& s2 k5 p' j/ i
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    " |- b9 _4 A  {7 V' k+ S
  3. / S( i! [7 F7 w; r1 y% t
  4. # # #我们所需要# # #
    2 f% i& n5 l; A  D7 [
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    1 m; ?% ]: d! S5 i! ]5 I+ ]
  6. 不会解释如何做到这一点-也有文件存在,为) k: V# a1 [9 \- N# B  ?; V( ~
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用- d: p0 Y% Q3 y) M* z# Q3 L
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西, ]' D7 W  V2 s) r+ k
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    # U! L2 E$ ?/ s+ T& s
  10. 本地机器,这是我的MySQL安装。 9 n7 W! P9 Z7 U4 M
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从3 F# Z( w8 r8 ]  Q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    / @. N* X. i* j; n
  13. 数据库。
    0 W4 ~2 s3 V: u; y; @4 ~) `9 T
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    6 I2 Q: W! k, E6 i, M
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ' z" a6 S0 k5 Q# s, c2 }# Y
  16. 在teamspeak论坛,如果你有兴趣。
    . l6 U) \" O: H
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机( @6 o$ _2 F# q. w# k% x
  18. Borland公司使用。这个司机只能界面与客户端库4 I$ x) H! ]( L% |" U& m( L: ^
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ) \, m/ Y! s% K) o
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    7 A8 w1 t  e$ b" V0 @
  21. " vendorlib " ,并解数据库连接。
    ; D2 ]8 ?, d( C* P: `8 P: l
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ) J  H8 e% J# l! N4 c/ [

  23. . f. T+ [* a- ]7 t. ^
  24. # # #做好工作# # # ! n+ a. [% H. C- O8 ^9 _' i( @5 a
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ( S& w" R, b" Q) t3 P# ^. k
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    % \) f) k0 v6 e5 D+ ^/ o* S8 R
  27. 结束:
    + w- D; \5 Y) P5 N0 A: h
  28. ---削减这里---
    5 A( a4 A0 F" `( U0 B9 v8 e% [
  29. [ dbexpress ]
    ; M( T- ]' G9 u0 t
  30. sqldir = mysql_sql
    * D! _' G4 Q! C' Y7 f3 u6 S
  31. drivername = MySQL中0 H$ a! o9 [$ w/ i3 I6 i
  32. 数据库= your_database_name_here
    . G1 Z/ |  s, s& v; o+ U
  33. 主机= the_pc_the_mysql - server_is_on
    4 y2 ?" g+ c) @, H/ D6 b3 [; X
  34. user_name = user_name_on_the_mysql服务器/ F( _) S0 ~  X* B3 y; M
  35. 密码= password_to_go_with_above_user_name
    3 [4 G+ ?3 x) b( C
  36. getdriverfunc = getsqldrivermysql
    " K7 e9 C8 Q, M( B+ r2 P, q
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib $ {2 r/ Y6 z6 n0 \+ q. E" }* N% }8 c
  38. libraryname = path_to_libsqlmy_libary
    + X+ y" W/ K$ h5 J& k6 _
  39. 积极= 1 ) f  a5 m2 T2 [( `
  40. ---削减这里---
    ' {8 v* Q4 S, p5 `0 ~
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    5 q4 q9 c7 t" C% n* O, |6 A) A* J6 m
  42. ---例如---
    2 i. o# M- p" |+ x0 [, L* E  h
  43. [ dbexpress ]
    ( F" U! J  D2 S$ @7 o' H
  44. sqldir = mysql_sql
    - L5 P9 N, F, \& I( ~8 \7 J. F9 F
  45. drivername = MySQL中
    7 D) g) g* j3 I) x
  46. 数据库=测试
    7 L# U+ t3 F5 M; W' }/ f5 d" c/ j9 p
  47. 主机=本地主机
    2 G* Y4 K6 A7 z. Q: b
  48. user_name = testuser 0 X1 {) s  N" X+ w4 m0 L- j( h$ ^2 V
  49. 密码= my_password : L# r# \' W; ^9 K
  50. getdriverfunc = getsqldrivermysql
    6 f' B% a) d% c8 c) ^
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 4 t% u. l, z& N% ^- h% n
  52. libraryname =. / libsqlmy.so 8 x* |( U7 [% L+ A
  53. 积极= 1
    & G; B5 P7 f" M
  54. ---例如---
    ! f4 d9 a( P* I
  55. ! M9 n# a  U: J  f; c+ ?
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    * l9 X' m/ g) q4 t2 \0 Y5 K/ U/ T
  57. ---例如--- : t% _( i0 J+ p% F8 \/ D% ~
  58. [ dbexpress ]
    , Q9 ]  h; X2 [: V- q4 u, E1 X: P
  59. sqldir = mysql_sql 5 c. S! c" U( x' g/ H: @3 R+ `
  60. drivername = MySQL中
    8 U& G6 ]( B& C+ e! o
  61. 数据库=测试
    * C9 ]6 n+ b5 z' _" D7 v
  62. 主机= 127.0.0.1
    - x9 F4 y% \8 T5 m# b
  63. user_name = testuser
    ) _( D* q0 B* D  U1 a+ t( @$ v
  64. 密码= my_password / @) F- m. y# ^9 I
  65. getdriverfunc = getsqldrivermysql ! `5 |9 c! d' `3 {% N
  66. vendorlib = libmysql.dll在
    . w9 l6 ^  ~6 E0 Z
  67. libraryname = dbexpmysql.dll 0 {$ u+ ]( X! y0 X9 S! B
  68. 积极= 1
    4 `& c' q2 s5 t: r" E4 g3 f1 K+ `" L
  69. ---例如---- " {; W4 y8 R2 [4 u7 M/ f: m3 X
  70. -写在0 2.03.04由p wk.linuxfan
    0 \& a2 j5 b4 w1 w: O) `, R# O
复制代码
发表于 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
) g6 u: L3 y' \; p* d# c9 d& T6 o" I9 b8 e7 ^
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-28 14:05 , Processed in 0.097211 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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