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

2634 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
) I$ f: Z2 U3 y. z4 a# e  x/ U* R" c
  1. 4 |/ g* c8 v- C+ }. S
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    7 D/ g4 O; E- Y

  3. $ U& \" M6 P8 j) J
  4. ### What we need ###1 D- j3 h) v8 j1 A  U
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ' v% s4 R$ \$ t9 N2 D
  6. will not explain how this can be done - there are documents out there for the 4 X3 Y) ^( H6 v$ C( n- b! S3 B0 W* l2 |
  7. interested. The requirements include a (empty) database for TeamSpeak to use/ a" S" u. z3 |
  8. and a user account (username + password) that has the permissions to do stuff
    7 o2 Q' E6 J; ~
  9. with the database. Additionally, you will need a vendor library installed on the' |2 D$ M+ D! ~& D
  10. local machine, this came with my MySQL install.
    + i$ G- ^: c: H6 i# h
  11. These instructions will not tell you how you might transfer your data from the3 ~3 u. e7 O" F
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL8 ^9 S) ^. C: e1 J1 H* o
  13. database.8 P9 W/ z+ m  R1 E& O! x; h! R
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ' h6 \& z9 G/ ~) l7 N5 q
  15. the time of writing, there are still too many issues - check the current status
    & m! S. X. |- l1 z- u* ]
  16. in the TeamSpeak forums if you are interested.# \1 k5 D: Q, G8 l. b% u3 W# @
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    7 P: ~' v! Y$ ?" C- d4 B
  18. Borland was used. This driver can only interface with the client library that
    # V8 g1 t! F3 D' v/ f
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    $ o) Z; m) u5 [2 T% z
  20. client library - basically all you have to do is to use a 3.x client library as
    8 s1 B2 t; r1 ^! B
  21. "VendorLib" and a 4.x database to connect to.
    * R/ S* a7 M; Q- S+ b7 I
  22. If you need more info about dbExpress, you can contact Borland.
    8 k) ~9 O2 j5 ]8 p5 K0 d6 v. |, G
  23. , ~0 l0 i6 T" w
  24. ### Doing the work ###) f( P( Z$ H+ n7 c, q/ M
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    3 b, o; e! q6 G8 M( ~
  26. the perquisites right, just open your server.ini file, and add this section at7 _; Z9 \! }- b7 P
  27. the end:
    ' _* L8 a" ~  T: J
  28. ---cut here---
    ( i/ o* _1 ]: C2 F" e( ?" |- t
  29. [DBEXPRESS]
    . O- w* Z+ ?" \8 o+ _# E
  30. sqldir=mysql_sql
    6 c- Z3 Y3 h, b% M
  31. Drivername=mysql
    * D' Q" ?& [+ c. e
  32. Database=Your_Database_Name_Here
    . `# z& ~- D$ p: r# j; W" `
  33. Hostname=The_PC_the_MySQL-Server_is_on
    % i$ a+ `% _3 h: [& w# Y2 A5 s
  34. User_name=User_name_on_the_MySQL-Server
    + _6 m2 W, I# _3 l8 V- ^
  35. Password=Password_to_go_with_above_user_name
    - n$ P! R1 w) J1 E0 z  e" |
  36. GetDriverFunc=getSQLDriverMYSQL
    + ^* f; k. D9 q$ l
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib" `! J8 u* t( P- w
  38. LibraryName=path_to_libsqlmy_libary& Q3 p/ |! R% |# {: I' ]* O
  39. Active=1& g. a# `/ J* z5 i# W$ H
  40. ---cut here---$ f" u' V. S  K; j' t+ S
  41. In my environment (a linux box with a MySQL server running locally) I have:5 ]" e( n6 z" ]! c! Z) O. U
  42. ---example---$ `# M. U6 ^; Y" f( Q
  43. [DBEXPRESS]. F* W$ J: p  n  M" p7 Y- H2 \$ v
  44. sqldir=mysql_sql
    : _) s8 F/ z8 A1 h, s
  45. Drivername=mysql/ L  q2 F/ `' U) U7 A
  46. Database=test9 Q% L- v+ h( }* {! e
  47. Hostname=localhost9 I5 |+ t& k$ |+ t0 ]  R
  48. User_name=testuser5 s/ }8 g6 E0 J
  49. Password=my_password
    . z7 B' j% y7 Y/ s$ Q! a' q; u
  50. GetDriverFunc=getSQLDriverMYSQL0 N4 V5 h# v7 N  U1 ?" G
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    & F: c( ?0 M* p- \" `+ W8 G! l/ o
  52. LibraryName=./libsqlmy.so
    % b' t" _5 o. S/ S7 [9 J
  53. Active=1
    $ C" Q. U8 N( `$ l
  54. ---example---
    + L" H- N( O1 h7 ^- M$ J
  55. 1 d5 t" x  \" k  k: Y' g; M
  56. On a windows box, also running the MySQL server locally, it would be:- t0 w% e7 w, ~
  57. ---example---
    ( j2 Y6 J, `  @1 }  V
  58. [DBEXPRESS]
    0 H: M2 B3 [/ |% d7 ]8 N; {
  59. sqldir=mysql_sql; ^$ v9 X3 G$ F) Q% e3 R( ^, c1 C3 G
  60. Drivername=mysql( P# m  m# J! D" W
  61. Database=test
    5 S) ]7 N( _8 @- N! l
  62. Hostname=127.0.0.1. ?* m" G/ R( R4 n' |4 {8 A8 k- U
  63. User_name=testuser
    9 Q" |4 V) y& @! z
  64. Password=my_password
    & j. t7 |" s6 f8 ~. {: g) H. c
  65. GetDriverFunc=getSQLDriverMYSQL
    " O' H2 c% O' c& j
  66. VendorLib=libmysql.dll; }+ ?# x# U" A
  67. LibraryName=dbexpmysql.dll% ~0 p3 s* J1 w3 \
  68. Active=1( {" g1 ?7 s) I- {* H" H2 r
  69. ---example----
    / F* f0 o, F6 e3 L: @
  70. - written 02.03.04 by pwk.linuxfan, P$ f5 [' E8 ^+ E+ K
  71. ' _' p1 H4 W1 j4 K5 F/ n
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
5 l* F. F) s* r) j

  1. 7 z$ |& j; e) J: D
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ( j" D) f7 @( E  `! }

  3. 4 t" m4 O& W. i# P( h( [
  4. # # #我们所需要# # #
    ' @  {4 H3 E) j' c
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    . d* K$ E4 {4 d& L% I! Q+ e
  6. 不会解释如何做到这一点-也有文件存在,为
    $ R. H' Y  ?. l, O5 l( b. j4 W" e3 b
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用9 {5 a( I+ q0 D8 [
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
      t' p4 |/ w0 V/ @$ S
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    9 T' n1 m9 P4 k5 x) D: {$ x+ {
  10. 本地机器,这是我的MySQL安装。 $ ^1 t, @8 U9 b) `2 J9 c4 u8 {1 b) }- l* {
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ) l8 p, ?6 v" U9 s: J: E
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    & t$ _' A& ~# n6 F# G* F) R! S; s
  13. 数据库。 $ X, l7 c% P! t9 W
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    : ^% p8 x7 @9 ~; U( o9 p
  15. 编写本报告的时候,仍然有太多的问题-检查现状( V- ~4 Y& [# Z1 Q; t2 t2 e& J1 I
  16. 在teamspeak论坛,如果你有兴趣。
    0 a( ~! ?* d# `
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ' O2 r( W0 S, u# X9 V- q
  18. Borland公司使用。这个司机只能界面与客户端库8 H1 C4 ~- W& P4 c2 P
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这/ ~1 v9 P( }1 O* H+ P
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    . ~! z+ m0 ]! J* Q8 y$ o
  21. " vendorlib " ,并解数据库连接。 8 c8 [  D- G; o, y
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    3 w- z! Q" i* y& i

  23. - J1 D( K; g6 u2 j0 x& [
  24. # # #做好工作# # #
    8 o3 ^3 M4 y5 j; U2 m. U* i
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ) n" m) L3 S0 D; h1 O/ ^" |( Z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    - C( y. F! u  u5 A0 Y3 N" Z
  27. 结束:
      z3 @  Z3 X( S% X
  28. ---削减这里--- $ q  ~, @5 C& g1 E2 e  ]! r
  29. [ dbexpress ]
    ) u8 r# q# _% G5 w
  30. sqldir = mysql_sql
    4 U- i$ p4 b8 }0 s
  31. drivername = MySQL中- O+ E  d9 D5 p  S
  32. 数据库= your_database_name_here
    * W/ ?- w4 ]1 f! c$ D. K5 d9 `4 H
  33. 主机= the_pc_the_mysql - server_is_on
    0 I6 h& V2 a, E; p
  34. user_name = user_name_on_the_mysql服务器- a* K0 I5 B2 |7 d3 c% I: A
  35. 密码= password_to_go_with_above_user_name
    ! t, X4 m4 W, p, w
  36. getdriverfunc = getsqldrivermysql
    * B) D+ o, `6 M) x
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    1 @& O8 Q- p/ M  F6 T
  38. libraryname = path_to_libsqlmy_libary 8 V  D+ W* x  @+ d: T$ Z" |
  39. 积极= 1 + q8 G- {* I2 C
  40. ---削减这里--- ' H- a3 d, A& ?3 z1 E/ W( p
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    0 ]8 o1 L4 R6 K( y! N
  42. ---例如---
    9 P2 O5 k( {1 `# l
  43. [ dbexpress ]
    % j' ~0 j) t/ A
  44. sqldir = mysql_sql * l( o0 Y9 G& f2 Y, t. m
  45. drivername = MySQL中. u/ P( r* ]5 ?5 j9 T2 m/ C
  46. 数据库=测试( Y' o+ Y# s, |2 t
  47. 主机=本地主机# i7 a/ [0 ^0 z4 I  x0 k
  48. user_name = testuser
    , n3 u4 I' D0 O0 D
  49. 密码= my_password 7 g, w  N$ j% d. F. L. {+ n7 o8 ]& T
  50. getdriverfunc = getsqldrivermysql % Z$ ^  t% k3 [
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    0 y$ ~% u& Z) P  f/ b+ ^5 ^
  52. libraryname =. / libsqlmy.so
    # c/ d* K: E6 E
  53. 积极= 1
    & V3 S& m/ L/ `/ n2 {6 [6 s3 `0 X
  54. ---例如--- 3 z7 t5 {+ ~, A% I4 V

  55. $ {) o5 G- X! O: U/ f" s
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    0 ^$ J) Z3 @5 C  b
  57. ---例如---
    ( g  I; \4 g; h6 p8 R
  58. [ dbexpress ]
    6 [5 B. }0 C" x5 W+ `
  59. sqldir = mysql_sql
    / u- L# m3 n/ }, a6 P# C; J
  60. drivername = MySQL中3 c" p( j, D8 B! f. K; J
  61. 数据库=测试: F5 a  N. d+ l
  62. 主机= 127.0.0.1
    $ C; x3 x2 W5 G: i$ {
  63. user_name = testuser 5 {2 y! \/ M7 r4 l
  64. 密码= my_password " S# r# G9 B6 I' |! X
  65. getdriverfunc = getsqldrivermysql
    ! z# \8 E7 w4 Z
  66. vendorlib = libmysql.dll在+ P" ], ^; T2 M& a
  67. libraryname = dbexpmysql.dll
    ' v+ e% v2 K# Q5 }3 ^1 ]
  68. 积极= 1
    ( E( X, ~# _5 C( k) \, y6 o$ \$ W
  69. ---例如---- , H) }- \5 i3 H0 n% H  P4 e9 A$ v
  70. -写在0 2.03.04由p wk.linuxfan+ E& P6 J' k; H8 d( I6 ]/ j
复制代码
发表于 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
' V6 ^7 k8 j) e4 p- I/ c; }8 R9 N
  V3 r# i: h- ?but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

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

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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