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

3535 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
* }7 [4 i# t' {+ Z* I2 e  O. n. P. x/ l3 E. P$ ^  p

  1. , m. z1 g& |: L# H8 F- v
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    1 N; L5 A6 A" q! \/ _2 U" v5 J

  3. & H" \5 d. ^9 `4 v1 S3 \" k
  4. ### What we need ###8 }% a( C1 P3 S: e% ]+ N; r8 ~9 e4 C
  5. Naturally, we will need a MySQL server to store the data for us, this document 2 C: j4 K" H! P5 d
  6. will not explain how this can be done - there are documents out there for the 0 l( }$ b; u; [6 \6 H0 ^8 `
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    : v4 P8 ~" Y- n* x" h2 n0 A
  8. and a user account (username + password) that has the permissions to do stuff
    - M7 N7 G+ n* J
  9. with the database. Additionally, you will need a vendor library installed on the
    4 k* c: i. k8 F# Y6 ^( N* L! T. c
  10. local machine, this came with my MySQL install.
    1 {+ R% x: R6 f4 k0 [
  11. These instructions will not tell you how you might transfer your data from the
    " `; ?: J6 {7 P0 I9 |+ H2 m% G4 A
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL* v- M/ L! Z  Q
  13. database.( t5 V; n# u0 ]& e. _+ F4 F/ g! s
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    3 m$ R1 C  A& P: D) t0 O! |; n
  15. the time of writing, there are still too many issues - check the current status
    ! j4 U) [( m; i8 U
  16. in the TeamSpeak forums if you are interested.
    ) s+ _# ]0 _: z* W
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    & O& h  t2 P" y
  18. Borland was used. This driver can only interface with the client library that
    3 Y& S4 w+ c: s0 d4 y3 q0 `) ?
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    1 Y" |9 n; d  r  ~8 s0 c) m
  20. client library - basically all you have to do is to use a 3.x client library as ( p9 `  g/ {- t, h
  21. "VendorLib" and a 4.x database to connect to.
    1 V: |( n  q( u7 T0 ~
  22. If you need more info about dbExpress, you can contact Borland.& l* E3 o$ L$ ~4 ^' m
  23. 8 K3 V* W8 D7 b6 m
  24. ### Doing the work #### i% K" o$ G' Z2 t, E0 g
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    / m% Z& p& ~2 @, _3 n
  26. the perquisites right, just open your server.ini file, and add this section at) ]5 L: h, ]/ @' u: H) N. @
  27. the end:) e' `% P4 s1 X* [8 F0 \' A
  28. ---cut here---
    - [; H+ y& |# x3 i
  29. [DBEXPRESS]
    % a& i2 z) p! d2 u! f- i
  30. sqldir=mysql_sql; z) q9 f4 P: [4 k" x
  31. Drivername=mysql& y+ Z, h# ?) c& U
  32. Database=Your_Database_Name_Here
    4 K8 X1 X6 L1 y+ z* V0 @1 H
  33. Hostname=The_PC_the_MySQL-Server_is_on
    2 F2 \# A$ S5 B: K& k
  34. User_name=User_name_on_the_MySQL-Server
    ! a* r+ H3 w/ E9 Q" J
  35. Password=Password_to_go_with_above_user_name
    - D: B% j% q* Z: m$ P5 _: `* B5 ]
  36. GetDriverFunc=getSQLDriverMYSQL: S7 |: p# t- D: S) ~
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib" a- e9 S0 Z9 N4 r: p8 X
  38. LibraryName=path_to_libsqlmy_libary
    - b* ]5 ?7 N0 I3 Y1 _' P  _
  39. Active=1
    ! N& f, v5 J3 |& C
  40. ---cut here---
    4 I" ]4 I' s0 y% S- A6 w
  41. In my environment (a linux box with a MySQL server running locally) I have:, ~* u9 X( N8 x' k+ N
  42. ---example---
    2 ?2 A  B# c" S, O! P/ x
  43. [DBEXPRESS]$ g+ o- x# \( \" w/ {
  44. sqldir=mysql_sql
    ; L# W! Z& _" M; l
  45. Drivername=mysql
    - @; v! _/ s' f" B' E
  46. Database=test" G! @' _7 q, p. H- h& s! X
  47. Hostname=localhost
    9 c& f5 Q$ \; D* f  s0 X
  48. User_name=testuser8 \' k2 Z& X( Z; [. H6 O1 h) ^. B
  49. Password=my_password
    8 j# e$ U5 y  p4 l2 e
  50. GetDriverFunc=getSQLDriverMYSQL
    ( z  \9 G0 c5 ~% f
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.07 Q- k$ G& y& D
  52. LibraryName=./libsqlmy.so
    ! d$ o' K9 Y# h6 G, \: V' M
  53. Active=1! a6 Q$ a+ J- `5 b! |
  54. ---example---
    ( ~% l5 z" H9 n# |3 O

  55. " F5 h1 Y9 L8 c
  56. On a windows box, also running the MySQL server locally, it would be:
    5 m' P/ b: f  f" d: T3 @# A0 U0 \
  57. ---example---
    ' q" ^$ U- Y& @  h
  58. [DBEXPRESS]1 J$ {& x5 M9 x
  59. sqldir=mysql_sql& ^1 |2 Z7 G, ^$ N$ Q+ W: X
  60. Drivername=mysql" J: S" H" R4 @$ ^# F2 `: ?
  61. Database=test/ G  f& C9 r1 U$ T* t
  62. Hostname=127.0.0.10 v3 j2 l& v& O" O( H  P' d
  63. User_name=testuser- d. O+ s6 l- a8 [$ J. ~  V/ X
  64. Password=my_password6 b9 V7 U4 G1 p4 {" @# R
  65. GetDriverFunc=getSQLDriverMYSQL
    3 P7 }& ?5 j, ^' q3 u- V9 i& t
  66. VendorLib=libmysql.dll- o5 `) P2 A9 k) S/ ~2 Q
  67. LibraryName=dbexpmysql.dll
    7 ^/ \# Z4 s" O3 E; D: X
  68. Active=1
    7 l7 i3 ?4 V/ d9 F! E4 @9 _4 V4 Z
  69. ---example----
    6 C" q( Y5 c7 E
  70. - written 02.03.04 by pwk.linuxfan  s5 `" P1 q) c0 P
  71. 7 G  T7 D/ u4 z. o+ r! d2 W
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看) T* r* I3 C; e. Y: R
  1. ! N  e/ _/ [- y. v
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ! g9 ]0 Y1 @1 b( N% X  {) Y

  3. ) F: B7 R- V6 P
  4. # # #我们所需要# # #
    / b- b1 R4 R+ U, c% u2 Q5 j
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ! H, {/ t! e% t" m4 N
  6. 不会解释如何做到这一点-也有文件存在,为
    + d+ `1 y9 P8 |: w' \
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用  I8 Q0 E2 w: f/ C5 T
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西. X; i8 d$ K2 |& d8 V/ L: s
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    / V* N1 Q5 U7 k! T) b5 K) G
  10. 本地机器,这是我的MySQL安装。 7 M" x: S" p: |4 S: F
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    + T3 I% ~* j1 _- `
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 0 Z( x0 q) u; |, s$ u  S2 y
  13. 数据库。 - Z0 \" D0 J, p4 k# b7 v( v4 @
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ; n# ~. R" d% _5 T& g: G3 ~1 l1 p
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    1 T8 d$ c/ q+ ]+ D* ?5 J
  16. 在teamspeak论坛,如果你有兴趣。 , q+ p9 g7 g3 {+ C
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机! |, _" {3 T, l$ R7 X- _
  18. Borland公司使用。这个司机只能界面与客户端库5 }5 ?- e  n  X2 j. p
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ' t4 _4 Z8 U! H$ _
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为" G* Y% t7 q. J6 q& d8 m" V
  21. " vendorlib " ,并解数据库连接。
    2 t" R- r5 d' F8 V! p# p
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 / r% C, P8 F5 t3 p: l, n

  23. ( F& X' t! K. _; K1 Q' |- g) x
  24. # # #做好工作# # # , E8 D( [- `* O0 l2 n! R' J6 F
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都; N# A1 r0 A! @/ l" b; j8 ?& a
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    1 w+ C$ i5 Y% J4 D+ Y* s
  27. 结束:
    & V( w" ^/ Y( P' z% I" A" p
  28. ---削减这里---
    , C+ I+ Z( k; Y( r, ^
  29. [ dbexpress ] 3 u4 {$ S& r$ M" `( |4 h
  30. sqldir = mysql_sql , f; J: G) ~2 D( _* l7 q' r
  31. drivername = MySQL中( x5 B/ X8 ^6 `: }
  32. 数据库= your_database_name_here , G0 h+ [, c1 m/ c: \/ O
  33. 主机= the_pc_the_mysql - server_is_on
    , w, X9 M' V0 ~" N3 {
  34. user_name = user_name_on_the_mysql服务器
    % L' T% e# w, C+ q
  35. 密码= password_to_go_with_above_user_name 4 U* b2 W% x5 O/ o" S* s
  36. getdriverfunc = getsqldrivermysql
    . ?1 ^5 ~; o* x: z3 h* {
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    5 B! {9 R* k7 a9 p( _: Z
  38. libraryname = path_to_libsqlmy_libary 3 ~! p! y# ~2 `8 S8 ^; a' `
  39. 积极= 1 9 X$ L- O7 M" k
  40. ---削减这里--- 6 p# H- |; L9 u# W+ t. N
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: , ~( `  |! U$ v) p3 `1 E, |2 M
  42. ---例如--- ' G6 ~$ S; B$ O" q: \
  43. [ dbexpress ]
    9 Y( ^1 K7 {" ?9 K% w: R- z
  44. sqldir = mysql_sql , W/ _8 v: c7 \5 R5 V
  45. drivername = MySQL中; n% q+ F1 h! |2 S5 P1 U0 V
  46. 数据库=测试
    / p" K! y1 I& ]3 B
  47. 主机=本地主机5 e6 X, J1 |8 m- i9 K0 |
  48. user_name = testuser " i' R1 a% l$ q7 e" O
  49. 密码= my_password
    : x* n/ d5 c0 M2 L
  50. getdriverfunc = getsqldrivermysql
    # [& ~4 ?) h( D0 i
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    . l4 B, Y! D) T  f5 U
  52. libraryname =. / libsqlmy.so
      g' m; V! b- V! c3 k
  53. 积极= 1 5 H/ C. Y* _7 e, U* u
  54. ---例如--- % V8 l" T$ [# c4 c0 M6 i- h$ b9 Z

  55. 9 O6 A, b& J6 a4 R: |6 [
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ) Y1 n+ n# ~' `* ~) W1 S5 f+ B; L5 a
  57. ---例如--- 8 I) P1 l  U3 s) f) D1 W) X
  58. [ dbexpress ]
    1 D4 v5 O5 M% x+ t/ f2 ^
  59. sqldir = mysql_sql 6 A, L* _4 R9 q- V* a
  60. drivername = MySQL中! [. ?. `$ k7 P
  61. 数据库=测试' |. I4 n$ l# {# T" ]+ W- I
  62. 主机= 127.0.0.1 3 W( ^. B* O' F4 `
  63. user_name = testuser 6 C0 ?. ]# |, a4 Y
  64. 密码= my_password $ M7 w& q4 q9 Z& F7 x
  65. getdriverfunc = getsqldrivermysql   o! Y5 d9 z& p$ U8 ~. h; V; @
  66. vendorlib = libmysql.dll在$ l- B4 B3 z( ]- T9 g- j8 X
  67. libraryname = dbexpmysql.dll   X/ T& z1 `. \8 j
  68. 积极= 1 0 l7 F/ o0 E9 z5 o! w' b' L! m
  69. ---例如----
    ; G! j# X; t$ b" C) J) t& C6 W# X
  70. -写在0 2.03.04由p wk.linuxfan7 [+ q$ V& P2 U% C4 }4 C
复制代码
发表于 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- E9 `. \1 X: G7 c6 ?( O

+ C) F% o$ A  V7 tbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-18 21:37 , Processed in 0.063951 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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