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

3500 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan - W5 w2 [% F9 _; a0 Q( K7 N
- h8 L) [) ?) d, L: K
  1. 8 Q8 v; e4 \& d, F, n5 m% B1 j
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    4 f. x: W* m) |# a7 b1 P! T

  3. 2 G5 |0 S" O5 T" V" A
  4. ### What we need ###. s. f( k. X( R' H; a; L
  5. Naturally, we will need a MySQL server to store the data for us, this document * ]* O* ^& s8 J2 M! j! s
  6. will not explain how this can be done - there are documents out there for the # u  p; A- A3 f& l0 [# d7 W, S
  7. interested. The requirements include a (empty) database for TeamSpeak to use# J( b. y# c* ?7 A; q/ v+ y
  8. and a user account (username + password) that has the permissions to do stuff
      h/ R" W' M( k* D+ {" y9 `8 X
  9. with the database. Additionally, you will need a vendor library installed on the
    3 q. M1 [$ c$ J6 a# T% l
  10. local machine, this came with my MySQL install.0 K3 E/ a6 T3 s( a3 B" R3 }2 e
  11. These instructions will not tell you how you might transfer your data from the
    , \1 u. |0 {! {5 a$ ]! \( l! [
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    * M0 E0 a+ |1 v
  13. database.
    ( b5 v- y9 m0 J/ X: B
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    * o- t! G5 w: B, F$ v; K
  15. the time of writing, there are still too many issues - check the current status
    . E9 [  W- J% O' j  Q8 Y
  16. in the TeamSpeak forums if you are interested.% n# z( X8 `; V1 h7 Z, n4 U7 \
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    / w3 [6 _* X/ b
  18. Borland was used. This driver can only interface with the client library that
    " B, ]  C2 y) ~! J3 |' G
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    0 y; W9 Z! r+ c; I+ c+ p
  20. client library - basically all you have to do is to use a 3.x client library as # Y1 ?3 Z( Y' @+ U+ x0 r! C. g
  21. "VendorLib" and a 4.x database to connect to.
    4 ~. u2 D1 N8 }0 @' Y, G
  22. If you need more info about dbExpress, you can contact Borland.
    0 k% d6 i2 r: B5 _: @% }* ?- E! S

  23. 1 `. r! J3 l) x8 ^0 k; b2 C  K
  24. ### Doing the work ###
    ' t3 Y" v+ d5 O. g6 H, ^
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all' _- N3 F6 `% D; U! q" R
  26. the perquisites right, just open your server.ini file, and add this section at7 v* Q  l5 {- D# ^5 s
  27. the end:+ F) ^% U/ Q/ {1 S( q" F# Z  Z1 {3 W
  28. ---cut here---
    4 N/ n6 {& V1 Z0 B; {
  29. [DBEXPRESS]
    3 X  |& m; d0 ]$ h2 l+ d! S  T5 v# n
  30. sqldir=mysql_sql
    2 j( r9 n: \- L$ \/ f
  31. Drivername=mysql
    0 A) y7 Q" D9 `1 D3 T
  32. Database=Your_Database_Name_Here
    # R' _% n6 |. X) R" d; S
  33. Hostname=The_PC_the_MySQL-Server_is_on5 t% O; X: P7 L" C* \
  34. User_name=User_name_on_the_MySQL-Server
    6 z# ]. I- X( z+ h. c
  35. Password=Password_to_go_with_above_user_name4 G, I3 U1 h3 e% k
  36. GetDriverFunc=getSQLDriverMYSQL- C9 j0 p2 u. ]3 B+ y3 |
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    + {: f# t/ `8 w- J
  38. LibraryName=path_to_libsqlmy_libary- ~1 [2 u& s; J8 m, x% k% q- s% v
  39. Active=1
    / Y6 f; S# g1 r1 U* z: r/ r
  40. ---cut here---
    0 K# l. E4 N; a! b: h- ~( ~' Z
  41. In my environment (a linux box with a MySQL server running locally) I have:
    8 H& @* `& _2 K  e: s! N- _- [
  42. ---example---0 y, G$ Q; N1 f6 @$ p5 e% J+ p
  43. [DBEXPRESS]
    ( C  c9 Z  Q( z3 w
  44. sqldir=mysql_sql  g- Z, {2 n5 D' k# p  c4 W) m
  45. Drivername=mysql
    2 Z# Q+ y1 A* G2 b) r: W* \6 |
  46. Database=test( I2 Y! Y! V" N& e4 @. U( h3 m
  47. Hostname=localhost& O) [/ O: ?& n- H* i8 e
  48. User_name=testuser
      G  ~9 b2 i$ \6 W" c" u/ @' @
  49. Password=my_password% b4 g6 |+ }1 D% P
  50. GetDriverFunc=getSQLDriverMYSQL
    & o6 ]' W+ w7 e  a" ]$ j& z
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ; H5 A* ?: v9 t0 D" Q
  52. LibraryName=./libsqlmy.so
    : y2 M9 Q% g3 O( l6 d- \5 e
  53. Active=17 U/ M% c- b# O/ D0 p
  54. ---example---: N- y4 i/ T+ V7 W" H

  55. + c; B3 v' S1 Y0 y
  56. On a windows box, also running the MySQL server locally, it would be:, o) M# l6 w+ O; f' a
  57. ---example---* t2 j( W' w7 V& H5 f1 {) Z0 s+ ?
  58. [DBEXPRESS]1 ^  i! ~( F/ `+ \$ V- x
  59. sqldir=mysql_sql& C9 j9 X. l+ ~; |! k- u
  60. Drivername=mysql! m2 }, ]! w4 J" u( d! l) I' ^
  61. Database=test
    - V: h0 m0 D8 @4 g- G  g. r! }7 v1 t
  62. Hostname=127.0.0.1
    & b8 I; H7 e% L! ?9 ?/ [4 L& b
  63. User_name=testuser, s$ {/ ?5 A9 \3 {
  64. Password=my_password
    # c. X% i9 b/ Y9 b3 R/ Q7 b
  65. GetDriverFunc=getSQLDriverMYSQL' G" y, l2 z6 V
  66. VendorLib=libmysql.dll4 K1 J/ ?  N- _9 J
  67. LibraryName=dbexpmysql.dll7 {0 @$ p4 t4 X1 U0 J& [
  68. Active=1
    6 b1 F/ Y! x4 z3 G+ {; k) A
  69. ---example----
    " K& E  y4 q4 J0 L, y
  70. - written 02.03.04 by pwk.linuxfan
    : z  {0 c2 |$ t8 Q

  71. + B0 i& A( \, F/ T  P6 U$ G
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
: g. b% w" q! K0 }/ T

  1. % d+ f1 w- a: \- Q* B2 T9 G
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### & _+ b9 g5 R- {; W* g# t
  3. 9 Y! [+ `0 q3 {, ^0 z* I
  4. # # #我们所需要# # # . M& M) z3 y" H# N: H2 R" U
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    3 @3 ]5 X0 i% w6 D
  6. 不会解释如何做到这一点-也有文件存在,为
    % }$ m& ^, C# z9 k5 b7 t! r) m
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用$ O" ]! t& \. i$ w' ^5 l
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西8 e' u' U; @1 {
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    + {1 I5 Z8 z; p" n' b
  10. 本地机器,这是我的MySQL安装。 / s+ E5 ]9 x% E# k
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从+ Z6 {0 b) `/ Z
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL . g, z$ T- a' C- ?$ D" m
  13. 数据库。
    3 D% R, [  t. ~( \
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    + Q3 y8 `( }3 W( j. p1 r
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    % w4 e$ _8 `% T6 D# C0 t" G
  16. 在teamspeak论坛,如果你有兴趣。 ! [6 E4 x0 ?. B6 h0 {  K! e6 F
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    2 g. H6 b9 _- o0 ~8 P
  18. Borland公司使用。这个司机只能界面与客户端库
    5 X; a: {6 v7 y3 \* r
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这; v, [  h3 c. j4 X# n
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    / e/ \3 d. Y) i  `( h
  21. " vendorlib " ,并解数据库连接。
    2 I2 R9 |7 ]/ m- q) `1 H6 D: w
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    8 ?4 I( ~1 r, i, M3 M

  23. 7 Q5 Z$ s" {2 Y# G# J
  24. # # #做好工作# # #
    1 ^5 u1 M) A; f% p, r
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    * K  z5 H; `$ @+ q; O
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在  D2 Z$ H7 c8 Z3 G& h$ Z) b% ~' l
  27. 结束:
    5 Q# o# t1 ]* @6 s
  28. ---削减这里--- ( A. A$ k# q! m
  29. [ dbexpress ]
    ' _) D. [$ k) P* T6 |2 c: w% }, }
  30. sqldir = mysql_sql 9 \$ m% ~& h# b% Q1 F
  31. drivername = MySQL中
    , d5 m6 o$ L& U5 d
  32. 数据库= your_database_name_here 2 a7 I! E4 \/ S" [3 M
  33. 主机= the_pc_the_mysql - server_is_on
    6 X$ J* c2 F5 ~6 b
  34. user_name = user_name_on_the_mysql服务器
    4 u9 T. V" f2 X0 k8 z
  35. 密码= password_to_go_with_above_user_name
    . Y: ~; s2 n2 z* F( V8 N5 P& d) |; c2 p
  36. getdriverfunc = getsqldrivermysql
    ) `7 U; P$ i! t" n: R" t+ ]% k( b5 m: G
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    # h5 N0 w+ I& }2 f/ ?; X5 i
  38. libraryname = path_to_libsqlmy_libary ) u( q! N, f; }
  39. 积极= 1
    ) X$ g1 G5 a7 E  \, |, Q7 f; G
  40. ---削减这里---   b$ b- c' M; ]. o8 F2 v
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    % i9 A0 L$ v- d  k; w2 R
  42. ---例如---
      a7 P2 @  s. P* T
  43. [ dbexpress ]
    & e1 D! e& q# O/ a4 x# l* J* y
  44. sqldir = mysql_sql
    6 t) M6 f& W; v+ o; c; ^* }
  45. drivername = MySQL中
      c3 }7 ]! A/ `7 \" N9 }" m
  46. 数据库=测试! u) Y7 Z1 n( b% b, `( T" D5 E
  47. 主机=本地主机
    ; G3 \6 |4 C+ A/ y
  48. user_name = testuser $ N9 t: o% T, x; ~: W
  49. 密码= my_password
    . Y  _' Q5 c' x/ @( b! }
  50. getdriverfunc = getsqldrivermysql : I8 x( s& t  q& J# A7 B
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 1 F9 a# C3 n9 C! b/ G1 @; d' {7 K
  52. libraryname =. / libsqlmy.so ' _' M/ F$ z, X3 a. |5 d7 p# s) D
  53. 积极= 1 + H' m* ^: s5 k
  54. ---例如---
    & K( m  G/ b2 p- j* [0 n
  55. * |& @/ I7 }$ O: r, M5 z/ c7 S
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    & L4 ^* P/ V) I8 j2 A. y: _
  57. ---例如---
    # \, o2 I# q9 i+ ?
  58. [ dbexpress ] " V. M/ |) F8 u( R# O
  59. sqldir = mysql_sql 6 l: ]5 c; b* Q; {+ t" B
  60. drivername = MySQL中- O5 P1 w5 j+ m/ O' K& J! y
  61. 数据库=测试8 `1 I3 r9 u0 t, ?; J4 y% P
  62. 主机= 127.0.0.1
    % V5 V' i' E+ \5 o  L
  63. user_name = testuser 3 x0 G& K% t2 r' x0 e
  64. 密码= my_password
    # Z( i+ R8 ?5 p" c1 g- r6 [
  65. getdriverfunc = getsqldrivermysql
    ! k& x8 p3 a3 o6 Y. X: C
  66. vendorlib = libmysql.dll在
    4 R* _, e" Y$ c' A6 ]
  67. libraryname = dbexpmysql.dll $ V* m8 F3 K& F/ Q# o
  68. 积极= 1
    # S) t( l7 s& d. S8 g# s
  69. ---例如---- 7 F2 ~' R# h" b$ e
  70. -写在0 2.03.04由p wk.linuxfan
    9 v, Q# w8 K0 c
复制代码
发表于 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* _0 l3 |3 A8 ]! |% D! m$ W
2 e1 C! v& u! _- S) D
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-11 06:31 , Processed in 0.057565 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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