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

2399 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
# k& i; A7 j1 v
* v& R  i& C+ _3 |

  1. 2 N( l$ ~* c# X; Y$ k  s# a9 s, l
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######8 W8 O: X2 K% D& J9 d7 w

  3. 3 Q: V0 |4 v1 l& L1 K( @
  4. ### What we need ###
    & d& R$ c5 W" U6 [8 g
  5. Naturally, we will need a MySQL server to store the data for us, this document 4 ]9 ], [% [3 x/ m0 v7 V0 d, e
  6. will not explain how this can be done - there are documents out there for the 5 {/ v- J( k  D  v1 [7 G8 ]
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ) B) H4 y$ Z! p  w% D& h# a
  8. and a user account (username + password) that has the permissions to do stuff
    $ m$ T5 n$ y1 S7 r( C/ M
  9. with the database. Additionally, you will need a vendor library installed on the
    8 \; S. p& H2 S7 ~, Q$ W( j
  10. local machine, this came with my MySQL install.4 ?3 c' h% L# a1 k3 X
  11. These instructions will not tell you how you might transfer your data from the
    , v, F' L  k3 z, f- L' x+ Q  w% c( E
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    9 B" h9 r6 O+ B8 T
  13. database.; \& y# T9 H% P( e* d
  14. Some users have reported ways to import a SQLite database into MySQL, but at( `, ]& [$ ]4 q$ q
  15. the time of writing, there are still too many issues - check the current status
    8 P, _2 a! `5 w" o( J
  16. in the TeamSpeak forums if you are interested.  d9 h) P$ k; w9 W- B5 `
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from; ^- L2 a6 \# x4 E
  18. Borland was used. This driver can only interface with the client library that   y* T. V7 @9 m. R
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this+ G- {) P8 W* d
  20. client library - basically all you have to do is to use a 3.x client library as * o, O7 J) ?  Z$ B' m1 F# L/ f
  21. "VendorLib" and a 4.x database to connect to.
      X) v/ I/ {  L$ l
  22. If you need more info about dbExpress, you can contact Borland.
    $ p6 d  X! ?1 `0 u

  23. 0 c4 @6 W! Z6 c! X6 r" H6 ~& q+ [
  24. ### Doing the work ###
    1 W- H- \" F  T
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all2 m) k& W9 Q) n) j; ~
  26. the perquisites right, just open your server.ini file, and add this section at
    1 A- h6 `9 u3 `
  27. the end:; }( [2 Y) C8 M! w6 Q
  28. ---cut here---0 |" b+ ?6 {* n$ C2 O+ n; ~) ~& n
  29. [DBEXPRESS]7 [% G" ?1 X! `4 P. w! |
  30. sqldir=mysql_sql
    1 Y7 z/ a' _% T0 d8 l
  31. Drivername=mysql3 \' F  j$ s2 |+ r7 u
  32. Database=Your_Database_Name_Here
    6 i" Q' }$ d. F5 w
  33. Hostname=The_PC_the_MySQL-Server_is_on
    % ?9 i$ k( j! S. Q; o. g( C! N
  34. User_name=User_name_on_the_MySQL-Server
    % ]* d. K# t* v' c5 v
  35. Password=Password_to_go_with_above_user_name
    5 S& B/ b, ?' j/ x5 b* m
  36. GetDriverFunc=getSQLDriverMYSQL
    ; q, `: @, R, y- J2 V9 U
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib5 a  _+ X) i( Y6 s8 I! {4 u+ x
  38. LibraryName=path_to_libsqlmy_libary
    ! g" e- ~6 `7 P8 ?% j' C
  39. Active=1
    % ]& X$ S4 A8 d/ T$ p  }3 n; g* j
  40. ---cut here---
    $ Z8 C: G- U6 W1 h1 n3 [! e
  41. In my environment (a linux box with a MySQL server running locally) I have:
    6 f8 J0 L' j8 s( N. {
  42. ---example---8 c% t( g) S0 J( b
  43. [DBEXPRESS]7 g3 _+ C. T) q/ B
  44. sqldir=mysql_sql
    * v% U! h7 R# ^2 O
  45. Drivername=mysql3 d3 V* s' X* Y  C! B
  46. Database=test
    2 E0 X8 D8 x4 X. n3 @4 [
  47. Hostname=localhost; C& Y& I) s+ f& w3 j" ~2 G
  48. User_name=testuser0 X! T9 |3 T2 U
  49. Password=my_password
    - }* M2 y) Y1 i, C' p9 p
  50. GetDriverFunc=getSQLDriverMYSQL" r0 {7 V' h  D6 ^
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0. W, E8 C1 X( [& w6 P2 c7 i
  52. LibraryName=./libsqlmy.so
    ' J2 X$ B% v% F' j- M4 L
  53. Active=1
    & o; G. {+ W5 A8 D" w; q$ T( j
  54. ---example---8 Y5 K9 k3 a+ N. j  V/ p' j

  55. ' X) w0 N. g4 b* P
  56. On a windows box, also running the MySQL server locally, it would be:7 N4 c5 V! e" i1 p. T
  57. ---example---) e; e- \! W5 S( V0 c+ s
  58. [DBEXPRESS]
    3 A  H$ N! e, W# k" u
  59. sqldir=mysql_sql, e/ S( M: D% C" v/ c% D) D! i
  60. Drivername=mysql
    # h# _  _3 U! Z# m
  61. Database=test
    " r0 K: z! w/ j
  62. Hostname=127.0.0.1
    ' O9 w% g/ L1 [/ a: K9 C
  63. User_name=testuser: C. F# T) D" w! R! j3 t
  64. Password=my_password; E) U2 e: d( d- |
  65. GetDriverFunc=getSQLDriverMYSQL
    + U- O' M' u# l
  66. VendorLib=libmysql.dll
    ) x9 q/ P5 y9 U. L5 J4 }0 b* p8 B
  67. LibraryName=dbexpmysql.dll  S5 }) B0 v* Z9 l
  68. Active=1
    & I7 ?% F: U0 p; Q; `7 K. d8 y# k- F/ M4 S
  69. ---example----4 e  W* B7 p. r- W- l) ?
  70. - written 02.03.04 by pwk.linuxfan
    0 a/ h1 q: l1 h9 B+ K+ I
  71. 2 U1 c' H# E; `% f: i, j8 Y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
! O) h& w6 m8 V# b7 ^" |
  1. 0 A$ C& |& L. M
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### + g. Z" O' a& u% P1 b. h
  3. ( q# I1 t6 ^5 W1 c$ L8 F* C. ?
  4. # # #我们所需要# # #
    1 E0 {9 u1 D/ b: @/ k2 N0 j2 h7 v' b
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件# @' ?5 `- J+ |# ?/ g% i  }
  6. 不会解释如何做到这一点-也有文件存在,为! i5 b+ M- S7 c2 c
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    0 E' ~. L5 F$ r! m6 m
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西: `- e/ |& l2 u' T
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ) ^# v. W. P; T! O  `; E
  10. 本地机器,这是我的MySQL安装。
    3 o% j, ^! {: g! o2 v9 @
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从) N2 t6 }9 s3 K9 w, m! j/ |* D
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 2 I0 `& @4 S+ ]$ I. [
  13. 数据库。 # j9 }! a* K3 o5 R$ G! Z8 C- \( n# b! w
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    8 x* [# B0 k4 a4 m5 g' \3 x
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ! R' @  Y& M  t2 k! j
  16. 在teamspeak论坛,如果你有兴趣。
    * i# K3 i& U/ w9 f1 m* V+ S
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机) k& N$ R; O. _2 @- Y
  18. Borland公司使用。这个司机只能界面与客户端库
    ; w7 n6 _) y8 C
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ; Q3 U9 h7 c0 A2 Z2 y  Q+ T: o
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    0 @6 }$ U! T7 [% C: E
  21. " vendorlib " ,并解数据库连接。 ! Y8 @1 T: t  k. A) G3 h2 {! }8 T
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    & p) d- w8 Q. X) f
  23. 0 E% P0 p/ ?$ r% D
  24. # # #做好工作# # #
    7 g+ J" G; p) U8 a/ t+ K
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都4 r2 V. F4 f5 N# n$ w
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    & w' k$ @& W1 a+ S" A  @
  27. 结束: 7 t; E/ ?* f6 m/ f9 g
  28. ---削减这里---
    4 `5 c% f# Q* z
  29. [ dbexpress ] ) M. X8 b! q; t: k+ h4 w/ ^. A9 v
  30. sqldir = mysql_sql ' T& U3 m0 H" b2 g" T' v% ?
  31. drivername = MySQL中
      g& k( x$ h5 {! G
  32. 数据库= your_database_name_here
    & C% [6 K, a) d) h/ b
  33. 主机= the_pc_the_mysql - server_is_on
    " ?) M2 i' B. R* @
  34. user_name = user_name_on_the_mysql服务器/ @. q5 a+ t, B* `6 a/ X
  35. 密码= password_to_go_with_above_user_name 1 S+ J& s3 ^. @) ~
  36. getdriverfunc = getsqldrivermysql ) d5 S6 x' ]4 [8 f+ J  g( B5 C
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    7 r: ^! _4 A4 ^4 M* E( b2 j( S
  38. libraryname = path_to_libsqlmy_libary & v: f. \/ @: ~: C
  39. 积极= 1 ! z7 e9 s, B( a1 W7 @
  40. ---削减这里---
      Y/ z0 C( q9 r5 [& a! i: w
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ) _" T# U7 W5 Y: ]2 o- z( ]
  42. ---例如--- 1 }. z# |4 m) X
  43. [ dbexpress ] % Z. M( [$ w+ [; c! j
  44. sqldir = mysql_sql 5 U/ a3 a* ~4 j8 m1 O; H% V
  45. drivername = MySQL中
    : @' X4 e3 X' R. ?2 F
  46. 数据库=测试
    ! V& a  b' [3 z7 F" U0 w1 V
  47. 主机=本地主机+ a, [3 |8 Q: T, y. ^$ v- ]$ N
  48. user_name = testuser
    4 S" u: M8 c% q' A% H9 ]
  49. 密码= my_password
    6 L6 R* h, O+ K1 C7 A* s
  50. getdriverfunc = getsqldrivermysql # Y0 Y. A9 u% e6 S
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 0 [7 |& ?; S4 s( d$ G! M
  52. libraryname =. / libsqlmy.so
      n) C- s% u4 x/ @8 }& c0 \3 N
  53. 积极= 1
    9 M2 V7 M# |$ v- w
  54. ---例如--- . b# C6 S) j7 @/ L# n

  55. 3 X7 m9 O  V- F7 f/ N" A6 b. s
  56. 对Windows中,也运行MySQL服务器本地的,那就是: % J2 o  z* ]4 f# D+ U' Z; |( m- l
  57. ---例如--- ; r3 P( D9 w4 X, y6 @* S: ^
  58. [ dbexpress ] : V1 O# q- i9 J& |( ]
  59. sqldir = mysql_sql
    # y5 B" s, B1 P: f' w' K- l
  60. drivername = MySQL中7 W# S) O1 V6 [- i. M& J9 G$ c7 y. O
  61. 数据库=测试
    $ c0 f4 |$ k1 Y5 O# N2 x  E
  62. 主机= 127.0.0.1 $ a9 }2 c4 w' A6 l: c
  63. user_name = testuser
    & P2 u, e  s, P7 p/ w
  64. 密码= my_password
    : G& W) V9 P* g3 v+ @& Q
  65. getdriverfunc = getsqldrivermysql
    8 {4 f+ k" U! }! ~
  66. vendorlib = libmysql.dll在
    # O9 ^" O+ _9 v* S$ F, j5 s  M
  67. libraryname = dbexpmysql.dll 3 a* \+ o, [# U6 T) Z6 d3 U: h- ?
  68. 积极= 1 % J3 F+ ~1 ^# L* e" H' {  u$ i- W
  69. ---例如----
    2 E& d( {7 w$ {
  70. -写在0 2.03.04由p wk.linuxfan( M0 }; }* {$ n; c
复制代码
发表于 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 words2 _' a) f5 F% ~$ J. h% |
. S7 g. ~6 X* T7 j/ h9 t/ K( D
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-22 07:05 , Processed in 0.110830 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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