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

2828 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ( G  E! j- }" d( l8 P4 a+ I

1 M3 G: T* x! o' O8 ^

  1. . ^1 B- F4 m5 W* q: |; Q' |; R
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######& T9 H( P+ \5 c3 ]5 U
  3. & Z( P) [! j- A9 x+ N
  4. ### What we need ###& J+ [* C; k3 c( B8 N, ]! k9 n
  5. Naturally, we will need a MySQL server to store the data for us, this document # ^. ~6 V6 h( d5 I% u/ L
  6. will not explain how this can be done - there are documents out there for the % E7 x$ C6 V; \* y5 B1 `0 a; T
  7. interested. The requirements include a (empty) database for TeamSpeak to use
      h+ p5 q7 j2 y1 T1 b
  8. and a user account (username + password) that has the permissions to do stuff8 B# g! M5 G8 ^" C) j9 R
  9. with the database. Additionally, you will need a vendor library installed on the1 N7 K% L8 R5 z. v$ ]
  10. local machine, this came with my MySQL install.
    7 d5 ]9 X, j; h: q6 T/ v+ p. l+ b
  11. These instructions will not tell you how you might transfer your data from the. s+ X4 f8 y  Y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    / U+ l2 M7 l3 y; d2 O1 y) S
  13. database.
    & R$ f  ?) D0 m/ \# V
  14. Some users have reported ways to import a SQLite database into MySQL, but at6 ?% W0 }* ]1 k6 C3 A. j
  15. the time of writing, there are still too many issues - check the current status
    ; u3 h( N3 J( O9 ]6 A, z
  16. in the TeamSpeak forums if you are interested.
    % `8 ^3 O( M& Y- w  a2 ^
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from+ u) G+ B" j. C. x& J
  18. Borland was used. This driver can only interface with the client library that
    " V2 C8 P/ h5 [) `
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this) U  a+ u, r3 Z
  20. client library - basically all you have to do is to use a 3.x client library as
    ' Q) z$ l, G2 e+ S' I
  21. "VendorLib" and a 4.x database to connect to.. m8 n" H' @5 z9 x3 [% G1 h
  22. If you need more info about dbExpress, you can contact Borland.
    6 v5 o: L' X5 B, A% J1 b. [. V  k
  23. - ?) s3 z; Q) [2 _% Y% E8 d
  24. ### Doing the work ###6 w) E% E9 O4 {$ _" _  z+ x
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all& C( t( Q$ R8 W$ ^+ C: d4 Z
  26. the perquisites right, just open your server.ini file, and add this section at% z6 M3 ?' e5 l5 F
  27. the end:1 |$ A2 J& N5 e" O1 N  K
  28. ---cut here---% G: @- X9 e/ r! w$ v/ C
  29. [DBEXPRESS]/ `8 i( S7 i7 ]; G1 p
  30. sqldir=mysql_sql6 W$ n! c+ n' h3 L& `0 W3 d
  31. Drivername=mysql1 Z6 X6 [* j7 `' x3 V' L) P' f! f: e
  32. Database=Your_Database_Name_Here
    + t  [4 q+ o8 z; z( g9 `3 T
  33. Hostname=The_PC_the_MySQL-Server_is_on- U% H: `& k8 f9 x
  34. User_name=User_name_on_the_MySQL-Server
    $ I% J& @& a% A1 `
  35. Password=Password_to_go_with_above_user_name
    # ]$ n) ^1 ]7 i1 X8 g  F
  36. GetDriverFunc=getSQLDriverMYSQL
    0 U( t2 G8 q* N1 M- |2 @7 C
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    1 ~. z' Z* ]) s6 k6 H
  38. LibraryName=path_to_libsqlmy_libary; E. G  d4 m1 `4 V1 ~3 k4 c
  39. Active=1
    ' R- k) S( T/ x& W$ D6 n# u& v
  40. ---cut here---, g0 G; k' q' J. V
  41. In my environment (a linux box with a MySQL server running locally) I have:
    . `6 d$ ^; V: c# X- P  b
  42. ---example---
    ) r. M! z6 c+ ^' u7 Y2 z9 F
  43. [DBEXPRESS]) d  H4 V. s7 R/ F  g
  44. sqldir=mysql_sql! s! D+ F( c6 C( x" |$ s7 B
  45. Drivername=mysql' Z. {& d! n5 ?5 I0 F) s! ?- n; p
  46. Database=test
    : i+ p. L9 j# W. \0 v
  47. Hostname=localhost  }6 Y* o: Y# P3 p
  48. User_name=testuser
    # r6 D% A$ Y/ a& ~+ ?; _% R, {
  49. Password=my_password
    ! v+ i" D* D" }9 z' Y
  50. GetDriverFunc=getSQLDriverMYSQL# x- y' n3 D  f2 W- X# t
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    / x2 L9 K- \- D/ x! {1 f  A1 K8 {
  52. LibraryName=./libsqlmy.so
    . s. a% g6 Y$ x  \  U( f9 k
  53. Active=1
    4 H9 f: E5 l* |6 c# E
  54. ---example---
    / B" J# B, _0 A0 V1 A; q$ X
  55. . d6 O/ n2 P- ?1 Q- _5 P  B4 J8 s
  56. On a windows box, also running the MySQL server locally, it would be:) d/ `8 H; u1 t5 q- A* q
  57. ---example---
    / E( R( _/ p+ Y+ m
  58. [DBEXPRESS]& ?, q1 a4 x$ y. w% ]* \% r( [
  59. sqldir=mysql_sql
    " O. ^8 l: V: H$ p2 y
  60. Drivername=mysql! p  |. J# x/ }$ `$ X. Q) }
  61. Database=test4 a( ?3 O1 o( b% V
  62. Hostname=127.0.0.1
    8 I3 p3 B% Z  w+ e; I
  63. User_name=testuser
    3 P  l1 q" z) i" o' w
  64. Password=my_password
    6 v) s0 V, ~& k, H) H$ M/ i4 a
  65. GetDriverFunc=getSQLDriverMYSQL+ p  n2 i$ A, k- b
  66. VendorLib=libmysql.dll
    7 s& `6 H( y/ P1 x+ T+ s8 u, x
  67. LibraryName=dbexpmysql.dll3 S& V/ j, e* b& Q2 c
  68. Active=16 K  n& \& f% d" n9 E
  69. ---example----( u8 Q4 N+ c" N  g$ _; W
  70. - written 02.03.04 by pwk.linuxfan( f* v+ r" ?( [3 R

  71. , i6 `6 j4 S+ p9 i9 h1 V
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
8 F! W- m& E! {; j- a

  1. ' @1 D% ~* }8 V8 f, s% \4 `
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 0 d5 ]! p& l2 z; }$ z, f
  3. + Y0 j2 q8 y9 ~/ @* L* i$ i0 W1 g
  4. # # #我们所需要# # # ' C4 f7 A) ?3 [8 {. Q
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ! E- G* D2 \, g" o, ]% L
  6. 不会解释如何做到这一点-也有文件存在,为
    ; W9 F; ]& o3 k
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用$ j0 L6 o7 B9 g' [" {) L
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
      _  i5 W8 u$ a$ q7 y  c  q0 i
  9. 随着数据库。此外,你需要一个卖方图书馆安装于! k  Z+ o9 g+ G% R, C% X2 P! x" j3 L
  10. 本地机器,这是我的MySQL安装。 ) c- G4 }8 o. U+ f& M/ l
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从; w6 t& G5 [# b2 ]
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ! `' X% d. x& x/ X
  13. 数据库。
    2 L8 |0 O; a$ p9 B- t+ D7 s
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    . N/ o* B( Z2 Q* c- W
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    * D/ ]; |% a( r3 B* g# r* @" m3 g
  16. 在teamspeak论坛,如果你有兴趣。
    6 N) a' j2 t9 i+ p+ h
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ' U, R. y/ V- h5 ~3 W
  18. Borland公司使用。这个司机只能界面与客户端库% p$ u* |  a' D7 X, v. x, E3 T: _
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这* @( i' s- _/ X2 {  |
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    3 g' I5 }0 V* d8 D. b% F* K/ b9 Y
  21. " vendorlib " ,并解数据库连接。 2 ]7 ^' S! X" w' S6 Q
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ! l. C" ^* k1 r/ w$ j

  23. - F8 r( ^  C* `+ r1 c2 B7 I
  24. # # #做好工作# # # 7 l# E, t" x' W6 f; f
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ' m8 O: W: d$ d! E9 z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在- U3 ^4 _4 a9 l/ W2 ?1 F' D
  27. 结束: 9 e: A( p, u  n$ R( G# y: o
  28. ---削减这里--- " q  m( Q4 s# H* ~% w3 ?$ h! z
  29. [ dbexpress ]
    , |+ P5 u* @! Y4 a
  30. sqldir = mysql_sql
    . Y$ P- Y) {4 \
  31. drivername = MySQL中
    9 b5 }# k9 ^; i& _* u/ Z
  32. 数据库= your_database_name_here & S8 G4 \9 j) |, B
  33. 主机= the_pc_the_mysql - server_is_on
    / X  r. Z) ?% b4 B% ?! K5 j& B- Z
  34. user_name = user_name_on_the_mysql服务器" ~" X2 q1 x  S8 s8 L
  35. 密码= password_to_go_with_above_user_name
    & O8 v9 L9 b- s- [* R! J  l
  36. getdriverfunc = getsqldrivermysql
    : N2 G# G( A) C7 b* |0 ^
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    $ `7 H( y8 H! r2 k& _$ k
  38. libraryname = path_to_libsqlmy_libary
    : ~7 a7 I9 Q0 e: ^; R( r% i. f8 u2 R' g
  39. 积极= 1 $ U1 r# m- e0 `, e8 ]
  40. ---削减这里--- - P6 g2 H" q; `1 G. ?: E
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 3 s. c  |) Y7 z" d
  42. ---例如---
    * |' W+ ~; i4 m+ y5 a
  43. [ dbexpress ]
    % S1 W: P" m5 E4 d+ S
  44. sqldir = mysql_sql 2 X: s, u9 Y9 \
  45. drivername = MySQL中
    + c7 |( m5 ~, Y/ f0 T
  46. 数据库=测试. ^3 _1 \) d5 r, y
  47. 主机=本地主机
    : p. G. u. B" h
  48. user_name = testuser
    ; b  O$ i: E1 C
  49. 密码= my_password / U! X/ j. D+ N
  50. getdriverfunc = getsqldrivermysql 0 w9 e4 v, S2 i7 R; ?
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    , |1 }& \) L( x0 z' I
  52. libraryname =. / libsqlmy.so
    + s6 d0 T$ Q' s6 B
  53. 积极= 1
    6 U. x+ c0 ]9 g: w/ y# g; p( A' }
  54. ---例如--- 2 F/ ^: y& Y* R9 k1 P/ p0 q+ R" o
  55. ! L! U+ ]& X# w' p7 H9 T
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ! k+ r6 A  p- k; g& @$ r( }+ e
  57. ---例如---
    7 q' E$ Q: B( e0 P" }7 L7 y. |
  58. [ dbexpress ]
    3 J& t1 W$ ?  c( }- l
  59. sqldir = mysql_sql 2 \1 e- k) z7 G
  60. drivername = MySQL中, `3 K/ s  U6 B3 q
  61. 数据库=测试$ j% N( i4 t" w- d- w' Y8 u: ]
  62. 主机= 127.0.0.1
    ' G( f& i/ R* ?5 `( U2 R
  63. user_name = testuser   b3 k% _  J4 c/ n
  64. 密码= my_password . b7 O+ |) @" B6 z( T/ E8 ]6 Z
  65. getdriverfunc = getsqldrivermysql ; o$ Q" w( |/ h/ H, [) Q
  66. vendorlib = libmysql.dll在
    / ^# t7 ]" F. h: `$ z. d% U, _; ?
  67. libraryname = dbexpmysql.dll
    ) Q$ v1 W: M/ P$ E) Z" P1 K- h
  68. 积极= 1 7 f4 J/ ~$ ~- P1 c
  69. ---例如----
    , \% X/ Z! D% j! N4 G" o3 C
  70. -写在0 2.03.04由p wk.linuxfan
    / M  i, o& X, d$ X4 p( y7 k5 m
复制代码
发表于 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
5 u4 ?5 \! e2 G$ ^8 N3 R. [  w
# f' X' R* p, H# H! ?but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-1 13:51 , Processed in 0.101930 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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