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

2983 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 1 y. {0 ~  w" U' X5 M, ?; h+ M3 U7 I
- Q! H0 X1 \$ f( ]9 S: F
  1. ) C; X- g/ e' @/ Y/ A$ ]: ^
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######/ }0 m* Z+ Z+ W* j
  3. 9 G9 b7 f( y! a0 `' _' E5 q% X3 H
  4. ### What we need ###
      E5 Q" M3 F( e" `6 y
  5. Naturally, we will need a MySQL server to store the data for us, this document   N  R. C9 _, v4 R( t4 c
  6. will not explain how this can be done - there are documents out there for the 2 l9 m+ w, U; G1 X4 N8 p
  7. interested. The requirements include a (empty) database for TeamSpeak to use( R, V. I( \0 |8 V) D* U- }' \
  8. and a user account (username + password) that has the permissions to do stuff  n7 P) N( _7 T$ C
  9. with the database. Additionally, you will need a vendor library installed on the
    0 D, w: Y3 Z7 e" R
  10. local machine, this came with my MySQL install.) U% ~7 S, e5 v& d  J7 x& K
  11. These instructions will not tell you how you might transfer your data from the( K) G# s: |/ a8 q3 q2 C' M
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    / f: [9 h) }/ [* q4 }' L3 e
  13. database.  T! Y$ y) M' [# X
  14. Some users have reported ways to import a SQLite database into MySQL, but at2 C+ o8 j6 N1 I0 ?* E0 [
  15. the time of writing, there are still too many issues - check the current status/ c1 U( b8 l9 y* D
  16. in the TeamSpeak forums if you are interested.. i* H4 J& P3 d: J+ Z: N
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from$ k. Z; t3 m" h  X7 f- _4 N
  18. Borland was used. This driver can only interface with the client library that
    9 X+ r+ E. D4 c% T$ i3 \7 T/ A
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this; p) ~# U% I8 _
  20. client library - basically all you have to do is to use a 3.x client library as + i/ e  l8 ?. T5 V$ r- X5 _8 H
  21. "VendorLib" and a 4.x database to connect to.
    ; Y2 Q+ b( E, T  ?
  22. If you need more info about dbExpress, you can contact Borland.% u( t$ q: d1 P0 _, B# w

  23. 3 o! _: p- ?' \4 k1 S5 u
  24. ### Doing the work ###
    ( X6 F5 ~* ^9 H$ n# R7 [
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    % D1 h+ L0 y/ E. v
  26. the perquisites right, just open your server.ini file, and add this section at
    7 Y& K4 Y3 k( v+ C" n
  27. the end:5 }3 x" D0 S0 F3 @8 ]& Q/ n4 f
  28. ---cut here---
    5 a8 T* j) v" I" W9 f6 ~
  29. [DBEXPRESS]3 \8 t$ m0 z  Z( c6 T
  30. sqldir=mysql_sql
    6 @1 b& A7 U' u' e- j" k5 e
  31. Drivername=mysql
    : C" T& P" g3 \0 X9 E
  32. Database=Your_Database_Name_Here: r. i: ]* w) e+ |
  33. Hostname=The_PC_the_MySQL-Server_is_on, l4 z4 K1 _# M% D. \; j" u
  34. User_name=User_name_on_the_MySQL-Server. y3 U9 y" [; y6 Q1 D
  35. Password=Password_to_go_with_above_user_name' |. M. i( v* D. ]3 t, h6 o9 r
  36. GetDriverFunc=getSQLDriverMYSQL
    ! A$ s, t1 V  B& z( F8 G# t
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib6 o( {* N  e- m7 p. m
  38. LibraryName=path_to_libsqlmy_libary
    6 X' r5 u  p; y7 c
  39. Active=1
    5 i9 H* |5 X1 z2 s% x2 g
  40. ---cut here---
    * s' b% s' k) A& n& u  m4 @
  41. In my environment (a linux box with a MySQL server running locally) I have:
    5 U7 f5 Q/ m: ~3 X" I# N- s
  42. ---example---- W5 l6 e. f& g. q" |4 }, `
  43. [DBEXPRESS]
    5 C" u3 ?5 B4 @& ?
  44. sqldir=mysql_sql
    " F' d2 g9 h2 ?% S* r2 ^4 d
  45. Drivername=mysql
    ' d1 k7 l* U8 Y1 ?9 N
  46. Database=test0 P& s0 s+ `5 [5 J- a* Y/ |5 _
  47. Hostname=localhost
    & r4 @$ ]2 Z: A6 X4 I9 v6 m8 u
  48. User_name=testuser! h, e; T2 b8 F, \" f
  49. Password=my_password
    + v& c, J# ~  G$ S. j! @4 e
  50. GetDriverFunc=getSQLDriverMYSQL
    5 z" y7 `- ~" v
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    9 K* x- w+ d' F2 v
  52. LibraryName=./libsqlmy.so" i/ P3 Y8 c/ Y! f
  53. Active=1) U7 G- e6 w: I- E
  54. ---example---
    , W7 c+ [& v0 \% U

  55. / k9 Q  a, F1 u, D' q- p  _- K
  56. On a windows box, also running the MySQL server locally, it would be:/ a4 I8 T, a; M- ~+ Y8 q% l
  57. ---example---
    % g- _/ i: ]" S
  58. [DBEXPRESS]
    3 g0 {. `: }  e% U
  59. sqldir=mysql_sql
    & `3 I$ R# v& q4 \6 }/ e- i
  60. Drivername=mysql
    $ p7 q/ Q9 u( F/ z
  61. Database=test
    8 d% r% N; }' C! {- n% A0 T
  62. Hostname=127.0.0.1
    % X: \# H" Z% s2 Z5 c: f' j
  63. User_name=testuser; n3 z5 \1 N9 N: ^2 J
  64. Password=my_password# p& n" H" I& v1 t$ A+ e  ^* f  x
  65. GetDriverFunc=getSQLDriverMYSQL8 t! w5 w5 e" j8 V; k/ I
  66. VendorLib=libmysql.dll) R6 F" j% A8 F" Y! P1 p% T5 F/ f7 s
  67. LibraryName=dbexpmysql.dll
    ! ?) ]1 q3 W- u4 X2 k% d) d
  68. Active=1; x3 P3 D( j) ?( v
  69. ---example----
    % H0 l0 w  y4 [5 g8 [) D( u4 `) K
  70. - written 02.03.04 by pwk.linuxfan. {! X$ y2 N" _) Y
  71. 2 o* T0 W! @" W
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
3 J/ l* A, Z& l' w7 V1 [" B, N! s
  1. . q# ~# N1 i7 f
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 2 q3 ~, s0 C8 Y. E+ Q3 F

  3. ) E- V3 p1 U  I8 U
  4. # # #我们所需要# # # 9 H, E) d1 E/ l/ ~
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    - i4 B% [3 p" m% b6 H! n' B* H- ?0 |: ~
  6. 不会解释如何做到这一点-也有文件存在,为7 @  C6 {7 G0 P; d' O
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用/ J( s8 s9 v+ Q+ A4 _
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西: B% ~$ k7 w# }. J! P- Q- M
  9. 随着数据库。此外,你需要一个卖方图书馆安装于4 u9 Q) S5 a- T% S3 m9 u
  10. 本地机器,这是我的MySQL安装。 7 m9 U* i+ h5 Q9 [7 ~
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从2 e! C' z  ?$ M
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL # w7 f( o* i2 w# T, u) _0 ?; u8 \
  13. 数据库。
    4 I, [* u# ~3 p3 f8 e8 U. C) n
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在3 x8 G6 U. ?3 W2 M# {( B
  15. 编写本报告的时候,仍然有太多的问题-检查现状+ F7 M) F$ I( u, z1 L7 p: J
  16. 在teamspeak论坛,如果你有兴趣。
    3 T2 L3 b7 Y' x
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机- g) P. \0 o9 w
  18. Borland公司使用。这个司机只能界面与客户端库
    ; `# [  ^% N. w
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这6 ]! {$ \: r8 y' g0 c* s+ O  t
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为3 b- y6 a+ p7 Z+ P; D5 {
  21. " vendorlib " ,并解数据库连接。 % S" R6 ]  t8 y4 O$ U
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    5 L$ e: s+ W6 @6 \8 W0 p% d: D
  23. 5 K1 o4 [( B) n' `9 g- P2 Z4 I
  24. # # #做好工作# # #
      G  @- K7 a% [, m0 b7 {
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都3 P# o  ]- h$ k4 Y. a) @0 H3 I% d  [
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在1 p* l9 w: I) N" P$ a: ~
  27. 结束:
    & L/ p% }" G$ ~
  28. ---削减这里--- ; h7 T6 K9 y: c6 q8 e& L8 X3 @6 \
  29. [ dbexpress ]
    ; r; f- Z9 w. m) f- S7 b. H/ H# R8 V
  30. sqldir = mysql_sql 9 ~2 B( w1 N: G) ^" P, A% x
  31. drivername = MySQL中
      s: u' U: S, N; C$ M6 N+ U2 E6 u
  32. 数据库= your_database_name_here ' S2 i8 q9 }& P6 b$ i% T
  33. 主机= the_pc_the_mysql - server_is_on ; `) ?, j7 p3 l8 w0 e- a' m
  34. user_name = user_name_on_the_mysql服务器
    ' L$ n4 \$ {9 a) O" j. Z/ l
  35. 密码= password_to_go_with_above_user_name " s+ B' H6 K( A! R" B
  36. getdriverfunc = getsqldrivermysql 7 @) F1 `3 H7 i) t  E/ ]6 E! \
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    & B5 z. s0 a# M* F
  38. libraryname = path_to_libsqlmy_libary + S1 D' Y: s/ j% c) i: c
  39. 积极= 1
    / a! ^: w& A( ^- F6 _: g9 n
  40. ---削减这里--- $ P( M" I& x! V" ?2 a0 }. G
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: % ~/ x9 u; _* _2 H& O
  42. ---例如---
    $ j% Z( G" c, K1 g2 ?% ]
  43. [ dbexpress ] ( [* o$ D" a& w5 V+ J
  44. sqldir = mysql_sql
    ( Y; J5 i3 `  ~+ Q
  45. drivername = MySQL中+ p! _0 S2 |! R% r7 z/ C, ]3 e6 R; B
  46. 数据库=测试+ n+ r# u# {) G: c, x2 O
  47. 主机=本地主机5 N1 ~0 C2 k% m: e
  48. user_name = testuser 0 `7 }7 k: x1 |# l3 A$ J
  49. 密码= my_password ( ~+ A; B) R9 h& t$ U3 t
  50. getdriverfunc = getsqldrivermysql
    , k: T- U: D8 x" j! `, O% J5 _7 t
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ) }2 _* _/ b; R  ^3 |6 a) S; k. M3 d
  52. libraryname =. / libsqlmy.so
    0 s$ B3 B* o. r9 ]7 ^9 f
  53. 积极= 1 + `6 @$ ~1 ?7 P# S! D
  54. ---例如---
    $ S; ]4 w4 |$ y) X2 X1 y' }

  55. 7 ]+ k" j$ ^3 v$ a, j
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ! T  g- X7 C6 o; b/ y0 h
  57. ---例如---
    2 ]$ {7 R& e" Q3 f" n
  58. [ dbexpress ]
    ! v3 W0 }+ p" Y9 ^! S
  59. sqldir = mysql_sql * G6 k( d  d4 u; @  e3 I
  60. drivername = MySQL中9 z$ U8 O( c; e+ L: Q
  61. 数据库=测试
    4 M3 z+ S) v$ V; t
  62. 主机= 127.0.0.1 * V9 f7 F* l$ M( D+ V$ P
  63. user_name = testuser
    ) v% g0 I# X# Y) k( k
  64. 密码= my_password $ a* X7 n0 e  V5 _
  65. getdriverfunc = getsqldrivermysql
    " Y, u# ^9 C/ K2 Z
  66. vendorlib = libmysql.dll在
    5 @) x8 H" A/ _
  67. libraryname = dbexpmysql.dll
    4 a7 L7 T- @# K( ?+ J/ J
  68. 积极= 1
    9 ^. Q+ _7 O& Y+ g' i- B( L& @+ x
  69. ---例如---- - z, U  M) T0 u7 J; _
  70. -写在0 2.03.04由p wk.linuxfan
    * q: v3 h9 [- {6 i
复制代码
发表于 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
0 [5 g- H0 h' a" m. E# |" w( K
' o1 D/ W- w0 n; M2 `) }/ ubut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-5 10:27 , Processed in 0.106903 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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