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

2860 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
* [/ m1 e# |7 a2 P9 q, B9 o
1 D. |4 _" Q1 D
  1. 7 Q9 A& l1 L7 x, {. K
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######2 p, C. @0 l! G! [
  3. 8 z6 p( l6 d2 J1 C2 W
  4. ### What we need ###
    # A, k! d8 a9 _0 y2 F/ ^* r4 m
  5. Naturally, we will need a MySQL server to store the data for us, this document 3 I) `& I/ H$ J( z$ Y3 u7 {; ?1 T
  6. will not explain how this can be done - there are documents out there for the
    5 Y% b7 n) t( M+ c1 X7 H
  7. interested. The requirements include a (empty) database for TeamSpeak to use, m  U* Z7 X2 a" x( a+ P# N
  8. and a user account (username + password) that has the permissions to do stuff
    * t! r1 m* A$ Z6 o' ~, w
  9. with the database. Additionally, you will need a vendor library installed on the* p: c6 k, C% a' {0 R! @2 p
  10. local machine, this came with my MySQL install.
    * w- c6 A; i8 K" F1 y
  11. These instructions will not tell you how you might transfer your data from the
    7 O& p8 V# ?1 z1 R
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    , z8 \: \1 [  J1 p
  13. database.# V0 r" K( u6 T2 v  k
  14. Some users have reported ways to import a SQLite database into MySQL, but at2 e- V/ E# g( @8 k( ~8 ~
  15. the time of writing, there are still too many issues - check the current status
    ! D7 a" w7 e: f/ @  ~
  16. in the TeamSpeak forums if you are interested.
    8 s1 @6 R( g" }  z% w% V+ Q
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from2 b/ X5 a/ y( c( d; m7 Q1 s% V
  18. Borland was used. This driver can only interface with the client library that - X+ R5 d, r: l) A
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this/ T6 n$ A$ S1 m  M
  20. client library - basically all you have to do is to use a 3.x client library as , d- T8 ?# x5 E- p8 g0 _7 @; x& Y
  21. "VendorLib" and a 4.x database to connect to.
    1 V7 y6 Y+ N5 G% Y; [
  22. If you need more info about dbExpress, you can contact Borland.- H+ z' l4 Z$ L8 L  E1 q. P
  23. ( ]8 z. m4 Z/ B' x2 J
  24. ### Doing the work ###0 R! p7 J( f# x+ X. t+ |
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all7 ~2 {, B0 {4 L  ^# f/ p" K& E
  26. the perquisites right, just open your server.ini file, and add this section at& c4 L. n( T% m% R
  27. the end:
    1 R$ P* z. T/ s8 M
  28. ---cut here---3 e0 q7 ?$ d2 B: i( e: J, c/ S
  29. [DBEXPRESS]% L8 t9 O  `4 a0 e) g4 p1 t
  30. sqldir=mysql_sql
    - D8 e9 z3 W7 v/ R; y- @1 r0 t, R
  31. Drivername=mysql, d+ ^) K  O8 j, a* v& V+ A, E6 t
  32. Database=Your_Database_Name_Here0 J& W3 W& v2 Y+ g1 X
  33. Hostname=The_PC_the_MySQL-Server_is_on" `1 Z/ N2 X6 O9 Z3 b2 @* s3 K
  34. User_name=User_name_on_the_MySQL-Server6 J3 n& R$ z, }  z$ n; Y
  35. Password=Password_to_go_with_above_user_name
    / K2 P- b7 p& V2 P
  36. GetDriverFunc=getSQLDriverMYSQL
    9 J' e. L1 j" [5 ]0 K8 X
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib, N. X, ^% L3 z3 n) ?/ ?+ ^+ o. U
  38. LibraryName=path_to_libsqlmy_libary9 ^; m" G/ O7 d) [( `2 A
  39. Active=1
    . @9 H; [4 \# S& b1 q
  40. ---cut here---
    5 y4 W  O+ J9 z. t2 a$ U
  41. In my environment (a linux box with a MySQL server running locally) I have:
      Y1 l. z: N, r; t+ C, [
  42. ---example---3 G9 d/ a+ Z' {2 d
  43. [DBEXPRESS]
    . _7 u+ v3 Y  q
  44. sqldir=mysql_sql# w$ V9 u8 n7 t) }) f4 U% g
  45. Drivername=mysql
    6 ?) c, @# Z. y( n" i1 Z9 W
  46. Database=test
      U! y3 \+ \% D& b# Q& a
  47. Hostname=localhost
    ( T1 g8 F. i% P/ [+ R9 X  v4 G9 \% p5 l
  48. User_name=testuser$ t( M; r% z( ~0 q$ Y1 O
  49. Password=my_password
    3 w; z) [8 V! B- m3 U$ J, F
  50. GetDriverFunc=getSQLDriverMYSQL
    ( \& R% K  y  J8 }" P( A0 T# J
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.07 j: u! e0 u0 k9 X$ |
  52. LibraryName=./libsqlmy.so+ n% c. ?; s3 C5 M
  53. Active=1. \9 n% [- b" |
  54. ---example---
    % }' }0 w: S8 b& z# j* E$ W
  55. & `" Y# G  K: U, [$ l9 D
  56. On a windows box, also running the MySQL server locally, it would be:0 m( v* B$ x' ]& _4 e
  57. ---example---
    . s( ~* L7 ?5 E1 L
  58. [DBEXPRESS]
    7 G" R( G3 ~7 G; ~3 L" q+ e* {( }3 L
  59. sqldir=mysql_sql6 `- d5 Z& b8 D' G
  60. Drivername=mysql% d$ e3 |# ^& y. i8 _
  61. Database=test
    7 p1 u" t( o! T1 c( A
  62. Hostname=127.0.0.1- V$ b# T$ L! e2 o; ]
  63. User_name=testuser9 @' m- {% U2 v) E- Z
  64. Password=my_password) ?3 x3 Z% k6 o$ k
  65. GetDriverFunc=getSQLDriverMYSQL: ~( a. L6 `+ J: [! s7 J( n
  66. VendorLib=libmysql.dll6 {7 S5 D, p1 c) f* Y: }
  67. LibraryName=dbexpmysql.dll9 R; C. V6 O3 o& Q# O0 f
  68. Active=1
    & q; o8 ]* z7 V" v% t
  69. ---example----
    0 d7 d. r# W! n7 m* E5 ^' Z; B
  70. - written 02.03.04 by pwk.linuxfan
    # I! ^: N2 S  I' c3 }* ]& i' E
  71. / Z0 X" X/ K' C5 E
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
  I3 w8 _& C& z* S
  1. 9 W# Y4 o1 c' O3 N+ s
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 0 E- g# E% b" w( A9 V1 ?

  3. ! s6 W5 K9 K/ o; c) g( m9 O2 `* z
  4. # # #我们所需要# # #
    7 g7 U9 t6 b* C$ X0 P* Y5 @
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ! S+ L7 y' Q5 r6 t7 r% N& K, S
  6. 不会解释如何做到这一点-也有文件存在,为
    * K0 l+ M* ~' g  `* F
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用& m/ U5 Q6 t( \6 S. H
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西5 V2 {0 P0 p" {  B6 a/ ^+ v
  9. 随着数据库。此外,你需要一个卖方图书馆安装于1 {( G" ]4 l/ h) v7 f9 P
  10. 本地机器,这是我的MySQL安装。
    9 ]; e+ Q6 l8 a! b" U; o
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    1 v+ r6 m- u7 O! ^% x6 O1 R0 C& G( ^
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ( q) H& W! w8 C2 z" r+ m$ s
  13. 数据库。
    0 k* a# r& D8 ], h0 i; L7 H
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在" ^  W2 E4 j% O* m; }8 H8 ]
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    " j; k$ K. {- _# U- _5 U" F
  16. 在teamspeak论坛,如果你有兴趣。 * P; U+ E; _3 j( Q
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机4 V* F2 H. W& g- `9 p* [
  18. Borland公司使用。这个司机只能界面与客户端库6 u% D, {2 ]/ r1 z/ K( W5 X' E4 y/ p
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这" g0 A. e% o$ ^: g
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    9 ?1 v) V& J0 s1 F8 ~& u
  21. " vendorlib " ,并解数据库连接。 7 ~( @* T+ Y% W% k, U* f
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
      T3 F9 Y$ Q$ \3 v( L
  23. 7 r* @* Y( u: s( c& U1 n  _
  24. # # #做好工作# # # 7 z& k* q" b; s
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都  m: Z3 @$ z' Z( X( m& l4 z1 K' U0 ]
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在5 M8 q( `+ k0 K) I
  27. 结束:   z3 d2 S, {" n7 @( u6 S
  28. ---削减这里--- ( ?( d) r2 {; ~
  29. [ dbexpress ] 8 i, ]/ J5 x: N" x( o$ \
  30. sqldir = mysql_sql % S, z6 I: g2 `: E& f8 ?
  31. drivername = MySQL中( T7 d" F' f% D5 W
  32. 数据库= your_database_name_here 7 J& H) J# i0 x6 m$ m; X7 W
  33. 主机= the_pc_the_mysql - server_is_on
    ; ^) @5 E! c0 q) F/ b& i. b
  34. user_name = user_name_on_the_mysql服务器
    " V1 n( T, l7 P6 o+ [  P
  35. 密码= password_to_go_with_above_user_name
    # Z* B' l7 g. Y& g& F
  36. getdriverfunc = getsqldrivermysql
    4 n* K8 D( S, _9 R; N
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib / {5 d/ ^& \% L, g$ I: }& V/ B1 G
  38. libraryname = path_to_libsqlmy_libary
    1 C  S: e4 I# H8 d: S
  39. 积极= 1
    $ }% G1 z" p' E
  40. ---削减这里--- 6 i& @# ~4 x, F( S+ K
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 2 D# j7 Z3 M1 c5 o6 J4 |3 R
  42. ---例如---
    " B- r5 f$ C/ n  `0 J
  43. [ dbexpress ]
    3 v. V; r# M" y, c0 v( F' D; j; W
  44. sqldir = mysql_sql
    0 Q" R. ~  G! V' [
  45. drivername = MySQL中# m- K/ W( a. N8 N  Q1 U
  46. 数据库=测试& D3 Q( B* D7 s# g
  47. 主机=本地主机
    + i6 y3 e* |2 {; z) r" `8 k
  48. user_name = testuser / w" K: L- \3 C- d) ~
  49. 密码= my_password
    & W! {& ^% ]! w9 h- ]# z
  50. getdriverfunc = getsqldrivermysql 7 t% n, m; @; h  E7 S$ }% G
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 + u9 g) `" O. o2 i/ u, E0 z
  52. libraryname =. / libsqlmy.so ' [0 d0 m* z4 o5 H( q
  53. 积极= 1 & l& N- N8 u, w+ R
  54. ---例如---
    8 P* m$ E- o1 H* A3 V* j
  55. 3 c) j4 M  J2 D- B, X
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 3 y1 T8 V# n' W+ f
  57. ---例如---
    0 \# c  @. R# V2 G
  58. [ dbexpress ]
    # e0 w6 L! m3 U9 L. u
  59. sqldir = mysql_sql 0 p( M1 t0 A$ k% w* z
  60. drivername = MySQL中
    ; M6 `# |+ z& v: l  Q1 v
  61. 数据库=测试
    6 h1 y8 Q% S/ W
  62. 主机= 127.0.0.1
    ! f; r+ L. w: H2 i
  63. user_name = testuser
      x# H* x( S6 |, R
  64. 密码= my_password
    : l3 O+ `% n# @+ h* M* B) S
  65. getdriverfunc = getsqldrivermysql
    9 E2 Q5 v1 V% Q% {$ h3 W
  66. vendorlib = libmysql.dll在
    5 v( [! z; _7 g# N
  67. libraryname = dbexpmysql.dll
    0 U9 T/ X. r# z
  68. 积极= 1 $ B" g% O- ~( |: Y! G5 o: H
  69. ---例如----
    ' v5 ]* \) D6 s
  70. -写在0 2.03.04由p wk.linuxfan
    - Q/ X) a9 N. I6 I! d
复制代码
发表于 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
( o. I. f5 O  E1 F. e
/ i% ~1 l% e+ @& ]( Ibut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-8 19:19 , Processed in 0.088349 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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