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

2783 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
- s0 e3 m$ s" O5 ?( |% T9 }) }4 H. A9 f
  1. 5 j  F; o: v+ _; @% ~7 f+ b2 [
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ####### V$ M9 N9 {8 h! l5 ?
  3. , [* {2 y; n. U# c; B# h) T" o
  4. ### What we need ###
    : X% v# A7 `4 X$ u) [
  5. Naturally, we will need a MySQL server to store the data for us, this document
    . x3 d" l6 Q/ [; z* U" h7 r
  6. will not explain how this can be done - there are documents out there for the
    ) P+ K6 X. z, j1 v5 i$ f
  7. interested. The requirements include a (empty) database for TeamSpeak to use/ A; r; _2 L' ]: i/ K2 v
  8. and a user account (username + password) that has the permissions to do stuff
    ' u$ x- U9 w7 l) Y8 U  T/ V; A; w
  9. with the database. Additionally, you will need a vendor library installed on the6 E8 D5 y" E( c* X  A
  10. local machine, this came with my MySQL install.$ i6 ~4 t+ c5 ~2 R
  11. These instructions will not tell you how you might transfer your data from the- V+ @. @; V# E; u2 [* z8 R
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL  w- R. H5 R) d) K  j
  13. database.
    9 z3 |; ~  u1 {6 h' L
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    . Z0 @$ V. G* _7 O9 E+ }2 d
  15. the time of writing, there are still too many issues - check the current status" J, }* W7 A8 X; r; r4 _3 }0 O
  16. in the TeamSpeak forums if you are interested.
    # l& V% T  S- l) y1 s- C. v
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    . g/ w- d) {2 ?, |# P
  18. Borland was used. This driver can only interface with the client library that
    & S7 j3 W( t8 F2 h9 w( k8 k$ Y9 j
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this1 V1 a, b/ O8 U* Q. o9 `; K& g7 R& a$ K
  20. client library - basically all you have to do is to use a 3.x client library as
    " o/ y7 t. j! J  e0 R; b& t
  21. "VendorLib" and a 4.x database to connect to.
    0 |6 @* Z6 \5 g% a1 i# K
  22. If you need more info about dbExpress, you can contact Borland.
    : t! t; o5 e9 K9 s' o9 u* a
  23. ) i) {8 D& u) R. K& ]2 Q# D
  24. ### Doing the work ###  S( z1 h! T! W
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ' Q8 E# l6 U- h1 m" X- d
  26. the perquisites right, just open your server.ini file, and add this section at
    ) H$ t5 v3 z: a7 S! Z3 |7 C' Z& |
  27. the end:
    2 P/ X. L% u0 z; s
  28. ---cut here---
    6 r% ], b4 m* s: D" E) V" S
  29. [DBEXPRESS]
    / @2 o4 E7 ]( u7 D4 ]! d
  30. sqldir=mysql_sql! j7 G8 ]/ c7 c. t. S
  31. Drivername=mysql4 M: r& q1 f& R! ^9 B
  32. Database=Your_Database_Name_Here1 v& y+ e9 a; e, p: Q
  33. Hostname=The_PC_the_MySQL-Server_is_on
    6 n$ }- e9 Y( h7 `* b/ F1 U
  34. User_name=User_name_on_the_MySQL-Server" j' N( B# f. Y
  35. Password=Password_to_go_with_above_user_name7 K# j6 D; s: p7 z" a
  36. GetDriverFunc=getSQLDriverMYSQL
    ) S' A7 S3 W+ l/ b9 b; n: A% K2 V
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib% X+ M# N3 H: w- z! u
  38. LibraryName=path_to_libsqlmy_libary
    ' p- @( ]* u7 R7 y
  39. Active=1
    " }! V1 O  ]+ X3 k2 y- G0 q
  40. ---cut here---6 l- [5 ]& C5 B- k: t, H. b
  41. In my environment (a linux box with a MySQL server running locally) I have:# U% Z" X9 ?! F) G: d! ]/ D
  42. ---example---
    9 W0 ?4 \4 p+ Y
  43. [DBEXPRESS]' j! K: y* J- N$ r( P
  44. sqldir=mysql_sql
    . a# `& Z( L, J9 X/ d' L
  45. Drivername=mysql
    - w. H5 K8 S2 h, t% q
  46. Database=test
    5 H! t& x3 o8 M+ ], P2 h
  47. Hostname=localhost4 y3 Y7 T0 f! H6 P& v
  48. User_name=testuser/ x# k# _" ]; L1 T! R: |* P
  49. Password=my_password
    / z# s" {0 n: @( s* t1 e* D
  50. GetDriverFunc=getSQLDriverMYSQL
    / \2 I% `" E, f, n& Z: w+ f2 v( Q% s
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    4 F# }. w, w& N, L7 D6 I# y$ u
  52. LibraryName=./libsqlmy.so& l5 ?6 T3 S! z) f9 }
  53. Active=1, R& Z- q6 F% d5 b5 \
  54. ---example---3 G6 Y5 V: L+ [, _7 D( y

  55. 2 {. A9 c3 S+ l( I  S3 }, I$ o
  56. On a windows box, also running the MySQL server locally, it would be:- F$ ^7 a# s: B1 @1 l1 w2 X1 D
  57. ---example---
    - x1 C& v& g( I& M2 r% T! o0 A* N
  58. [DBEXPRESS]
    5 \# W$ L, V5 u4 U
  59. sqldir=mysql_sql8 @) w! ?8 c7 U4 Y- V: C5 B( m
  60. Drivername=mysql
    8 k1 \  m1 h5 O9 |; t* x, f/ K
  61. Database=test
    4 Y! O1 D+ f, Y# I
  62. Hostname=127.0.0.1
    1 b4 d5 N, j# m5 E& V' w
  63. User_name=testuser
    0 h. R+ Q7 [" t# t$ j  ^
  64. Password=my_password1 J( Q( q4 M" b& C/ h1 t9 E: f
  65. GetDriverFunc=getSQLDriverMYSQL
    4 ~+ X4 p7 U6 j  s: j* y
  66. VendorLib=libmysql.dll, X  g: v0 A5 l3 F# j" O- G1 u$ h
  67. LibraryName=dbexpmysql.dll
    ' [& W8 y) u8 Y! t" O; [/ _
  68. Active=10 Z7 l/ A0 h0 e3 {" M/ c1 U
  69. ---example----
    + N* k) v8 M. J$ i
  70. - written 02.03.04 by pwk.linuxfan6 b5 N- u* D' |1 u) q

  71. 3 Q8 p# T& q- A# x' i( C
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
7 R+ H: L) w$ S$ }! l

  1. 7 C0 f; q8 F+ P3 P0 N8 P8 ]
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### / C! [( ]! s) Z- ]8 X% H/ N) W

  3. ( @! h2 H( o' O! V! g+ x6 h
  4. # # #我们所需要# # #
    6 b& j3 c$ w3 K; q- Q; A
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件# i) t& [1 b. [+ g: o& Z$ ]( P
  6. 不会解释如何做到这一点-也有文件存在,为
    : C( t2 Q* n. ^$ \6 S
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    * j. e" v. j' ^4 a2 ~
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ; g. w% b/ [# Z0 V$ K0 j; y! e, G+ g
  9. 随着数据库。此外,你需要一个卖方图书馆安装于6 Y  m1 K- [+ N9 Q
  10. 本地机器,这是我的MySQL安装。 & D, t3 A  C  O* q6 z# h
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从9 W% V- _4 I' y! H
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL - r. A* o! w5 ~. ~; d
  13. 数据库。
    & i! Z: ?" Q. g' c/ `
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    8 {* j' P) f. p8 U* |
  15. 编写本报告的时候,仍然有太多的问题-检查现状
      \7 s: K+ t$ M9 F
  16. 在teamspeak论坛,如果你有兴趣。
    4 f" f) V1 r# a
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机" V: ^2 V/ Q6 `! ?# Y  l- I
  18. Borland公司使用。这个司机只能界面与客户端库
      P, r6 d9 m/ m2 c
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ' N. A$ R4 x  Y( B( V
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    7 T8 Y2 E$ p! t: C" W
  21. " vendorlib " ,并解数据库连接。
    2 }7 ]4 \* M8 M  t3 K
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    5 g; J, g2 q9 a6 s& k& T6 k2 a

  23. 7 F( R4 c- M: G" R  K5 z- W
  24. # # #做好工作# # #
    2 t0 ]3 W4 ]/ K9 e* p) T" T9 e
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都5 k) [  j# ?2 Y; y  y
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    + M* A. K' {! X5 \% V: M
  27. 结束:
    " o! r; _9 o$ L" Y
  28. ---削减这里---
    - @7 x* F( b: w- \5 W/ i; a
  29. [ dbexpress ] $ }& {2 W4 X6 q' D5 [
  30. sqldir = mysql_sql . K( e2 e. f; ]! f
  31. drivername = MySQL中
    * A% }. @  K7 }  f- }
  32. 数据库= your_database_name_here * b! n4 [" i' }/ g7 W* E. O/ |
  33. 主机= the_pc_the_mysql - server_is_on , f* @7 B3 J6 }  k
  34. user_name = user_name_on_the_mysql服务器
    - S! Z/ `, X+ s* n9 }" O" w
  35. 密码= password_to_go_with_above_user_name
    ( M$ ~" E+ T; m
  36. getdriverfunc = getsqldrivermysql
    7 ]; @% L4 X  ?
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    8 |; |  i4 C3 S0 X* p
  38. libraryname = path_to_libsqlmy_libary
    0 r) e8 W( {8 f1 m4 W! v
  39. 积极= 1
    " u) J& B2 u6 ?- V8 o
  40. ---削减这里---
    * p; W' M# U7 |; c# ~
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    2 [- }* i+ j) I1 o" i
  42. ---例如--- $ F$ I% b" N+ W) Q
  43. [ dbexpress ]
    0 Y6 H- Z. O1 i! o
  44. sqldir = mysql_sql 2 W5 ~! b  I* k8 O" x& P
  45. drivername = MySQL中! t7 X6 H: V6 _& p/ R. w* F4 z, y. ~( q
  46. 数据库=测试
    - a8 Y9 N  u1 `9 n1 E
  47. 主机=本地主机
    " ^1 F8 f% u3 w& I7 \
  48. user_name = testuser
      M" t5 u+ Y3 M8 _
  49. 密码= my_password 3 f) V+ a! t6 P' w) f
  50. getdriverfunc = getsqldrivermysql
    & [; M1 }3 k# y0 u" k
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    - o, H% v& ]; @. j: T; j
  52. libraryname =. / libsqlmy.so 5 K8 d6 g  C2 s& y  H; i
  53. 积极= 1
      j& h2 W8 X/ u% u7 h- P
  54. ---例如--- . Y  x5 o) H$ q$ r. V( ?6 F7 k/ a+ [" P# `

  55. 1 Y- L4 ]: @0 p  U& Q8 n4 @
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    / h8 w; a. @" t- w( I& \
  57. ---例如---
    6 N0 B& w$ Z4 [& C7 c4 X
  58. [ dbexpress ] # h7 b( L, q' K! [/ K
  59. sqldir = mysql_sql 6 y) Q, H" u- ]* t
  60. drivername = MySQL中
    2 o; \( E3 g6 ^7 q) q5 L2 w
  61. 数据库=测试& ]' x% V* Q9 J! A2 f
  62. 主机= 127.0.0.1 1 D/ B% p3 c! r( o
  63. user_name = testuser
    2 y9 |! k. g6 M/ u4 ^
  64. 密码= my_password # r/ \0 k) z4 Y6 q& j5 Q! C& J
  65. getdriverfunc = getsqldrivermysql
    , f) x( i9 i6 L1 g( |" i3 q) \1 F
  66. vendorlib = libmysql.dll在
    % z' S0 a( P  W* j6 _
  67. libraryname = dbexpmysql.dll 6 P* }$ }  F6 c
  68. 积极= 1
    9 K; F' [- H$ V
  69. ---例如----   W7 \% y- b9 S! M. U
  70. -写在0 2.03.04由p wk.linuxfan7 d# R( a" o6 F9 N, U  {
复制代码
发表于 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
! s) z# ]# C' f" l! F- P( W3 o% f8 j; S: z* T2 S- Q5 F  J
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-20 20:48 , Processed in 0.105452 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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