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

2365 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan : @; g4 {* _1 Y9 _& N, W

& k( A7 i) ]7 s: }
  1. " ?' B& W( }2 O  `
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######9 ~2 G9 w4 D7 E& y3 J' d

  3. - ^3 e' Z; g! @& P. }; K* ?; P
  4. ### What we need ###
      e' y" M7 b1 _
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ) F  z+ b$ ~( p8 b% R+ f. \$ \
  6. will not explain how this can be done - there are documents out there for the
    3 ]5 O4 P; N' P2 J
  7. interested. The requirements include a (empty) database for TeamSpeak to use# r. n) ]4 k$ L& u* b/ f! S2 {
  8. and a user account (username + password) that has the permissions to do stuff
    0 D7 F3 t3 V. o0 q/ p5 H
  9. with the database. Additionally, you will need a vendor library installed on the
    : O4 X( M- l) `  [' h: r& w
  10. local machine, this came with my MySQL install.
    4 J$ s) C3 x0 M6 D& m9 Q; A
  11. These instructions will not tell you how you might transfer your data from the
    9 z2 e# e9 r3 O  i5 J
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    - x% o! V  b0 Z3 O, J7 j+ \) I8 d3 b
  13. database.
    % H& F( i3 [/ c1 C
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ) X/ S# e. [- j" ]& j* v% X+ ?8 i
  15. the time of writing, there are still too many issues - check the current status
    4 l" T" T+ S$ X; W% I* M
  16. in the TeamSpeak forums if you are interested.1 M/ I. T& E" G- f
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from% [( j6 F8 O( g6 q8 X, c' H
  18. Borland was used. This driver can only interface with the client library that
    1 o; p: Y; E$ f7 P  B
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this- M/ w1 l, ^  t6 w+ @5 w
  20. client library - basically all you have to do is to use a 3.x client library as
    6 \" ]& y, Q; H( }
  21. "VendorLib" and a 4.x database to connect to.
    " @, u) [, w! n
  22. If you need more info about dbExpress, you can contact Borland.# u9 Y( A$ Q( w

  23. 2 {$ a" u" Q' L) z
  24. ### Doing the work ###
    7 |* E2 r$ ^, w7 |; Q: q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all7 @2 d) W* S2 n! R, w" x
  26. the perquisites right, just open your server.ini file, and add this section at
    ; x- P+ w, D% t- u
  27. the end:! b3 X: G4 t- e. N% \$ q
  28. ---cut here---8 K7 \3 j  c$ u: f' m6 e  V. M: q
  29. [DBEXPRESS]
    1 s  F. A& A, K/ k: D  o/ M
  30. sqldir=mysql_sql
    4 ^6 E6 N9 E- c1 W
  31. Drivername=mysql
    3 F/ t: I) e5 ]' P) X
  32. Database=Your_Database_Name_Here
    0 Q3 ?8 m& S% q5 L
  33. Hostname=The_PC_the_MySQL-Server_is_on
    & ]- V  ]  L; a1 w& [9 M' R9 O0 r
  34. User_name=User_name_on_the_MySQL-Server
    1 Y2 N2 @% m" R* y$ Z
  35. Password=Password_to_go_with_above_user_name; Y& o% L: ?* j3 [
  36. GetDriverFunc=getSQLDriverMYSQL
    5 W+ R' ~' l9 [; x
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib8 w# K! U7 g. x$ C! I
  38. LibraryName=path_to_libsqlmy_libary
    ; m3 J$ X9 P* k
  39. Active=1, l0 J" g8 T" m$ Z7 c! p" g' O
  40. ---cut here---* m2 o/ Y" c4 F! o# f
  41. In my environment (a linux box with a MySQL server running locally) I have:
    " f6 K7 R; x& d  n# Q3 n* h
  42. ---example---9 f0 u+ {2 ]$ v. P( l7 y4 E
  43. [DBEXPRESS]
    ( ~  g9 g# Q8 X
  44. sqldir=mysql_sql
    5 v" w2 T( Q; s2 Z: _1 e
  45. Drivername=mysql
    5 W" \% S$ C$ J! R& Z- B9 ^
  46. Database=test
    0 K( M' Y9 S, `8 [
  47. Hostname=localhost$ Z5 @8 V: v# J9 F- w% r
  48. User_name=testuser' W; s' Z9 b4 D2 o, D
  49. Password=my_password1 C6 B/ y4 A, G1 g4 k
  50. GetDriverFunc=getSQLDriverMYSQL
    4 F9 Y$ E" U+ N/ K* W5 u+ O
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0. S( x( J) |% D* P5 D. S
  52. LibraryName=./libsqlmy.so1 o4 x6 P* N  C! F% M3 I% ~
  53. Active=1
    % Z- X4 {/ |3 F. u1 S+ h
  54. ---example---' q! D' R  o+ Q$ g" z( x

  55. & Y8 B( Y; u; E
  56. On a windows box, also running the MySQL server locally, it would be:: |* h' Z% V2 Z5 s
  57. ---example---8 ?! J1 D4 L3 K5 n8 q/ J
  58. [DBEXPRESS]
    4 Y' B7 _9 f! L) y/ r$ W. [2 E* J
  59. sqldir=mysql_sql  r% _2 b7 `- y
  60. Drivername=mysql( {& Y- W: k: O/ s3 u
  61. Database=test; F& R9 K# o* ?; b4 F0 a- y; n
  62. Hostname=127.0.0.1& V( D' w3 P' s. ~
  63. User_name=testuser
    1 ?" g2 G3 V1 l# U( I  q
  64. Password=my_password5 V7 H0 z5 }9 Q7 R2 {" G
  65. GetDriverFunc=getSQLDriverMYSQL
    ; ~- }7 I* Y9 m5 ~. Y* t
  66. VendorLib=libmysql.dll
    0 ^1 T1 P: J: y
  67. LibraryName=dbexpmysql.dll
    ! {% o" A, \4 U: w5 }3 @  I" C' R
  68. Active=1$ w, e* P. B' g9 h& H
  69. ---example----6 Z6 r( d( U, B: q3 S5 Q
  70. - written 02.03.04 by pwk.linuxfan
    + o2 [: i1 J+ J% ~! _  c1 _

  71. & G& ?- \0 {8 _5 q8 v! H7 I
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
2 G/ \( K4 v  [3 A, V

  1. " ~, m9 i- J: W
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    * _# `: Q* w* ?8 I4 T

  3. : j" Q1 f5 _# v! y' L* N  N3 O. c
  4. # # #我们所需要# # #
    4 ^0 n; |& e, ?& h( B! \
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件% l+ a# N$ {7 `7 B6 M+ g, M
  6. 不会解释如何做到这一点-也有文件存在,为
    # J4 K+ c: n. `, [# y8 R1 i; I3 R  D* m
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    . d: n# k: q0 V- }6 l  p
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    1 \9 E$ t/ m! F. T, g
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ) r* |% e3 W8 W, m( b9 T( z
  10. 本地机器,这是我的MySQL安装。
    + i0 W6 V% R0 i, ^: }
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ) j4 t% a! u9 G& [* j1 p
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ; O2 \% N  Y+ Z. v& H
  13. 数据库。
    ) a' ?- H8 _/ ]
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ! I. X0 d6 X! [  u, m
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    9 Z  w1 |; s7 p# e7 z
  16. 在teamspeak论坛,如果你有兴趣。
    % s- ~" V' e8 N$ F4 d) Y0 [) Z
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    - m+ L+ Y+ Y0 S; G# {, P9 ^
  18. Borland公司使用。这个司机只能界面与客户端库5 b" d4 `/ `" k
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    4 Z( X! p2 N1 _7 r  G3 g9 D
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    % I7 h$ i( a* c5 N- w# X" |6 q
  21. " vendorlib " ,并解数据库连接。 , H! N, d+ i$ N6 j
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 % A( ]$ G: S! D! z

  23. 5 K3 O* {8 X( B8 M
  24. # # #做好工作# # # 8 V# F6 J' f- [
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都  @5 R5 O( s( x) I! v, d
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在3 W& O, s+ G) i' T" b$ E
  27. 结束: 6 h7 P- \/ B1 y  d5 _
  28. ---削减这里--- ' a0 b* G5 C! s1 j3 U* d
  29. [ dbexpress ]
    # S9 ~" \6 r6 [) ^2 L" s8 x
  30. sqldir = mysql_sql
    ( h6 X, E; o4 ]
  31. drivername = MySQL中8 b. y! f/ d. b
  32. 数据库= your_database_name_here 3 `( W: S' D( S: M
  33. 主机= the_pc_the_mysql - server_is_on 6 Y9 l2 \+ H7 n
  34. user_name = user_name_on_the_mysql服务器% `# N6 I+ g" ~! @" v
  35. 密码= password_to_go_with_above_user_name " t  i3 ^. t) R9 z! |; g
  36. getdriverfunc = getsqldrivermysql
    + s9 W) a7 c" b4 \; B" f1 e
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 4 S3 h0 x* K. V: l. |
  38. libraryname = path_to_libsqlmy_libary : F4 e6 w, C/ D; w; l
  39. 积极= 1
    / Z+ p. a  D( d7 f* Y# N) S' B+ Q
  40. ---削减这里--- , B- a( @5 D' a' S% N6 l7 v* C! M0 z
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ! D  v; I5 c: G" @# [2 n5 G
  42. ---例如---
    ' J3 d+ _  o/ I3 G* ^3 _
  43. [ dbexpress ] 1 S' d: M2 X, H: h0 q% c; W
  44. sqldir = mysql_sql 2 ^6 D  R. k+ V  L% k4 |$ G
  45. drivername = MySQL中4 z$ H7 ]6 N  s
  46. 数据库=测试6 K0 y4 y3 @9 P
  47. 主机=本地主机
    - f4 z& C( R$ Q+ T2 \2 z: B
  48. user_name = testuser 4 }3 ~  z) i/ z# {! |
  49. 密码= my_password
    4 ~0 ?% {  N( h
  50. getdriverfunc = getsqldrivermysql * |6 P+ N! ^9 A- @, P. {
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 9 \% n: r$ p( _
  52. libraryname =. / libsqlmy.so
    + i( S0 d" ~9 z
  53. 积极= 1 8 f, |) ]; O$ x
  54. ---例如--- : \7 i9 u4 G) L  C) E# o% _
  55. ' Z3 c4 {- i$ {
  56. 对Windows中,也运行MySQL服务器本地的,那就是: $ E5 r4 Y6 o# H  ^) S
  57. ---例如---
    8 M. D+ W+ U4 l' h/ j7 {
  58. [ dbexpress ]
    / L* p; C% y5 U* }" j  S2 J
  59. sqldir = mysql_sql
    ( P' Z: S1 c3 n( B2 ~
  60. drivername = MySQL中
    / f. s( e7 i* V  t- P% u3 s
  61. 数据库=测试
    # x5 G. F9 C# U. [7 i
  62. 主机= 127.0.0.1
    : f$ u4 Q6 t2 p
  63. user_name = testuser
    % k; b: B; s8 H7 M  O
  64. 密码= my_password
    0 {1 M8 W' [3 z: J' F8 N' D4 u2 e
  65. getdriverfunc = getsqldrivermysql
    ! ]9 ]- i, J5 F8 b" ]9 K% \/ b; W! U% \
  66. vendorlib = libmysql.dll在
    ! Y& p+ j3 Q) c
  67. libraryname = dbexpmysql.dll 9 N3 ~  n$ j6 t8 V
  68. 积极= 1
    / L* n+ _  ^# F* o" ~+ f. {3 s# P
  69. ---例如----
    , p  b( r0 Y' q& `* M! ~. R
  70. -写在0 2.03.04由p wk.linuxfan
    7 d9 ?4 v0 M  |$ v: 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 words4 V% J" k8 H9 t- x! d$ N
3 Y& n/ j( ?5 a) S
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-7 22:17 , Processed in 0.111477 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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