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

3314 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
$ z- h( A0 [/ s0 q4 A1 Y; P& ?6 i0 T9 j" C) J* L, u/ K

  1. ' R! f" o  p. }; o) t2 T
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    " ^# {" Q6 j+ `" t' T4 h, E

  3. $ b/ d* s; ^. O* {) P
  4. ### What we need ###/ F. X+ D$ B$ o) j  r0 j! j
  5. Naturally, we will need a MySQL server to store the data for us, this document 5 `4 |% r$ V  d# p7 p, ]
  6. will not explain how this can be done - there are documents out there for the " M1 p0 G3 ]/ \( b& J9 m. B
  7. interested. The requirements include a (empty) database for TeamSpeak to use) `/ W/ m0 n7 U5 \8 ]
  8. and a user account (username + password) that has the permissions to do stuff& j& g3 t$ x: y6 q; ?* C- J: R, M
  9. with the database. Additionally, you will need a vendor library installed on the* D) o8 H, s+ r; \4 f) A4 W
  10. local machine, this came with my MySQL install.
    6 J* s* L4 |3 D  K
  11. These instructions will not tell you how you might transfer your data from the$ {3 N# z* \2 e: J. }1 l* D
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL! b( r( @7 S8 y9 m. t
  13. database.5 B/ Q0 c* }* |+ n
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    & J- j" l' e7 q) t3 b' w
  15. the time of writing, there are still too many issues - check the current status' e2 ]$ |8 o9 i3 n
  16. in the TeamSpeak forums if you are interested.
    3 I, a9 F" q* D# V" y) [" I  K
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    9 N1 o9 s  X! ]; L) g8 Z, r
  18. Borland was used. This driver can only interface with the client library that
    4 G9 G; h- v  k& z) K& j, e+ s
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this! r3 b$ f2 \- n" X" T# I2 I3 |
  20. client library - basically all you have to do is to use a 3.x client library as
    / C+ V2 Y1 N+ n1 |
  21. "VendorLib" and a 4.x database to connect to.
    4 k& I. e  F5 y7 m! m0 x! w& ~3 Y
  22. If you need more info about dbExpress, you can contact Borland.% R9 }, W3 g- @/ F. _1 X3 \
  23. $ c1 Y3 O% G: f
  24. ### Doing the work ###2 l1 y; {0 k0 f! J. n
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all* A& [& s% m+ b& ]% o1 S8 A
  26. the perquisites right, just open your server.ini file, and add this section at
    1 n/ t) h+ J8 g- r3 h5 e
  27. the end:
    . T8 t8 f. c* a# ?9 ?
  28. ---cut here---
    $ o8 f& R5 Y( \+ H3 U
  29. [DBEXPRESS]: k% o1 x( u8 D1 I- w: }/ R/ D
  30. sqldir=mysql_sql0 e, j: |$ c# J& P( @: N
  31. Drivername=mysql
    # w; q7 M* ?4 h* `2 E5 m8 z
  32. Database=Your_Database_Name_Here
    ) |# b; E4 h  X' E
  33. Hostname=The_PC_the_MySQL-Server_is_on
    2 Z4 p; s7 \1 T1 \/ b. f6 O9 j
  34. User_name=User_name_on_the_MySQL-Server# y( k/ F( O4 [6 r, N
  35. Password=Password_to_go_with_above_user_name
      C% X# O/ y8 ~1 l3 Z, }
  36. GetDriverFunc=getSQLDriverMYSQL
    . \# [7 V% X- E. l0 J
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    & E  {  o" x  P2 v; E0 \
  38. LibraryName=path_to_libsqlmy_libary& |0 b+ w5 B$ y' H+ O
  39. Active=1  B3 S* F$ C3 ^0 ^& o; M! W
  40. ---cut here---. F1 f. S& {6 H+ ~
  41. In my environment (a linux box with a MySQL server running locally) I have:! q  i( t% k8 }& I% J
  42. ---example---
    8 P( J- A% J  t3 \3 Q* x) u) I6 C
  43. [DBEXPRESS]
    ' ]( O$ z8 |( u5 T* F* ~. N( k4 B
  44. sqldir=mysql_sql
    ; K/ b  X. d5 h1 L. O1 u2 q
  45. Drivername=mysql$ F' d' ?% o) V- R) d
  46. Database=test
    7 t* F, O4 r  X3 x0 t
  47. Hostname=localhost$ D! }( E) J7 a0 i( }- @
  48. User_name=testuser
    3 ?2 ]# X0 x+ f
  49. Password=my_password+ Z& U7 t# K+ v/ ~9 F
  50. GetDriverFunc=getSQLDriverMYSQL
    ( V  g* @. o  z
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.06 U, f* E+ j0 X3 Y2 Q' a
  52. LibraryName=./libsqlmy.so
    , X7 d. A2 [2 z5 M9 ~) g
  53. Active=11 ~9 |/ |5 K' y  K
  54. ---example---& Q" f9 I, O2 u4 E+ M# Z1 }) M8 _1 I
  55. ! Y' V7 t" w3 e$ c% ]; \
  56. On a windows box, also running the MySQL server locally, it would be:
    / B/ h; Z( B, f9 c
  57. ---example---# G$ \1 z  u6 O+ H* \
  58. [DBEXPRESS]: t3 P6 v: v& L: r: q& v
  59. sqldir=mysql_sql
    ( x& I( _- F: ]2 I. M1 D
  60. Drivername=mysql
    $ h9 ^3 {( V1 ~" z, b: w- C6 o- y3 G( q
  61. Database=test
    $ s/ Y9 o, O: P' ~, k5 Z
  62. Hostname=127.0.0.1
    & F' t9 C" i1 H
  63. User_name=testuser
    5 s- U0 Q- \8 D) o# ]: R' F0 L
  64. Password=my_password
    8 n3 ^* E7 v  ?  h3 p! o8 C9 T2 f
  65. GetDriverFunc=getSQLDriverMYSQL
    - _6 X+ s$ l2 Q: G& w$ C
  66. VendorLib=libmysql.dll
    + c: {8 P2 Y  S8 l7 L
  67. LibraryName=dbexpmysql.dll1 y9 p8 v! k. W! h
  68. Active=1
    * o" T! c& `) w9 C  o& x4 B1 s8 j) L
  69. ---example----
    / J" ^2 q) s: I$ k! ?
  70. - written 02.03.04 by pwk.linuxfan; @3 u0 k8 ~; v6 |/ ~

  71. # b/ Z1 }% {; x' h& P9 r
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看. m/ m8 X+ h; D: ^8 u3 L+ Z2 j% s
  1. 4 j6 E7 `% C% V0 ]$ v
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    , @1 l2 D4 Y7 M( l

  3. : Z6 T7 E% T5 y' L2 `, q
  4. # # #我们所需要# # # ! Z8 V) Y  v3 J5 K1 |3 @" C
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ; [8 X6 {. e7 ], X7 s9 j( V" J0 `0 C# g
  6. 不会解释如何做到这一点-也有文件存在,为2 y/ f4 B* j' w( O9 V; x/ a
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用; ]4 ^4 n. C& o& y
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西2 ~2 }; N6 I% `1 T: }. l
  9. 随着数据库。此外,你需要一个卖方图书馆安装于% k: A; f. D& T1 b9 o5 C7 R( F
  10. 本地机器,这是我的MySQL安装。
    $ a9 q* t. w& J# ?" W
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    " [, u, q, s, ^3 M. r# c/ ?
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL * F  L3 b* }! O/ j6 b& I
  13. 数据库。 & x. R2 C+ \; S" J3 J5 b
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    + s0 D: r3 D, K, |
  15. 编写本报告的时候,仍然有太多的问题-检查现状* x3 T5 i. t& n4 T5 Z9 n! u
  16. 在teamspeak论坛,如果你有兴趣。 ) U7 A+ F# X0 d& X* M- M, h
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    0 u) ^' }; z6 \' r1 n4 I0 G. w
  18. Borland公司使用。这个司机只能界面与客户端库3 g2 n9 k' ^1 [0 s
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这" ~0 v0 Z, V, m; |9 x1 A0 z8 l
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    # C( R& t1 g) A/ Z
  21. " vendorlib " ,并解数据库连接。
    * m" {* T! a0 s0 |9 H* D/ V
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 1 r! W. t! }6 j+ T

  23. + x6 s5 W0 t) q2 \8 @& ?
  24. # # #做好工作# # # 0 \% R( v: @6 Y0 e: N7 }1 x8 H
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    2 z3 g8 y/ r1 S9 E0 R% a$ Z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ( t+ ^# y& r) e
  27. 结束:
    ) N3 N% ?, e& _, j
  28. ---削减这里---
    8 c  W( _7 J" Q1 D
  29. [ dbexpress ]
    4 V& G! V! N3 o. y) f
  30. sqldir = mysql_sql
    ) b% O2 r) f, I' G
  31. drivername = MySQL中* `7 y- P  M, S
  32. 数据库= your_database_name_here 6 u" M2 }+ P' [( b' ]
  33. 主机= the_pc_the_mysql - server_is_on
    + k% X. Y1 y" F6 c" [" Z6 G$ Z
  34. user_name = user_name_on_the_mysql服务器# R# P) X+ ?, Q
  35. 密码= password_to_go_with_above_user_name
    5 u  Z! j: f. V3 ]1 _' @
  36. getdriverfunc = getsqldrivermysql - }; z9 [: m9 V( C* Y
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    8 h; ]7 f' K. s
  38. libraryname = path_to_libsqlmy_libary ) F4 C, B( x$ O( t6 [5 {
  39. 积极= 1 1 c$ v" Z6 P6 p4 K* [2 \% k
  40. ---削减这里---
      s' W. z6 ]; N+ f9 f0 v
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 8 z& B! e1 h( g) L) _3 s, f" k
  42. ---例如---
    & z& |2 {* t: G8 t) p+ x; I( `/ {
  43. [ dbexpress ]
    0 W& Y$ P$ ~* q4 S
  44. sqldir = mysql_sql
    ( |( i0 w4 y1 ^) o
  45. drivername = MySQL中9 |- j. C3 A+ E; u. j& J7 V0 w
  46. 数据库=测试6 _- k" J; ~0 z: M+ N
  47. 主机=本地主机7 u. h3 G8 s2 V4 m8 L2 V
  48. user_name = testuser
    ; P* F$ E. A; v4 J5 }6 @
  49. 密码= my_password
    3 L" c" L( g( i" u+ q% i& Y; a) @
  50. getdriverfunc = getsqldrivermysql
    5 R2 x& V2 F; K& q) |' C" `! S
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 - x, k. F$ R5 J
  52. libraryname =. / libsqlmy.so
    ' b% [1 [' ~( ?( ?4 c
  53. 积极= 1 0 z$ }7 e2 ^5 B. p
  54. ---例如--- 2 C& h3 A6 l% z9 f4 C0 D3 j8 ]
  55. + k. R: U0 y  H: R2 L. C( U  j
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
      K' H2 Z% K; \0 T
  57. ---例如---
    8 Y( N: P9 }0 [4 |! q' q& `" m( s: H
  58. [ dbexpress ]
    9 b$ Z! a0 e' E! s' G9 V4 B
  59. sqldir = mysql_sql
    1 c( o# a' c0 R! I+ _$ Y( Z+ X: _
  60. drivername = MySQL中' j7 Z9 P. ?; \2 B. G& O
  61. 数据库=测试
    $ M$ T2 _/ S$ F2 m
  62. 主机= 127.0.0.1
    , X* S7 O9 p+ X" z% Q  i/ f
  63. user_name = testuser
    1 F+ Z& ~; W3 Z/ ?
  64. 密码= my_password : ?( z) A2 i" P: v4 E8 c" f4 H
  65. getdriverfunc = getsqldrivermysql
    % v! E* w* v3 y$ x. y. w
  66. vendorlib = libmysql.dll在' X, T6 R' y4 Z$ q! y6 n) [) m
  67. libraryname = dbexpmysql.dll - I- N5 f, [' V" e0 z6 T
  68. 积极= 1 : F. i3 E2 J* k9 e2 _/ r
  69. ---例如----   Y) c3 n* f& ^& s; M
  70. -写在0 2.03.04由p wk.linuxfan
    1 d; q/ V. b  w/ i% D, }2 d7 t
复制代码
发表于 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, c& P( {, n3 A

; W" b' t6 H- S6 Cbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-10 22:21 , Processed in 0.088410 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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