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

2244 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan $ |  t6 u: Y. c  L0 V( H6 t6 I
* @( A$ U, A6 y- D
  1. 4 D0 H. g5 Q4 x+ b; }: V
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    6 ?6 P* a5 }6 D
  3. 2 n" r) e- Z) T
  4. ### What we need ###
    9 |6 O( D  M4 y* T2 J# _
  5. Naturally, we will need a MySQL server to store the data for us, this document 1 v5 [1 n' e1 v, r
  6. will not explain how this can be done - there are documents out there for the
    * u' E9 h" S' F2 G  m
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    5 N* ~2 E1 O4 E. z3 C2 P7 [
  8. and a user account (username + password) that has the permissions to do stuff* h) T$ Q) S/ i8 _$ [/ {; p
  9. with the database. Additionally, you will need a vendor library installed on the
    5 Y$ f; O8 b& M0 f  A" `3 i! L
  10. local machine, this came with my MySQL install.6 Z7 p* k, {6 k6 r  U3 O; T7 ]
  11. These instructions will not tell you how you might transfer your data from the+ G" I  s% i6 l4 E# c4 R5 a7 u& K, q# n
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    " E* N$ J+ B) M- n2 Y! `  l
  13. database.7 p6 l- Z" [- `7 `2 o% f
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    9 y( m2 n! h8 o1 G" V7 l
  15. the time of writing, there are still too many issues - check the current status
    ' u+ Y/ ]7 K2 `# |2 w
  16. in the TeamSpeak forums if you are interested.
    ) o- [9 c( h# l
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from; P- y; c+ x1 A% Z0 U8 B
  18. Borland was used. This driver can only interface with the client library that
    ) A6 p$ p4 a. e9 _; p4 t: T( i
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this) A/ T% |* R% H7 i/ e
  20. client library - basically all you have to do is to use a 3.x client library as 8 v4 _* i$ P$ Y, \: n. H! ?# N
  21. "VendorLib" and a 4.x database to connect to.4 k1 K* L5 s5 T) F4 U( h8 `
  22. If you need more info about dbExpress, you can contact Borland.
    / m3 L* U( G- {- C' q6 b+ ^7 Q

  23. 0 i, K* J/ d9 H" n/ D$ O# P
  24. ### Doing the work ###
    * x* u0 e/ g7 e, |8 q3 C# x$ b
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all# }1 T" |1 x: K: P* r
  26. the perquisites right, just open your server.ini file, and add this section at8 `) X. r6 E  y5 e9 ^5 k
  27. the end:
    ; [% }2 `) K! n7 k
  28. ---cut here---0 k; T; H7 U$ E. H, w. z0 S
  29. [DBEXPRESS]
    ! I7 L5 m& E! r0 D
  30. sqldir=mysql_sql# M0 S; ?" q. z* C3 b* E
  31. Drivername=mysql
    + |  B8 X+ m8 v9 ^9 b! E3 d/ c
  32. Database=Your_Database_Name_Here( U; Z) e. n* s9 Y/ `& [" _
  33. Hostname=The_PC_the_MySQL-Server_is_on
    * H. Q2 }: ~# _/ [. T! A
  34. User_name=User_name_on_the_MySQL-Server
    8 k6 e" `/ Z1 `4 s
  35. Password=Password_to_go_with_above_user_name+ O9 B1 c: f3 }- Q( q/ ?
  36. GetDriverFunc=getSQLDriverMYSQL( \# [0 X" A6 I1 _) x1 h2 W1 b3 z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    & K+ F. a3 d( P$ H8 Z0 ?
  38. LibraryName=path_to_libsqlmy_libary; C& o; N/ c' @& d
  39. Active=1
    ; E7 t" x/ B1 M; M8 C9 J. J
  40. ---cut here---0 n- |5 g. A  Y$ ~8 o+ ]9 w; N
  41. In my environment (a linux box with a MySQL server running locally) I have:
    1 Q: K) _0 p! N  k: }  K
  42. ---example---3 ?/ m6 Y0 H& @/ q) {# u
  43. [DBEXPRESS]
    & B$ @, b' [1 U; I& Q
  44. sqldir=mysql_sql( }8 |; x8 k8 o( R/ p
  45. Drivername=mysql( }% T' v' J+ v/ E- @2 N1 a& u
  46. Database=test
    - o) V4 Y6 v) G# S" r1 W
  47. Hostname=localhost
    6 A. V9 H3 B! w$ j4 I0 U
  48. User_name=testuser; ~$ c4 V/ \5 {; y* {: x' U
  49. Password=my_password
    6 Q. j) A5 Z9 K/ \
  50. GetDriverFunc=getSQLDriverMYSQL5 G2 q5 D3 l- ?+ v9 W
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ( ]8 T* }3 k  g
  52. LibraryName=./libsqlmy.so
    % P3 L% v/ ?* `4 w! B5 }
  53. Active=1# ^8 b' _+ i5 C1 y- o
  54. ---example---+ T* _# M9 C4 l+ p
  55. . R$ U$ i: [5 F
  56. On a windows box, also running the MySQL server locally, it would be:: z4 r: B( d4 T; i* s
  57. ---example---+ R1 E! ]9 o/ Z' U" S% h, U( H! c
  58. [DBEXPRESS]
    # q4 \6 ~' z- m6 o# p1 y
  59. sqldir=mysql_sql
    " G+ {* V! a! a) Z; F3 N, ?$ k
  60. Drivername=mysql
    ! |/ n. l( T, `  w) @
  61. Database=test: m0 _8 T2 y4 B/ {0 H
  62. Hostname=127.0.0.1( d5 F7 P4 S' h' A% P% a
  63. User_name=testuser* q& ~1 u8 D  u: E+ I4 A  U
  64. Password=my_password
    ( L6 {) J/ B& A2 O1 K8 ^3 n2 C8 ?
  65. GetDriverFunc=getSQLDriverMYSQL
    # A* n6 x% l2 E* v4 y6 a
  66. VendorLib=libmysql.dll
    6 D: m  u# g4 u# F: o. [0 H
  67. LibraryName=dbexpmysql.dll6 m7 J2 c/ F- w; U' u  P
  68. Active=12 z2 u, O- V8 h
  69. ---example----3 |( f: y# I, A1 S
  70. - written 02.03.04 by pwk.linuxfan+ e1 g5 X, j) t4 }: w
  71. + R  l: U9 V% N8 N! ]4 d
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
+ W7 ^0 W2 W/ N6 j1 @; I9 h

  1. * i% b5 k9 D0 u2 V, S& t
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ( }1 b# M6 M. B* {/ p
  3. $ h+ k. \- A7 ?6 g
  4. # # #我们所需要# # #
    8 r; f8 y8 e* B, c. o0 J
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
      }4 W/ U' [6 Y! k! G
  6. 不会解释如何做到这一点-也有文件存在,为3 t; A. W/ `/ s7 o; l
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ) L# [0 v/ @6 w. B' I% D) b  r5 n
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    0 A5 Y5 L3 ]' c6 o/ D& j9 S
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ! i: d  |5 @6 p1 j  C- E' [
  10. 本地机器,这是我的MySQL安装。
    " L& i. a( h* @
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    . e' }) d: }. ?) A
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 1 v5 D7 Q5 q& @4 H2 A7 @9 ]/ Z
  13. 数据库。 2 h: N9 A0 T1 }9 {/ k5 T9 W
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    & E9 L) f* s# F* Q9 {
  15. 编写本报告的时候,仍然有太多的问题-检查现状+ ?1 C% n1 h+ E( ^
  16. 在teamspeak论坛,如果你有兴趣。
    ' S# u# \9 W' i+ |+ z
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机5 a; O0 Z5 Y6 }) r) E
  18. Borland公司使用。这个司机只能界面与客户端库: ^$ _( x7 f+ ^+ L
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    + k: q' U$ Y, {1 V/ [# |: D6 _
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为8 L7 d* v% W( y
  21. " vendorlib " ,并解数据库连接。 9 [2 O% p" I- G: H/ g1 R, _
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 . G/ t( @7 D. `- k
  23. 9 r0 E/ C+ g1 g& l- e/ j
  24. # # #做好工作# # # + V6 ]9 m2 T7 h& U1 U5 l/ G
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    3 ^- [2 A; \5 g
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    0 J7 o' R9 k4 \% f' c9 A/ U
  27. 结束:
    : N4 _+ U7 _; H! L
  28. ---削减这里---
      X) N! Z, ^. a
  29. [ dbexpress ]
    7 g& ]* e4 j+ t  q, [: J( ~. G/ p
  30. sqldir = mysql_sql 9 Z5 {: ^+ n) `3 @
  31. drivername = MySQL中8 [$ Q, e6 i- ], i- g
  32. 数据库= your_database_name_here
    2 v4 n0 R0 v, n; a. f: h
  33. 主机= the_pc_the_mysql - server_is_on
    5 M( f* s2 D. h+ I1 e1 E* n& B
  34. user_name = user_name_on_the_mysql服务器
    ( R+ [* y& J* W1 g
  35. 密码= password_to_go_with_above_user_name ( W* O! u( Y4 A8 q9 I0 S: k6 h
  36. getdriverfunc = getsqldrivermysql % D# n* \  C& e; ^
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
      |5 M2 K- Q: r% m7 M
  38. libraryname = path_to_libsqlmy_libary
    $ s$ L7 ?. N; Z; P, I2 M5 i
  39. 积极= 1 2 R5 e8 J! m4 M9 a- Y  h8 d
  40. ---削减这里--- 8 J4 U8 l+ s( w  E$ i
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 5 S- L5 t9 u( u
  42. ---例如---
    % ?5 N: |2 o5 k# f7 ~( p
  43. [ dbexpress ] * h1 g4 p" x' ~" B7 h( t6 F
  44. sqldir = mysql_sql - g& P) p" J4 W* U' {" a5 `
  45. drivername = MySQL中
    8 v) X* M7 U( t! p3 G/ C
  46. 数据库=测试  {/ ]9 {' l2 z. _0 n( V
  47. 主机=本地主机
    3 Y; D& J7 e1 S8 y
  48. user_name = testuser 5 k  y. B0 q, {
  49. 密码= my_password
    9 i7 a) l) E" d9 @/ x+ b6 }
  50. getdriverfunc = getsqldrivermysql
    / O3 l4 L& O% F' l  }. Z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    % f9 J% ^. H* _, {; P( q
  52. libraryname =. / libsqlmy.so
    2 B, \# T- v* R; A; F/ N6 J$ f$ ^
  53. 积极= 1 , V7 x* C, k$ b! e* \6 E( h
  54. ---例如---
    , b" |& q; r( P! J# I6 D, Y% V8 E
  55. 1 U9 V/ y$ F: C, l  f4 m  k
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 3 h7 P# m- j/ h3 q0 a5 O
  57. ---例如---
    % W$ f( e8 r/ L; `
  58. [ dbexpress ]
      b$ L0 E" [8 d6 p* Q, H
  59. sqldir = mysql_sql
    ) k0 a, W2 k* L- J. e
  60. drivername = MySQL中& G2 P/ j$ i5 j
  61. 数据库=测试
    4 ~, J. M) k. b/ x! K
  62. 主机= 127.0.0.1 ; X0 ?' c5 E+ ?/ }
  63. user_name = testuser ( y# M6 J7 F( D0 N) K. Z  n
  64. 密码= my_password
    3 o% t* O6 W( o0 z" e& H4 r
  65. getdriverfunc = getsqldrivermysql
    , N; d% Q4 ]: {; _9 p" {" P8 h
  66. vendorlib = libmysql.dll在
      d3 g" _/ X6 t1 G% o% ]' U
  67. libraryname = dbexpmysql.dll
    1 q, K, V' M! d7 b- M( s' g
  68. 积极= 1
    * Z7 ^/ c1 n, S. g0 x& S4 R
  69. ---例如----
    ! J& q/ Z( ^' j- _' x: @
  70. -写在0 2.03.04由p wk.linuxfan
    : J9 L0 W: O9 X2 N, {
复制代码
发表于 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  c$ u& \" O0 j1 g6 h
% k- T: D0 m) ^6 X5 M4 a  {
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-29 20:18 , Processed in 0.109619 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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