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

2569 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
* d- j: s6 O- E' n# }6 q
3 _& c% d+ f2 i' k. ~

  1. 5 q0 ^  Z5 D0 x' @
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    4 S4 e5 j+ p; ]' a
  3. ) A2 j) T/ X' S. A- Q4 p: b
  4. ### What we need ###
    ! `  S" `. `( L9 u0 ~3 A5 {
  5. Naturally, we will need a MySQL server to store the data for us, this document   E9 o, ]& r" m; @6 B* j" W
  6. will not explain how this can be done - there are documents out there for the
    . Y3 }7 P; V9 l) V' A/ |. p
  7. interested. The requirements include a (empty) database for TeamSpeak to use7 u0 L9 |& W4 {& i! A
  8. and a user account (username + password) that has the permissions to do stuff2 w$ N$ ^# a& D  d/ a
  9. with the database. Additionally, you will need a vendor library installed on the0 {- t& F# F* ?( u: H: Z8 e1 ~
  10. local machine, this came with my MySQL install.5 y5 w7 L8 E! O2 v; h  Z" H
  11. These instructions will not tell you how you might transfer your data from the4 E0 m5 v7 S; }) g! n
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL- j, D8 K( o$ O/ m: e" n7 s
  13. database.* l* _0 S& S! y0 P& U4 F7 @# V6 c! o
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    * Y8 v/ o) N+ q8 B: f: l
  15. the time of writing, there are still too many issues - check the current status
    $ G% o7 r2 F' K& F/ E/ e
  16. in the TeamSpeak forums if you are interested.
      u# c+ j( Z2 _% D
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from% \0 d- C. k1 A: N3 l# q
  18. Borland was used. This driver can only interface with the client library that + E9 r5 S; Z+ _/ z; F# ?7 P& g
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    6 M. w/ w) h/ x4 {3 x) o
  20. client library - basically all you have to do is to use a 3.x client library as 1 K# I2 f: x) G) l, X
  21. "VendorLib" and a 4.x database to connect to.
    2 Y3 |. V. y5 A- I& {
  22. If you need more info about dbExpress, you can contact Borland.+ Z9 ^( b$ C' b" B7 ~" W' i) I

  23. 8 o9 V' T5 V+ g' \+ A
  24. ### Doing the work ###; v" x7 O( E' T3 `9 Q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all% z8 i) |  i! [3 U0 S. U" R
  26. the perquisites right, just open your server.ini file, and add this section at
    " q7 q3 g7 Q% d4 z6 {2 N3 ?
  27. the end:
    6 q0 J. Y2 d! J7 j$ c4 a
  28. ---cut here---9 ]# i+ ]2 v' o
  29. [DBEXPRESS]
      k. R( H! F' S& a  h
  30. sqldir=mysql_sql: {( Q& Z/ y- W9 m+ ]
  31. Drivername=mysql
    # W" c8 V/ U4 \( c
  32. Database=Your_Database_Name_Here
    . }' k4 i: ?( S7 Q: F
  33. Hostname=The_PC_the_MySQL-Server_is_on$ \7 @8 t/ P, o2 O% k: N$ }) `
  34. User_name=User_name_on_the_MySQL-Server7 R" q* A& h5 J/ U
  35. Password=Password_to_go_with_above_user_name
    + G( G, {( t9 `: A
  36. GetDriverFunc=getSQLDriverMYSQL
      x' e0 c7 i! ?4 F) `# u
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib0 z# O! k0 }. P" z4 F0 U2 Z
  38. LibraryName=path_to_libsqlmy_libary
    . E; r" D$ H( U
  39. Active=1- w  S% l5 l1 q4 |, _
  40. ---cut here---: P" [0 S) N' R, X5 D
  41. In my environment (a linux box with a MySQL server running locally) I have:$ J7 z5 {# o! i" H0 q+ C
  42. ---example---% G( m; \; W9 Q, a; I$ C
  43. [DBEXPRESS]
    / t9 h& l' o4 i+ l% N0 ?( p
  44. sqldir=mysql_sql
      H3 C7 J6 r  Y& T
  45. Drivername=mysql! L" i, N- l% o' P. m
  46. Database=test
    ' }! C8 v2 v7 J% o
  47. Hostname=localhost" W0 ?' G: W7 O, W, N
  48. User_name=testuser
    5 L/ W, C6 [9 K% ?! U$ S
  49. Password=my_password  U! o9 F, \; ?7 n# M5 a
  50. GetDriverFunc=getSQLDriverMYSQL
    + ~8 E! r* \  i& L1 \
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    & x+ N4 d; ]: a7 h3 S4 I
  52. LibraryName=./libsqlmy.so% Z* N* W' V0 e8 ?1 S! k
  53. Active=12 Q8 b, c4 \) A5 b' M& [9 K
  54. ---example---' o% U7 B" p! Z( i& G9 Z! g

  55. ' q+ D# i% I  V9 J+ g
  56. On a windows box, also running the MySQL server locally, it would be:
    , j) J! T2 k# O
  57. ---example---
    / {* A2 j+ N) `
  58. [DBEXPRESS]
    8 z# v9 F* w& v: ?+ w1 i  {) [
  59. sqldir=mysql_sql
    6 d+ {5 d  h) @/ q2 K2 r$ {
  60. Drivername=mysql
    ( a& L9 D6 u/ @" q% C' v- N
  61. Database=test) |3 v2 B; g% s) B5 s: p+ q; F) [
  62. Hostname=127.0.0.1
    " m- M& L: i# L1 @2 X8 K
  63. User_name=testuser6 k- p" p4 p2 Y1 ?
  64. Password=my_password
      |7 F& @6 b* n' C) `- a, R( h% ]
  65. GetDriverFunc=getSQLDriverMYSQL' V, Z' t% ^6 L9 ]  D9 ^# L
  66. VendorLib=libmysql.dll0 p( L' t4 a3 Z* U% M
  67. LibraryName=dbexpmysql.dll
    2 U, U; i3 Q% d) k
  68. Active=1
    6 d9 j' g2 x/ P& r
  69. ---example----" ~3 X; c4 M: W4 o9 G, `
  70. - written 02.03.04 by pwk.linuxfan
    : d! M: d* W, I8 {

  71. 0 d5 c1 _  Y+ k: [- i1 U
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看& P% k# n( a4 u/ C; e! S
  1. 8 N1 X1 e% X- `; {& _
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    7 U5 x, n( m1 j$ @

  3. 0 Z2 E* ?9 m) S  ]
  4. # # #我们所需要# # #
    ' J6 q& B- @5 S( s" h' z+ I, x" L6 c, y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件# u0 g( i' K. X, y
  6. 不会解释如何做到这一点-也有文件存在,为
    * u8 x$ g" V# t0 a# O: c5 R
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    , S' z: O/ J+ ~5 G$ S
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西' r4 F1 b5 f2 {( Z( {+ [. c1 E
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ; D' W) S$ f/ @) C' g$ I* _+ W, D
  10. 本地机器,这是我的MySQL安装。 7 X4 M7 G# ?% r2 p/ G9 Q
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从" B3 [5 a0 t8 a0 J& D
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    8 ?4 M; z( X/ w; n; k! L) T/ ?1 A1 W
  13. 数据库。
    % L: ], u" K8 o6 c" e; v2 w  n  L5 D0 Q
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    + U) t( Q' S; V% S
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    3 Z& }9 L$ [: m. n6 ~
  16. 在teamspeak论坛,如果你有兴趣。 : C; J4 G0 |+ `
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机- q! a5 M( x' J: v" C$ |$ P2 n* d
  18. Borland公司使用。这个司机只能界面与客户端库8 B  `) U6 Y/ J. {# s
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    9 ^0 u3 F3 P  d7 Y
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    8 ?! {5 F2 _+ h9 x
  21. " vendorlib " ,并解数据库连接。 ' a3 T8 I% a  u- z- e0 J
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 5 x5 |6 H4 K& s& n! M
  23. 2 l: z3 d* r% }2 {- P2 A
  24. # # #做好工作# # # 2 f* C) |; b8 K8 w1 L  S! r
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    " M- [; ?5 G) A, S7 R
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在7 {0 B1 R0 ^: H9 P' w6 H& N
  27. 结束:
    / z9 E' U! w6 J4 b9 P
  28. ---削减这里---
    ' `! K* h9 i" _2 h
  29. [ dbexpress ] & N' Z: G3 M: L
  30. sqldir = mysql_sql
    ) F  [1 I8 f  t9 Q* V3 W
  31. drivername = MySQL中/ I5 _9 b$ _' b+ z, f# s
  32. 数据库= your_database_name_here * C% L# Y8 q" T2 h  q: q
  33. 主机= the_pc_the_mysql - server_is_on 4 ~! y3 K; U# J. k/ n/ D0 a' ?, ^& Z% Z
  34. user_name = user_name_on_the_mysql服务器3 W! C; g3 L& x! t$ T- y, j1 ^
  35. 密码= password_to_go_with_above_user_name
    3 B( K6 V7 K* J8 _8 n2 U' S/ Q
  36. getdriverfunc = getsqldrivermysql - _. a  f( V6 `: y' ]
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    / {7 t8 H( ^$ i' u/ R: M* W7 u
  38. libraryname = path_to_libsqlmy_libary
    8 P' k' K! z7 c1 b
  39. 积极= 1 8 b# i2 J! y  r; m
  40. ---削减这里---
    + ]0 W4 |/ m' ?8 j7 u- V8 v
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
      \( A0 y* K  P/ V. z+ @
  42. ---例如--- 7 {  ]1 Q! Q# I  i) y0 }6 H
  43. [ dbexpress ] 4 }2 \8 |( Q. ^% w8 _3 P! P! }
  44. sqldir = mysql_sql
    , Z% `4 `. s- C& v8 E7 a! b3 Q
  45. drivername = MySQL中0 ^$ {, E+ a' {5 i% h; P' G+ y
  46. 数据库=测试
    1 k# F: [2 D  x& m+ R+ r% N% F8 {
  47. 主机=本地主机9 G2 G5 V4 [2 ^1 a/ B. s
  48. user_name = testuser + X3 A+ R% S) J; C& X* E
  49. 密码= my_password - R& _8 u$ p# z2 }/ z
  50. getdriverfunc = getsqldrivermysql ; v0 ^9 ~' s5 o. }& r: \& v* i
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ( a+ T2 N/ ]/ Q6 z
  52. libraryname =. / libsqlmy.so
      w- l1 P6 b0 F* D; A* E- C. \
  53. 积极= 1 - N$ q! Q# h  m8 [
  54. ---例如---
    ( Q+ C/ E% M# L% V5 u9 ]  n# ^
  55. ( a' U7 d0 I, b" N/ y3 z: i  ?
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ' W. k5 e# C/ t- P& |& M9 O' \  h
  57. ---例如--- % {" D& l* A$ }. c+ |" P
  58. [ dbexpress ]   p$ f5 n) m4 ~4 O* z7 w
  59. sqldir = mysql_sql 6 @* C/ z3 E* A& A! T3 |5 m  d
  60. drivername = MySQL中
    ) i% b* q, }3 G' I. }* R# g; k+ s
  61. 数据库=测试
    : F6 P/ g0 N  S* s  n; @% t
  62. 主机= 127.0.0.1
    ; l$ Q  J8 B: N$ A1 o: \, i2 b: o
  63. user_name = testuser
    . G9 f$ ~7 ?/ v5 Q
  64. 密码= my_password 9 Z: d+ P$ ?' [+ p
  65. getdriverfunc = getsqldrivermysql 9 W! v0 M  h, ]5 O
  66. vendorlib = libmysql.dll在
    & M6 W1 A. x: Q  D0 V
  67. libraryname = dbexpmysql.dll 3 R4 w; Y; ~& [( R4 i
  68. 积极= 1
    * q) x% U  c' Y6 F8 o
  69. ---例如---- 3 k, \& C# a! g+ E
  70. -写在0 2.03.04由p wk.linuxfan4 a% I% x  K* N
复制代码
发表于 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' d0 a! d% ~' k, g4 L# Z

# N7 J2 x) F- ]3 F5 R4 gbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-30 23:53 , Processed in 0.096576 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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