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

2588 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ' {( g1 P, Z1 P5 S# [

) `' S, ~% W4 {0 q4 S( h1 }& z
  1. 3 N* u, _8 ~4 z5 L# v+ a4 k- F
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######& E1 u; J* K0 v0 v! E$ j
  3. ; _% T" n" g% K* G
  4. ### What we need ###5 V: Q& k; ?! q9 a
  5. Naturally, we will need a MySQL server to store the data for us, this document 6 N( I. v$ m$ Q! c0 G: I: x0 s3 X3 ^& P
  6. will not explain how this can be done - there are documents out there for the
    % c2 I+ p* L8 |9 s
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    , q  Y4 _6 g% s" R7 K( n/ ~6 }2 |
  8. and a user account (username + password) that has the permissions to do stuff
    ' M5 y* K5 s& l
  9. with the database. Additionally, you will need a vendor library installed on the
    / U$ H3 S$ U: w3 ~
  10. local machine, this came with my MySQL install.
    1 V+ ?8 i  N# k0 c5 ^6 i& {
  11. These instructions will not tell you how you might transfer your data from the. M# A  m& i4 ^4 Q; [: X/ ?
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    2 R+ h6 B$ C  G8 X# Z* j3 q
  13. database.
    % @  W% X3 V4 ?
  14. Some users have reported ways to import a SQLite database into MySQL, but at# i' C1 I& n8 h, A9 p' C
  15. the time of writing, there are still too many issues - check the current status
    5 T" M/ O8 @3 V, M7 r
  16. in the TeamSpeak forums if you are interested.
    4 U$ r8 A- C9 S
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from8 N4 s% S3 A8 c7 \% I' B
  18. Borland was used. This driver can only interface with the client library that 4 A5 h5 y( @; [/ V
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this( F* y6 e1 Y, @3 @# B1 P
  20. client library - basically all you have to do is to use a 3.x client library as
    ' _4 A. e* `: K. n5 r
  21. "VendorLib" and a 4.x database to connect to.4 M6 n5 m( x$ T$ x# e
  22. If you need more info about dbExpress, you can contact Borland.
    / t* W/ C- t# ]# K- O

  23. " e0 s& t' g/ T1 P* u( ~7 T  E
  24. ### Doing the work ###  X( _# F# P- q( M* w- B
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all; V8 ?. h2 N$ l- f. X$ G& Y
  26. the perquisites right, just open your server.ini file, and add this section at
    + n- S+ u0 [  k% S
  27. the end:+ ^9 s) T  s2 m7 f3 X/ w9 R
  28. ---cut here---1 e" n; c/ ]" U9 I
  29. [DBEXPRESS]+ |. X/ p6 N! u' R5 x; \9 z# W, m
  30. sqldir=mysql_sql$ s* D- Z) f6 D, M1 T: S
  31. Drivername=mysql
    / C6 K! X9 B1 o" ^0 T/ Z" Z
  32. Database=Your_Database_Name_Here* [3 |! m) [( g
  33. Hostname=The_PC_the_MySQL-Server_is_on
    . j3 `# a7 n" \# I' [
  34. User_name=User_name_on_the_MySQL-Server
    ( q! v$ P0 j. _2 O6 P- |. w& U
  35. Password=Password_to_go_with_above_user_name' R  Q5 f& K. C; @
  36. GetDriverFunc=getSQLDriverMYSQL
    & f! O1 B( E( C& T
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    # L# P6 W/ H. q; T6 c* x; w$ h
  38. LibraryName=path_to_libsqlmy_libary8 I1 k% q& T" |3 C3 L& e4 `
  39. Active=1- I# D+ s2 l1 ^  Y9 x
  40. ---cut here---9 ~- k* G* Q5 ~1 V1 [* E2 K8 v
  41. In my environment (a linux box with a MySQL server running locally) I have:7 p$ E' p4 |1 t* Q: M. }
  42. ---example---/ ]" y$ Y# ~8 a- |
  43. [DBEXPRESS]5 s/ K' A7 Z. _3 t" v7 ?
  44. sqldir=mysql_sql5 F, a* A; `  n! n/ \
  45. Drivername=mysql* u" ~/ S$ E* V- G  ^& E
  46. Database=test
    * `! D9 b4 \$ d4 D6 q4 h" k3 ?
  47. Hostname=localhost
    5 p4 w3 w0 z  w2 l( t* j
  48. User_name=testuser* s( {) ^$ l  \: F
  49. Password=my_password
    2 r4 D" l; q  h  I  m. B# X! O
  50. GetDriverFunc=getSQLDriverMYSQL/ N: |) m$ O6 B$ F) h' _1 L* v# O
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    - F9 `# A9 R% y
  52. LibraryName=./libsqlmy.so
    # ~: M* a( x/ F0 X3 G
  53. Active=1; S( a! b. j/ U$ @+ r  }5 `
  54. ---example---4 V6 \' j7 _2 r0 O/ h

  55. 1 l; Y% _6 j/ c& Q9 ^7 b3 N; F
  56. On a windows box, also running the MySQL server locally, it would be:& c  A% F9 K: J, t  W
  57. ---example---6 r1 U+ K8 H! F) W6 j1 w" d: P
  58. [DBEXPRESS]: b6 \) `. t; y! E5 d# ]; J7 x
  59. sqldir=mysql_sql
    8 _+ b" E: W( I% {& ~
  60. Drivername=mysql
    % @  W' z; W8 h8 `6 d. r9 S1 g
  61. Database=test
    $ j9 S* r: J4 A9 ?" m
  62. Hostname=127.0.0.1! W( s7 |/ W) x  i3 [
  63. User_name=testuser
    ( r% d# u; Q0 c5 N+ E
  64. Password=my_password
    . e$ W# r4 j. i% e
  65. GetDriverFunc=getSQLDriverMYSQL
    : p4 g$ [5 r& r" f( q3 x
  66. VendorLib=libmysql.dll
    * y, {8 C7 P, M2 F" A
  67. LibraryName=dbexpmysql.dll1 z5 u% E+ s2 a; W3 W
  68. Active=1: C% o5 K4 v, S$ \9 Z6 L1 F
  69. ---example----
    " _" W) T+ g4 K0 h% X3 @
  70. - written 02.03.04 by pwk.linuxfan$ O7 p) i$ R% C( y8 B6 A# B! _

  71. / {3 ?4 v! \6 N: S1 y- R
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
/ I: ~4 ]! K7 v& ~
  1. 6 J! Z- r$ U7 f4 p% H' s" \  S* U2 I
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    5 }4 }2 L, D5 Z/ a: R3 G

  3. 7 I4 \2 b, V  p( t+ V+ O; O0 y4 i
  4. # # #我们所需要# # # 7 Q* \6 I2 E) q
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件0 ?) S* I9 d5 U* t4 G; y3 P
  6. 不会解释如何做到这一点-也有文件存在,为
    % K* [- u, D" U0 M9 K6 g
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用: |9 E- u3 o1 Q+ f6 S) q) I
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    % j1 r4 o6 Y( Y7 m+ {. r0 o
  9. 随着数据库。此外,你需要一个卖方图书馆安装于  _) z' e$ }9 y" ?& X+ U" R9 w3 ?
  10. 本地机器,这是我的MySQL安装。   t2 q. @( s/ Y/ |8 X% |8 \
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    7 h: U  d6 @& D1 s: W& Z
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL % L! \* H7 g! p. Z) c
  13. 数据库。
    ) K5 L8 C; L0 I" J
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ; v- g+ b; G( f. E/ j6 g
  15. 编写本报告的时候,仍然有太多的问题-检查现状: ?( L6 Q- ?! a+ n* q; [
  16. 在teamspeak论坛,如果你有兴趣。
    + c* H& l$ P+ f! \5 F
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机$ ^# ?" d3 q: i( @/ a
  18. Borland公司使用。这个司机只能界面与客户端库9 ]% _+ |' l# r  ~3 u4 b7 _
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    3 z0 G/ h4 W/ w" o/ R" {
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为- B5 q4 e: V8 T' q2 Y1 L5 z
  21. " vendorlib " ,并解数据库连接。
    " I4 r+ {' s/ V: z+ T7 a
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    # a3 _/ G4 B: ~& t' Y  i- {
  23. * `, {6 f: e6 n# p. }6 l
  24. # # #做好工作# # #
    4 X8 o7 o9 N0 t* E8 J0 j7 i
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都1 }7 u. [: M7 V5 P# O" R1 P% Q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    $ [- ^9 |. z( a# t% ], O/ E4 ~4 t
  27. 结束:
    & c3 b7 _/ W1 t" S$ q
  28. ---削减这里---
    ! w  P0 m3 @' f$ l6 j
  29. [ dbexpress ]
    1 x4 O0 g$ H" a3 u
  30. sqldir = mysql_sql
    ! s/ E) O% b$ U1 W2 d/ n7 O
  31. drivername = MySQL中
    0 N: o* S7 `' d7 r- Z
  32. 数据库= your_database_name_here
    9 s: }- {* Z* U. }7 Y
  33. 主机= the_pc_the_mysql - server_is_on
    # i5 C1 e9 o- M; B9 A, ~8 w# r
  34. user_name = user_name_on_the_mysql服务器1 A" C* B0 S3 a& H0 I
  35. 密码= password_to_go_with_above_user_name
    % f; p$ v4 J" n% m* p: g# ?
  36. getdriverfunc = getsqldrivermysql 8 ?) @9 T- o6 q* \2 b& A; Q
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib + k, C. O1 g+ o; `9 h: |* f
  38. libraryname = path_to_libsqlmy_libary 9 N  X0 B2 k7 n6 r. W2 C: `
  39. 积极= 1
    1 N7 W, d# f7 I
  40. ---削减这里---
    - p9 o) |& V& a0 L0 i$ f) x
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    * A8 C' D9 f% m; U5 B
  42. ---例如---
    ; w# B( g0 X" u( ~
  43. [ dbexpress ] 0 i& s# [( c2 K# ]. n
  44. sqldir = mysql_sql
    6 x! q- w3 r. C( [
  45. drivername = MySQL中: g6 o. l6 m( n! q" N! j" J
  46. 数据库=测试, ?6 |% |& ]! J* y
  47. 主机=本地主机
    * i% D8 s1 C1 `  I' A. u) `
  48. user_name = testuser ) l  g: i+ y5 L3 U+ q* O; O3 ^
  49. 密码= my_password . c8 r, o: K1 s9 X8 \, }
  50. getdriverfunc = getsqldrivermysql
    & K4 `, F$ k8 L5 w5 t  i: k8 Q% T4 s- v
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 " c" r2 C- g1 M2 A; b% v
  52. libraryname =. / libsqlmy.so . m% V7 Y$ X2 p- I- z$ F
  53. 积极= 1 4 L9 A$ ~5 [* F: b5 J" t" x
  54. ---例如--- , E7 ]7 W$ m8 n2 h. H% z) A
  55. : Q& j5 ]. O; n: q; B4 y6 A
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    8 r& B6 O* n" m
  57. ---例如---
    ! ]/ r! a) l! }1 S& u
  58. [ dbexpress ] ( N' L9 d9 v$ C' Q; H
  59. sqldir = mysql_sql
    0 ^+ U# b/ U- \* a
  60. drivername = MySQL中! P9 z6 e, q+ [$ ~9 X! u' d* I+ W
  61. 数据库=测试# D3 R3 G+ @  N& |
  62. 主机= 127.0.0.1
    6 _6 E( K# b1 O' L' k* @% ?+ H) u
  63. user_name = testuser
    + \0 H& |& |- B! s1 E
  64. 密码= my_password 0 p* _% |: g- p6 W
  65. getdriverfunc = getsqldrivermysql   o2 v! L$ Y/ u" u4 q; o+ H: s. I5 a
  66. vendorlib = libmysql.dll在
    3 c! m, z. r+ i0 T' W3 R4 [8 O
  67. libraryname = dbexpmysql.dll
    . X* V( O' p2 v! j1 [7 T# Q  F
  68. 积极= 1
    ' P. r. e9 Y  M( }! M, p# b
  69. ---例如---- 9 Z7 ]4 j& _* x5 _1 Y
  70. -写在0 2.03.04由p wk.linuxfan
    , h+ p" {' a% ~, l" l. }& V
复制代码
发表于 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 words2 i) h/ j+ o8 \$ _& l8 U3 f

8 Q$ y/ a4 Y) \* C0 cbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-7 05:11 , Processed in 0.100656 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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