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

3558 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
: B7 B, i! H1 f) F& \- k) ~& W$ J; h9 u$ P" T' s  x% u4 l

  1. 8 v2 ?% N3 E* P! F
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    # [# k* `  {# b1 W! d" _% e
  3. 3 S2 I: {% r7 h4 \9 t% \7 _
  4. ### What we need ###5 p. m% F" @- L
  5. Naturally, we will need a MySQL server to store the data for us, this document   s7 R# \; N- _8 I- `5 e8 X
  6. will not explain how this can be done - there are documents out there for the ) ]6 V' M6 S; h0 |( q- Q
  7. interested. The requirements include a (empty) database for TeamSpeak to use0 ~- ~# E) U5 F0 O! W/ i% \* e+ p* ^
  8. and a user account (username + password) that has the permissions to do stuff' I3 ?- ~9 ?9 b$ B
  9. with the database. Additionally, you will need a vendor library installed on the2 h, x* u/ l$ t  k
  10. local machine, this came with my MySQL install.! j( o" N7 Z1 E8 f4 E# a& g
  11. These instructions will not tell you how you might transfer your data from the
    ! f, l, X: b& X2 r7 X+ r
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL+ T; M( a- x+ ~/ F7 ?
  13. database.
    6 [5 Z: Q3 F5 r$ W, G4 |: v
  14. Some users have reported ways to import a SQLite database into MySQL, but at8 ?! c( h' m) |9 \- K
  15. the time of writing, there are still too many issues - check the current status
    ( d6 f' x4 T0 N! Q3 v; A3 r
  16. in the TeamSpeak forums if you are interested.
    - W) C: x1 t" Z+ `
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    * N. D' `1 M) U, J
  18. Borland was used. This driver can only interface with the client library that 7 H2 J+ y: f; O/ p: W5 {9 r& O; o
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    % m1 X/ t  Q4 d
  20. client library - basically all you have to do is to use a 3.x client library as & p! u1 F+ {- u7 D& E
  21. "VendorLib" and a 4.x database to connect to.$ k# x2 g  x8 \+ q4 B0 J- z  \
  22. If you need more info about dbExpress, you can contact Borland.9 k2 ?0 E" ]6 }0 C6 K

  23. . H$ i) s/ G9 {) {/ D: Y) @( D
  24. ### Doing the work ###
    1 _' t& i: N' z) F8 y& F  d
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all" S) Y; c8 W0 _1 _8 z
  26. the perquisites right, just open your server.ini file, and add this section at
    0 u5 b+ M9 z# `: s1 b# ^7 J. A
  27. the end:* i1 X) z9 j* y3 h/ Z
  28. ---cut here---" s2 g  W/ T. w" S
  29. [DBEXPRESS]
    + o4 o/ z. _- r, |8 N
  30. sqldir=mysql_sql
    ) Y8 m9 J" z( F2 b0 i
  31. Drivername=mysql" h( A0 ^5 i5 ~, ?1 y! h4 \  F
  32. Database=Your_Database_Name_Here
    9 j, s8 R, a) O3 V) z) \8 U
  33. Hostname=The_PC_the_MySQL-Server_is_on9 G0 u0 X2 P4 ?* r0 z' z3 N
  34. User_name=User_name_on_the_MySQL-Server
    0 _, y2 ~/ c' R" j, ^$ S6 I9 M# l/ d
  35. Password=Password_to_go_with_above_user_name
    6 I9 H9 p( o: W) s4 Y- f& Z- X
  36. GetDriverFunc=getSQLDriverMYSQL
    % J3 w2 \$ k% C) q  S9 k0 x
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    , ]; R% F" S8 r" ^& x" s
  38. LibraryName=path_to_libsqlmy_libary# g* V) O# z9 O0 v9 }$ H
  39. Active=19 A" ]9 G  x4 E4 O/ s' G8 L
  40. ---cut here---) L0 v) G: s0 |7 H
  41. In my environment (a linux box with a MySQL server running locally) I have:5 J0 j: Q  W0 i2 i9 q) d# p
  42. ---example---
    ; [# \4 M: x9 r7 Y. y
  43. [DBEXPRESS]
    & A% s# e$ K4 v) G7 s2 q+ L+ l  k) Y
  44. sqldir=mysql_sql
    : m, \/ Y5 X' U( b- `
  45. Drivername=mysql
    2 C  |+ C- g  F8 `! V
  46. Database=test* Y: F( v- t/ l
  47. Hostname=localhost
    * x5 o' S0 J# s0 Z: w$ ], C
  48. User_name=testuser
    ' v# \9 \% f. e: b$ q6 u4 _
  49. Password=my_password% Q# K7 W! m0 _" {
  50. GetDriverFunc=getSQLDriverMYSQL! U3 M9 e! r& G
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0# U" y( x: ?' ~+ b+ s7 [" E
  52. LibraryName=./libsqlmy.so8 t- m+ \7 ]! I# x
  53. Active=1
    3 U; H# S2 R) q; v% [7 i
  54. ---example---0 B6 l( p7 @3 w9 z) e

  55. ( g5 n- }4 I. }9 x& j- R+ B; j  G
  56. On a windows box, also running the MySQL server locally, it would be:& i/ Y( B, Y- D( K, |" b" V) _
  57. ---example---
    * {0 a5 B- z) ?0 t( i2 M$ U
  58. [DBEXPRESS]8 X" i, O. }: {+ x# M. r( C, X
  59. sqldir=mysql_sql
    / d) Q; d0 A: _- Z1 k. X
  60. Drivername=mysql0 v; ?! e* h- ^! G
  61. Database=test
    ( g. V  T5 E( _* j5 F0 D4 V
  62. Hostname=127.0.0.1
      l* g4 m+ ^. B
  63. User_name=testuser! l5 Z8 }+ q& s. L' d  }& e
  64. Password=my_password0 P; V# W* R6 ]+ ^
  65. GetDriverFunc=getSQLDriverMYSQL
    , ]* W3 h" O0 Q: Y. [0 F
  66. VendorLib=libmysql.dll
    * l+ k, U, f0 _+ C0 ^
  67. LibraryName=dbexpmysql.dll+ ]' u1 B& c5 K1 w0 n
  68. Active=1( j% g2 m  a- D' [0 S/ P
  69. ---example----0 X9 v* C. x0 }$ B
  70. - written 02.03.04 by pwk.linuxfan; e; m, p8 e2 G

  71. ) F6 @+ v- n, ]3 h" I' S/ c; f
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看& V/ t- e- j3 \1 o

  1. 5 U, v, \2 X: r% o- C* A; D
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### % Y$ S2 y* l4 d6 a* b
  3. # K0 a" H* a) P; ]) H7 y2 g* I
  4. # # #我们所需要# # #
    - \2 T3 c/ u6 R2 ~) Q# X
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件* K, h+ v- J- S  u. p
  6. 不会解释如何做到这一点-也有文件存在,为
    " A6 l9 \: o/ g7 c0 ?' s
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ) C* q/ ]$ S* ]- v
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    $ a7 p; V5 b: t. L4 z* G
  9. 随着数据库。此外,你需要一个卖方图书馆安装于* h: E# Z/ O* m0 a
  10. 本地机器,这是我的MySQL安装。
    % }: \" {1 I# d, h) r; P, r
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    3 t# {+ Q/ S" r# Q' V+ I( k
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL : `% p8 T! Z8 E, b' F0 h
  13. 数据库。 4 V8 o# G) s0 ?$ Q/ Z5 H, p( a0 w2 D- g
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ) \) R1 Y0 h2 |6 q: l2 X
  15. 编写本报告的时候,仍然有太多的问题-检查现状
      g1 S' }& D- c7 S: H0 j
  16. 在teamspeak论坛,如果你有兴趣。
    - d9 l. H! B0 h, z5 o# U- R+ Z
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机; p) U+ p: i2 {/ o' e& i
  18. Borland公司使用。这个司机只能界面与客户端库: {: T+ ^- |8 W  P0 Y
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    3 y& V2 `2 r4 P: K: S% h4 p
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    9 Q- p+ c9 {4 i& \3 n; p
  21. " vendorlib " ,并解数据库连接。
    : m. j  _! k* ]4 q$ `: H
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 " \4 [) [6 K2 @6 a

  23. & r* g  d  V: E  Z% G! Q( p9 w
  24. # # #做好工作# # #
    ) T# B9 y; Z( E/ u5 R3 Y: t; @
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
      I7 O  a9 C5 I6 _; @. G' a5 u
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    6 l' ?* X3 }7 w0 E4 n
  27. 结束: 5 Y7 R" L; x1 ]- a8 n$ A
  28. ---削减这里---
    $ H$ L4 ^/ k0 i' F' A
  29. [ dbexpress ]
    & K! n; S+ z/ T
  30. sqldir = mysql_sql
      U. V- V. n0 ~% v+ I
  31. drivername = MySQL中
    / D- @/ E! |( d% r: w
  32. 数据库= your_database_name_here
    5 l$ W+ c; g4 ?& ]0 m. n
  33. 主机= the_pc_the_mysql - server_is_on
    ' S  j& M( F# {, S
  34. user_name = user_name_on_the_mysql服务器  \7 M4 Z0 c, Z/ \" J) ^; y
  35. 密码= password_to_go_with_above_user_name
    : p3 E1 v$ u( m5 }
  36. getdriverfunc = getsqldrivermysql " v/ @; D# x# z( d
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib & I' q8 o/ j" |( J
  38. libraryname = path_to_libsqlmy_libary
    - t6 `# J+ s9 ~
  39. 积极= 1   B/ j! _3 g. {0 s
  40. ---削减这里--- 7 }" i, n, t: I6 o$ H7 h" I: y. w6 _
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 0 l) j7 M" W3 `9 w9 v1 f8 g+ {& m
  42. ---例如---
    / y$ S8 ?7 `1 P* A
  43. [ dbexpress ]
    9 \& g# J8 t. w* l
  44. sqldir = mysql_sql
    9 V* k6 G3 R6 S! P4 x
  45. drivername = MySQL中
    ; v1 X: j8 p$ l% d; ]
  46. 数据库=测试
    - j* U" T/ ]& b7 @: R: v
  47. 主机=本地主机
    0 C' X, K6 Q4 U/ A
  48. user_name = testuser 4 w0 b+ D4 S& u0 |$ t9 m* j
  49. 密码= my_password . [% t+ K+ l6 ~/ l5 p4 f' e" M, t
  50. getdriverfunc = getsqldrivermysql
    * T# S- ]% _$ p- h1 N3 k
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 " m4 w8 k- U! i6 n. N$ H8 c
  52. libraryname =. / libsqlmy.so 6 T' G4 ~& J$ }9 f
  53. 积极= 1 8 L4 W4 w. E; \9 Z. f, I
  54. ---例如--- & \( F2 F' A# V/ m) N6 K

  55. / z8 W5 ?4 n, I% h4 a
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    - J% N2 B8 Q, J, I
  57. ---例如--- , g. A1 {5 @" y" n! P; C
  58. [ dbexpress ] , ?8 ^2 g4 [. D: v9 q; x
  59. sqldir = mysql_sql . ]& c% t0 y3 M) Z0 G3 M2 w# p
  60. drivername = MySQL中, v. W$ [. R, Z$ v1 [
  61. 数据库=测试3 L& n) }+ V4 X- w  j
  62. 主机= 127.0.0.1 ; F  ^4 [- J5 [
  63. user_name = testuser 1 `5 I. g; a% ^8 M8 @7 X( ^7 k
  64. 密码= my_password 0 ~- d- c* S3 w2 H
  65. getdriverfunc = getsqldrivermysql 9 O5 I4 Y4 C  h7 z' B9 {$ N+ K! J- }
  66. vendorlib = libmysql.dll在
    ) o5 {2 s* i# b4 y$ s/ |1 Z
  67. libraryname = dbexpmysql.dll
    1 F8 g* @4 \0 ]( |, Z# v3 e
  68. 积极= 1
    7 a$ {4 o; @6 Y  {( @* {: u
  69. ---例如---- ( h8 X! v# i% C  N$ K/ J8 j
  70. -写在0 2.03.04由p wk.linuxfan
    5 R- \( F% N- z4 E2 _0 S
复制代码
发表于 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
! z- ]* G; B5 F6 \2 [+ u
  [( X" ~* I9 ^  t/ s8 q+ O# |# J2 Dbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-24 13:58 , Processed in 0.044050 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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