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

2075 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
3 U( ~( |' t2 O1 Z5 ]. a9 H: P
1 j( N/ ]6 Q, I  L/ h1 o( P1 x/ S

  1. . B* I0 q" v7 g  b: |" ]# `3 J
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    * q0 J, D  N  l. ~$ a% X
  3. . i& j2 `; d9 F, N1 Z; E4 j
  4. ### What we need ###  ]1 L6 R1 D8 @
  5. Naturally, we will need a MySQL server to store the data for us, this document 3 F; ~+ M/ x. \( s2 V8 \1 w8 P
  6. will not explain how this can be done - there are documents out there for the
    ! I* Z9 y: s0 @; s. @0 h/ X5 d
  7. interested. The requirements include a (empty) database for TeamSpeak to use2 W, ]1 h- i+ C' T/ ~( K
  8. and a user account (username + password) that has the permissions to do stuff2 C0 R) z9 h% B) i* r$ v; w" d. F
  9. with the database. Additionally, you will need a vendor library installed on the
    # l- N( t( C9 W+ l3 l) S
  10. local machine, this came with my MySQL install.
    2 p1 m6 i$ H" `5 n
  11. These instructions will not tell you how you might transfer your data from the
    4 R3 z  o3 A. w3 D
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL0 p3 ~5 Q" O# Y2 d
  13. database.
    8 f1 z8 {% n' I1 a4 O
  14. Some users have reported ways to import a SQLite database into MySQL, but at" a) @& F, q  N! Q8 k4 m( s1 D3 M
  15. the time of writing, there are still too many issues - check the current status
    : O* |, [  a% v. _  N
  16. in the TeamSpeak forums if you are interested.8 H4 u" G& I: d' I1 }- ]5 X1 d( [
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from2 h8 r* w; _0 Y- S
  18. Borland was used. This driver can only interface with the client library that
    ' H/ ]4 o0 p3 T
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this" @6 A' E/ |8 s& m
  20. client library - basically all you have to do is to use a 3.x client library as
    ( z- T8 r2 ?, e
  21. "VendorLib" and a 4.x database to connect to.' ]. G5 O6 Z8 H7 E4 \
  22. If you need more info about dbExpress, you can contact Borland.  e$ v; j) S- I1 [$ c3 x+ Q" Y- W: z
  23.   X3 U# ^) O  {1 A
  24. ### Doing the work ###
    ! Y8 T6 n* l; \: ^
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all% N# _2 Z: \' k9 _3 C1 x
  26. the perquisites right, just open your server.ini file, and add this section at* W2 K  x4 F8 m* @9 c3 ~
  27. the end:, P9 E: n  H  d' N* y; l
  28. ---cut here---0 I# m) E; a1 w
  29. [DBEXPRESS]7 d9 K6 G2 f0 l% ^
  30. sqldir=mysql_sql
    ; o' ]$ \& G- K; P
  31. Drivername=mysql+ ~9 V' ^* k( b  L8 M- ?  Q8 f
  32. Database=Your_Database_Name_Here) h2 |. c9 V, z* n
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ( H; u) ]9 _1 \
  34. User_name=User_name_on_the_MySQL-Server
    5 i& ~- v8 I8 L% u1 V, ?/ t
  35. Password=Password_to_go_with_above_user_name
    ; L6 P# S$ W- I6 e
  36. GetDriverFunc=getSQLDriverMYSQL
    4 T6 @% G' e2 N7 v1 S: W. g1 i( L
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    . A3 H/ }" b1 t( h  i1 s. {
  38. LibraryName=path_to_libsqlmy_libary
    3 }9 f* Z' K1 B7 t  O: Y  b
  39. Active=1$ ]+ P- B; @0 _, M) M
  40. ---cut here---
      o0 u# I& x: g) P2 R  S: ^
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ! b' M: O$ X' s- `0 T7 a
  42. ---example---* n7 U# ?/ ^1 {" H0 [
  43. [DBEXPRESS]) c2 C/ ]3 \8 A2 g  Q1 V" Z
  44. sqldir=mysql_sql
    . a2 \3 B/ c! @1 s8 g! k
  45. Drivername=mysql
    7 F! J* P" j; n5 m; x* C! ~4 t7 s
  46. Database=test
    7 ~0 m' s7 E6 J% s, P; T
  47. Hostname=localhost
    0 ]! y$ \5 i9 w! [3 I: [
  48. User_name=testuser6 `3 g* s; c% e0 d% S! b4 M" G5 M
  49. Password=my_password) U( \. |( T2 z5 {3 u6 v
  50. GetDriverFunc=getSQLDriverMYSQL! R! E( T6 F# Z
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.00 M8 {  @( H( z  A# c3 f
  52. LibraryName=./libsqlmy.so
    3 R6 X5 k5 F4 r7 D  J  V
  53. Active=1
    9 }1 |- h- t4 Z+ f3 e' r7 N! ]
  54. ---example---; i6 z# v& o( v6 r' K& T

  55. 9 i$ o* {$ e+ N$ {6 _  r
  56. On a windows box, also running the MySQL server locally, it would be:7 }+ i5 K: S* d! F+ B: L) c/ J
  57. ---example---
    ; m0 v; n4 [1 r( a1 \
  58. [DBEXPRESS]/ ]* t% e& L7 d1 I5 n5 _# v$ L3 G
  59. sqldir=mysql_sql
    : W' E7 S+ M" @, o" k7 _  R
  60. Drivername=mysql
    2 s4 A5 z( j9 e- F
  61. Database=test
    # v9 }2 O$ u" e- o: h7 r
  62. Hostname=127.0.0.1% q7 p2 V3 g; S
  63. User_name=testuser: Z2 ]; o9 t. _7 F  T
  64. Password=my_password
    1 c6 Y8 d. [% j& S: ~( s
  65. GetDriverFunc=getSQLDriverMYSQL, b+ h! z- W) L& O
  66. VendorLib=libmysql.dll2 e# W9 ^! V! a% o! [3 s' V3 a
  67. LibraryName=dbexpmysql.dll4 {! I# d, |2 Y# w
  68. Active=1  R- j% Z" D3 C% |; [6 F& Z
  69. ---example----
    ( ~, u8 B8 ~( Y, ~  M6 @
  70. - written 02.03.04 by pwk.linuxfan* X8 R( m9 r5 `4 x

  71. 3 ^: k# b0 @5 @) A% ]; V
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看; Y% g5 U3 z, U2 C) u

  1.   V0 _- D2 Q5 j' Z( w, s+ v+ ?
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    * v( t, v1 s% x
  3. + j6 t: p& i# x, G3 o  j* b
  4. # # #我们所需要# # # 3 |1 ?2 \( M+ e
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    5 {8 _1 W0 t4 V" E# _" _- R
  6. 不会解释如何做到这一点-也有文件存在,为
    + g! a2 m) j6 l$ e8 R' T
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    7 Z9 [! x6 ^  x2 F
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    : `% {# ^# S, R7 Y9 Z! P$ Q
  9. 随着数据库。此外,你需要一个卖方图书馆安装于$ a5 n. E3 \; u2 u. L# f
  10. 本地机器,这是我的MySQL安装。 : G5 V1 _* \' X2 n0 N- S/ b. X
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    2 O0 A- r0 K! i& o* y
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 4 w9 T% T4 F- L* M( k  c7 W
  13. 数据库。
    / r3 R7 I8 U( D0 N+ ^) F5 M* ]
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    $ A. z' O4 C. p: B. i5 I
  15. 编写本报告的时候,仍然有太多的问题-检查现状) b- T+ c0 D/ [5 r, F% h; S/ H
  16. 在teamspeak论坛,如果你有兴趣。
    & n; d- E4 V; U. S; Z1 C4 e" f
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机+ F+ f3 g6 `; M9 Y! G  B/ F; n
  18. Borland公司使用。这个司机只能界面与客户端库
    % J9 H: W7 @0 u9 A. N1 J) G( {
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ' i$ y4 n1 r$ E7 h$ |
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    : d- n3 i; H9 W
  21. " vendorlib " ,并解数据库连接。 , r' A3 Y' F3 C( C
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 + c; q5 @! h( x+ i/ p
  23. 4 O- n/ C5 e( e- ?
  24. # # #做好工作# # #
    % g! r& ]; |& F. e4 Z0 @6 ~3 R
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都4 P! z+ Y" ~  Z4 _" ]- A5 o
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在+ A2 ~) v5 z/ g. ^! D
  27. 结束:
    % C; Z% I9 t: c- W8 [# {' T2 P
  28. ---削减这里---
    8 U% q8 U, u- i" j6 [% g7 p$ L
  29. [ dbexpress ]
    2 W) M! e  n# C# L! U
  30. sqldir = mysql_sql
    1 T" N# D; ]$ t* n1 Q) r
  31. drivername = MySQL中
    . l; i, f  L/ {% ~( {" X- H1 q- e( }
  32. 数据库= your_database_name_here
      w! p1 \% R+ F* W9 K, e3 Q9 ^
  33. 主机= the_pc_the_mysql - server_is_on
    / @8 J3 a$ V; O3 P9 u, S/ I
  34. user_name = user_name_on_the_mysql服务器
    $ q. Z; q4 i' `9 b8 |' i: Z
  35. 密码= password_to_go_with_above_user_name 5 N- n( m* i+ _
  36. getdriverfunc = getsqldrivermysql
    ! q" f# D$ A! F. f
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ; J5 {5 N( Q3 D, U6 p
  38. libraryname = path_to_libsqlmy_libary / g  |/ b+ L# k% v6 V
  39. 积极= 1 7 f, F7 B0 ^  T5 W% J
  40. ---削减这里---
    $ x1 ?; V5 }% L8 t6 l* q$ J
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    4 C% M. ^0 b9 F& f! `) z
  42. ---例如--- 1 f# n* G+ B& r: z  @+ O
  43. [ dbexpress ] ) K& i2 e% p7 G
  44. sqldir = mysql_sql 9 B/ H  w4 k5 ^$ P1 R
  45. drivername = MySQL中
    # T: y0 ^  U/ j& R
  46. 数据库=测试
    9 N$ T$ i5 {) T; Y5 H
  47. 主机=本地主机
    : ], M2 b) C) u: b4 e& A) R( m( {
  48. user_name = testuser 9 u& L/ w4 a$ i
  49. 密码= my_password : Q; b% k" V3 F4 N1 ?3 w5 ]% }
  50. getdriverfunc = getsqldrivermysql
    6 e, W4 m3 _, i% N
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    . [% u# U/ E; Z) H9 K4 y% Z3 e7 U
  52. libraryname =. / libsqlmy.so 7 k' C! H; U" @* l
  53. 积极= 1
    # ?7 l" I, m+ R( S) [- p
  54. ---例如---
    8 C. h- n3 n2 P2 e" k" ?5 U

  55. / i, p: O/ Q' f+ R4 p$ C
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 9 U4 l* u7 u2 E6 `
  57. ---例如---
    * B5 f' K; q) ~" h# e  S( A
  58. [ dbexpress ]
    1 Q. M% k* D% `' h; h$ H9 p: ^
  59. sqldir = mysql_sql
    ( I; y$ U! H5 f
  60. drivername = MySQL中
    ' }" m2 g2 l; a7 X/ b6 X
  61. 数据库=测试6 I3 B" |, H( N8 ]
  62. 主机= 127.0.0.1
      J- o7 T4 t4 U. M: G
  63. user_name = testuser 7 M" z; D9 \( {$ N' q
  64. 密码= my_password
    1 Y) b# d; r) O
  65. getdriverfunc = getsqldrivermysql
    ' C' b/ d. m; I' s$ k) |
  66. vendorlib = libmysql.dll在2 f5 }& q* ?* H1 F7 Y! Z1 R) a
  67. libraryname = dbexpmysql.dll   ~# u) x1 h5 X( ~( e! b0 L
  68. 积极= 1
    / E1 E2 p; v4 K. s
  69. ---例如----
    . W+ Y  Y! ?& b# w& @0 I  R4 l
  70. -写在0 2.03.04由p wk.linuxfan$ ~. `6 J2 Q$ s
复制代码
发表于 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) M. f) L; x# ~1 B

4 G, `! \+ M4 \: P& j) s' v# Xbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2025-7-11 10:08 , Processed in 0.106021 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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