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

2247 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
3 a( n* n. O4 l0 K  |9 N
! k! a. j- f: }8 n: X/ f' h4 S

  1. & u+ `0 r; L8 Q' n1 `: W' Y
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    . u# D4 ]1 L& c2 P! P+ i3 `
  3. ( Y; t" `" Q; o! V0 o
  4. ### What we need ###+ @* Z' U0 H( R$ }3 B
  5. Naturally, we will need a MySQL server to store the data for us, this document
    5 `0 E& S6 h& ?6 R8 P
  6. will not explain how this can be done - there are documents out there for the * ^- k: ~( t1 [  n
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    $ v) n2 f  S1 ~: V( ~
  8. and a user account (username + password) that has the permissions to do stuff9 T% i6 f. @8 _: I$ i& P
  9. with the database. Additionally, you will need a vendor library installed on the$ x1 j* u: [  w* j7 f
  10. local machine, this came with my MySQL install.2 F7 _  `* i1 w) A
  11. These instructions will not tell you how you might transfer your data from the3 a; z0 A* N/ A& E4 Z
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL; k: k; L; i, ^2 s5 Z8 M
  13. database.
    - P& x2 h+ [$ A3 n
  14. Some users have reported ways to import a SQLite database into MySQL, but at) z: U* s+ P2 v, \$ Z' r
  15. the time of writing, there are still too many issues - check the current status- j" ^  Z8 `# z0 O
  16. in the TeamSpeak forums if you are interested.
    0 c; x' s; b# J) N0 b& _" i
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from# M; x% j7 \/ l& S+ y3 z: P* \
  18. Borland was used. This driver can only interface with the client library that
    $ b) w3 C+ `+ l+ c; ?) y' S
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this+ q( e+ r( V8 O9 C  |* }3 _
  20. client library - basically all you have to do is to use a 3.x client library as
    : \5 N9 m6 m( e9 R7 O0 ]/ o
  21. "VendorLib" and a 4.x database to connect to.; B/ r. p, B* E
  22. If you need more info about dbExpress, you can contact Borland.
    : p: a: p1 N& k- ?8 M+ s" @

  23. 3 \) ^: E- c9 U
  24. ### Doing the work ###
    ) _6 H; I; Z. A1 D0 T2 l
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    " U3 S6 B$ m$ I& X% G
  26. the perquisites right, just open your server.ini file, and add this section at' G, ]1 \+ H- j8 {3 s) I9 [  L# c% j
  27. the end:  D% i' L) K5 g. A. N. H8 U
  28. ---cut here---
    % p2 v$ V4 Z" w7 N6 G2 V" {
  29. [DBEXPRESS]3 w9 T9 N: \. _. F6 E' V
  30. sqldir=mysql_sql4 Z2 X5 o6 C6 C  D
  31. Drivername=mysql2 i: T0 {+ d/ g& A# I
  32. Database=Your_Database_Name_Here
    * ~4 u. d+ X2 p- p) d6 I/ P
  33. Hostname=The_PC_the_MySQL-Server_is_on1 _% P" ~9 I* j$ {
  34. User_name=User_name_on_the_MySQL-Server
    * |" g' i4 z; r5 Q
  35. Password=Password_to_go_with_above_user_name% E  p+ n. p2 A5 X
  36. GetDriverFunc=getSQLDriverMYSQL" g6 B  V0 A/ x! B, o3 s9 R6 H5 w9 f
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    6 J+ O* k4 x, C3 s$ b9 `
  38. LibraryName=path_to_libsqlmy_libary
    " o# B; k- _9 f& ^; B
  39. Active=1; f* C" S0 C+ Q! L  g8 v* x9 |& X
  40. ---cut here---% f& M# S& H: h1 {( |
  41. In my environment (a linux box with a MySQL server running locally) I have:' j- ]5 V7 @! l; D
  42. ---example---* q0 D- m; w  _' }- F
  43. [DBEXPRESS]
    # O% j) c. w, l0 d. h2 U
  44. sqldir=mysql_sql
    $ D. K0 E# J+ y+ u. b# T
  45. Drivername=mysql  B) u( ^5 _# t, Y0 H
  46. Database=test
    0 t+ i/ [: O) Y! u- x, O
  47. Hostname=localhost
    ; N6 A$ L4 L8 y2 Z* O% k$ N, [
  48. User_name=testuser
      p- X1 l6 P9 s3 n5 p0 X  Y
  49. Password=my_password
    1 p+ f: H: P4 ^) k  p% s
  50. GetDriverFunc=getSQLDriverMYSQL' g) x, ]/ n1 x+ Q
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.04 X2 F" C4 T" k: d5 b' [
  52. LibraryName=./libsqlmy.so( N% x/ P  n7 G' l/ f0 p
  53. Active=1% G' _: `$ F3 H7 \1 X
  54. ---example---( L7 \* t4 i( G' m/ j/ w) s; x
  55. * l4 s) @/ Q# `! F" n: g* t0 h( k
  56. On a windows box, also running the MySQL server locally, it would be:% `* ?, Y( }" a4 ~, X: [; r
  57. ---example---
    " B8 `7 N( s% D4 o, ?
  58. [DBEXPRESS]
    6 C+ m5 ^) \( u1 b
  59. sqldir=mysql_sql( t0 S5 r& n! O3 ?+ b* i* K
  60. Drivername=mysql; }! [. d. D, @4 Q+ X* `9 O4 L9 R, [
  61. Database=test' h" K2 }( L' @9 k4 U
  62. Hostname=127.0.0.1+ d% j, _; Y" r$ c' O
  63. User_name=testuser
    ( `4 J! g" k0 W$ V! Z$ C4 a7 t! V
  64. Password=my_password' Q0 t" c$ W; P6 G  X. |
  65. GetDriverFunc=getSQLDriverMYSQL
    + B/ C; o2 r9 P
  66. VendorLib=libmysql.dll8 Z& v8 O3 f* w6 Y
  67. LibraryName=dbexpmysql.dll
    8 I2 i$ `! ?  \( e0 N
  68. Active=1" R- i& J! ~4 R* H
  69. ---example----7 z! I3 _( T: n/ z/ L9 m- H& W. \
  70. - written 02.03.04 by pwk.linuxfan
    6 L4 c" o* [# K, {$ M
  71. 7 r' y+ N/ h  Q3 c& S1 T
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看& I  S2 h& j5 P; P7 q

  1. 6 Y, p. e4 z6 p4 u- P% M) C
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 9 q, A& Q2 r1 T) `0 Q6 g7 g
  3. 8 _/ X2 X" h- }9 N3 m2 P( u; e
  4. # # #我们所需要# # #
    : u! I/ @6 N" J" v
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件: Q) |# }0 Z* V) N- d
  6. 不会解释如何做到这一点-也有文件存在,为
    ' R! x8 G6 e3 ~. c$ \! u" t
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    0 f1 C/ l( d5 A! {  o
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    & h+ H8 A  ]; T/ p. N& e
  9. 随着数据库。此外,你需要一个卖方图书馆安装于# M; N* o* s* g2 o5 N/ N; l" z7 U' \& Z
  10. 本地机器,这是我的MySQL安装。
    5 H, ?% v8 [' S/ A, J
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从* {6 z) s0 f  b9 \
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ' N! [0 k5 V( p% X) t2 Z5 ~
  13. 数据库。 : r0 O1 n2 k" u, A$ l- F
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在3 }" e( T2 K  U( l
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    + l1 j8 h4 }# B. S' ^0 H6 l
  16. 在teamspeak论坛,如果你有兴趣。 2 e& L! @: c$ b, h7 |+ \" {% c
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机: \8 n8 s1 y1 ~7 e& l% h
  18. Borland公司使用。这个司机只能界面与客户端库
    ) c* |# B& F  K( {; D' j9 a5 i
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这: \' q# {3 A, T/ j
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    3 ~/ N# f, @& j9 N( D6 T
  21. " vendorlib " ,并解数据库连接。
    / \+ W$ Z, T0 z$ {; [0 E' O0 X) d
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ( h& S6 }6 d  Q
  23. 9 I+ _. u! b( |# N, H" [0 o- Y
  24. # # #做好工作# # #   N0 ~/ e+ h4 ^& J
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都- W- Q2 p9 q) m" H2 K' N6 p: R
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    8 g0 O* L$ y  @) `( ?  w! h% ?" |
  27. 结束:
    4 x( R+ p# v6 E% f, @" s! x
  28. ---削减这里--- 8 v; Z2 n# u: B/ n" ^) j; T
  29. [ dbexpress ]
    & s# ?% t8 m+ I* ]+ o. l4 w
  30. sqldir = mysql_sql
    , P2 r, X" K5 n3 X
  31. drivername = MySQL中, B" T  ~  H/ N, P
  32. 数据库= your_database_name_here
    ( f& u7 r' [( }+ T6 q+ K
  33. 主机= the_pc_the_mysql - server_is_on ! @7 @, P8 [7 v8 a; W
  34. user_name = user_name_on_the_mysql服务器
    & t- ?9 U& ?/ |- ?! ~
  35. 密码= password_to_go_with_above_user_name
    ' I8 s$ i5 u6 O) X$ T! {
  36. getdriverfunc = getsqldrivermysql 0 N9 R+ w4 e5 t* U  c
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    2 z3 b: b2 V* D$ N: W
  38. libraryname = path_to_libsqlmy_libary
    $ }" A! Y* O0 y8 |4 z6 J
  39. 积极= 1 ! _! M8 F7 v4 |0 ?3 l9 P2 i$ P
  40. ---削减这里--- 9 f' @# b; R; Z4 Q% i& c
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    1 M" I7 `+ J6 M  M5 V
  42. ---例如---
    ! c4 M+ R% M' I3 M
  43. [ dbexpress ] ! `, z' f2 C" Z- u: S4 c
  44. sqldir = mysql_sql
    8 |+ A$ b" O7 U! N
  45. drivername = MySQL中& U; d- w1 i) T$ ~  {* c
  46. 数据库=测试
    9 M- e  ]& P4 L8 D7 k' D
  47. 主机=本地主机: P: R$ o- [8 N2 H# Z% h* w
  48. user_name = testuser
    + ^3 w. \: a% }7 O0 E
  49. 密码= my_password
    4 _  ]# h# p$ ?% R
  50. getdriverfunc = getsqldrivermysql + h2 A! Y! t: U: M0 e2 ^$ a7 T
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    - ~8 A2 C2 r* j
  52. libraryname =. / libsqlmy.so
    0 Y7 o  A: ?# L1 P9 B
  53. 积极= 1 - v* @5 ~5 f( Y8 L. Y* o, v
  54. ---例如---
    # t/ h( p. s  t/ z( l5 E* q
  55. # j/ z" ?4 j/ d, H3 {6 G. @6 l
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    + m; u  E" ]5 l* ~* S" b+ L
  57. ---例如--- ( Q7 U, |' c; ^
  58. [ dbexpress ]
    , A3 z- C2 A$ S* O4 _/ L
  59. sqldir = mysql_sql
    # ~* }5 A5 N9 O1 m( g/ ?
  60. drivername = MySQL中
    3 q* q! ~1 }% b7 [8 C5 ?
  61. 数据库=测试/ H# k, T4 p. C# b$ z
  62. 主机= 127.0.0.1
    0 N6 H! U. m) N/ @& X
  63. user_name = testuser # n  c; c, V- j: }1 R4 F4 h7 M
  64. 密码= my_password $ a" T0 W( e- _8 k- q
  65. getdriverfunc = getsqldrivermysql 1 M% {4 z; o' u7 u2 ^; f1 g
  66. vendorlib = libmysql.dll在
    / a3 g- _4 f$ Z# c4 c9 {% e
  67. libraryname = dbexpmysql.dll
    / ]9 G- Y  @  ^, C' f9 }( r: N9 V
  68. 积极= 1 0 J  E9 d1 R6 N& Q
  69. ---例如----
    ! G2 {  s. C  R. ?  \( ]* e- R
  70. -写在0 2.03.04由p wk.linuxfan
    3 F% ^8 E8 ~* o: F
复制代码
发表于 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 V' r( x- h4 j9 x
" M0 ?/ \' A) j) r) `but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-30 16:01 , Processed in 0.103894 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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