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

2551 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ' A# N- C# ~! w

: s8 Y. q! u  ]" L) U: S" U  w  f

  1. + g2 H1 M" s9 k# o- |# I
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ; O9 X* l# i& Z
  3. ' W' V& O0 b  w/ l- }
  4. ### What we need ###$ F$ k& R2 j" n6 ^
  5. Naturally, we will need a MySQL server to store the data for us, this document
    0 S% ]# n* Y* j$ F9 L9 ~
  6. will not explain how this can be done - there are documents out there for the
    & \/ h" J, S/ ^0 |1 p, T( a) m7 ]/ E
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    9 p; _/ s" d" k  g( ?/ o
  8. and a user account (username + password) that has the permissions to do stuff( a& o3 i! e  Z' Z2 B) y. [
  9. with the database. Additionally, you will need a vendor library installed on the
    $ g5 I, p! O9 k. \$ j' L
  10. local machine, this came with my MySQL install.) [6 Z4 W$ `( d& C
  11. These instructions will not tell you how you might transfer your data from the
    . r$ P9 f" D6 b$ a* s) x  c( d
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ( b' p8 F6 T4 k4 L+ M. \
  13. database.
    : ?" L# z- P$ k& ]6 {3 b- [
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    & U& D5 U) ?. Q) x9 T( G1 F
  15. the time of writing, there are still too many issues - check the current status1 A) U6 E1 [4 ^, w
  16. in the TeamSpeak forums if you are interested.! C, c( b# g+ W) R0 \" l3 A
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from6 _1 a+ ]/ H0 J4 J/ l( F) C1 A1 H$ \* W2 j
  18. Borland was used. This driver can only interface with the client library that ; p7 \3 B, G: d* B* q( j
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    / w; [8 x% ]  N: n) l3 \! l
  20. client library - basically all you have to do is to use a 3.x client library as
    9 ]( u' b; v: ?8 \
  21. "VendorLib" and a 4.x database to connect to.6 N: H+ G6 c  M
  22. If you need more info about dbExpress, you can contact Borland.& S  W" c7 {2 g  @" K# x0 k, w
  23. . e" S7 {7 w" ?8 {! @! w& K
  24. ### Doing the work ###
    ; V; H3 `  r5 p* H  f/ A9 ~, Q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    # \8 c1 j- Z7 W# c" a
  26. the perquisites right, just open your server.ini file, and add this section at/ y2 i$ e( H" e! w9 k9 p$ q
  27. the end:
    % w) i* Q/ p0 a: T1 ?
  28. ---cut here---( C1 S1 s8 o4 b6 L/ g9 A( w
  29. [DBEXPRESS], R  N1 u! H; I
  30. sqldir=mysql_sql! O/ {, |+ d0 F
  31. Drivername=mysql
    * F- H  \( `5 h9 w1 u
  32. Database=Your_Database_Name_Here
    9 N2 b5 Q( L$ d' \+ r6 t% E
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ; \& s2 k. O' v4 {) y2 ]5 N- c. j
  34. User_name=User_name_on_the_MySQL-Server
    ' @4 l  l* I3 z/ W! C
  35. Password=Password_to_go_with_above_user_name
    # ]3 o; L' ?& n3 k* Z7 ]3 L8 h9 }
  36. GetDriverFunc=getSQLDriverMYSQL
    / y1 {3 |& W3 c( w8 w
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    0 T8 t: ~0 B, T' {4 B0 B& L
  38. LibraryName=path_to_libsqlmy_libary" z# K& o6 w7 [' R
  39. Active=1
    ( x) F( |+ z- w5 ?
  40. ---cut here---$ Z; G0 _- _. ]
  41. In my environment (a linux box with a MySQL server running locally) I have:. G# @: A' Z  f. l1 R; S
  42. ---example---
    3 S3 R2 `+ A9 p: f
  43. [DBEXPRESS]
    8 B/ V0 t! V, y5 }
  44. sqldir=mysql_sql
    : C& U2 r  D* ?& r( \% x
  45. Drivername=mysql! C+ k' S: q* e
  46. Database=test
    5 X2 j' `8 L: U: p) _8 m' A
  47. Hostname=localhost
    ) C  d5 O  u. y( E9 r; }% n+ N# e
  48. User_name=testuser
    + W; \" S" M5 H4 Y; t
  49. Password=my_password5 e' x: I' h8 \3 j
  50. GetDriverFunc=getSQLDriverMYSQL
    5 q. S* ?8 ~6 {& T3 w# z
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.04 l* x9 L1 }# g/ r( @5 [5 ?6 f7 o* q6 K
  52. LibraryName=./libsqlmy.so
    / |+ N: E+ l! `1 v* _
  53. Active=1  x' S5 B9 H- p2 F
  54. ---example---! m' }! J3 E- I2 E9 R

  55. 6 N4 t* _( R8 q* ]/ \* S
  56. On a windows box, also running the MySQL server locally, it would be:- K+ t8 I! m* V/ |
  57. ---example---
    9 W7 y0 X/ ~6 z( n: Y( }# H* P
  58. [DBEXPRESS]
    0 D5 [/ @6 r+ x/ \* b- e6 v4 H- G
  59. sqldir=mysql_sql- i7 K3 r2 x- B/ |
  60. Drivername=mysql
    4 o1 B. q. c9 z; Z* j9 b. r* F
  61. Database=test4 T* Q; F& n  m& Z0 {. A4 g
  62. Hostname=127.0.0.1) F$ F: ]0 u+ `: `1 @' ~& Z9 k
  63. User_name=testuser
    2 ~% m% e! ^2 t0 m, x! U: `6 P
  64. Password=my_password
    ; V1 g- A" s, T$ `/ @3 m
  65. GetDriverFunc=getSQLDriverMYSQL4 E1 U  V9 M5 l4 Z' S" r1 ]
  66. VendorLib=libmysql.dll
    1 D! a" h2 P, _$ Y8 H
  67. LibraryName=dbexpmysql.dll( V8 H5 t) f$ I+ X# b! N
  68. Active=1( z% K( o2 T% x
  69. ---example----
    6 }# K- B# a. E3 O& j" N3 l
  70. - written 02.03.04 by pwk.linuxfan
    * z$ w5 a) z- ~. ?1 P

  71. " M  ]' t3 ?) y0 Y6 `$ {1 r
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看4 ~; L3 R: C$ T: f9 r8 {
  1. 3 V* l. d7 p5 d$ N( x
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 4 q9 x9 J# |9 q8 V5 q" P4 g# `

  3. ! T; o7 V4 f7 c' t$ h' O* X: g! `
  4. # # #我们所需要# # # 7 ?# ^1 l7 I/ h6 l0 ?2 g
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件, w& x* j( ^/ {/ v! E
  6. 不会解释如何做到这一点-也有文件存在,为( x: \- V; [. v! F; |% [
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用8 o1 |9 i$ @/ q% j$ a* F
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    8 Z' K9 H& z# x3 p
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    $ |. j' W: S' q
  10. 本地机器,这是我的MySQL安装。 ! [( ]$ n4 ~. g: C
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从* d, K9 _- c( D9 T/ s; `- U
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL % M3 k% D7 g1 Q5 h3 u; k
  13. 数据库。 ! b& Z. i0 w$ s" [7 H
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    6 C/ q2 k9 R% \  U( m& P
  15. 编写本报告的时候,仍然有太多的问题-检查现状! v! w' d) C( h0 |3 l  j% M' U3 F, l1 U" ?2 V
  16. 在teamspeak论坛,如果你有兴趣。
    & G4 B4 T8 f2 n) |1 Z9 o; X& `! U+ L
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ( t$ K  a6 o8 ~- D; Z
  18. Borland公司使用。这个司机只能界面与客户端库
    * U7 ]; R+ t0 j2 y# X6 s
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    7 U4 ^8 |, d" C6 r3 C+ ~. R
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    3 L. X1 w5 h; a0 C4 X4 h
  21. " vendorlib " ,并解数据库连接。 7 n( I" ^3 ]) @+ C5 F! q1 x, b
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 # C. c, ^* B- |, d/ J

  23. + W  S  M8 I! b3 N- ^  q$ G
  24. # # #做好工作# # #
    " L% A* w' S- }1 m4 s2 i% ]
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    " F7 r  ]) v" P. J3 M$ j0 {6 e; V
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在& _9 E2 s& m* y1 G1 J* V
  27. 结束:
    / G- U  t. E+ u( H% v# Z5 @
  28. ---削减这里---
    ' _( q+ T' @( x( R" ]+ f* @
  29. [ dbexpress ]
    6 O/ Y) m; m- U( z/ @* I, @# w; k) K
  30. sqldir = mysql_sql
    ' M  N3 c5 T! I& i  P. z  z
  31. drivername = MySQL中
    ' p% I+ e/ J' Q" k' a. X5 P# d9 x
  32. 数据库= your_database_name_here
    0 T! o. N9 P8 F5 w& h
  33. 主机= the_pc_the_mysql - server_is_on
    , f3 F; k9 |# W8 D: U  [$ D
  34. user_name = user_name_on_the_mysql服务器9 k& ^: n! F0 `; Z
  35. 密码= password_to_go_with_above_user_name
    8 a; j: K& B$ O
  36. getdriverfunc = getsqldrivermysql ( G- r" g, K, V6 g! R  ~$ A
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ; ^, ~% k* z8 G% ~
  38. libraryname = path_to_libsqlmy_libary ( N9 u3 m3 U& U
  39. 积极= 1 5 A; E$ m- y# i
  40. ---削减这里---
    * j# @: }0 ~; O* M) }; Q- S6 H
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ! L$ Z: w& |% i& Z% M
  42. ---例如--- 8 @$ B- y( l2 C; O' N; t
  43. [ dbexpress ] $ ]; K0 E2 u" ^) u% |. t9 v
  44. sqldir = mysql_sql + M. q0 k( I" A: @' b- j* {
  45. drivername = MySQL中
      j0 I. L2 I$ t) o* H
  46. 数据库=测试- |9 ^7 f; l& p: p1 }6 z# @
  47. 主机=本地主机
    0 N  S5 a2 }: @$ c2 C
  48. user_name = testuser
    * J; _$ D3 E! F+ v7 Y# B
  49. 密码= my_password 3 Q) |( ?* X9 |2 w$ m% o
  50. getdriverfunc = getsqldrivermysql
    * `! p" y; F+ R& l6 W
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 . _- R# Y6 b4 n  _* J
  52. libraryname =. / libsqlmy.so : p0 a: o' b$ v: X% M
  53. 积极= 1 % Q) A5 `" I' F5 \/ J/ n
  54. ---例如--- 4 u8 G( f) S% l: ^  [/ q

  55. 4 m& I& z! v$ e9 F0 b5 M! [
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    " |& h) D, g% X
  57. ---例如---
    1 b% k1 P: n8 v4 |1 B
  58. [ dbexpress ] 2 ?% G/ Z" j3 P* Q' t
  59. sqldir = mysql_sql / ~) J; x$ \8 O7 p# n/ ]
  60. drivername = MySQL中
    ( [( x+ W4 p5 Y% G
  61. 数据库=测试+ n0 C# h$ ?" s- q5 F
  62. 主机= 127.0.0.1
    0 b4 i% d: U, G/ S7 t
  63. user_name = testuser
    ! h* v" {1 x2 O1 m5 D
  64. 密码= my_password
    ! R" C/ ~) ^$ B
  65. getdriverfunc = getsqldrivermysql
    3 i& C# t& l8 w4 X7 i+ }0 i5 b
  66. vendorlib = libmysql.dll在2 X+ h0 f0 W  N/ }0 H- \
  67. libraryname = dbexpmysql.dll 3 I5 a; e# I4 z/ f& o; ~+ x
  68. 积极= 1 0 d. ~  m3 i* d# @. Y; f& ?. o2 m
  69. ---例如---- + F- G7 h1 v9 j, G( I! v% N7 A
  70. -写在0 2.03.04由p wk.linuxfan
    - _1 \) [/ h# J3 y- ?
复制代码
发表于 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 [7 q! a9 E7 c. C; W( z9 R+ V' }

/ I, ~; A- E) g  Ubut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-24 23:16 , Processed in 0.100851 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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