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

3473 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
: T% Q4 Y" V$ `9 O+ v, `0 i4 L7 K6 [; k% r7 p( h3 e
  1. 6 Y3 Z: ]  F( h& D( A$ d6 {
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######  ]4 N4 t3 u9 m
  3. 4 B  V: ~! g  p3 S5 I# e
  4. ### What we need ###
    7 p! c; _7 b$ ~1 z# U* f; H
  5. Naturally, we will need a MySQL server to store the data for us, this document 3 u+ t& a" M% t, x2 S9 v4 ~. L$ I- k3 x9 w
  6. will not explain how this can be done - there are documents out there for the ' w' L7 Q# Q/ M" h- e1 L
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    - ]8 G; r# P/ g4 N6 o% ]
  8. and a user account (username + password) that has the permissions to do stuff
    ' {0 u& m7 Y) s, d0 c) N
  9. with the database. Additionally, you will need a vendor library installed on the) J0 j+ P/ L2 h* Q! F  d
  10. local machine, this came with my MySQL install.
    ) G9 a# _( z* r4 X+ q
  11. These instructions will not tell you how you might transfer your data from the! ]* V/ t( z, s0 r0 A* U
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL9 v/ F" T! H. k& N$ ?6 m
  13. database.0 o  o6 R5 W3 B+ v
  14. Some users have reported ways to import a SQLite database into MySQL, but at, [& @: j+ f) h1 q% D
  15. the time of writing, there are still too many issues - check the current status
    , Q5 @$ J) R% e5 x; h* w. X
  16. in the TeamSpeak forums if you are interested.
    4 Z- W: C6 \1 [5 A9 Q
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    , p; n7 _* N3 H  u1 L
  18. Borland was used. This driver can only interface with the client library that
    9 H/ ^  L  a; p- a  U- [
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ! x! t: H0 k6 |, W' P. B
  20. client library - basically all you have to do is to use a 3.x client library as
    1 e2 {0 A- t1 m: i+ U: O2 G( h
  21. "VendorLib" and a 4.x database to connect to.
    & E5 d' h3 E' \7 R/ A1 R
  22. If you need more info about dbExpress, you can contact Borland.
    ; o: M. E% @" {2 W; R
  23. # R3 E. o2 q) t1 [
  24. ### Doing the work ###
      w8 z% g3 _) P, k8 g  a
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all  w; h: d3 y( E2 ^! |
  26. the perquisites right, just open your server.ini file, and add this section at
    + \" h: A  _; v4 W7 P5 y
  27. the end:* a6 Q& ~# r: e/ o/ R, _
  28. ---cut here---
    3 {* M: Z" ~8 ^* ^9 B; |: h
  29. [DBEXPRESS]
    8 B% Y, ]' y, h) b( }- h
  30. sqldir=mysql_sql) Y! g$ C' r1 Q
  31. Drivername=mysql. t1 @5 s1 R6 S& N1 b# W
  32. Database=Your_Database_Name_Here
    % H! G' a9 g8 E$ {$ B/ S+ C
  33. Hostname=The_PC_the_MySQL-Server_is_on2 s' n* p& r5 k/ p
  34. User_name=User_name_on_the_MySQL-Server
    * b' J+ F" ?, g: j3 h7 l$ o
  35. Password=Password_to_go_with_above_user_name
    0 o+ i. ~& }, f- O  g; `* r, r* E: V
  36. GetDriverFunc=getSQLDriverMYSQL
    : f6 ~6 v1 C# x% Y' E6 ^' a4 S+ A
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib8 C; |- D$ |" V
  38. LibraryName=path_to_libsqlmy_libary" I4 s. I/ k9 T$ [9 _8 V
  39. Active=19 v% @& p5 Y6 s/ g! a% v9 i
  40. ---cut here---
    7 \. u& c9 K$ ]5 a8 y; @* P; M
  41. In my environment (a linux box with a MySQL server running locally) I have:) @; `) x3 |: h# B
  42. ---example---
    3 |! O8 M) e1 z/ }  Y% g
  43. [DBEXPRESS]5 q5 L9 a( t. v" X
  44. sqldir=mysql_sql
    , m' G+ }1 s( \
  45. Drivername=mysql
    % f5 @# L* T# ?4 _
  46. Database=test
    1 g& x; V7 p( }, l3 l7 P1 G
  47. Hostname=localhost
    3 @( }* E4 h% }* c6 G/ u9 I
  48. User_name=testuser/ I1 j/ {- Z. _, j# A
  49. Password=my_password8 }5 s# z1 F, W
  50. GetDriverFunc=getSQLDriverMYSQL; H9 Q. a" t% i' F
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    , Z8 l. j- }4 s0 w/ v4 j
  52. LibraryName=./libsqlmy.so
    * a0 `2 E5 J- p/ P) L
  53. Active=1; [! c9 v/ E. b- R2 S, F$ D
  54. ---example---
    ( K5 @4 v" X! u' H
  55. ( b' Q% `. \# W- H( U5 P; l
  56. On a windows box, also running the MySQL server locally, it would be:3 v" @5 j- i3 H4 |' Y' W
  57. ---example---
    / T  i0 G7 ~& o2 l+ ~
  58. [DBEXPRESS]2 G! I6 S- u3 N7 q* J
  59. sqldir=mysql_sql6 }4 o# V. W3 \6 T, M+ W$ h9 Y
  60. Drivername=mysql/ e, o% A# [6 |
  61. Database=test
    9 T  h/ |8 `# ]+ i; A) F* P
  62. Hostname=127.0.0.14 I) M3 J- o" K  m
  63. User_name=testuser
    % F/ |) N4 u) l
  64. Password=my_password' x1 E9 G% ~* o9 U( {7 n
  65. GetDriverFunc=getSQLDriverMYSQL8 m; o% v! y8 E8 |. M6 h
  66. VendorLib=libmysql.dll
    ; E. F7 ]5 c0 @
  67. LibraryName=dbexpmysql.dll, [3 ]( {+ y; T9 b3 z! A- _
  68. Active=1
    ; s0 W: b: r0 n' u/ O  l% G
  69. ---example----
    0 j! g+ ?2 p+ x9 s1 z
  70. - written 02.03.04 by pwk.linuxfan
    0 v% r2 w/ |! P: n" k6 E. j: o
  71. : s, W+ e! x$ W& q
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看" A" M2 U. ~; h2 F7 i
  1. + @6 M2 |2 ~' }& p" E! O
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ( G4 t! B0 J& u. T9 _

  3. ! r. s: V# \7 T* n4 `) G
  4. # # #我们所需要# # #
    # o. Z& t9 L$ v2 U' T
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件  R+ b: A4 b: @, H6 a; d3 f
  6. 不会解释如何做到这一点-也有文件存在,为
    ( P0 L  }4 U6 J' p& i* `0 F' e" c
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    % e) y$ N+ u+ a; w
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西5 F( M! o. k. D
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    5 K# ~- g" I) v, B
  10. 本地机器,这是我的MySQL安装。 6 w0 l8 I4 k  n7 C( @
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从4 w  I8 j: z) [- M# g
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    9 F; X, V6 c7 {: y# a
  13. 数据库。
    / K' B2 K+ C; A3 K# D. [& }
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在' x" H' G3 s4 Y8 p" [9 u% s
  15. 编写本报告的时候,仍然有太多的问题-检查现状1 M6 D; d* r" {4 a4 y: D) c( }
  16. 在teamspeak论坛,如果你有兴趣。 3 y$ K/ L6 t. G
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机: r' ~4 p6 D3 u6 m
  18. Borland公司使用。这个司机只能界面与客户端库# |+ L- \( W  t6 X% \- p
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    * `0 H4 c$ W" O2 E: o/ e# ~
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为  ]( X% ?6 t! a' K0 g
  21. " vendorlib " ,并解数据库连接。
    / T3 E7 k2 ~4 x
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    1 W/ O" s9 ~7 b. N+ _& i- w) v

  23. 3 m1 p" x1 M& B3 |+ r: H0 Z5 `) `
  24. # # #做好工作# # #
    # q% u! P( E: R- c( K3 t7 R! O
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    $ B$ [( i/ H. U( y) k
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ' W+ _, a, L8 [( p* i
  27. 结束: 2 [; C  D2 g& |
  28. ---削减这里---
    - Z1 `! f0 ?4 j. e& e1 p2 l9 [, W: V) r
  29. [ dbexpress ]
    % x, F4 A: v) ^; K; l0 g+ v
  30. sqldir = mysql_sql ; c3 k5 U+ O& D5 |. q1 Y1 g" t! w; ~
  31. drivername = MySQL中
    3 r9 t; q0 R+ Y; G' A
  32. 数据库= your_database_name_here
    8 I  \0 ?* O. h
  33. 主机= the_pc_the_mysql - server_is_on 8 ]1 q8 ?3 \6 R3 R, V& i; N5 \
  34. user_name = user_name_on_the_mysql服务器+ l, P9 q/ |  @7 f  f4 U
  35. 密码= password_to_go_with_above_user_name 8 Q5 l/ p; }4 o1 {& n$ k
  36. getdriverfunc = getsqldrivermysql ; ~; ?+ R" P$ T
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    . [5 G2 }3 `8 N* a
  38. libraryname = path_to_libsqlmy_libary
    % x3 a8 I& c. G
  39. 积极= 1 0 j! d7 ]" g. q5 h+ Q3 z% Y" T
  40. ---削减这里---
    9 q' G* F* x- j$ R$ J) P8 j
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    % j$ a2 `; X8 y8 J6 y) r
  42. ---例如---
    + i7 M  e' T. P. p. U9 j* h7 |1 l
  43. [ dbexpress ]
    # _  [- |  @$ W0 s, M# z& m
  44. sqldir = mysql_sql 1 ~; w. D  V% B2 z  j
  45. drivername = MySQL中
    % }. v. x& {4 s- i; A" x, L- J
  46. 数据库=测试
    1 @+ J7 x' s1 h. G* m) }7 X+ H
  47. 主机=本地主机! s0 p$ x( e) ^" p
  48. user_name = testuser
    : {# U. f. P# [) [4 o; o
  49. 密码= my_password
    " D8 N$ }  `# g  S, y" @
  50. getdriverfunc = getsqldrivermysql " U0 @0 d8 S8 N: h, I
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 " d" e4 U6 |1 y5 P) @
  52. libraryname =. / libsqlmy.so
    % M/ u+ s6 a$ f. W
  53. 积极= 1
    " Q) G6 T* _4 m/ H; O# ~! a0 {
  54. ---例如---
    2 D3 A5 G8 D( k# ^2 f5 W

  55. ' f, b& v2 O( y7 }* p  m" ^
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    2 J# K' D. m: S% E7 C* H0 n
  57. ---例如--- . }' {$ b! P* }% b, M" N( M/ B
  58. [ dbexpress ] + I' C6 ?7 V" S- E% K$ {
  59. sqldir = mysql_sql
    $ J! F9 N. e9 H% b  [- B
  60. drivername = MySQL中3 c0 U- \  d- g1 i
  61. 数据库=测试2 v) a8 t! l% L& z$ O
  62. 主机= 127.0.0.1   y' D" c: w- H  E* A
  63. user_name = testuser $ W3 D3 I4 t$ q9 W, |
  64. 密码= my_password & z" L3 i! ~8 U
  65. getdriverfunc = getsqldrivermysql
    / ?  y/ M& K: Z; g- [+ p
  66. vendorlib = libmysql.dll在8 @: ~( b$ ?) x; V8 H6 m, g' y- @+ h4 S
  67. libraryname = dbexpmysql.dll : n! b( a9 ?  O2 N( l" R4 M
  68. 积极= 1 , k+ e6 n7 g6 ?5 M4 I+ _
  69. ---例如---- / G' U1 |" ?+ q& |
  70. -写在0 2.03.04由p wk.linuxfan' I4 ]: K6 P: N3 [
复制代码
发表于 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
) P; M5 s$ L' |7 `% L% K  V0 u* ?2 r- B4 k5 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-11-4 02:42 , Processed in 0.056602 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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