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

2704 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
' ?+ t' s! m% v+ m1 E7 h5 N) ^
. s% W9 X: H6 a; ~5 q4 n& \& K0 U! U

  1. 7 w! S! ]1 |6 n* T0 a
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######: y, f3 X3 t5 K5 F; |

  3. 4 Q9 U. k0 X" G% K7 A
  4. ### What we need ###
    9 v  C/ f6 I0 p
  5. Naturally, we will need a MySQL server to store the data for us, this document . o6 y8 Y' h; G. D; ?
  6. will not explain how this can be done - there are documents out there for the # Y. r8 L& r2 [) u2 N0 ~
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ; n3 y. m8 [  ~2 s: c) Z* }
  8. and a user account (username + password) that has the permissions to do stuff
      t/ k( y6 Y+ u8 e9 i$ F
  9. with the database. Additionally, you will need a vendor library installed on the: _" k% N, x9 w& d) D/ ?
  10. local machine, this came with my MySQL install.
    ( a; `, j! f/ P- b
  11. These instructions will not tell you how you might transfer your data from the
    2 |1 {. I  G6 U" @; ~9 U
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    6 C4 W% R8 p& }
  13. database." B8 m$ S3 n6 N, ]" Y! i6 _
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    8 B+ d; P+ S, ~+ R! s5 t
  15. the time of writing, there are still too many issues - check the current status( ~9 ]0 M. m/ s+ x' ^+ I- L
  16. in the TeamSpeak forums if you are interested.8 x4 f) }9 ]7 y  R
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    # H1 I" Y/ g5 I  ?! w$ B
  18. Borland was used. This driver can only interface with the client library that , K1 p9 K0 J4 r$ I( H
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this! ]7 I" r* J- b$ M5 _5 X/ l) {
  20. client library - basically all you have to do is to use a 3.x client library as   y3 e' |2 o& @
  21. "VendorLib" and a 4.x database to connect to.0 h* @4 j0 H* |2 M( x8 T: e9 r
  22. If you need more info about dbExpress, you can contact Borland.
    6 R, B/ V4 g0 s  C
  23. * c' @9 f: i' G- i8 O1 X0 k- d; u
  24. ### Doing the work ###+ |; K* ^/ ]0 v6 p- L
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all8 g7 S  m* V7 w2 C8 o& z
  26. the perquisites right, just open your server.ini file, and add this section at
    + Q% |! W* W( A
  27. the end:9 y( {6 [& T6 Q/ [  K1 F
  28. ---cut here---
    1 w' w9 ?8 a! T$ j9 s
  29. [DBEXPRESS]1 f1 E+ Y! F5 I) }3 C7 L
  30. sqldir=mysql_sql
      T5 |0 m/ G) Q9 _! q  q
  31. Drivername=mysql. ]: b0 W4 Y8 z& y7 ^+ M5 C
  32. Database=Your_Database_Name_Here
    & z- n/ ^2 A' _$ |5 E& L
  33. Hostname=The_PC_the_MySQL-Server_is_on
    : t+ X; P7 o9 T+ w$ ?0 f
  34. User_name=User_name_on_the_MySQL-Server( A* s( v4 b+ d8 J
  35. Password=Password_to_go_with_above_user_name6 _0 \9 G" h2 P" a; Q+ w' N& T
  36. GetDriverFunc=getSQLDriverMYSQL
    6 Q6 G6 ?0 Y. q" ]1 p2 {. t& Y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib- y9 x2 Y& y! {- N: u1 ~
  38. LibraryName=path_to_libsqlmy_libary7 Q6 {8 ^  j; G. c- U% u
  39. Active=1
    & Z, |" E; i! _: |
  40. ---cut here---) u' ~: F# t& r" _' u
  41. In my environment (a linux box with a MySQL server running locally) I have:( d1 |' C" Y2 E* Q
  42. ---example---, b( @) Q: y, W6 g0 h# Z
  43. [DBEXPRESS]
    ) a) e7 W' f0 r# \" l4 \8 Y, i
  44. sqldir=mysql_sql
    6 I0 ], R3 T7 Z( t5 ~! l. t
  45. Drivername=mysql1 u# p" H% h6 D+ g
  46. Database=test, g; d, d+ M; y* u
  47. Hostname=localhost' K4 O* X$ q: O7 \4 Z& r8 ?
  48. User_name=testuser
    2 ~4 Y' S; G- T
  49. Password=my_password! k, Z& T' x6 E' G
  50. GetDriverFunc=getSQLDriverMYSQL4 _& b) m( F7 d; {
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    / Z+ t# P/ o- y
  52. LibraryName=./libsqlmy.so
    3 k# l+ c8 C( H2 u4 ~4 R
  53. Active=1
    5 \5 d( ^1 q7 O7 Y% }, T* p* M
  54. ---example---
    8 R$ Q* J9 S" V) G& O
  55. : f  C3 J5 n3 F- {! u9 `9 j, `
  56. On a windows box, also running the MySQL server locally, it would be:9 V) G) E! I0 j; F3 i& c5 J$ [
  57. ---example---
    7 I2 ~% a( D$ l' ^! Y* b1 f
  58. [DBEXPRESS]
    " V& t0 S; q* b
  59. sqldir=mysql_sql) `; L# D) v8 I
  60. Drivername=mysql
    / ]& _4 ?, z$ k# Y
  61. Database=test, c6 q" {% x: x9 V' r/ j
  62. Hostname=127.0.0.1& x1 Y) M4 Y$ i/ @
  63. User_name=testuser
    - e6 W) c: V5 D$ e6 o7 S
  64. Password=my_password
    ' S5 U% R6 G# Q) r$ I+ M
  65. GetDriverFunc=getSQLDriverMYSQL
    ' H$ g. \* U0 Q; e( ^" t6 u
  66. VendorLib=libmysql.dll
    9 c) a. [7 L" Q
  67. LibraryName=dbexpmysql.dll
    ! b5 N6 i4 n7 a& F4 S' Q
  68. Active=1& U" }* t4 e3 R6 M  h/ i, `& y0 R; B
  69. ---example----+ A( F, J; Z- A2 c/ I9 [/ B
  70. - written 02.03.04 by pwk.linuxfan
    , d; ?# d  E, Q/ G
  71. 9 Q' a+ ^$ E4 K6 e9 y" S
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看) h: Q9 |; k2 D$ ~. s- z
  1. 4 ~  s$ F3 N+ K. I( v% V* H6 U2 T; G
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ( n1 m; j+ M9 P% h" p( N0 r

  3. / U# D$ M2 g8 Y5 ?
  4. # # #我们所需要# # # . g1 w$ _- N0 e" w; P: R  i. k
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
      R6 b+ l1 C2 ]( {4 I) h) N
  6. 不会解释如何做到这一点-也有文件存在,为
    " X# h2 b* R# e3 O
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    9 E6 g. P  X( C5 ]
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    4 `  Z% X# u! I9 }0 |( Z2 d
  9. 随着数据库。此外,你需要一个卖方图书馆安装于! U2 B4 U$ e/ S- m( u- c
  10. 本地机器,这是我的MySQL安装。
    : ]8 C, ]2 E$ C9 g! d2 R! B8 Q
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从+ K* i  f- ^1 W
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 6 K: d5 g+ s' V+ }# b: R8 b1 U+ D
  13. 数据库。 $ t; V5 p- ^, M! Q
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    9 A, j; D4 Z8 [+ h7 h0 g0 T
  15. 编写本报告的时候,仍然有太多的问题-检查现状7 m" `: N& y; b9 N" i  K7 m+ r* Q
  16. 在teamspeak论坛,如果你有兴趣。
      `- f6 s2 S0 d- J2 D
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机3 e6 V6 G1 B1 x
  18. Borland公司使用。这个司机只能界面与客户端库, U1 ^: N( v$ B6 E, S, ^
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这, A6 V& a5 h% U3 Y5 g6 _! Q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    9 `' c8 S1 p: \0 E+ l0 i0 n7 D4 h' w
  21. " vendorlib " ,并解数据库连接。 9 I+ N) C  w  e  J+ v
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    . y9 P2 f( d) B9 M0 I( j% s
  23. : ~, n5 Q) O( h
  24. # # #做好工作# # #
    # Z' s  l1 p2 z) I- I
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都) t/ M# Y9 j  {5 R
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
      F- o  K) ^$ Q
  27. 结束:
    & W# [9 [+ F4 z2 u
  28. ---削减这里---
    ( r  o7 I3 }. I: ]9 i% R
  29. [ dbexpress ] . F  q% C& W# [) W
  30. sqldir = mysql_sql
    : b( Q0 A" J& ?% ?. a/ d; ^- A
  31. drivername = MySQL中3 G1 N3 b% `" F0 ?
  32. 数据库= your_database_name_here
    + I9 S3 l, j5 p5 Z% u5 \
  33. 主机= the_pc_the_mysql - server_is_on
    ' a5 v3 ]9 g& d% a4 |9 h
  34. user_name = user_name_on_the_mysql服务器1 p* L: Z0 l. z: X/ X
  35. 密码= password_to_go_with_above_user_name
    # U3 t5 H  u6 w& m3 h- F- j
  36. getdriverfunc = getsqldrivermysql ! J0 n& p- z; W5 R6 Q
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ' N9 i9 L& }2 n7 _. U9 i
  38. libraryname = path_to_libsqlmy_libary   w) }+ h, X! C0 X3 d, q' ]' e
  39. 积极= 1
    % q8 w  z1 o6 L+ T& ]" o. ]: n6 j
  40. ---削减这里---
    0 b: \! \; q3 o, l4 e0 X$ p# P
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 0 i  r& E0 H8 l& A& p" P0 A( w
  42. ---例如--- , @, ~1 [8 E" J* \+ o
  43. [ dbexpress ]
    6 S1 E5 Z5 P( ^; R. D. M
  44. sqldir = mysql_sql
    : _1 i0 C, d- ^- P4 P* C3 n
  45. drivername = MySQL中
    2 ^/ i3 `5 W6 J2 q+ J5 a
  46. 数据库=测试! s( k* O+ \; u+ Y" P# d3 e2 ?9 _) u
  47. 主机=本地主机1 o5 d- U1 U' L) j$ P+ B! ]
  48. user_name = testuser , h' a" b- W$ `; ?
  49. 密码= my_password 7 ]% d, w- g4 \8 i: X) D2 j
  50. getdriverfunc = getsqldrivermysql ' `, F, v' l0 |+ z/ D8 J" o
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ! m3 M, r* ]3 q8 {
  52. libraryname =. / libsqlmy.so
    0 ]: z, y( w3 \+ e2 S
  53. 积极= 1 ( j, c* v7 W1 ~% H' W6 v4 c& U3 d
  54. ---例如--- 7 T3 `: K1 o# |  t$ U2 t' S6 p( ~

  55. % N% z4 W8 u, ~% q3 @8 b5 i
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    9 E* \$ Y" @& ~% n+ C3 ?
  57. ---例如---
    - g, G* f/ r" u, Y3 C2 V9 j
  58. [ dbexpress ]
    * }. ]" e: p" Z
  59. sqldir = mysql_sql 5 {" d8 ~- @- d, q
  60. drivername = MySQL中
    # F4 u6 `% U7 d* `( ~& l
  61. 数据库=测试& g+ f+ n" X9 m
  62. 主机= 127.0.0.1
    3 z2 M( s& p$ B# J7 a/ ^
  63. user_name = testuser
    . b: F* t9 j  z: [6 t- S/ w6 a
  64. 密码= my_password   i8 o6 o3 `% |
  65. getdriverfunc = getsqldrivermysql
    . r' c, f1 P: N3 |% d
  66. vendorlib = libmysql.dll在
    , B  T# l) x1 N7 {; ~6 s
  67. libraryname = dbexpmysql.dll
    ; B7 r+ n1 S" l6 U% h  _- W
  68. 积极= 1
    $ W1 \8 z9 G7 t
  69. ---例如----
    6 C$ \5 F) p" F0 N
  70. -写在0 2.03.04由p wk.linuxfan
    - [3 ?9 H" L* h5 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% L- G8 B' Y/ o$ o2 R

: [3 J3 W4 W0 M, d2 J0 R$ x: x. Wbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-4 12:50 , Processed in 0.108745 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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