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

3525 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan % f6 U1 |$ X7 G+ [0 i! a* C2 f: n& q9 }7 C
9 h& G7 _& Q9 ^9 F: F

  1. 1 ^! Q, A; Y' L6 e2 p- K3 s
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ; I/ v% S$ v1 f+ [3 x

  3. 6 L3 w2 X8 @  L) e* H
  4. ### What we need ###
    8 M# v# P& U1 R6 \
  5. Naturally, we will need a MySQL server to store the data for us, this document
    + z  ?3 x" p9 O9 @- Q
  6. will not explain how this can be done - there are documents out there for the 7 |  `( d' M5 y, D& p) D
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    % F) H; k/ c* m3 z3 O; d
  8. and a user account (username + password) that has the permissions to do stuff; J% S6 y8 x% E. y0 B9 G3 X' w
  9. with the database. Additionally, you will need a vendor library installed on the9 X2 x- w0 S3 j8 {6 s$ I
  10. local machine, this came with my MySQL install.
    * |* {& X' D" T/ G, u7 o' h6 n% t: w
  11. These instructions will not tell you how you might transfer your data from the
    ' U7 _! }2 \$ i+ _" Y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    3 X# I" O5 ^8 {7 E' s1 u& o+ C
  13. database.
    ' t! P, O5 U" M( Q# y' }
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    & p6 I% p2 r) [7 l$ S. Y' B
  15. the time of writing, there are still too many issues - check the current status
    - U6 c: p( C( L
  16. in the TeamSpeak forums if you are interested.2 ]3 N/ H+ e) ^
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from$ }! d" X0 l8 H8 ^0 d. l( F
  18. Borland was used. This driver can only interface with the client library that
    2 m9 E/ m' w5 E1 ~% b
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ) {/ ~( m+ d1 u% Y0 V4 D+ a- T7 G
  20. client library - basically all you have to do is to use a 3.x client library as
    4 _6 f0 S* a. P) o4 H6 Q
  21. "VendorLib" and a 4.x database to connect to.
    7 ^; L7 C* U) ^7 q& G/ y7 l
  22. If you need more info about dbExpress, you can contact Borland.5 w: }' i$ _! P
  23. 9 N+ E5 ]$ w7 m9 q. t2 k4 A
  24. ### Doing the work ###2 O- A7 q/ {1 q' x5 i! J
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all: H& b  y- @* t# l$ M! @+ @
  26. the perquisites right, just open your server.ini file, and add this section at
    6 J$ j: |4 S3 @( Y# B0 ]0 B
  27. the end:
    - U9 ^6 }+ R2 D, B& N+ i# u3 x
  28. ---cut here---
    / ^2 T9 l/ Z5 F4 J
  29. [DBEXPRESS]9 M. [: I* R* [; @
  30. sqldir=mysql_sql8 j& x' R* [) F/ ^6 n' }+ L( |
  31. Drivername=mysql9 h, h3 I, [* \" b! n
  32. Database=Your_Database_Name_Here0 q) J+ R( V$ I5 @5 S5 x
  33. Hostname=The_PC_the_MySQL-Server_is_on) p- I+ y9 j$ l6 u
  34. User_name=User_name_on_the_MySQL-Server! @1 E8 Z3 R8 }- v6 Z
  35. Password=Password_to_go_with_above_user_name
    7 R/ D. Q1 ^0 P5 N; y2 E
  36. GetDriverFunc=getSQLDriverMYSQL
    : S  J0 ^+ e" a* X
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    * m+ H% L) `5 V
  38. LibraryName=path_to_libsqlmy_libary
    . y$ f- z  |3 c( A# r8 S
  39. Active=1
    " R9 I- M* W8 y& O: l! |% n/ [& q
  40. ---cut here---
    3 {2 v9 v5 d& Z; E
  41. In my environment (a linux box with a MySQL server running locally) I have:
    7 Y/ M" R7 {9 ]8 o5 s
  42. ---example---
    ' Z- K/ T' j5 V1 [, L* I
  43. [DBEXPRESS]4 Q5 v+ U! S+ e
  44. sqldir=mysql_sql4 f5 T) a, X5 Q) N" D$ Y, B7 Z
  45. Drivername=mysql
    1 Z/ c$ N1 c7 N6 L$ b
  46. Database=test
    ; k3 A% \5 [6 |* G1 i
  47. Hostname=localhost
    3 f0 R: e. a9 i0 h% S& T
  48. User_name=testuser! y7 p1 _7 `9 C- u4 W8 p
  49. Password=my_password& y# ~# o0 e% y0 A$ X1 W; {2 g
  50. GetDriverFunc=getSQLDriverMYSQL
    ) p% ?0 O. H' B- P3 Q- z: b' v
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0( a2 [; Y' R& ~1 C
  52. LibraryName=./libsqlmy.so' X! _, u" n, l, T
  53. Active=1
    ( [* o' I! C3 S9 |
  54. ---example---
    ' P- m; K! S. x
  55. % T* C6 T) m$ @( n* p4 W
  56. On a windows box, also running the MySQL server locally, it would be:+ J6 h# l/ |: N
  57. ---example---
    / \0 n7 L( r" [9 G2 A. \
  58. [DBEXPRESS]2 A* ?) @$ l8 g9 N6 e
  59. sqldir=mysql_sql& E7 N$ a, F( X; Q4 z  B
  60. Drivername=mysql1 J* l0 `+ f. T. Z% i4 k  k* @. J' L
  61. Database=test
    # f5 \7 l" c0 k; b3 X2 \7 K
  62. Hostname=127.0.0.1
    / S5 n: R: m  H5 E  A# i
  63. User_name=testuser8 P) R8 {# ?. W( J% T
  64. Password=my_password
    4 B& `7 z3 n* d2 V
  65. GetDriverFunc=getSQLDriverMYSQL+ D% `. {. y0 `0 F
  66. VendorLib=libmysql.dll0 w* v- M; _, v5 [: C2 w: i
  67. LibraryName=dbexpmysql.dll( b1 x. T- |- n% @/ J2 p
  68. Active=1" V$ X& T7 a, m. ?; ]+ i# y
  69. ---example----! L. e" ?+ C/ w6 I
  70. - written 02.03.04 by pwk.linuxfan2 \+ c9 W3 J1 e1 C
  71. ' d4 O9 c# M! b" K+ D/ c4 D% ~
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
; z! R& |% M) ^9 T: C6 Y
  1. ; d  o! N* c/ `. H5 y8 O4 y6 x
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 8 W# `- s) A; n2 j, T  [) X; e

  3. ' t& s. H- _( \; `1 l
  4. # # #我们所需要# # # + V) @8 x; h2 X( @+ U' m
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ' l* g. U  Q5 h( A& Y, z
  6. 不会解释如何做到这一点-也有文件存在,为
    7 J# O. M$ s2 ^* O3 a
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用# G: ?& `% X( p$ C, p
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西& {  }3 m( j7 s" B
  9. 随着数据库。此外,你需要一个卖方图书馆安装于' |- |5 g9 B1 `7 Y+ C  n
  10. 本地机器,这是我的MySQL安装。
    ' ^9 k& E  d4 U2 v: M
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    " \% M4 |# @7 l/ Z
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    6 P0 @( e7 B: B
  13. 数据库。
    : a! [) M* X; ?" t# \3 K
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在6 v' v9 N0 v0 P" j
  15. 编写本报告的时候,仍然有太多的问题-检查现状. w. j1 k  i: n* p: s2 w
  16. 在teamspeak论坛,如果你有兴趣。 & G& G" M) W7 ?$ |+ d$ ~( y$ C! y) |
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    6 z- L2 ?0 W- o  U6 L9 ?- G$ ^
  18. Borland公司使用。这个司机只能界面与客户端库% U' V: U# K- V
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    9 q# @" I" I8 F! n5 {- S
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为8 t! Y) A; N' x( R  |- [8 B1 I$ `
  21. " vendorlib " ,并解数据库连接。
    5 b* x, E4 v+ m% E
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ( W/ }7 c& B5 ~$ ?. {
  23. 2 g3 b, F, e  _
  24. # # #做好工作# # #
    7 ^6 z8 y5 ?' l1 d, ]8 l! K% B: O
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    & L1 E! H: V2 _1 B7 L) Q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ' v9 j1 B2 Z" ?2 G! `6 u( @6 ^
  27. 结束: ; l% k0 p' J- ], p8 F
  28. ---削减这里---
    ) ^, p( E" [' A* U" k
  29. [ dbexpress ] . y/ B  ?, c9 C1 X* f
  30. sqldir = mysql_sql " D' z; x+ R% C* t/ d
  31. drivername = MySQL中
    ) ]$ [0 Y7 d/ |% P+ n4 `9 L
  32. 数据库= your_database_name_here
    , C, r1 F" y! t% w0 w1 I. R
  33. 主机= the_pc_the_mysql - server_is_on # e8 h( W1 y4 i* D, P% s
  34. user_name = user_name_on_the_mysql服务器# i0 X: ]9 X: ~, p8 L- q' y' f
  35. 密码= password_to_go_with_above_user_name
      y' |- T/ r8 n$ F
  36. getdriverfunc = getsqldrivermysql ( w0 t- K' i! O& d* b4 }/ S
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ! d& Q; I) B+ P& y2 V' Z
  38. libraryname = path_to_libsqlmy_libary ' r" P! y9 A4 c) O( w# f
  39. 积极= 1
      ^( g+ U( Z$ @8 d
  40. ---削减这里--- + B9 L" H4 U7 P7 P, ~
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: # G8 S9 A) h8 J$ R: X+ Z4 T
  42. ---例如--- " N; U0 C3 D4 b
  43. [ dbexpress ]
    2 w0 |' Q: A: [  i- a/ m* g6 K
  44. sqldir = mysql_sql
    ! P& C" [2 Z& T; ~9 b+ \
  45. drivername = MySQL中
    0 T* Q! t6 N8 X/ k# b  P0 C9 @) U5 Q
  46. 数据库=测试
    , F* N* o+ T! k% O
  47. 主机=本地主机' u. l8 B# D8 I3 f9 K0 E
  48. user_name = testuser
      ~; i# P2 G4 O7 I7 n2 N5 p
  49. 密码= my_password $ b# N$ i: Z" J; V* N
  50. getdriverfunc = getsqldrivermysql % k. y& e. {. P% J7 c( _; D7 m
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 + y/ ~/ t5 T3 A" h3 [5 o$ H& ^  i! t7 [
  52. libraryname =. / libsqlmy.so
    - f7 J" `9 [' t/ H& F0 p; f9 d
  53. 积极= 1 ' e4 J& m3 c8 v  f  ]# {9 e
  54. ---例如---
    ' _4 R; X8 c& X1 \- C

  55. 1 q% [* Q* Q* [# s! \$ Y1 O5 h, z
  56. 对Windows中,也运行MySQL服务器本地的,那就是: $ L$ _. ?- q5 M1 E. J
  57. ---例如---
    ' U. W2 L2 ^$ Q
  58. [ dbexpress ] - m1 q% A$ H9 U' h, a
  59. sqldir = mysql_sql
    4 |& t& M8 [: x: l
  60. drivername = MySQL中
    , q; ~) R0 c# H7 s
  61. 数据库=测试7 u3 j0 F! S& ~: G+ R
  62. 主机= 127.0.0.1
    : [9 t7 i% V& M. X+ J7 F
  63. user_name = testuser
    7 {+ @5 _) x  V: z
  64. 密码= my_password 9 A8 p4 R  Q! S9 I
  65. getdriverfunc = getsqldrivermysql
    9 q- T' B. D' V# b, |+ U* x
  66. vendorlib = libmysql.dll在/ [( k( P$ {0 `' S
  67. libraryname = dbexpmysql.dll 3 i; A1 F0 Q$ j1 O' B# d
  68. 积极= 1
    : [4 u: W8 r! k8 C/ D8 I1 Y& d
  69. ---例如----
    ) Y1 ?# e9 b. k7 V% t
  70. -写在0 2.03.04由p wk.linuxfan
    , R6 Y5 l" Z$ q! }3 s
复制代码
发表于 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' _/ {% p2 q+ B) t+ x) _7 x
1 X( @, g! A* r% 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-11-16 14:24 , Processed in 0.058122 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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