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

2395 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan   p, u/ O7 }8 |% H  Q: h) V
" T  z% N0 ^) u) W1 x
  1. 0 M7 V: b2 r) C, a' x+ x
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    / G. m: G( k0 X9 e4 A

  3. + i# H& L! z" F& K. q! I" s
  4. ### What we need ###
    2 M- F& Z$ ^, V2 i; U* V* ^
  5. Naturally, we will need a MySQL server to store the data for us, this document ! ^/ V8 N! i' I$ i! Q  n
  6. will not explain how this can be done - there are documents out there for the
    / L5 D- C2 @2 P& P& U
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    + V( Q7 |: H2 ^  U; Z1 P
  8. and a user account (username + password) that has the permissions to do stuff7 t3 B3 z/ `/ g7 E
  9. with the database. Additionally, you will need a vendor library installed on the: l; n# h% P+ v& c' T4 j, c" a
  10. local machine, this came with my MySQL install., m$ ^4 }. w; d# ~
  11. These instructions will not tell you how you might transfer your data from the
    2 Z4 z: }* ^5 j% b# F' O$ K% M* ~
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL$ o# r/ e) _0 Y% }0 t
  13. database.
    . O6 x4 v1 O1 s* \9 S8 y0 T) B
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    . a2 E: M, D" _! G8 I' H8 |+ I) C
  15. the time of writing, there are still too many issues - check the current status
    / }+ i. c4 ?5 w) G  z$ q+ k
  16. in the TeamSpeak forums if you are interested.5 [: N3 V+ F! }! Y) D' @+ [8 {7 K
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    + H5 n3 a2 Q% M
  18. Borland was used. This driver can only interface with the client library that
    2 {. @- b% ?- W% t$ M# \
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    6 v0 k2 P) O* M9 `! a& @
  20. client library - basically all you have to do is to use a 3.x client library as   S7 ?1 \; G( D  c5 o/ x1 j6 N' _
  21. "VendorLib" and a 4.x database to connect to.
    ! e6 o' ?8 S1 w+ t/ z5 F4 w
  22. If you need more info about dbExpress, you can contact Borland.4 o* A3 a% C9 @; x8 c9 J% `

  23. , L+ t4 h3 @& `" r4 x
  24. ### Doing the work ###! {+ h$ W5 C: n
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    8 p" K7 z5 }/ e! D+ {3 |
  26. the perquisites right, just open your server.ini file, and add this section at
    / c% `! x; ?# @$ ^/ \, }( V. V
  27. the end:
    ' R1 Z) z& u- s& k, }& L$ [: j
  28. ---cut here---+ P8 c( H# ~! g% ?
  29. [DBEXPRESS]
    " x1 a/ l4 K( R/ R0 r4 o3 E7 T
  30. sqldir=mysql_sql
    * E  M+ l) h( T' P& H( V0 q6 x. P  W
  31. Drivername=mysql) N! i  ^+ j  K
  32. Database=Your_Database_Name_Here
    # x' d% C$ a$ I& O) H' I
  33. Hostname=The_PC_the_MySQL-Server_is_on
    7 U: `6 O' J2 P' j2 a) H
  34. User_name=User_name_on_the_MySQL-Server
    8 I# K# Y% Q  ?( H2 @
  35. Password=Password_to_go_with_above_user_name
      W& t8 O8 |" T5 H
  36. GetDriverFunc=getSQLDriverMYSQL/ j+ v7 x$ B0 m5 x; q: J" A$ O
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    2 T( ]) t' b  n$ H0 J7 \
  38. LibraryName=path_to_libsqlmy_libary* G) _( P+ C" ?% Y$ D
  39. Active=1
    9 ~0 d5 A% E1 K7 P' f' S% E3 b
  40. ---cut here---
    ) N, w3 p' T) a. _
  41. In my environment (a linux box with a MySQL server running locally) I have:/ R9 p0 l' m! R
  42. ---example---
    - N) B& G/ [5 ^( i
  43. [DBEXPRESS]; a8 l& o* s* h8 W! f, C. j- w  t
  44. sqldir=mysql_sql8 a& C; ~, A; @6 J& i3 q
  45. Drivername=mysql! A+ U. ^8 M, N8 u
  46. Database=test, B. {3 w+ {" S/ q7 J
  47. Hostname=localhost+ J- ]7 D/ T3 h! K
  48. User_name=testuser6 U9 L$ v( N/ |
  49. Password=my_password
    * L0 V' k' k: ^& {  F- |7 X
  50. GetDriverFunc=getSQLDriverMYSQL' O. `* X' W9 I! Y
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.02 W" i* V. V8 c- A% w
  52. LibraryName=./libsqlmy.so( H+ x! y) |8 A1 U% X4 `$ L
  53. Active=1
    5 C. P' E2 T: s
  54. ---example---4 R$ Z) @) l# p3 s& T1 U" w
  55. # z. X7 s' w$ h4 E" e1 B8 E& y' _+ P( N
  56. On a windows box, also running the MySQL server locally, it would be:/ U# F. h2 ]2 J0 F
  57. ---example---
    ( }" Z$ Y: g. Y1 j# k4 m2 g
  58. [DBEXPRESS]9 \5 `! v' D8 B. n! @5 O
  59. sqldir=mysql_sql: ?4 b1 o/ C( b* O; o  L: H6 O  G
  60. Drivername=mysql
    # x1 d: R4 b- x6 [9 P& _
  61. Database=test4 J: p6 X9 ~% x
  62. Hostname=127.0.0.1
    + _. Z6 B, v% D3 Y' J
  63. User_name=testuser! E* d; ^& c) |4 R: Y0 H
  64. Password=my_password; B& s2 e( s% ~, ~+ U
  65. GetDriverFunc=getSQLDriverMYSQL* q5 [* u1 s4 _4 |0 i  c
  66. VendorLib=libmysql.dll
    / ~' b/ h- C4 [% y: X) L
  67. LibraryName=dbexpmysql.dll
    $ g3 A2 {& ?* V( C8 O
  68. Active=1
    . Z6 c4 V9 B+ {- k5 o
  69. ---example----) Q* j, k4 @! T; N
  70. - written 02.03.04 by pwk.linuxfan
    - f: F5 E$ Y, h' h+ E4 o
  71. , h3 A" m2 R+ P3 J8 [! }+ r. n
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
8 x2 X# n' I; l! B

  1. . ^6 L1 t( Z5 M0 f8 S# h
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 5 U) W0 |4 r; D& |" ~% Q! ], O

  3. 3 L3 U5 V9 S3 S# b0 O
  4. # # #我们所需要# # # 1 C. M6 `% |4 _4 |& h
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    . c8 {1 `* h) a& ~
  6. 不会解释如何做到这一点-也有文件存在,为+ J" \5 P0 g3 O9 D, c2 D, D
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    : L4 G. \6 U* p$ Q
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西, A  b% l' @1 d/ a! P
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    4 j6 W0 Q# v2 b( B/ q6 z& p! @
  10. 本地机器,这是我的MySQL安装。
    8 W3 e* Q; V. X. p
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    $ K' s3 l: }0 @1 G- @, c8 W% e- Q0 m
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ; s6 l( R6 \. l  h7 \% O/ c+ l3 O
  13. 数据库。 5 _- f% g' j5 |! I4 [) D$ u  K9 d
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在% H7 V; f, c8 S1 ?5 f! ?
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    / u- w5 h6 C3 [
  16. 在teamspeak论坛,如果你有兴趣。
    ' }9 L: }/ Z# ]) K  n
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    1 h- v* ^8 Y0 g1 s: }
  18. Borland公司使用。这个司机只能界面与客户端库7 b4 W+ p1 M# R4 {3 Q, T9 |
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    & g6 ~9 S, C) O: g" @5 C
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    # K: A5 D- C) ?, \  m' y
  21. " vendorlib " ,并解数据库连接。 . j' A3 S# [) R3 ]" k9 t
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 % k7 E0 I8 S, Q, @' D) k5 h8 t5 }8 J$ [
  23. 5 L2 e5 Q2 ^1 s. y/ \/ I1 J* Y
  24. # # #做好工作# # #
    " N- y8 H: b4 C2 U; {) f
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都& s$ G: m  z7 k/ A# T: `
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    - ^) [+ ?6 v; \) s* R
  27. 结束:
    , u$ q( n3 h; i5 u7 Q' ?
  28. ---削减这里---
    1 p' f4 y" t( W- |1 U' U
  29. [ dbexpress ]
    3 T4 h! i3 Q% ], U6 z
  30. sqldir = mysql_sql
    " N) z5 F6 J! t2 W
  31. drivername = MySQL中. J# {3 P. _% ?2 t+ ?: {5 x
  32. 数据库= your_database_name_here 6 ^5 H5 }, M4 F3 |" U
  33. 主机= the_pc_the_mysql - server_is_on * I. D( }& D. B  D
  34. user_name = user_name_on_the_mysql服务器: i; j0 i7 B% Q& N
  35. 密码= password_to_go_with_above_user_name 9 Z; |/ ~& y, H- d4 t/ m& B
  36. getdriverfunc = getsqldrivermysql
    ! ^3 h5 u3 u# K7 f1 f
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ( _, J5 N; h) w3 \# v
  38. libraryname = path_to_libsqlmy_libary ! U% b% O% s; m. n
  39. 积极= 1 4 ]. J( `7 S7 P& X- Y$ n6 N: X% t! @
  40. ---削减这里--- ( n6 d' C! s) B3 [) [! |; P  s8 I
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    " H8 V0 c3 C3 g$ F, L0 }
  42. ---例如--- 1 S4 B. ~- N  v# I
  43. [ dbexpress ] . C2 k. P! k' b1 k  a6 m" L: Z7 C
  44. sqldir = mysql_sql
    ! ~+ Z8 u  u( w$ A
  45. drivername = MySQL中8 [- O4 e3 \! g4 Y$ Y! G( r; u
  46. 数据库=测试
    / {2 U7 s, r! p0 Q! }; i
  47. 主机=本地主机
    " c5 ~- R+ a8 ^( x* L% P
  48. user_name = testuser ; t' _! ?+ r0 M1 W  x
  49. 密码= my_password   P! a5 F/ X; E5 q7 x  x. Z  v
  50. getdriverfunc = getsqldrivermysql
    5 `4 G* g8 C1 }" |" m7 d* x
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 $ v$ |7 f+ n6 c) s- ]+ h- u
  52. libraryname =. / libsqlmy.so 3 m3 y' U: Z* u# ~' l( B+ M( v
  53. 积极= 1 2 i6 M: n$ \6 O
  54. ---例如---
    $ B2 b) v! B: d/ |

  55. 4 M/ x: y7 i2 I* K- [( z
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    1 G' s: k+ X" {
  57. ---例如--- ) E0 g7 A6 B9 \* z! r- B
  58. [ dbexpress ]
    ( S: q8 c: v2 l9 k
  59. sqldir = mysql_sql
    ( K: S8 h  u5 {: b/ Y
  60. drivername = MySQL中% X! i/ O5 B/ S+ y- P$ c) U: L
  61. 数据库=测试/ v6 r8 z3 T7 m0 t/ X' U
  62. 主机= 127.0.0.1
    $ {6 O: Z7 n; M% t) m) K. R
  63. user_name = testuser
      b) s( H5 l1 m; I
  64. 密码= my_password , j5 b; e2 M5 J( @
  65. getdriverfunc = getsqldrivermysql : @/ |; m* G6 Z, t# |0 V4 H2 A
  66. vendorlib = libmysql.dll在
    + @' a# x* C1 b6 [7 U7 I
  67. libraryname = dbexpmysql.dll / J9 z9 A/ V2 {. Z$ M- a
  68. 积极= 1 " x. B6 A0 C# C
  69. ---例如----
    6 t6 c0 i' I3 a# |8 t+ f4 G
  70. -写在0 2.03.04由p wk.linuxfan, \6 N- P: s: M5 u: J% O& h5 f
复制代码
发表于 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
+ i* B2 S' |, x6 `" Q7 }) [/ m% S, r6 c; @( j/ ?, 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-3-18 17:48 , Processed in 0.106975 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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