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

2985 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan # s! T1 L2 K) p* `

: I7 |8 C- o' h; J4 `2 j
  1. $ ^' g3 B. ]* z" `0 [, \
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    1 @' q9 h: @3 G+ e; @  ?& l

  3. . ]8 G/ G0 g( ]% M$ w
  4. ### What we need ###
    / s6 a5 Q- ^# E8 h
  5. Naturally, we will need a MySQL server to store the data for us, this document
    - r4 C% ?3 V; z7 X8 H
  6. will not explain how this can be done - there are documents out there for the " J: c* v: t9 P1 d
  7. interested. The requirements include a (empty) database for TeamSpeak to use( A4 u0 U8 x7 @3 S0 q2 I2 _, n
  8. and a user account (username + password) that has the permissions to do stuff$ S) `, w- m- a" G
  9. with the database. Additionally, you will need a vendor library installed on the
    ) u* [1 C) ?- {$ F
  10. local machine, this came with my MySQL install.
    ( [0 a/ P' z. {$ M  {
  11. These instructions will not tell you how you might transfer your data from the& H7 g* g0 E9 n  ~6 f' L$ c, d
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ' O; {! q! j9 h+ @9 n1 i" K" a$ a
  13. database.
    % p2 B$ V, U+ |# j
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    - T( ]! L+ E5 N; \& D0 @3 y
  15. the time of writing, there are still too many issues - check the current status5 R" @2 Q/ l% g
  16. in the TeamSpeak forums if you are interested.
    ) c2 j  R7 }) m
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    - t5 G8 u6 m3 F$ j8 W. ^5 `' B
  18. Borland was used. This driver can only interface with the client library that " T" W  W" V1 ]# \# L6 `6 _) j
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    " p, p$ F( v( h: |" I
  20. client library - basically all you have to do is to use a 3.x client library as
    9 N* b; ^4 |3 N# o
  21. "VendorLib" and a 4.x database to connect to.4 K+ w0 T) p2 o0 p; c
  22. If you need more info about dbExpress, you can contact Borland." }9 n$ L3 P  j2 J( o

  23. 7 M* \3 {6 n9 [
  24. ### Doing the work ###* R. A# ^& [0 x# N4 m4 O
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all4 u3 o, k  V; {
  26. the perquisites right, just open your server.ini file, and add this section at' G6 ]8 K/ d1 w6 u% g; r8 `
  27. the end:& X1 s+ n5 ?$ k5 g% N
  28. ---cut here---( G/ p) V. g+ W# e+ w) P( A1 _
  29. [DBEXPRESS]5 K1 I3 G( k. C. x, l5 b
  30. sqldir=mysql_sql- G5 @, _+ P4 a6 H+ E3 `9 b
  31. Drivername=mysql
    & O2 |6 Y( }0 G. E  G8 j3 I
  32. Database=Your_Database_Name_Here, p. g7 ~# F/ w0 V; k
  33. Hostname=The_PC_the_MySQL-Server_is_on6 R7 {) z, ~5 G, [8 T6 H2 T
  34. User_name=User_name_on_the_MySQL-Server
    # F) K9 I/ }1 b5 E5 d
  35. Password=Password_to_go_with_above_user_name
    6 ~* v* z) o+ u) g+ t9 K. r* z
  36. GetDriverFunc=getSQLDriverMYSQL& E! ^( [) Q- z5 w$ E. O4 [
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib9 f& }/ a0 l+ @- Q- p$ f
  38. LibraryName=path_to_libsqlmy_libary1 W2 D1 d* J$ ~9 B# j5 A) \
  39. Active=1& Y6 c* \: M" b0 d7 ^* L
  40. ---cut here---
    5 x9 N4 W9 U8 n( I8 j
  41. In my environment (a linux box with a MySQL server running locally) I have:; G6 @+ J3 b' D6 R+ C
  42. ---example---: v9 A( o( F. K. b
  43. [DBEXPRESS]
    ) j) [, C8 {- [( V* v* z: L
  44. sqldir=mysql_sql
    # r# H- K1 n+ N  p) H$ m3 p
  45. Drivername=mysql
    5 w0 O# z0 p; W8 x: m$ H
  46. Database=test
    / B; \$ o0 ~6 \* L' S2 F
  47. Hostname=localhost
    . _; I* u. }1 P$ b; A% L- _
  48. User_name=testuser* z) }: s/ E  S% C1 j
  49. Password=my_password& P# @9 f2 U( B7 @9 M9 b
  50. GetDriverFunc=getSQLDriverMYSQL, \  p- l! \2 V, g
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.02 q* @* X" c* f3 U8 m! C6 N' C
  52. LibraryName=./libsqlmy.so
    : J' c' J# w# e3 ^( K% O. U! g
  53. Active=1* F8 m$ M/ S5 e* c" [( m' c  G
  54. ---example---& q# l) O% Q) i2 F& H0 b' ^

  55. / T, W' g; P# @+ g7 ^' C
  56. On a windows box, also running the MySQL server locally, it would be:5 w& ~8 b3 D- h  G2 h& \% C& o+ {* T
  57. ---example---
    + l5 M6 [' H, K; l
  58. [DBEXPRESS]7 u- ]/ V9 \/ w
  59. sqldir=mysql_sql
    ; X) x6 c/ Y* f; f4 o( m
  60. Drivername=mysql
    ! a0 p1 j+ B+ O! n8 t
  61. Database=test& x( ?- O5 Q3 u
  62. Hostname=127.0.0.1/ Z3 [. c2 S4 C: V
  63. User_name=testuser! F! [  p+ I' l% @
  64. Password=my_password; ?( T+ T0 W: S# o5 Y
  65. GetDriverFunc=getSQLDriverMYSQL" m8 n/ e0 a7 N
  66. VendorLib=libmysql.dll
    7 G# T2 r* \3 Z9 J
  67. LibraryName=dbexpmysql.dll: s# P( e; ]9 R/ v! k
  68. Active=1
    0 ]6 X" v- G  c
  69. ---example----  Z, e# i' S4 G* L
  70. - written 02.03.04 by pwk.linuxfan# J% y3 `) ^2 u" Z' o9 Z8 c
  71. 0 T+ ]% K' z2 y9 q  ]( h
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
3 C9 p! S- \5 a. L" k, R5 O

  1. ) E9 m- E, P2 Z3 e
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 7 J: ~7 g8 h$ [* B4 ?+ J+ K$ T$ a/ q6 ^
  3. # h0 _. z' G3 S; ?) R
  4. # # #我们所需要# # # # d5 w: `) V$ d7 g0 ]
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    % L! y  w3 ]5 v  M3 `, h  v
  6. 不会解释如何做到这一点-也有文件存在,为
    : j, O4 q: y0 Q% ?- M, s/ S
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    & K' E+ `) Y( B* j# w: \8 _' N
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    0 W7 n( X1 y( P5 F! W, w6 g
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    , @2 n6 v3 V$ y$ I/ @: A& n
  10. 本地机器,这是我的MySQL安装。 1 k* g% z/ a" y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ; b) \- k; T5 w( K" K  ?8 q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ; n6 u$ I; ?) g9 A5 h. p: q
  13. 数据库。 . m0 T* B& D: j
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在9 x9 g+ l8 [3 ^  b
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    , W8 }: D0 ]9 t$ D' ?2 a
  16. 在teamspeak论坛,如果你有兴趣。
    4 @% \  E' ?' Y/ U/ L' K) |0 a
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    8 I& W+ ~. F8 H) L( ^9 j
  18. Borland公司使用。这个司机只能界面与客户端库- w6 e# [1 `3 |
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    0 A7 @+ F% Y$ b2 y4 D! v
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    5 U3 E* h4 O: F" p
  21. " vendorlib " ,并解数据库连接。
    " R# Z, c0 @" X; r+ W3 H# z
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ; Y; I* D( e* L  q4 t  ]
  23. * Q* j8 A* D$ U. a' S8 N
  24. # # #做好工作# # #
    / e- |* s/ s: E
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    $ {1 M4 q, H4 c3 h0 C( _4 M4 l1 z4 T
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    2 v$ V) M+ h* ^* o+ o9 q. u0 Y
  27. 结束:
    ) n% T& C5 H! H+ P3 K" H
  28. ---削减这里--- 0 R/ t5 y7 J* b! P& f/ D4 c
  29. [ dbexpress ] 3 z# G) X' a" E9 J, W* W6 d8 f
  30. sqldir = mysql_sql
    / C; `1 @+ R; m
  31. drivername = MySQL中
    8 ~. U) D3 U* m3 f  G
  32. 数据库= your_database_name_here : H5 d* ?4 D  u: r/ U
  33. 主机= the_pc_the_mysql - server_is_on
    ' i4 R$ @2 C7 `% \
  34. user_name = user_name_on_the_mysql服务器2 s- a* k/ A: c
  35. 密码= password_to_go_with_above_user_name
    ) N! c; T# d4 d2 _- m0 k
  36. getdriverfunc = getsqldrivermysql ' A* h8 u+ c2 G) `) o4 w5 ^
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 3 N5 H$ |8 E  H: W7 s' f5 A
  38. libraryname = path_to_libsqlmy_libary 2 s( N/ k4 B5 I2 y
  39. 积极= 1
    ; E' N5 H+ L( x( n" L& O
  40. ---削减这里---
    % l! d) ?; \7 Q9 m% [
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    : P, I8 m# @  C. }5 s9 t
  42. ---例如--- ; u- v4 x' i( U0 Z% J
  43. [ dbexpress ]
    1 B  [, I0 ~* i) j9 i
  44. sqldir = mysql_sql
    , j2 x8 x$ O; y: N  w. }# A- D" T
  45. drivername = MySQL中
    4 U$ j- [. i  F
  46. 数据库=测试' U' d* U1 e( p1 ]" k+ ~
  47. 主机=本地主机
    ' c" x. o2 C3 D; A
  48. user_name = testuser * y3 Z6 D: y7 H* R3 i* A# z( |% Z: h
  49. 密码= my_password ; p1 p, v7 L, c6 _5 G% p; K; Z: e
  50. getdriverfunc = getsqldrivermysql
    * ~  U- O: P5 R8 M3 w
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ! C% d/ e9 A% C2 r: {- \
  52. libraryname =. / libsqlmy.so 3 R2 U5 U9 o5 f" D4 b
  53. 积极= 1 7 a) Z. p' L( T8 n
  54. ---例如--- ( c5 B8 o# a: Q
  55. . |( K9 O+ s. R
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    . S# Z2 p$ d( z4 W
  57. ---例如---
    7 b: h; R- n* o  O
  58. [ dbexpress ] ; r: a* J( G" C! A
  59. sqldir = mysql_sql . c% t$ Y1 T3 L7 G  D' L% u* ~4 x
  60. drivername = MySQL中* S/ M+ I6 ?: X) h- F& T/ z* F8 m5 w
  61. 数据库=测试& t$ [6 _+ W. T
  62. 主机= 127.0.0.1 # ~2 w4 v! G! u! E
  63. user_name = testuser
    , Q# @! Z; k4 F, J8 U1 h( u5 h
  64. 密码= my_password 7 g( P1 r5 S9 I( v/ t2 l
  65. getdriverfunc = getsqldrivermysql
    " n4 |8 E2 M. I) B' d
  66. vendorlib = libmysql.dll在, y' u( i3 Q+ R. w
  67. libraryname = dbexpmysql.dll
    6 C6 p& w6 N: K# I
  68. 积极= 1
    8 i" {3 s8 n0 I# f: p3 c
  69. ---例如---- , C' c4 F; @8 F: X- k4 `
  70. -写在0 2.03.04由p wk.linuxfan
    % J, M! F: h/ H' L. {' L3 @; e
复制代码
发表于 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 u2 f! T6 C' Q
8 @. g* G& s7 y: l3 Sbut, 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 22:53 , Processed in 0.095852 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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