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

2808 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 8 b0 Q6 E. A' ]

9 s( k) |0 L/ X, p5 Z5 v/ f9 v
  1. 0 u) \( h) \( Q; A! w5 }
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    4 d$ a5 V8 _  P; I* Y% m% E' d
  3. 3 \4 v0 m6 F) d2 ]/ r. w# @
  4. ### What we need ###- n& L% q! D, }' h: |& s
  5. Naturally, we will need a MySQL server to store the data for us, this document 2 d3 L) A) a) k$ B) }6 D
  6. will not explain how this can be done - there are documents out there for the " o9 G8 q  |) |8 A
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    $ w: f6 H0 R4 i2 I8 M6 p0 i# Q
  8. and a user account (username + password) that has the permissions to do stuff8 n6 U( P: f  h6 R& c; P
  9. with the database. Additionally, you will need a vendor library installed on the9 _' M: I( U9 L* \( m4 J
  10. local machine, this came with my MySQL install.% O" v9 U; u" n
  11. These instructions will not tell you how you might transfer your data from the
    + O. X4 a. L: g# X1 Z( ], ?7 A
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL# ^; u0 p/ L* X+ `6 R8 T
  13. database.
    . E( x, C5 z9 |
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ) k0 d+ U0 v  c1 v4 l8 i
  15. the time of writing, there are still too many issues - check the current status1 V& ]( a+ k+ \/ `! J6 o
  16. in the TeamSpeak forums if you are interested.+ H6 h2 @7 R! Z: D. a7 o
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    5 Y# z0 Q% P; Y8 x8 Y
  18. Borland was used. This driver can only interface with the client library that $ Q" b9 h  U! k, x; K- s" i, Z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    % T. H7 N7 V" R  w, r7 i& \
  20. client library - basically all you have to do is to use a 3.x client library as
    1 b6 H0 N* b. e0 h( j2 S$ P
  21. "VendorLib" and a 4.x database to connect to.& m. Y( N! g, ?$ L( u! J6 P& a
  22. If you need more info about dbExpress, you can contact Borland./ o* w; ~7 t& ~  J: ?

  23. $ F- i4 `, O- A& Q/ M/ d$ n9 w" Y
  24. ### Doing the work ###; N, n/ T8 x( _4 _9 M
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ) Z/ `6 Q* L0 v  q
  26. the perquisites right, just open your server.ini file, and add this section at( r3 b9 T9 T* a) ^/ M( c; L: O; s2 u
  27. the end:! I+ T& y; y0 z
  28. ---cut here---! `8 j0 I" H& Q5 t: I
  29. [DBEXPRESS]# p  h  z& J- R3 C& Y$ ~
  30. sqldir=mysql_sql
    8 L6 R/ f, {- k3 a
  31. Drivername=mysql
    1 K7 o8 G; f8 C6 d# B
  32. Database=Your_Database_Name_Here
    1 X9 e; k7 C+ R1 g9 p- w4 f
  33. Hostname=The_PC_the_MySQL-Server_is_on
    9 s* R: U+ O$ d# ~
  34. User_name=User_name_on_the_MySQL-Server
    * M- S7 v3 B0 J. ?/ L2 U
  35. Password=Password_to_go_with_above_user_name( m3 q- \( m7 b% f1 b
  36. GetDriverFunc=getSQLDriverMYSQL) G4 K7 x) I1 T8 B
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    1 n( W4 V- H5 N8 J9 q* p$ V
  38. LibraryName=path_to_libsqlmy_libary1 j9 P: n2 ^* ?# f
  39. Active=1
    / M1 u: l8 z! m9 r2 g, ^. h, \
  40. ---cut here---
    / Z! _5 F6 N0 @
  41. In my environment (a linux box with a MySQL server running locally) I have:7 Q+ U" h% l3 P3 z; o$ t" v
  42. ---example---
    4 r* J. _) @' Y# |3 A6 h- A0 E
  43. [DBEXPRESS]* f7 a+ M- q/ `. {5 _0 R- }; v
  44. sqldir=mysql_sql" m& Y) V6 Y9 R8 w
  45. Drivername=mysql
    5 q, I' T' j( M) h; c! L
  46. Database=test4 a( `" Z7 `: [( |
  47. Hostname=localhost' Y' [9 e2 Z- C- L# ?' m4 N# t; X
  48. User_name=testuser6 l+ ~! D. L7 Q/ G2 y
  49. Password=my_password- b; M* d: W( c% u1 U
  50. GetDriverFunc=getSQLDriverMYSQL
    8 R/ X9 t0 M- j0 {# c
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0: s/ \8 O" n5 ~- a% h
  52. LibraryName=./libsqlmy.so* X* m) ^' O& b) _+ g$ @
  53. Active=1
    , ~, @# f- G5 U0 x
  54. ---example---% I1 I+ ^$ K/ _2 x8 ?$ ]/ i9 q

  55. 9 n  P0 M/ r& o% R# m  ~
  56. On a windows box, also running the MySQL server locally, it would be:
    6 h: I9 h+ `! T" b3 g/ y7 \+ m  ?
  57. ---example---
    ) d, p% C9 C6 v3 P$ I
  58. [DBEXPRESS]# y) ~( h, i& a$ x( `( w# u
  59. sqldir=mysql_sql8 a3 S" f9 B- A/ p
  60. Drivername=mysql6 B8 t# A! a2 r0 }& r
  61. Database=test
    6 p9 S+ w9 w0 W3 R- z% Y' o" r! l' t
  62. Hostname=127.0.0.19 L- k5 w3 W/ Y& |- B* Q
  63. User_name=testuser; I2 Z+ J: f. r3 G9 O
  64. Password=my_password2 p+ T7 C, \( E  O7 B) |, H
  65. GetDriverFunc=getSQLDriverMYSQL% L0 c& _  x5 L  S! w0 T1 j7 E
  66. VendorLib=libmysql.dll
    $ w6 F2 }& g6 }
  67. LibraryName=dbexpmysql.dll6 V7 P& z4 y. }4 R# A. t
  68. Active=1) g3 [4 |& m8 u4 i  i, n* m& w
  69. ---example----
    6 W9 L' \6 i1 `5 t* a4 {
  70. - written 02.03.04 by pwk.linuxfan, Q( e; f0 x: {& ]4 c
  71. . ^" L8 y% v9 v& f/ s' X
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看; H! X* L' k- F8 d
  1. ; h- P8 K, V$ Z/ I" X
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### $ j$ O" Z' i5 E$ i
  3. / Z" K1 f) N2 l7 B# \+ j$ g& k
  4. # # #我们所需要# # #
    0 A: U& X0 j3 z% o2 X6 W1 M
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    5 l  [  X: ?+ m% A: j
  6. 不会解释如何做到这一点-也有文件存在,为  i5 Y8 U% t0 i2 ^5 p6 n$ u3 L
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用0 I3 v0 T: j% r3 r" x5 m
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西. X$ ^: a- o( I5 F
  9. 随着数据库。此外,你需要一个卖方图书馆安装于' ~- e5 _5 J! j' m& B
  10. 本地机器,这是我的MySQL安装。
      `; }  }3 [; f3 {, A
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    . M+ @# M, D& ]7 D! w5 f
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    3 u: u' D$ }0 C% d3 a/ A$ k
  13. 数据库。 7 G. f  d% P. t
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在! R( r% a  q: N$ j1 a. _/ g
  15. 编写本报告的时候,仍然有太多的问题-检查现状! V6 z+ B' @4 c- @
  16. 在teamspeak论坛,如果你有兴趣。
    1 F4 j( @( E2 G! }; K( o. D# e7 f
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机( s+ j% }! s( Q1 s
  18. Borland公司使用。这个司机只能界面与客户端库; X- ~' t% A' _  n5 I; w; a
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这& ]7 C3 Z. G* S: U' m
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    1 l* q9 M% g0 g8 [1 g. C0 w
  21. " vendorlib " ,并解数据库连接。 3 v) K6 K2 q# R/ P
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 + ~+ A) [# i# i* l6 G9 g

  23. / s3 ?) n+ ^( U2 L. B% v2 v, [
  24. # # #做好工作# # #
    ) \6 S# C9 Q$ w( i
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    * [8 }# B6 C% O$ j" y
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在6 [; A; z2 ?& y8 \; C  w; k
  27. 结束:
    1 c" u! m% b) |6 m3 ]  @2 i0 G
  28. ---削减这里---
    ) a9 w9 F$ N& W+ ?
  29. [ dbexpress ] # b4 d7 S2 @! P/ H
  30. sqldir = mysql_sql
    $ Z7 D6 g6 p  ~
  31. drivername = MySQL中; y- b  D2 O) t1 k  O7 i6 e  ~
  32. 数据库= your_database_name_here - c/ x  }  ~- m2 B* q0 ?
  33. 主机= the_pc_the_mysql - server_is_on
    $ q6 Y( U# ]3 }$ ~  ]$ U/ D
  34. user_name = user_name_on_the_mysql服务器0 A9 M* j5 v5 ?: B+ @
  35. 密码= password_to_go_with_above_user_name / F5 ]8 u$ J$ Z, x6 g, p
  36. getdriverfunc = getsqldrivermysql
    " ?  ?$ B8 `! d1 ~1 [
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ( p' Q; l$ H% ~# f3 T2 O4 T5 F/ y  o
  38. libraryname = path_to_libsqlmy_libary
    # q2 ]/ o% t7 O! z6 s2 p
  39. 积极= 1
    * z+ o5 U; g, _$ q$ x
  40. ---削减这里--- - C% ?# [6 o7 b  i5 w
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:   b, W. d& Y1 U7 _* P) t/ ?
  42. ---例如---
    6 b6 J! R6 n$ z3 h
  43. [ dbexpress ]
    ; [, I" }$ a+ w. B
  44. sqldir = mysql_sql
    7 j0 A8 G) w9 d
  45. drivername = MySQL中0 X3 v! }! y) p: {  F; P8 k6 n! |% W
  46. 数据库=测试
    + {" [  A9 D5 R( j
  47. 主机=本地主机  X( A1 ]- d3 X$ |: i2 Z
  48. user_name = testuser
    & m2 {9 \: }+ u
  49. 密码= my_password ' t) j9 J1 E% j* z9 j
  50. getdriverfunc = getsqldrivermysql
    % `* [- [) _4 x" {3 n' z- R% t: ?" T
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 5 f2 x1 e% @7 W. t
  52. libraryname =. / libsqlmy.so
    - _" C4 L+ T* ^. M3 n" `( u7 Z
  53. 积极= 1 ) j# z! ?- k( h, R
  54. ---例如--- , S/ ]* F8 I5 F4 T) U9 L6 Y, w4 ?
  55. . {( D. G! _9 T' c, `. `% E
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    + V  h0 B) `6 p, a: c( i3 C! x5 ]- `
  57. ---例如--- - J) h0 x- t* J' ~3 O+ L1 C% ?
  58. [ dbexpress ] " K: d( S' N: _6 C- F
  59. sqldir = mysql_sql ) G! B4 E4 s8 w$ A, R% w
  60. drivername = MySQL中
    7 o% l+ e" @6 @; x3 d( f2 A- h
  61. 数据库=测试( M; q; U. K! L% |. @) X, ^! d% E! O9 d
  62. 主机= 127.0.0.1 6 [+ `' M7 q) V% ]# d
  63. user_name = testuser
    8 u: E9 t4 y; f( m' Z
  64. 密码= my_password % J" m5 T; {+ H
  65. getdriverfunc = getsqldrivermysql : I3 B/ g: ~* m- Q* \3 [+ _
  66. vendorlib = libmysql.dll在
    & k$ q1 s2 d2 u# X7 V
  67. libraryname = dbexpmysql.dll
    - S( W. u6 }, A; t! t2 l
  68. 积极= 1 ( X0 r5 y" r( }% ]8 ]# J3 a& y5 o
  69. ---例如---- $ P. b% s6 Y* B5 h: h6 n9 k; [: J
  70. -写在0 2.03.04由p wk.linuxfan
    7 q7 ~( O2 K# {
复制代码
发表于 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# h- x( s5 K, v& p; }3 n, G) V& r
& v9 c' V+ r* 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-6-26 13:43 , Processed in 0.109981 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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