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

2355 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 8 {, F9 w/ [3 \

9 z; D  d6 r4 [4 a

  1. % w6 N9 k' w( c" x0 u/ h$ S0 ?+ ?  a6 A
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######6 P/ r' j: f+ B% T$ y
  3. 3 U) o4 P1 R" g5 V* |
  4. ### What we need ###
    5 \3 T! r% p* H+ X% y* G
  5. Naturally, we will need a MySQL server to store the data for us, this document . W. C" T0 W5 }0 a. g
  6. will not explain how this can be done - there are documents out there for the
    ! P$ w- S% s7 X& F7 o# l
  7. interested. The requirements include a (empty) database for TeamSpeak to use* b% N# t' \  _  D0 i3 x( s3 f- q
  8. and a user account (username + password) that has the permissions to do stuff
    , p) B0 @- w! D2 S8 E
  9. with the database. Additionally, you will need a vendor library installed on the3 v: [( \- b" o
  10. local machine, this came with my MySQL install.9 i) y, ^& i' `$ d$ O6 Z
  11. These instructions will not tell you how you might transfer your data from the! b. R. I/ j. f) n; b
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    , S: }. `3 q0 e* d) ~5 }
  13. database.9 e* N; Y7 G, o6 `
  14. Some users have reported ways to import a SQLite database into MySQL, but at: [* o8 @; ~8 M
  15. the time of writing, there are still too many issues - check the current status% J# f9 W( i3 p/ p
  16. in the TeamSpeak forums if you are interested.
    5 ^' u6 C. d4 X# d4 @7 j3 t" t8 X
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    8 K1 W; @4 J- L0 g2 ~* o9 V
  18. Borland was used. This driver can only interface with the client library that ) p' M8 S7 b2 n9 u
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this* A5 I- [$ N' {  D7 Z
  20. client library - basically all you have to do is to use a 3.x client library as
    ) e9 Q$ C- A4 C. b" h3 q7 k2 T: D
  21. "VendorLib" and a 4.x database to connect to.
    ! I  i, S7 |. ~+ ?: Q7 Z6 ^
  22. If you need more info about dbExpress, you can contact Borland.
    & J$ w! ^1 v7 E4 a& a3 D
  23. * V' Q. b% J5 a% X( U) n' x4 s
  24. ### Doing the work ###
    : ^! C9 T# z" B5 X& R, {; c
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ( E& E, Y/ p. }+ G5 Z+ @+ h4 d
  26. the perquisites right, just open your server.ini file, and add this section at* p3 w+ O% g7 G3 f7 y1 p
  27. the end:
    / I1 ]- \8 y9 p9 ], q
  28. ---cut here---! B( a" x  l, z4 l8 F% w; _$ H/ k
  29. [DBEXPRESS]/ w2 R) t2 `, N7 m( J" D- p
  30. sqldir=mysql_sql+ C+ K% w) ?/ q5 r5 n
  31. Drivername=mysql
    / Q6 _2 ^' J" t) H; }; A
  32. Database=Your_Database_Name_Here
    * t  N2 p! H; l0 M% t* y+ ~
  33. Hostname=The_PC_the_MySQL-Server_is_on
    3 }% L) b% ]( ?
  34. User_name=User_name_on_the_MySQL-Server
    , k1 C+ Z1 D* }6 R$ r
  35. Password=Password_to_go_with_above_user_name
    . z6 {6 t3 A! y
  36. GetDriverFunc=getSQLDriverMYSQL* U. L- e' I; ?1 J/ J$ u% \1 w
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    : y3 o3 g# d" s0 P. @: |
  38. LibraryName=path_to_libsqlmy_libary
    / x% l, k, ^  Q7 a$ G# J5 A
  39. Active=1* F- j4 Q* w8 R% J" Q6 z
  40. ---cut here---
    * {7 \* {) M9 w$ k! z/ l6 s) F
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ' Z8 K2 g; B5 F6 U( A/ y: o
  42. ---example---
    3 u9 W8 ?& F" k- J/ |8 ~
  43. [DBEXPRESS]
    " Q7 F2 L$ c7 B5 d- V" a" ~& U) t' @
  44. sqldir=mysql_sql
    & V, @4 r0 S) R. {
  45. Drivername=mysql  d; T0 S. ]9 P- k. t: w( d
  46. Database=test1 n. N9 L5 Y+ ^* E1 p- q% F
  47. Hostname=localhost
    " r+ F( u2 y* X4 q8 K; z
  48. User_name=testuser
    ! o0 N0 Y1 p2 |) \3 ^
  49. Password=my_password
    % J0 R- u# y4 k# R' Q5 p) B
  50. GetDriverFunc=getSQLDriverMYSQL% K. f6 [  _# |1 k
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0+ A# {) W$ J; x5 s
  52. LibraryName=./libsqlmy.so0 M0 M4 Y7 m4 n- |" ?8 r0 {
  53. Active=1
    * t4 x8 R0 A: Z1 R5 C) V  a
  54. ---example---0 u! i7 C* t6 Y) @! W& X

  55. . L2 S4 P  B& @7 s9 j2 f
  56. On a windows box, also running the MySQL server locally, it would be:7 W( Q% n3 v3 C. c$ R" v9 n
  57. ---example---
    2 _6 F, g% `' g! G) }9 q1 D
  58. [DBEXPRESS]# O+ L. a; m8 u" w! p
  59. sqldir=mysql_sql
    ( H5 M# n3 u7 {0 {: r* \# ~
  60. Drivername=mysql
    3 ^) B9 a- n( w9 Z1 v8 Q9 C
  61. Database=test, v1 T# F+ Z3 ]- F( B9 Y8 c3 B
  62. Hostname=127.0.0.1
    % V6 {; L& u1 C1 o# f; N$ j$ ^
  63. User_name=testuser6 F# T: R( `( O' M
  64. Password=my_password
    0 i1 m" S+ M$ b0 x
  65. GetDriverFunc=getSQLDriverMYSQL
    1 A$ T2 A* T  x9 i
  66. VendorLib=libmysql.dll1 [- O, I. \- W# x2 e
  67. LibraryName=dbexpmysql.dll5 L9 F8 U& e4 ?% z( }$ ~
  68. Active=1( k# m& m6 ^" h" _+ G1 U% \
  69. ---example----
    / U7 T0 W. Q1 K! Z; {
  70. - written 02.03.04 by pwk.linuxfan! F  ]3 `% Z, d1 _. S3 U

  71. + |' L# P% m' ?- d
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看' r+ X, [8 D2 N+ O  M
  1. 4 j9 }3 z; p: H8 ]
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    9 X; @0 k  r. W# J2 _6 @
  3. ' {3 G: o/ ?2 \- d9 D4 `: x
  4. # # #我们所需要# # #
    6 w9 C: T0 ~' F( p. h  K0 ?( l
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件5 T$ Y; J6 K3 b7 a( C5 [$ R
  6. 不会解释如何做到这一点-也有文件存在,为
    % q' J5 H% `' ~+ e. R4 {" T
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ' d. t8 t' }  X* E
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    % z0 z9 |! p$ ]+ N( l! t  d4 A
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    : a) W4 o8 p4 F# m
  10. 本地机器,这是我的MySQL安装。
    / F9 L6 h" h! [% N9 p' b, K7 ?0 N- t
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从% R8 T3 @+ g' U. C5 N
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    * {# P- b; z8 q5 Q) D0 V: {5 Q
  13. 数据库。
    9 a6 N& R3 C  _2 x
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在0 {: F( g8 ~0 U" I0 q! Y
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    / O  P. X0 m  M4 a9 C
  16. 在teamspeak论坛,如果你有兴趣。
    / k( L& o+ R3 b4 |0 h" k9 H1 i
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    # p2 q. _5 K- q6 p3 ~; i' c
  18. Borland公司使用。这个司机只能界面与客户端库9 S  j+ I- T/ T3 \$ a- F
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这' _7 b5 X3 B6 a) y2 A1 {
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为3 U% J4 A) ^: \) {4 o0 u9 B
  21. " vendorlib " ,并解数据库连接。 8 n0 B/ _. ]! N( A
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 . ^, l! v; p5 _; b" K
  23. . B( f/ N- |2 @* t* W5 e7 r
  24. # # #做好工作# # #
      B. C  X0 L2 V' s/ O
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都4 }. C' e9 \2 j- I& J
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    3 O% e1 |: ~. r6 ]) K# r$ t3 }
  27. 结束:
    ( F! G: e9 p$ j. K
  28. ---削减这里---
    , m9 s4 R/ W! n7 u; O  c
  29. [ dbexpress ]
    ) Y! X" J; y3 Y, q( a
  30. sqldir = mysql_sql
    1 |4 b- k4 @& G# r) k' j
  31. drivername = MySQL中
    " I, u% b) l/ W# l
  32. 数据库= your_database_name_here ' Q1 v! k1 H2 f" j1 o9 O
  33. 主机= the_pc_the_mysql - server_is_on * R3 j' p2 t% l" x# C
  34. user_name = user_name_on_the_mysql服务器
    2 p- h: v. V+ z* z, @/ D9 _
  35. 密码= password_to_go_with_above_user_name & m$ y  X( c# F: c0 [
  36. getdriverfunc = getsqldrivermysql
    ! B6 Q. T* K( e' n* x6 t$ k
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ( n, C5 ^8 i+ M) d* n4 k; P
  38. libraryname = path_to_libsqlmy_libary % h6 G1 B/ f) t7 s* L7 p
  39. 积极= 1 7 X# A- Q* ~, V  Y: Y/ x0 s: t$ Q
  40. ---削减这里--- 6 w2 ^" X: g) l" M4 ?
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    8 I, n# E8 V5 k' d8 k
  42. ---例如--- $ _. _# ]# |% o/ t3 y
  43. [ dbexpress ] 0 |7 J* H  K  T$ C/ F
  44. sqldir = mysql_sql 1 Q8 v5 }4 S' o9 C. _" ]
  45. drivername = MySQL中5 Y) [- j9 {, e. v2 P# g
  46. 数据库=测试
    . o* K2 S$ R+ B$ ^
  47. 主机=本地主机7 c9 m: }& n* T3 C
  48. user_name = testuser 3 J" _1 m( R* A
  49. 密码= my_password 2 ?8 z: l* Q. Z+ N: T, y. r
  50. getdriverfunc = getsqldrivermysql
    % T0 Y3 V& k) U: \- f
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 : e7 V, E- \  M% R" }
  52. libraryname =. / libsqlmy.so
    ) z' K# V$ C: i, w9 J! ~
  53. 积极= 1 9 v# s2 O+ E/ O1 U+ s* e1 t# A: Y
  54. ---例如---
    ( r0 C4 H8 m' @* v
  55. 9 l8 v' I$ z; M3 w+ t2 n$ B! Y7 ^4 h# C
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 9 Z5 }& T; ]4 L& w8 \! O; D5 }
  57. ---例如---
    6 t* s( t$ n' f; A. n1 k
  58. [ dbexpress ]
    ) s7 p( Q7 D. x' K1 h9 y
  59. sqldir = mysql_sql
    ) @/ Q  Q! e! D1 P" s
  60. drivername = MySQL中& s6 e$ g7 l0 _% u1 s- T0 |
  61. 数据库=测试( x+ J. |  {: C! I2 y( C- b' M) X
  62. 主机= 127.0.0.1
    & h( E( C4 z( v' P3 e5 [/ ~! N2 y& z
  63. user_name = testuser * t4 t. |, }) b% g, }# q5 g& \
  64. 密码= my_password : u5 ^# a/ U% h4 [* B  E# ~- L) B
  65. getdriverfunc = getsqldrivermysql
    ; M3 Y  x' i7 }7 l; N. `6 Q: ^6 x$ b2 U
  66. vendorlib = libmysql.dll在: R7 O$ ?) d9 R( \7 @& J7 c
  67. libraryname = dbexpmysql.dll
    + Q1 p5 c8 L! E9 d
  68. 积极= 1
    7 W, I8 v' a& F2 \( x7 B, I5 N
  69. ---例如---- - G3 y2 {6 |# a; E( w6 D/ P/ l
  70. -写在0 2.03.04由p wk.linuxfan
    2 J/ N, c) g- k0 i9 D
复制代码
发表于 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
6 _" P) R9 n$ i# k; l
2 {/ q5 a2 x2 s2 W) v0 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-3-3 16:18 , Processed in 0.100459 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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