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

3037 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan . V* W. l2 x! z
8 Y* R: c+ J5 s0 F2 i$ E/ z
  1. ' r2 W& p% ?7 M2 q0 ?
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######" u" D% M0 ?1 N- k# [

  3. $ u* p: w9 u9 K7 z; |1 a+ \
  4. ### What we need ###) [+ y( \' S% x0 O8 p' s
  5. Naturally, we will need a MySQL server to store the data for us, this document
    + p" R% n! l! ~0 V# @2 m8 _7 ?; _
  6. will not explain how this can be done - there are documents out there for the ' [  L- f% C3 X+ X
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    7 G4 ]' J2 [7 x) K; k$ M
  8. and a user account (username + password) that has the permissions to do stuff  X! R. g( Q8 g- c& M  I
  9. with the database. Additionally, you will need a vendor library installed on the
    # L  V$ b, o; \4 y9 Q! h3 b8 t, k
  10. local machine, this came with my MySQL install.3 d# D2 c" W2 f, p! N8 _: X  I
  11. These instructions will not tell you how you might transfer your data from the
    # Q0 [& H7 j' x, d7 i3 b$ s! c
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    6 u  D3 Y5 M5 I+ t0 x# _7 h6 K
  13. database.
    ; \" R7 ~& Q' u0 G1 U
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    , v. k9 b; l. S% A3 p
  15. the time of writing, there are still too many issues - check the current status8 o* ~4 V" {  Z& J
  16. in the TeamSpeak forums if you are interested.
    3 p& X) A. r" T, Q- V
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    8 Q1 x& M2 t( E# o, J0 U
  18. Borland was used. This driver can only interface with the client library that
    0 c  ^, l  y, t! P5 Z% U- q9 V0 a
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
      C) W/ x* P/ ?4 n# K  L$ W
  20. client library - basically all you have to do is to use a 3.x client library as
    ! `: d% y1 t% }1 `" d
  21. "VendorLib" and a 4.x database to connect to.
    8 w. }1 }' |1 ~' h/ p; U- I
  22. If you need more info about dbExpress, you can contact Borland.
    " T( ]2 ?9 p5 I; t
  23. 1 }0 a$ z. }% ^3 b* Y) Z0 A
  24. ### Doing the work ###0 P. }$ K( i% M7 a" c8 E+ x
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ! o/ @4 d  z. H# C
  26. the perquisites right, just open your server.ini file, and add this section at0 V/ g" V( ?4 j4 G) s
  27. the end:6 m/ O8 L, G! T: B5 I
  28. ---cut here---
    6 ~% @3 @) g* w& q
  29. [DBEXPRESS]+ K5 O8 x3 z2 B3 T, l7 G
  30. sqldir=mysql_sql0 A1 D* K( W1 d
  31. Drivername=mysql
      G. F: m0 Z) w( Q+ m4 H7 B
  32. Database=Your_Database_Name_Here
    / L1 J" @( j2 }" {  P
  33. Hostname=The_PC_the_MySQL-Server_is_on
    & a5 I# w' s: |; A
  34. User_name=User_name_on_the_MySQL-Server
    1 Z. t2 S( {! L& J! P
  35. Password=Password_to_go_with_above_user_name
    . A+ B; }! d2 U. P- I! f* l
  36. GetDriverFunc=getSQLDriverMYSQL
    : k# j5 p9 F$ m" [
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ! R/ P6 E" J4 J6 f( W# W6 Z
  38. LibraryName=path_to_libsqlmy_libary
    - j; g1 P5 ?4 L6 O  g0 j0 E% m0 l1 v9 [
  39. Active=1+ U/ F4 S" J  ]  ^8 V2 Y
  40. ---cut here---
    / v: F5 v( m0 @; t1 b2 l6 ?, Z% o
  41. In my environment (a linux box with a MySQL server running locally) I have:
    # P; Z( H! T; i7 e* O7 ?
  42. ---example---( H+ H7 U: K0 e
  43. [DBEXPRESS]- u. D7 |& Z; G
  44. sqldir=mysql_sql
    " [; z& I% ^- v$ l* Y0 a- F
  45. Drivername=mysql
    / i) H% W: C2 |, f
  46. Database=test
    * s4 b. A: N" K
  47. Hostname=localhost
    7 Z( n) k( U* ^! ^- c
  48. User_name=testuser
    " m: m# x0 j3 w- }8 D9 F
  49. Password=my_password
    7 `( T) f, l5 f( J
  50. GetDriverFunc=getSQLDriverMYSQL2 R: q1 A" n$ F  P" y! v# B
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    5 p% v  P+ Y5 y8 t7 I( V
  52. LibraryName=./libsqlmy.so6 j  Q2 L7 I! b. E* X7 i5 ?
  53. Active=1
    $ p3 p3 j" I1 J- |% X8 o, R
  54. ---example---
    . O" s9 z4 e: l1 ]& L3 F

  55. / R& ^) `6 M+ j: z! H4 m' x
  56. On a windows box, also running the MySQL server locally, it would be:
    . N3 D+ O/ \2 _7 c2 j1 ]" P/ j
  57. ---example---- c/ [- I  u% D* T
  58. [DBEXPRESS]& g8 r  [6 E+ \1 V
  59. sqldir=mysql_sql, N" i. i+ N4 Y4 X
  60. Drivername=mysql' h6 S6 ~2 Z: d9 y" `
  61. Database=test
    + w3 ?4 k2 I6 G; f& d, r3 O, y1 Z
  62. Hostname=127.0.0.15 U. d* t7 v' \' Y' O' V- Q) H
  63. User_name=testuser
    ) ^% R/ N4 A) \7 `: S+ `
  64. Password=my_password2 C& ]6 ?' p2 F9 {* U3 p, z$ k) D
  65. GetDriverFunc=getSQLDriverMYSQL! s+ W/ T( T5 g
  66. VendorLib=libmysql.dll% w5 v5 W7 x0 B0 O
  67. LibraryName=dbexpmysql.dll
    ( s) [. n% z* U" C
  68. Active=1
    - F( N8 l( h$ f6 \; j
  69. ---example----
    ' I# b2 j3 {7 k7 H4 x- [
  70. - written 02.03.04 by pwk.linuxfan+ a# y/ r2 J1 a: s  f" M8 k) O& R
  71. 5 j/ W# s/ l! |$ h$ K
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
4 h" ^# D9 A0 W; ?0 s$ h
  1. 2 S$ P0 q) Z& ^! r$ \
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    - @' h. L+ t# O' o+ U

  3. 0 j$ O; m% k% D+ k
  4. # # #我们所需要# # #
    ! b. I  V, I! ^! A- S8 A* P
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    5 X& N& B  Y& E8 k0 w
  6. 不会解释如何做到这一点-也有文件存在,为! m* I* P8 b9 V- J! S& L6 R0 e
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    % `2 ^$ w" b* q
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西) W. ^* S' W9 I
  9. 随着数据库。此外,你需要一个卖方图书馆安装于" G( K0 O3 ~- E
  10. 本地机器,这是我的MySQL安装。 7 y/ n& B; N, N: G( d, W, y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    " C- x! S8 g5 R6 Z) A
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    4 D& [) j$ y- [8 e% F
  13. 数据库。 % D) q4 N1 M2 {- L* O& f
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    . P, f5 O7 _; r  z4 `' k+ [4 e
  15. 编写本报告的时候,仍然有太多的问题-检查现状" Y2 @: e( Q8 S; s' }
  16. 在teamspeak论坛,如果你有兴趣。
    . K- P9 F8 I" g' m; I
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机+ J/ I- w3 \  Q# ?* r
  18. Borland公司使用。这个司机只能界面与客户端库* u! Y& u9 y0 j" o
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这! Z* M0 k$ |# q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为# D/ w& i  w! p6 G' v* `
  21. " vendorlib " ,并解数据库连接。
    - c2 ?# O! O; V8 V2 O7 P7 N
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 % D7 L9 ]& Q( U7 |- ^" ^- K5 y

  23. * ~! Q8 _4 ~+ m$ H  Y$ V
  24. # # #做好工作# # # 4 A* \$ S5 E' c- m9 s1 j: o; `
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都- w! Z3 h- n. M4 c- R1 r( O
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在5 R6 s, B* J" j! f( a# Y
  27. 结束: ! x) u( c* y1 m/ H: d, W
  28. ---削减这里--- ( I2 Y% c4 n2 R, |4 L
  29. [ dbexpress ] 1 s: |- H. b, `; @) b4 T% {
  30. sqldir = mysql_sql ; M" d# n; R2 N5 g
  31. drivername = MySQL中& ~- \" O! {1 U! }# y* ^
  32. 数据库= your_database_name_here
    + G' n5 s, d, e2 `7 g6 q2 z& K
  33. 主机= the_pc_the_mysql - server_is_on
    7 d2 n7 @! i4 ]! h
  34. user_name = user_name_on_the_mysql服务器
      Q# E' K( s) r% @, e
  35. 密码= password_to_go_with_above_user_name 1 k) b3 B* D4 I) m% e
  36. getdriverfunc = getsqldrivermysql
    5 A* j  z- t5 l
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    9 r! x  O  Q6 D& R% i
  38. libraryname = path_to_libsqlmy_libary
    : D3 ]/ N0 U( ~0 T! u( o1 f4 p
  39. 积极= 1
    9 \& k2 x& u4 m: Y, J2 L8 H! F  W
  40. ---削减这里---
    " w2 L3 a0 [6 g! j% n* D( P
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    7 [* Y7 t; P) q# @2 t2 P4 ~- n
  42. ---例如--- , C1 N: ]/ t% w4 c2 ]
  43. [ dbexpress ]
    8 |% O# v. H. p* U8 c
  44. sqldir = mysql_sql
    ( F  [5 e/ k& s2 [" h
  45. drivername = MySQL中
    8 k: }3 B0 Z8 J+ T5 }
  46. 数据库=测试8 x* c, Z0 Y( C9 \& B* q
  47. 主机=本地主机
    # D8 M! Y" v4 `6 T1 y
  48. user_name = testuser
    ! T/ N% f2 h" t+ I0 o' C
  49. 密码= my_password
    8 H2 S% K5 ~' P/ ~% ?
  50. getdriverfunc = getsqldrivermysql 1 R3 O5 {7 B& Y4 D) w# U, N7 I
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ! P2 W# ]9 i  ~& Z. h  C$ }
  52. libraryname =. / libsqlmy.so # e8 m. G; H( S2 b" u- P
  53. 积极= 1 ; F8 |! \& ?0 s0 J: ~# T0 ?
  54. ---例如---
    5 X# r; }) Y) t3 O) P4 B

  55. ; Z( N2 E* R9 T" T7 t  l5 |" `
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    . `6 ~$ R& i! T9 b! U
  57. ---例如---
    $ d, H! s& ?& P/ |( ^6 {3 Q% T3 p
  58. [ dbexpress ]
    $ a/ x6 d8 s5 A7 ]5 G1 {
  59. sqldir = mysql_sql 4 Z+ q+ o& E4 N3 G/ U
  60. drivername = MySQL中3 K- q( R" T' T0 j
  61. 数据库=测试
    8 L. [0 ~( B/ s* K0 Y( h
  62. 主机= 127.0.0.1
    ' k% i$ _7 f% Q1 s0 B  J7 J
  63. user_name = testuser
    % n! U  z4 L! K
  64. 密码= my_password + g9 j3 s  V+ x) D; X; a
  65. getdriverfunc = getsqldrivermysql
    9 Z. o' b1 c0 i% M, X) k* j5 s1 P
  66. vendorlib = libmysql.dll在" U8 ]# b) i) N
  67. libraryname = dbexpmysql.dll
    ( F; g* ?* x; V* V# H- j6 I
  68. 积极= 1 : ^* \, C. Q9 ^# W( s
  69. ---例如---- * y+ ?& `. m( X) B. C) v
  70. -写在0 2.03.04由p wk.linuxfan
    ' P7 u- m% O+ \& ?) l9 R* t
复制代码
发表于 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
( j  E" g' A4 X- o% c8 a' J2 O5 {
, J5 m: d0 ]/ d3 ~" Rbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-18 14:34 , Processed in 0.099679 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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