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

2405 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan , p: ~( R  E, B6 ^, Q
, V6 U' l) o% `( M8 M2 N6 A; |( s! _, g

  1. + q  e$ W0 O2 \6 T; r
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
      Y- J) ~; d. f# B! z3 P

  3. $ a0 J( A$ k9 h
  4. ### What we need ###( J% X4 l) m* P( D0 x
  5. Naturally, we will need a MySQL server to store the data for us, this document / ~. y, f, a$ H7 q+ T
  6. will not explain how this can be done - there are documents out there for the * }4 w% `8 V3 N; ]
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ; c% \5 H3 }6 f$ Q" b+ z1 Y6 J
  8. and a user account (username + password) that has the permissions to do stuff
    ; M9 W0 [; g  H$ L
  9. with the database. Additionally, you will need a vendor library installed on the
    " f, C) _# ~! |+ R. M
  10. local machine, this came with my MySQL install.1 m0 O8 i: D5 T  j; e
  11. These instructions will not tell you how you might transfer your data from the
    5 I( b% Y5 Y$ Q
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL! p. z# F7 G/ k6 W& d
  13. database.
    & p- V" N9 z! R/ j/ u, t1 L
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    7 j+ Z$ B% \$ Z, k; a
  15. the time of writing, there are still too many issues - check the current status
    ' f7 Y% j9 n) E& f9 ~3 F% C
  16. in the TeamSpeak forums if you are interested.
    - f" C& M- X( C, d+ d3 o' Q
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from- U/ f9 a' T. Z# X9 H4 \5 r+ _: j( N
  18. Borland was used. This driver can only interface with the client library that " x; q9 @) I4 s2 C) M7 @, i) o/ J
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this, G! c4 k7 D$ Y9 r
  20. client library - basically all you have to do is to use a 3.x client library as # q  ]7 d1 h9 F% b& Z- ]
  21. "VendorLib" and a 4.x database to connect to.
    : P/ w+ p3 w1 `% `
  22. If you need more info about dbExpress, you can contact Borland.3 X& S# M! L9 u0 ?* M

  23. # G9 E4 {# K* _' e( d; J
  24. ### Doing the work ###
    3 h4 j4 c7 v5 U8 }* @
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ) g2 V4 h: ~& G
  26. the perquisites right, just open your server.ini file, and add this section at8 X; m  c- ?0 z" y+ a1 a& D
  27. the end:
    * Z. u" O! |- G& n: _  g: E" v4 ]  N
  28. ---cut here---* |$ z$ t  y1 c( ~2 o
  29. [DBEXPRESS]6 t: b+ ]! k5 G, ^! r; j: q* t, U
  30. sqldir=mysql_sql
    $ h3 R9 F- I* p7 e5 f9 p
  31. Drivername=mysql* C! u, V0 `6 e( }0 {/ {) d% ?
  32. Database=Your_Database_Name_Here' a  o$ l9 v( V
  33. Hostname=The_PC_the_MySQL-Server_is_on
    & v: D1 c' c9 z! P& d/ h
  34. User_name=User_name_on_the_MySQL-Server( p- A5 @+ m3 ^  C
  35. Password=Password_to_go_with_above_user_name9 M7 |: ^6 I" f2 X: p
  36. GetDriverFunc=getSQLDriverMYSQL$ C$ K3 I& x4 h
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib' p3 D  C( ~( I# q% J0 P
  38. LibraryName=path_to_libsqlmy_libary
    & L/ w9 v, ]: \7 T) m, ^
  39. Active=1
    4 y+ V5 ?& r$ ^' h3 h  P
  40. ---cut here---
    3 A# _2 [& R! U5 T6 ~$ T# V
  41. In my environment (a linux box with a MySQL server running locally) I have:0 w) I/ h0 M9 A+ x& O- n- |$ X, E
  42. ---example---
    " a6 O9 z8 K# ~8 \  A6 I
  43. [DBEXPRESS]
    + Z7 {1 s. T  Z* a0 t$ I1 B
  44. sqldir=mysql_sql
    : c) Z( q. ^/ B& d
  45. Drivername=mysql
    ) Q3 i+ b+ W) R1 s+ w* G
  46. Database=test
    7 a2 U* \- x* y; u5 E) w, R
  47. Hostname=localhost
    5 G4 _9 M# R$ E
  48. User_name=testuser6 C+ v% F1 X1 M0 C
  49. Password=my_password
    6 G. y% c7 }' T9 w
  50. GetDriverFunc=getSQLDriverMYSQL
    4 a7 K: G4 W! {7 N5 e
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    $ m1 k* V, ]1 o7 K
  52. LibraryName=./libsqlmy.so
    - b* M# U5 N5 Q( u" g, @9 S  }
  53. Active=1  X$ u' Z/ }8 G' B% b! O9 o
  54. ---example---$ ?' l: d: O7 w/ J
  55. 3 o# c! y% q7 d/ s+ C; r  g" ^
  56. On a windows box, also running the MySQL server locally, it would be:
    ( X1 d4 R& I- ?! X6 G
  57. ---example---/ F4 [/ |8 o: b( o
  58. [DBEXPRESS]  ~  R4 ^7 h1 ^/ X
  59. sqldir=mysql_sql# x0 n0 e- |: k
  60. Drivername=mysql4 C4 \8 R+ E% Z5 b
  61. Database=test) {- Q3 k7 z* W6 S4 Z# i% h
  62. Hostname=127.0.0.1" ~1 }' Z3 z3 b; y3 I, [& X
  63. User_name=testuser
    ( N0 r9 e0 t+ X1 z% `/ X
  64. Password=my_password
    " Z8 r' c6 H: t" V3 b
  65. GetDriverFunc=getSQLDriverMYSQL+ X( U5 C0 `4 Z8 q: ^4 i5 N8 T
  66. VendorLib=libmysql.dll
    4 z0 G# V0 ^- q- v& ?
  67. LibraryName=dbexpmysql.dll8 R. O% h! A- g
  68. Active=1& D: h# a' Z1 W7 x6 r2 j
  69. ---example----7 A, X) Y; x" M! g  K7 F' @
  70. - written 02.03.04 by pwk.linuxfan4 e$ |+ \- P7 v6 B- [
  71. 0 \$ j9 g& C4 [% _
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看4 X8 Z1 S! z# u& h1 ~* _0 Y

  1. 8 d3 o6 K8 {: G, {0 D
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    " a4 u8 t+ J( S/ y

  3. , e/ [# v( \( H- d. f/ W: A$ e
  4. # # #我们所需要# # #
    * p( v, T! d# O5 ?' j, N
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件8 @* z6 `$ h! {- K+ L5 ~$ t
  6. 不会解释如何做到这一点-也有文件存在,为" d( w8 N( w' x. t9 O% d
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    5 j" w+ i* S! E) ^; p
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西4 ^) w7 E# f; u7 x% O( q# L# p+ m! ^
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    , b5 M# r- i: c* K# u6 |
  10. 本地机器,这是我的MySQL安装。 % K; J' \! a- Y& W2 J* ^
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    * J+ t3 _  V* S
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL   X( u1 K) U8 x
  13. 数据库。
    % t. o- G! }0 O, O( ~! R" z% \
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    9 }% Q2 g+ n9 b; e9 x% k
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    1 Z! Y3 D4 B8 `
  16. 在teamspeak论坛,如果你有兴趣。 ! D4 S0 x9 u9 D+ \' v
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    8 C% i  D) k9 I, R
  18. Borland公司使用。这个司机只能界面与客户端库
    9 }4 m, m& s* j% I. N9 c0 w' ?
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    . g9 b6 Z3 R- C# N, A. T
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    4 d, o( V1 }; w8 d+ J
  21. " vendorlib " ,并解数据库连接。 : @+ T& R; h( H
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    1 w9 ^( F+ `; V$ ^) E2 ]" y8 Q
  23. - X  o; d3 t7 R9 E! Y9 D+ c* t* y4 b
  24. # # #做好工作# # #
    1 V8 ]/ y6 ]5 Q
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ! `. ^0 Z# v# |3 r0 b
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ' D. P( \6 Q+ C
  27. 结束: ; q9 z7 i+ X" E5 \. b' s/ \. e
  28. ---削减这里---
    1 n, u% B% \& T
  29. [ dbexpress ] & X; T+ B# M/ J+ i
  30. sqldir = mysql_sql 2 [% N+ J, b1 P) l3 G& M
  31. drivername = MySQL中  d4 {6 y& I" n# N: |
  32. 数据库= your_database_name_here
    8 A8 z# R) t9 U" a; R3 C) n
  33. 主机= the_pc_the_mysql - server_is_on
    3 U1 I+ h7 A( X% {2 I' M
  34. user_name = user_name_on_the_mysql服务器+ Y2 z$ `* w9 O
  35. 密码= password_to_go_with_above_user_name ; Z. n0 i4 [: G2 e; k7 b0 v: Z& _
  36. getdriverfunc = getsqldrivermysql 4 Q- I6 n7 t0 o
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ! E9 w  I( t3 |, o
  38. libraryname = path_to_libsqlmy_libary
    4 o. A2 \5 V. X# a3 k: B8 o
  39. 积极= 1
    : c: Q6 e' Y. o1 J; q: K! D
  40. ---削减这里--- 7 e+ W8 q) U* e  o1 J" y! r
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 6 d* \; H2 B4 o- F5 w
  42. ---例如--- 9 v9 u3 B/ E" t% J* Y' r8 ?
  43. [ dbexpress ] ' M% H! Z! \7 C4 x+ q
  44. sqldir = mysql_sql ) k3 Y. J& P5 u
  45. drivername = MySQL中2 r# X, U2 l. O0 }9 C* H  o# O& e6 Z
  46. 数据库=测试
      a! B- Q9 y* L. B( g5 w" Z
  47. 主机=本地主机4 _* L8 {0 j, ~; s, n
  48. user_name = testuser
    3 m; I" X* g( g7 X4 J: {; ]: }5 L
  49. 密码= my_password * Y" J8 W6 \6 ^
  50. getdriverfunc = getsqldrivermysql 6 o4 G$ C" o% w( i" \. T& S5 i
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 % S; `7 h( ]- g. o7 w
  52. libraryname =. / libsqlmy.so 7 A: f9 R+ \* b4 r. {) O5 [/ O
  53. 积极= 1
    3 g& [% L+ o1 I; X% l' d
  54. ---例如---
    - k- ^4 L6 L; R( L: a& J, Z

  55. ! F5 g% B* U5 z8 W+ ?7 Z
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    " B" J6 p4 P3 g' l% U! ?- ~/ m
  57. ---例如---
    8 l! s( t- E& G% ^3 q$ y- R; `4 E
  58. [ dbexpress ]
    3 m- Q! h# X" B+ U6 q9 A6 a
  59. sqldir = mysql_sql : r2 m; g" l5 E5 n1 T8 P
  60. drivername = MySQL中
    8 {* t& Y! d1 y" O0 v
  61. 数据库=测试
    ( e) I/ b! x+ X, T* h$ O- z" [/ F
  62. 主机= 127.0.0.1 ; ^9 ?& b& p& \6 ~- I
  63. user_name = testuser
    $ t7 L9 Q) o9 {+ y0 v  z
  64. 密码= my_password 1 V& x- m/ M& c) H
  65. getdriverfunc = getsqldrivermysql
    1 E- N- `6 K6 c7 n; `4 ?5 g7 g, C- Q
  66. vendorlib = libmysql.dll在) O# D+ p% j7 H+ Q' @
  67. libraryname = dbexpmysql.dll
    " b  |' d5 Y& o, j3 L
  68. 积极= 1
    7 g# j2 X9 R& S6 t/ a; H& N
  69. ---例如---- 9 a" D( x0 b6 r; _( P
  70. -写在0 2.03.04由p wk.linuxfan+ L/ t5 C0 r4 e) `! [& s6 {
复制代码
发表于 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 words4 E8 T( N3 y6 n

3 ?9 G' [$ j4 M8 L. {but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-24 06:06 , Processed in 0.108112 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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