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

2331 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan $ Z8 k2 S# ?: V! [# k0 u; I
( t) _/ a' J2 \  {; T* {4 u4 \

  1. 0 r0 E: i2 p  R7 Q) P* ?
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######! @/ I- j2 x# {- X" B4 A. c/ S

  3. ) p! ?9 P- o# A; p  e
  4. ### What we need ###
    - J* L3 @, f& G: e+ j1 G
  5. Naturally, we will need a MySQL server to store the data for us, this document 6 g3 i. |3 F# |! `* ~5 m5 b% P% ^
  6. will not explain how this can be done - there are documents out there for the
    $ K8 O5 x! ~6 i3 f
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    , t; `- q, o2 _" W3 k6 O8 w
  8. and a user account (username + password) that has the permissions to do stuff
    2 G' v8 ~- V3 b, s' L& S: Q0 I0 P
  9. with the database. Additionally, you will need a vendor library installed on the
    3 d0 [1 B7 `. r' K; O8 j1 y6 e
  10. local machine, this came with my MySQL install.
    8 _* w! Z' m, P8 p7 B$ q
  11. These instructions will not tell you how you might transfer your data from the) `' h8 `5 U+ N$ d+ W8 p- Q
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL, X8 ]+ Z0 b1 L- [/ z- T: r
  13. database." `/ K& a. a. L8 @( I0 L
  14. Some users have reported ways to import a SQLite database into MySQL, but at' y* R) o% M& Y$ {6 r" w: o
  15. the time of writing, there are still too many issues - check the current status8 C  W' [# m% @3 E; B6 L* T
  16. in the TeamSpeak forums if you are interested.
    : p+ j# {: p1 s' `# V
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    " I6 z5 f, T* b( B, d# N. t
  18. Borland was used. This driver can only interface with the client library that
    + p7 W9 _2 }! U3 Y( @  E. a
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    : h, `. }( v5 |3 m
  20. client library - basically all you have to do is to use a 3.x client library as ( }, f0 g8 D9 e' Y9 O3 k% M4 ?
  21. "VendorLib" and a 4.x database to connect to.
    ) ^- s% t: P: e/ |0 i8 S
  22. If you need more info about dbExpress, you can contact Borland.
    ) `5 g: d, O% k) f' I5 m# E# Y

  23. 8 \( f/ J6 P+ ^1 D% A' i
  24. ### Doing the work ###
    . J) a2 @% U) h1 c2 O7 e6 ^
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    1 H! U; z. l2 g- ^* @. R; k
  26. the perquisites right, just open your server.ini file, and add this section at2 i) q; `) k. I& @0 ~! }' [4 `
  27. the end:2 n* \) y& _2 a
  28. ---cut here---) V8 o" Q, ]' G+ o5 _; A; Q$ ~
  29. [DBEXPRESS]9 D8 y. P% y% D( E0 O# U
  30. sqldir=mysql_sql
    7 h1 _6 L  @4 _) x6 X/ E
  31. Drivername=mysql0 D- d! w1 C4 b# D; L# L, F
  32. Database=Your_Database_Name_Here; Q; B! S9 @* x5 N- V
  33. Hostname=The_PC_the_MySQL-Server_is_on& g' @0 [7 O& |8 e" |7 T$ ~  V
  34. User_name=User_name_on_the_MySQL-Server
    4 m& s1 q, `( o- [
  35. Password=Password_to_go_with_above_user_name$ r1 \- C( z* l; s; ~7 i; v/ W
  36. GetDriverFunc=getSQLDriverMYSQL/ ?6 t1 Q  H+ d8 g7 u6 k
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ; _5 m5 M4 `! ]0 n/ S
  38. LibraryName=path_to_libsqlmy_libary# y# Q9 ]2 v& I8 S: Q$ k$ t6 `
  39. Active=1* A5 ~& a; c. M, f, D$ L5 d/ S4 W% ~
  40. ---cut here---
    : E$ A% f1 s+ ]2 C6 G
  41. In my environment (a linux box with a MySQL server running locally) I have:- V: o9 t5 ?" K% k
  42. ---example---' K! ?/ K  {0 l- v1 g/ ]
  43. [DBEXPRESS]5 c9 l1 J' {6 R9 V/ z' Y2 [2 f& A) t1 c
  44. sqldir=mysql_sql" }; K2 J' K/ c- h. P
  45. Drivername=mysql
    1 {5 _4 z/ B! l: n+ O
  46. Database=test
    ' P8 A% A# o4 M- ]( T+ F9 P/ m6 {+ c
  47. Hostname=localhost
    # d7 c* P! P# A# a) @
  48. User_name=testuser! F4 z8 l3 M7 H, p0 {1 T
  49. Password=my_password+ v$ o5 h9 n- h
  50. GetDriverFunc=getSQLDriverMYSQL
    8 k* w- X- E9 F
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.07 z/ J  P$ \4 e9 M8 m% H
  52. LibraryName=./libsqlmy.so
    ( G8 n' `, f  V; |
  53. Active=1$ {/ o! [' e" S% c6 E' ]% I
  54. ---example---
    * C: ^' K# \1 O; R) W

  55. 2 j  H8 e( B. b$ z4 J" J6 M
  56. On a windows box, also running the MySQL server locally, it would be:
    , R9 @+ K. B! a/ D$ }1 o  j8 r3 {
  57. ---example---
    3 \; E- N/ ?$ X' \1 J  }6 \8 r: r0 P5 V( ~
  58. [DBEXPRESS]
    9 w7 Z2 q$ A! p, Q
  59. sqldir=mysql_sql
    # R! {  |4 j/ i$ ]
  60. Drivername=mysql. l% J. m9 g/ e4 _; y6 U
  61. Database=test% B8 \# P7 Z" T/ a
  62. Hostname=127.0.0.1
    ! i' k/ v! ^% X+ Z9 ?7 }7 F6 Z" ^
  63. User_name=testuser; F4 ~" U: V( P, p! Y8 ?, B
  64. Password=my_password; N2 N8 z( N# C( X! T: V
  65. GetDriverFunc=getSQLDriverMYSQL
    # r( J. [& d) ~4 _7 }
  66. VendorLib=libmysql.dll
    8 F; X" \7 j  V7 ~; q$ u7 x
  67. LibraryName=dbexpmysql.dll3 z# J% q4 ?: `) Y9 j4 l( `
  68. Active=16 y. G! t% F5 z( v% [- W/ p
  69. ---example----, N% `& C$ Q. K1 ~- h
  70. - written 02.03.04 by pwk.linuxfan
    * i& z: H+ s6 V6 q2 _
  71. # M; V; f1 I6 X; R( @* A* P; ?
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看4 F* g9 z- q+ T

  1. 5 n: {6 D  `- D+ R  D; ]6 W
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    : G8 Z4 o3 C& k$ i" @" V( N

  3. ) H* R7 L; f4 ]1 T2 g
  4. # # #我们所需要# # #
    " S6 g& X- F8 n1 a
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件4 Z: ]( X7 B  {$ b/ g: f
  6. 不会解释如何做到这一点-也有文件存在,为
    ; T3 J2 Y: f% f9 [( Z1 `- F
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用; V# x/ |5 q1 F7 q' m
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    8 [$ S& P7 F" ]; y7 ?
  9. 随着数据库。此外,你需要一个卖方图书馆安装于# @, K& W% E" r0 g
  10. 本地机器,这是我的MySQL安装。
    * Y5 Y( A9 q. D" e
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从" q( f* I" O+ C- a' g7 k5 v
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ' ~( z& X2 w% g+ X$ i& T9 n
  13. 数据库。 * }( |  |! k* ^8 k' k( Q+ |) w7 _5 M2 u
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在- Q, h! O+ X0 A8 Z$ K% B1 m
  15. 编写本报告的时候,仍然有太多的问题-检查现状- q" s  J  q; ^2 W
  16. 在teamspeak论坛,如果你有兴趣。 7 S1 Y5 Z0 Z) X  B/ X1 v  U
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    9 W7 T- X2 Q7 k0 u4 ~
  18. Borland公司使用。这个司机只能界面与客户端库
    1 l7 \" \7 x: B9 U8 L5 R
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    6 u/ g) W% o( M* p4 p) _
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    # K, r/ L. C2 c* p6 t9 e% |
  21. " vendorlib " ,并解数据库连接。 - I% O6 G$ G6 N' d
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 - S; x: A: ^3 _' P! U* F9 e0 z

  23. % j; i# r- g# u# q0 |  o9 \" R
  24. # # #做好工作# # # * s9 ~% g2 g4 r* o  _* L
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都) f( j/ m7 Y' I* C. E9 W; E
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在( Q: @. |# d7 `
  27. 结束: 6 H( o- e( q6 F/ M9 y
  28. ---削减这里--- / `1 L2 r! x+ b$ Z& w
  29. [ dbexpress ] ; F/ W: k, Q7 r6 D' c0 t
  30. sqldir = mysql_sql ! w5 E# a9 A7 m4 ^: p6 s- x  F
  31. drivername = MySQL中
    . S9 P- B2 M# x; P5 V
  32. 数据库= your_database_name_here - Z* v" @/ K& T
  33. 主机= the_pc_the_mysql - server_is_on 5 j/ ^. |; t/ `8 j8 t3 J
  34. user_name = user_name_on_the_mysql服务器
    : Y5 p+ Z* w1 l  u
  35. 密码= password_to_go_with_above_user_name
    ; I# u3 y4 p* Y6 a. H# a+ W& g2 z( h
  36. getdriverfunc = getsqldrivermysql - Y) B- P* {6 X! @8 A( K
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib & F2 b2 Z( y  J6 D5 ]" [
  38. libraryname = path_to_libsqlmy_libary 6 o& P' U$ H9 E
  39. 积极= 1
    8 U/ A+ x4 X, h% O7 {3 L$ N
  40. ---削减这里--- . W& Z  g: H1 f/ b3 @( r
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: . _" u: q/ l8 s
  42. ---例如---
    2 r. f) m& i. X9 \; |# i, `2 ^9 g
  43. [ dbexpress ]
    - ]0 R$ }: R  A4 Z: y  P, ?
  44. sqldir = mysql_sql
    + `6 ^5 V+ Y( D) q& A
  45. drivername = MySQL中
    * o  F) }% k8 W) U& R
  46. 数据库=测试
    3 ^% g/ K# n9 @0 {
  47. 主机=本地主机/ {: G# X* W) f" G8 I
  48. user_name = testuser
    . l" V! L7 P0 g0 P: R
  49. 密码= my_password
    + m( {/ {0 Q3 S
  50. getdriverfunc = getsqldrivermysql
    & R1 f5 F" F/ g" k
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    9 l! G: Q  }  c+ Y8 p  Y
  52. libraryname =. / libsqlmy.so 0 a5 r6 Y4 I2 }
  53. 积极= 1
    % _' z- L" h: K
  54. ---例如---
    & z  T/ }- |3 G' W! }& O

  55. 7 y+ L5 I6 Q) o5 F2 X& G# ?- I* ]- R
  56. 对Windows中,也运行MySQL服务器本地的,那就是: # i  q, I* G) q
  57. ---例如--- 6 {6 I5 A! F* d! u. ]
  58. [ dbexpress ]
    4 m* J$ X# Z9 }, e
  59. sqldir = mysql_sql : ~3 }% U+ X8 m# g( U/ E
  60. drivername = MySQL中
    4 M7 R) M! f( |1 R* W* h% U
  61. 数据库=测试& _2 x, ~/ L1 j5 z
  62. 主机= 127.0.0.1
    * Z0 b6 w' l( |: S" d0 R! c
  63. user_name = testuser ! C4 p& c) ]: I- Y" h% I+ ?* C
  64. 密码= my_password 4 d+ ~! _' x% G
  65. getdriverfunc = getsqldrivermysql
    * u  \; J- I0 N8 ^3 U  r& S
  66. vendorlib = libmysql.dll在2 v5 X4 b3 e+ ?' _
  67. libraryname = dbexpmysql.dll
      k. C/ e+ ?; [2 j0 J" I: ^
  68. 积极= 1 5 O! A8 C; G& l
  69. ---例如---- % Y7 d$ D. F; I1 |
  70. -写在0 2.03.04由p wk.linuxfan
    , O* P, F" o  l! G9 K
复制代码
发表于 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
6 B; I- ~1 t; `0 ~# O, [4 G
% C9 u" J" l- J' J4 s' rbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-24 09:23 , Processed in 0.101200 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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