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

3490 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 6 K4 [. F3 }1 r
  l  {; P3 Q7 e; P( x+ F

  1. ! `0 b% b3 T+ `/ Y- Y2 L. C6 k
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    4 m0 n  v2 ~8 X, `. X6 V+ t
  3. 7 z4 V5 P% F4 R$ p6 l
  4. ### What we need ###
    4 @6 o8 `9 |( W* ^1 r4 X( K  L: {
  5. Naturally, we will need a MySQL server to store the data for us, this document
    & Y+ \- C5 y. R, C" f) a
  6. will not explain how this can be done - there are documents out there for the $ k& f" M/ Z" v# ?4 K
  7. interested. The requirements include a (empty) database for TeamSpeak to use# g! v6 X+ E! E0 ?
  8. and a user account (username + password) that has the permissions to do stuff5 q, q+ W6 ]+ F! v% D% D. r' a
  9. with the database. Additionally, you will need a vendor library installed on the7 z- P5 P- f) Y9 |) |
  10. local machine, this came with my MySQL install.
      @4 r) ~1 K' R& r, ]
  11. These instructions will not tell you how you might transfer your data from the
    ' S9 A& e4 |$ P4 D& q- V2 T
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL; D/ v5 S& S* h) j" v
  13. database.( u: U# J! r1 ^
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    6 X. P0 d/ Y3 T1 f. X
  15. the time of writing, there are still too many issues - check the current status: Q5 ^+ x0 k# i, Y; D2 w
  16. in the TeamSpeak forums if you are interested.
    8 U/ H# Y8 i9 K- f$ B
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    3 I1 c+ o+ @8 s) _, Q
  18. Borland was used. This driver can only interface with the client library that
    - P7 O9 j+ p# O. Z7 M8 y' [! a/ t
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    . W$ H3 w) r) z' \( ^
  20. client library - basically all you have to do is to use a 3.x client library as
    ( D, y$ ^$ {$ D+ ~) n
  21. "VendorLib" and a 4.x database to connect to.5 ?. j3 {6 D3 R8 x! l. k. _" w
  22. If you need more info about dbExpress, you can contact Borland.* P  A! E  X9 N! }( Z4 B& P  C

  23. ; Q4 |. s0 V5 [1 M; N
  24. ### Doing the work ###9 v) c! O$ P- i6 a2 v6 T- b# i  v; ?2 h
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
      F% ^$ P3 S: w
  26. the perquisites right, just open your server.ini file, and add this section at
    ' {9 F: }/ S/ X
  27. the end:
    - q; t# M+ o* r4 ?
  28. ---cut here---4 B* B; g8 r+ w" k/ v
  29. [DBEXPRESS]
    / `* q. R% N/ E3 o% O
  30. sqldir=mysql_sql
    # L. f9 j; _7 ^& l9 F
  31. Drivername=mysql2 X8 K& [( ?, @$ s
  32. Database=Your_Database_Name_Here+ ?" i$ w0 J6 I. x
  33. Hostname=The_PC_the_MySQL-Server_is_on' V! u' _2 E; g4 x
  34. User_name=User_name_on_the_MySQL-Server
    0 t4 @( t) H3 t& \+ u- h
  35. Password=Password_to_go_with_above_user_name
    ; E; {) a. o$ s9 {) B
  36. GetDriverFunc=getSQLDriverMYSQL# \* p/ ]( P: T! _
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    6 V! O7 U# P. M# b
  38. LibraryName=path_to_libsqlmy_libary! |: ]  ^) P# Q( e) n: Z  A
  39. Active=14 C& D( y/ m  g* I
  40. ---cut here---
    ( p& J$ A% C9 j+ R& X
  41. In my environment (a linux box with a MySQL server running locally) I have:2 v2 }5 o) ^0 w, Y
  42. ---example---
    8 b( `/ A9 |* N# E: r
  43. [DBEXPRESS]2 _5 d7 J& t; @/ f
  44. sqldir=mysql_sql
    / o# ?. v3 h$ ?) t9 ]
  45. Drivername=mysql
    ) q9 W4 `& V" O5 s9 v
  46. Database=test
    ( v) T* w' B& P/ |
  47. Hostname=localhost
    3 R  F" k) c2 h! k) W! t
  48. User_name=testuser
    $ D4 \6 T2 w( n- m9 C/ I) R
  49. Password=my_password) n2 L7 O8 O  m; n
  50. GetDriverFunc=getSQLDriverMYSQL' n. K! [7 O8 M) V8 V+ q) f$ ]3 |
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.09 C8 o5 u3 u8 A: ~; K7 q* v9 h
  52. LibraryName=./libsqlmy.so- I" \2 n: O# u+ S2 }* R2 f
  53. Active=1+ [; q) W) q! P- X# ]1 {9 n
  54. ---example---
    . T( W3 J3 p, L/ }- t
  55. * C9 y( i# }1 I% P; L- n/ s; J
  56. On a windows box, also running the MySQL server locally, it would be:: d: c! q/ e6 n; Q) a  X
  57. ---example---
    9 p" ~/ t# m8 k+ D+ ^. E& \
  58. [DBEXPRESS]
    9 q1 N% o; b& T. }$ s/ k$ m  [) }
  59. sqldir=mysql_sql
    5 x" E* D3 s. b% N4 |4 p
  60. Drivername=mysql
    : e! a: S4 r' y+ D: k: b
  61. Database=test
    4 S; k" A' m6 S5 `/ |5 p& c. x
  62. Hostname=127.0.0.1
    9 t. h0 l5 Q+ Z$ @& f0 |3 ~& L
  63. User_name=testuser
    ! B/ G& W, h7 r7 E6 W0 M
  64. Password=my_password
    3 C' ~8 F2 d( v% |) `1 a
  65. GetDriverFunc=getSQLDriverMYSQL
    2 t+ q5 G3 _$ P$ A; q# x
  66. VendorLib=libmysql.dll" B* a8 E! @" w0 K/ @2 e( |
  67. LibraryName=dbexpmysql.dll
    + }6 K% `' c  [( B: f! c- i
  68. Active=1( b  ?% H0 D, h0 I7 W
  69. ---example----$ d+ P$ G; B2 s1 z
  70. - written 02.03.04 by pwk.linuxfan
    ; w2 s& y2 t5 I

  71. ! h. I9 P1 o6 V" A- b
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看$ I- \9 N7 s( `4 y! [/ p( _* D
  1. : _3 k1 |4 Y  l+ {2 T: S! z7 C
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ; F* P5 r- Z1 b& S4 n1 Q8 M
  3. ; s& k! G$ Q. [$ O$ C$ x1 [
  4. # # #我们所需要# # #
    0 n" q8 [( ]+ \' u/ E1 }' e& n! F. {
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件2 i4 F$ h7 _! ]. a7 f2 o( N
  6. 不会解释如何做到这一点-也有文件存在,为; @# N1 M, L; {" l
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ; q! o) \. n3 H# c0 B# C
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ' ?8 {" J* a( s! X
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    : Z- A: Z6 E, x! b& S
  10. 本地机器,这是我的MySQL安装。 & o: j: k7 X2 j0 R) T. L
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从: o3 z$ K# y; v6 R! b! d, C( N$ f
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    + D; L; V2 K6 N# ?" n
  13. 数据库。
    ' k: F' U+ T1 F$ }  Z2 Z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    / t% S' {# }- D
  15. 编写本报告的时候,仍然有太多的问题-检查现状) k$ B: j- T! f1 s* |0 W7 F; t
  16. 在teamspeak论坛,如果你有兴趣。 * }8 g' g# O$ t. x9 M7 b  m
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    4 W' |/ l% `! r
  18. Borland公司使用。这个司机只能界面与客户端库2 H7 f, x% d3 ]$ K$ `6 X" J
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    % R8 x2 p5 F# ?! R$ @5 ?
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ! z7 h- F7 B' \! ~( \
  21. " vendorlib " ,并解数据库连接。
    ' e1 J9 q" s. C8 q
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 6 ^1 B5 {  z# U, `
  23. $ ]. m8 c6 f- K0 Y& A# t8 H# J. i
  24. # # #做好工作# # # 8 Z8 |3 |4 H. q
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都: I  C0 r* T2 ~1 K+ s2 w
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在2 Q- F7 m: Y+ l0 |9 p3 Z7 Y
  27. 结束:
    4 f' H1 S) Y, v! q7 h: p1 {/ O1 F
  28. ---削减这里--- 1 i; h( G  J7 J1 }/ D
  29. [ dbexpress ]
    % R* ~- I8 i; v: E. h, p
  30. sqldir = mysql_sql
    4 P" J6 j4 L: {2 M
  31. drivername = MySQL中3 _) |. _8 a: |0 N; q$ L8 e
  32. 数据库= your_database_name_here 9 B5 H* o; x" W3 k" o' r1 t
  33. 主机= the_pc_the_mysql - server_is_on
    2 D, z8 _; h' j7 _1 q) D
  34. user_name = user_name_on_the_mysql服务器
    ' e, Y5 m/ j' ~- B: d
  35. 密码= password_to_go_with_above_user_name . H  n* a' j. }& u0 L% c, N
  36. getdriverfunc = getsqldrivermysql
    2 w3 d/ Q* z. I1 m
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
      B- U: O+ q; V: [: P
  38. libraryname = path_to_libsqlmy_libary & D) s- g+ c9 I: n
  39. 积极= 1
    ! q2 U( P7 c7 X  V8 F! f9 j
  40. ---削减这里--- 1 x  t% Y7 T% |
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    : R* B; C: V3 p, d9 C9 |5 R
  42. ---例如---
    3 T$ M/ u; K7 Z# ~/ Y- I. ^
  43. [ dbexpress ]
    4 e$ v; c% P2 Q- V0 h6 h4 M
  44. sqldir = mysql_sql
    . }6 \& D4 ~+ Z5 P$ g) G& E  ]& `
  45. drivername = MySQL中
    ' ]8 |* G& B; P4 i7 [
  46. 数据库=测试! d8 j0 g9 v9 [# C& O7 w7 R( Z, x
  47. 主机=本地主机
    6 Y" P: A/ v; x4 X3 v8 k
  48. user_name = testuser $ i# J7 C2 a% l% ~! M
  49. 密码= my_password * l7 {( F- ]* X( W6 P7 q" x/ O
  50. getdriverfunc = getsqldrivermysql
    6 O! V; \6 e# }
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ; V- q6 C9 |/ T% ]) b
  52. libraryname =. / libsqlmy.so " q, m* ^4 H: `' I+ a0 f* {, X0 t
  53. 积极= 1
    5 r" q( c* J0 c+ |6 c! [. j
  54. ---例如--- $ e6 c. H( I4 O+ }, u
  55. : a/ Z' t! D% d8 U  v. A0 C2 U2 F  G
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ' e/ y" g& r5 ]' X: l; U1 s
  57. ---例如---
    ! ^4 u+ l8 t1 u* F1 g; N5 S+ k, @7 c
  58. [ dbexpress ]
    " S5 W2 B8 u8 a* S$ v8 a+ |
  59. sqldir = mysql_sql
    9 V1 Y/ C- D. C: E/ X
  60. drivername = MySQL中
    ( @  C8 P$ a6 d3 |0 z7 x: r
  61. 数据库=测试
    ! ]' D& ?& x* Z+ G
  62. 主机= 127.0.0.1 & h, f1 i) Z; `# x$ c9 n, v2 q! S  `0 \8 B
  63. user_name = testuser ( G# K) C  D' ]0 R% A
  64. 密码= my_password
    - A( v  a* P/ {* e- f
  65. getdriverfunc = getsqldrivermysql 0 V  T9 P7 l! x, l+ r; R( Q
  66. vendorlib = libmysql.dll在
    6 ]0 a" J- l+ f4 g( N, ^
  67. libraryname = dbexpmysql.dll # X9 O6 x! J0 m  k7 u
  68. 积极= 1
    4 ^5 x7 t7 b) l9 I- x3 Z9 W
  69. ---例如----
    : I% g5 C; D/ I7 P* R3 `+ S$ W
  70. -写在0 2.03.04由p wk.linuxfan
    1 h9 Y" ]: k- W
复制代码
发表于 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
% B& q% |0 Y6 M+ O0 {7 R
$ ?! [! {  w% V* n2 j0 U' Sbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-8 11:45 , Processed in 0.069448 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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