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

2984 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan + l- {" @, T$ k% G5 d( x! u9 y: Q

* M7 \  M" ^# O1 C, O8 S

  1. 5 ^1 u* s4 e$ c, P/ O: N  v
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######3 p* x, P/ u+ S8 k6 M( F
  3. 9 C+ j4 s9 E. W
  4. ### What we need ###
    6 L5 g. t- T. P: o9 P
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ) o: L) M6 u5 u
  6. will not explain how this can be done - there are documents out there for the 7 ?9 O9 C9 O5 L( A! ~3 @: o
  7. interested. The requirements include a (empty) database for TeamSpeak to use% p8 _4 |' P0 Q2 V- z
  8. and a user account (username + password) that has the permissions to do stuff5 O; @2 e. J: C. g
  9. with the database. Additionally, you will need a vendor library installed on the, F8 g# j2 ^+ `
  10. local machine, this came with my MySQL install.' w" Y( L, v  B- [& B4 c
  11. These instructions will not tell you how you might transfer your data from the) F4 j3 w  `: q: Y5 v8 _- K8 \
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL+ D# k5 F& w4 g" Z* K
  13. database.
    $ w+ \6 J  C1 @+ \( h2 |$ }
  14. Some users have reported ways to import a SQLite database into MySQL, but at3 c- Y5 P. v' H7 x3 E# {
  15. the time of writing, there are still too many issues - check the current status
    7 z' D' D4 ]0 I! H. l4 U# x# k6 T% b% U
  16. in the TeamSpeak forums if you are interested.& t( _" z/ r) B# M3 l# }3 x
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from6 g5 v! M7 k2 C. U* `
  18. Borland was used. This driver can only interface with the client library that
    / p7 Y# i  }6 s$ g  m3 q
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    3 z5 Y8 b% Q& l
  20. client library - basically all you have to do is to use a 3.x client library as + g+ R0 t! |8 o0 e) I
  21. "VendorLib" and a 4.x database to connect to.
    + c: z8 X2 G" v# r! f( k
  22. If you need more info about dbExpress, you can contact Borland.
    2 e6 l2 M+ W$ _2 k/ [1 g( ?3 e
  23. * S6 p& D- h8 S
  24. ### Doing the work ###. ?6 V" d) l$ ?  N- x3 I+ M* N
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    , s) |# ^# a9 Y& ?* c$ b4 H
  26. the perquisites right, just open your server.ini file, and add this section at0 s/ n& ?* T& J; r' h
  27. the end:" ]7 ]& r$ V$ w0 z5 R. F" E
  28. ---cut here---
    + Q" @& w  R! }8 K3 q
  29. [DBEXPRESS]# g% x9 W8 s& `+ R' k0 U) G
  30. sqldir=mysql_sql% x2 L8 D7 Q. t9 j
  31. Drivername=mysql: s8 b- p% C3 @0 E; R
  32. Database=Your_Database_Name_Here
    ) ^; s/ I- i. }4 ?- \- g" Y1 n
  33. Hostname=The_PC_the_MySQL-Server_is_on
    1 W) P$ E. q6 l! |; Q+ r  J
  34. User_name=User_name_on_the_MySQL-Server
    5 Z" H2 p# B+ H/ i
  35. Password=Password_to_go_with_above_user_name1 V5 Y" z+ F* l+ n) l" K* _
  36. GetDriverFunc=getSQLDriverMYSQL" F2 ^+ Q' J8 Q
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib) z' ~# X( E8 y. l! s+ w' ^0 n
  38. LibraryName=path_to_libsqlmy_libary# w0 n, M, A5 K# a
  39. Active=13 T( s8 B) r! K
  40. ---cut here---) x7 C. Z$ R2 L8 u7 n7 \; h
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ) S' g( J- B. D8 c+ Z5 Y
  42. ---example---
    9 T0 Z0 [& Q" |+ c3 F" v0 A: O1 `
  43. [DBEXPRESS]! d8 w6 a. Z% ^& k/ o* y! C& k3 c
  44. sqldir=mysql_sql/ j( ]% t( y/ b
  45. Drivername=mysql
    2 I! h9 r9 M# j1 A( K9 f1 C9 B
  46. Database=test# M' y' P7 i/ O- ~# Q
  47. Hostname=localhost
    . \. E1 b; d4 J, ]" j* Y
  48. User_name=testuser
    * G0 |4 X, p9 i- B8 s5 w
  49. Password=my_password
    ! p/ @5 D0 j. x9 a. Z, [
  50. GetDriverFunc=getSQLDriverMYSQL8 r0 K. c6 |5 E3 K
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0: L2 k* C- ~9 J$ h
  52. LibraryName=./libsqlmy.so4 A( Y5 e% \; I0 P6 A/ V4 k5 w
  53. Active=1+ o7 C6 }% Z! W' T" q: Y  a
  54. ---example---
    / O7 Y8 c& _* k8 V0 _( F! o$ L
  55. 6 A1 ~/ g& F" \
  56. On a windows box, also running the MySQL server locally, it would be:
    9 ^; L9 \5 }5 i' Z6 C' ^. _& U
  57. ---example---3 f2 L" w) f0 S- R# w
  58. [DBEXPRESS]
    ; V1 R9 U5 F1 l9 R% G1 U! U# ]- X
  59. sqldir=mysql_sql
    + g( Z2 G3 K$ W4 t$ T3 ]$ c$ Q% Q
  60. Drivername=mysql
    ' U4 N# T8 t* J8 |& x
  61. Database=test9 V& M! P- y! b
  62. Hostname=127.0.0.1, Q+ L$ {7 M, V- g/ h! }* x
  63. User_name=testuser
    9 X; c% A& P& J, S! W+ ~
  64. Password=my_password7 ^  v9 B/ ^) ?/ ?6 n) k/ L
  65. GetDriverFunc=getSQLDriverMYSQL
    5 e! k' _- o' `& k- i; A& Y' H( s
  66. VendorLib=libmysql.dll7 O8 O- O9 M) _
  67. LibraryName=dbexpmysql.dll; L. B  M! @! o: W1 `
  68. Active=1
    ) H8 ?% t" L) X; n
  69. ---example----- K- U. C( r! W. L' w+ e& c
  70. - written 02.03.04 by pwk.linuxfan
    1 [" p7 w) x3 ]; w
  71. $ H. X0 {2 N( B3 p& |7 |; Q
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
& w2 I5 V1 g  h: q& D
  1. 2 O+ O0 s9 e% V' X6 J% v
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 2 v+ H+ R9 f7 u

  3. ; G0 _# G7 j( l: ~# f' Q
  4. # # #我们所需要# # #
    $ Q' u6 g$ I& z2 ]
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ! |% T" Q, X: w4 i4 p
  6. 不会解释如何做到这一点-也有文件存在,为
    + [0 C& q, a7 f+ x
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用9 S- e5 D' B9 S) I; {
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西1 u3 B' G3 p; e8 K" _' s
  9. 随着数据库。此外,你需要一个卖方图书馆安装于* y# {/ ]( k1 I( U" g
  10. 本地机器,这是我的MySQL安装。 . z8 R* W6 V* ~# w" Q. a
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    3 j0 ]. u- r9 a6 H- U- Q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    8 d% ?& k( c7 l$ J6 h6 u
  13. 数据库。
    ( {) ~3 t% o0 ?; j( G% D3 \, q0 ^* b2 W
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在+ R/ G: F# f2 f0 X9 |
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    $ r- v. k# G* U3 ]
  16. 在teamspeak论坛,如果你有兴趣。 - b7 n: j! a6 ~# ^9 t
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机! }8 C# |( P8 Q9 F1 ?* y. w
  18. Borland公司使用。这个司机只能界面与客户端库/ W4 g( y  {9 M$ s5 a
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    9 F% ?/ N. J9 N
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为6 I/ p0 u  A/ {
  21. " vendorlib " ,并解数据库连接。 7 k, ]4 ]2 V. }+ c: f
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ' v, j- W% o# [2 N) |

  23. : t, Q! u; x0 j+ D
  24. # # #做好工作# # # 6 V1 C( q3 t/ `
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都( k/ e* Y# S2 n  _
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    $ ?$ R/ D! n1 M6 ~  U
  27. 结束:
    : N% Z& ^9 I3 D
  28. ---削减这里---
    . q. B) l. [. q4 F( M7 e# Q% t
  29. [ dbexpress ] 6 I0 l7 m  n, j" n. n7 G
  30. sqldir = mysql_sql
    7 ?( t' r$ U, t
  31. drivername = MySQL中
    9 I5 a$ Y, r& M9 C* c
  32. 数据库= your_database_name_here 1 R% h! T0 c" Q9 [# }9 B: _9 @, v0 Y% }
  33. 主机= the_pc_the_mysql - server_is_on : R! v6 R$ |& |! C9 V, u
  34. user_name = user_name_on_the_mysql服务器
    * f$ p  a; W* Q* N+ ~
  35. 密码= password_to_go_with_above_user_name
    , N, V- s. ~* k$ b7 K: ~
  36. getdriverfunc = getsqldrivermysql
    ) x0 d6 ?0 H) W. {
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    , b" @  ^& w' |0 w- |# L
  38. libraryname = path_to_libsqlmy_libary
    - N) e7 X, U# j  @0 U# H0 T# X
  39. 积极= 1 6 u0 r9 s* Q2 t+ H- m
  40. ---削减这里---
    6 i8 r, F! e( j. T+ g
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    . p( p, }7 o! n! {# U; P: D, `' b" ]: x
  42. ---例如--- 8 t, c( N2 m2 T# C& W+ q# n
  43. [ dbexpress ] ' o& Q% A! e' d/ _6 ]. {! G! F) d
  44. sqldir = mysql_sql
    . ]/ Q+ v& L7 X) u$ z5 d( b2 [
  45. drivername = MySQL中
      i, E; O1 f) j4 L# P5 P
  46. 数据库=测试
    ) w' e" w) Y5 l
  47. 主机=本地主机& n0 Y* |4 J2 g0 H& L$ P6 B' U
  48. user_name = testuser
    * Q0 X$ m0 |  Q5 M& p0 N8 w" `
  49. 密码= my_password ; P3 x+ l9 d: Z  J" h  P
  50. getdriverfunc = getsqldrivermysql
    , O) e& {8 p6 t: E+ j& O1 w; U
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    * Q* D0 \) v- c
  52. libraryname =. / libsqlmy.so
    4 D2 e6 C$ n. V$ ?2 p6 e, p
  53. 积极= 1 " S6 F. M6 r+ {
  54. ---例如--- 0 K5 H, e9 F- F. K0 f& X! |- }
  55. ) ?4 H  ?, f/ {% L  z2 w
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ( R2 `$ p- r$ v- v( d# _
  57. ---例如---
    8 x0 j2 r& A1 t5 l
  58. [ dbexpress ]
    ) e2 T7 c1 d* ]3 Z5 w7 [% l
  59. sqldir = mysql_sql
    + `* A* \8 T' U# L: M) z/ K0 l
  60. drivername = MySQL中0 {3 A+ K8 I1 R5 N0 V
  61. 数据库=测试
    & O+ U, ^$ g- m, S: W% }
  62. 主机= 127.0.0.1
    4 u1 J- T8 [7 F, {
  63. user_name = testuser 2 z5 M% \% p! P+ X- f# B
  64. 密码= my_password
    ' S- Y) ?0 D3 E7 u
  65. getdriverfunc = getsqldrivermysql
    7 d4 I7 L$ }- W% F
  66. vendorlib = libmysql.dll在
    1 o6 }, }. _5 [" Q# @
  67. libraryname = dbexpmysql.dll
    " O* z* p5 D3 d" S9 D
  68. 积极= 1
    3 V% [" s( \4 B3 M7 `! n
  69. ---例如----
    + D1 {' @! ~& q) J/ a4 G& G
  70. -写在0 2.03.04由p wk.linuxfan
    7 Q! q% ~4 S# O
复制代码
发表于 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- ~8 F6 X0 r; B& J+ G0 O# F$ I7 o
; g% e4 V1 D# q1 _: x/ C
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-5 17:03 , Processed in 0.106917 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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