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

3620 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 9 a. t' I, {3 w( K7 A5 K" w& x
! b' S. u2 `  w% C$ |

  1. $ v& K+ @- d5 I/ A% m) Z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ####### J! R# `* X! f' @* o) i1 F7 y
  3. ' B, ~6 A( }) p5 q4 e
  4. ### What we need ###2 K$ v2 |( A6 @( x, _% n# _
  5. Naturally, we will need a MySQL server to store the data for us, this document 6 n" G4 A: ^' X3 \3 c' W
  6. will not explain how this can be done - there are documents out there for the
    / ]* v( @, o8 k; L
  7. interested. The requirements include a (empty) database for TeamSpeak to use: ~. T) B) S2 d# A
  8. and a user account (username + password) that has the permissions to do stuff9 C. K# i7 G( g" s& ?2 p  p
  9. with the database. Additionally, you will need a vendor library installed on the% g+ k$ y' n$ P) ]) Q( P4 j( @0 S
  10. local machine, this came with my MySQL install.
    % l4 X( `* K& F. e3 c- x2 J" e. @
  11. These instructions will not tell you how you might transfer your data from the
    ; ]' z; H% J; ^$ d
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    7 s5 h: X( Q3 I
  13. database.
    4 g' I7 p* v. }2 B
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    6 v; q$ G9 E$ [+ M: c" r
  15. the time of writing, there are still too many issues - check the current status
    , I# J2 f; C: Z* g- T6 M. m2 u
  16. in the TeamSpeak forums if you are interested.% X! Y. {$ n* l. n6 p; g
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from6 M1 _7 M) o4 M# _* s  b
  18. Borland was used. This driver can only interface with the client library that
    ) A$ B7 R& i  r6 `$ o' F
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this7 i* b6 \8 v) g
  20. client library - basically all you have to do is to use a 3.x client library as & _* C) ~. Z! h3 m
  21. "VendorLib" and a 4.x database to connect to.
    ! m. j9 z5 c  V& A  H/ i
  22. If you need more info about dbExpress, you can contact Borland.' g! \; g# R* [, f, h2 z/ r0 _
  23. 5 V' A$ S6 m; y& a7 M
  24. ### Doing the work ###
    ) Z* P) W3 A" O- r: I2 V  b
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all0 Q3 [% X9 o% T7 b
  26. the perquisites right, just open your server.ini file, and add this section at
    $ h& e0 E! U& G+ C1 b  Y4 k  U/ Y& `
  27. the end:3 ~& o6 S6 D. ]; e& ?
  28. ---cut here---+ H, Y$ K& H; B0 e! P, [7 r
  29. [DBEXPRESS]
    ' B) w% z1 Q6 e: E" e8 d
  30. sqldir=mysql_sql" P( [0 h3 w' N! R
  31. Drivername=mysql
    . F2 k2 P! W) f; x" [' O# E( y
  32. Database=Your_Database_Name_Here, [  n5 q3 R: {! q1 p
  33. Hostname=The_PC_the_MySQL-Server_is_on" X/ g+ O! V* a: T$ n4 S
  34. User_name=User_name_on_the_MySQL-Server
    7 y& }1 ~  j+ Y
  35. Password=Password_to_go_with_above_user_name
    . n4 y. v7 t# \: s- R5 ]
  36. GetDriverFunc=getSQLDriverMYSQL5 X* E9 ~' I0 |3 M. P( U
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    4 a0 [9 Y# P* V  F5 \* t
  38. LibraryName=path_to_libsqlmy_libary- o6 y! @/ u) N6 h+ z1 e/ w0 g, {% j8 D  b
  39. Active=1  U2 x2 v2 r. I6 O! R9 P
  40. ---cut here---
    : X" e  a) Q# J5 e& J
  41. In my environment (a linux box with a MySQL server running locally) I have:! e2 W: J1 P; ?( N) S3 _
  42. ---example---
    + Z3 M# f  f+ q
  43. [DBEXPRESS]; o; u) X) H! K; N% d. i. W
  44. sqldir=mysql_sql
    6 F" h; W" f; J8 _# j! z3 x% o
  45. Drivername=mysql9 s/ T) z0 ^3 F8 b- f4 t, C) D- @: e
  46. Database=test1 T9 M' o7 S3 y* m, ^
  47. Hostname=localhost1 k, w$ N8 d+ E1 u: F1 Z
  48. User_name=testuser8 _0 A2 r' X0 ~% w- p8 T
  49. Password=my_password
    4 n& C1 R& X  [1 K2 I( O
  50. GetDriverFunc=getSQLDriverMYSQL0 M* ]1 H) _8 d9 l7 Z" [0 o
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.09 v2 B1 b' E3 @" e+ O+ N/ E
  52. LibraryName=./libsqlmy.so
    + x  ^# ]0 p4 j4 X) T
  53. Active=14 J2 _% W- ~8 T5 x8 c! A! Y
  54. ---example---
      `3 @' M  w1 B& l( b0 i! j

  55. 4 t9 m( a  o7 |) J, I, Q
  56. On a windows box, also running the MySQL server locally, it would be:
    ) r# t8 b4 O* M$ d
  57. ---example---
    % i" J$ @. F9 [1 s4 l
  58. [DBEXPRESS]4 l; M* A, i6 P9 n* j. B
  59. sqldir=mysql_sql
    ' @, a+ m4 P6 \0 u& @
  60. Drivername=mysql
    ( X0 Z/ Z8 S# g" p* L
  61. Database=test6 [5 Z$ v* y; R7 |; B* ~- I; O; |
  62. Hostname=127.0.0.1
    ; W/ \# F' F& c' `! X9 h2 W  C* J7 i
  63. User_name=testuser9 d$ T& g  z: P/ Y0 T- I# |
  64. Password=my_password& h$ }$ T5 z* p% B9 ]. L
  65. GetDriverFunc=getSQLDriverMYSQL
    4 F" O" e8 E3 ^$ K: L5 q
  66. VendorLib=libmysql.dll5 m; R$ F: h3 u6 m) Z
  67. LibraryName=dbexpmysql.dll
    3 o# N7 n4 w; R8 H  {% V2 N
  68. Active=1
    ) P, f) q) i5 h9 F, \/ z& V. I
  69. ---example----
    + Q: E1 Y+ @: A; j- S; \& m
  70. - written 02.03.04 by pwk.linuxfan( X2 d1 a( b+ k7 K+ H& j

  71. # [+ {' y+ X/ o5 w: }- c
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看0 `& i% H- c3 ^2 ~

  1. " X/ i6 ~- `4 S( ~8 F' s) g4 W
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 0 @$ S3 X  F% O; K+ u9 C% P

  3. ) Z1 j2 U6 J' `$ |% S
  4. # # #我们所需要# # #
    / r/ t: g( W5 G3 U& }4 ~* P9 g
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件5 {7 P" d3 I! y
  6. 不会解释如何做到这一点-也有文件存在,为) ~- X$ p7 E7 j/ d4 O
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用# {+ Q# `3 v8 V( ^
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
      w$ Z2 N  T5 _$ B. I
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    " x$ v% `+ \0 M/ l+ |
  10. 本地机器,这是我的MySQL安装。 3 d" U6 @% o- m* X
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从! n" L) H/ q* h0 m/ J
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL , r6 z& E/ j+ \- Q- m
  13. 数据库。   D# k5 H- J: w
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    4 g# u/ N3 I8 L& h+ x7 W2 L( e  c
  15. 编写本报告的时候,仍然有太多的问题-检查现状1 W! e+ n  v& M% w3 S9 Z0 G4 w
  16. 在teamspeak论坛,如果你有兴趣。 . }' u( }# e7 w8 h6 `5 \  _; v
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机3 z+ W' R4 ~* h, S
  18. Borland公司使用。这个司机只能界面与客户端库) \1 n( i7 c3 I( M4 e" |
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    / ~2 Y7 v# k' F0 F& m3 ^, k4 x, e
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    . V/ Y: H7 w8 Y! V3 V
  21. " vendorlib " ,并解数据库连接。 - h6 x/ x% N% Q4 I* P7 [
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    : x  l6 V! w) b

  23.   R7 }* A" j" U+ }6 G# x
  24. # # #做好工作# # #
    4 P2 G3 |( ?* O2 T& m$ t0 ^
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    . |. h; m+ t5 V; ?6 L' H3 y
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在" s" Y- d6 c. o5 Y5 q1 F3 d0 \
  27. 结束: . A! `  r! X+ G, }5 y1 o) M
  28. ---削减这里--- 7 x; I7 L  A  O9 i' C2 r
  29. [ dbexpress ] 6 ^( M4 V0 [& `9 Q4 e& D4 G) g
  30. sqldir = mysql_sql * X; `6 R3 {! b  e3 H" N$ N
  31. drivername = MySQL中& p) y& v! d- L# w8 ^6 q
  32. 数据库= your_database_name_here
    6 g4 p2 e+ y- ]2 T( s/ a& T- Z
  33. 主机= the_pc_the_mysql - server_is_on 7 Y6 u2 H( b% U, B  t
  34. user_name = user_name_on_the_mysql服务器# l. k( ~+ H, {: h. X4 H
  35. 密码= password_to_go_with_above_user_name 3 q) J4 F! m( A" k3 B
  36. getdriverfunc = getsqldrivermysql ' W& l& H4 j# P, \* I; r
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    0 N, E8 Q3 e# m* x
  38. libraryname = path_to_libsqlmy_libary
    " m8 Z4 D+ |/ i
  39. 积极= 1 ( D, g1 }6 B0 u
  40. ---削减这里---
    / b4 P% ^* u2 \# b: k7 J+ G6 G
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ( u" F* k& e# P" d7 d+ }
  42. ---例如---
    $ k& C' x, |1 v1 H! {5 H2 C
  43. [ dbexpress ]
    8 k# p# B% v$ I3 p# H' W- Y# P3 o
  44. sqldir = mysql_sql ' i8 B, v7 F  R7 Y9 Y. h# ]2 u+ q
  45. drivername = MySQL中
    $ S  ], {  M9 D4 o# x7 Y
  46. 数据库=测试
    ; p! X& w# K( S( c9 ]1 P
  47. 主机=本地主机
    7 G" U0 K" H4 X/ ^
  48. user_name = testuser ! c: l) |& n& Y: \; U8 w
  49. 密码= my_password
    9 l) r: E; }' e2 {- l0 H/ Z* K
  50. getdriverfunc = getsqldrivermysql
    ' ]- b  a# _* j" J2 v7 @7 G
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 * A% U* L# @' n0 J1 T
  52. libraryname =. / libsqlmy.so
    8 C) C4 }0 x6 B# [
  53. 积极= 1 . {# s# f$ `% W, @+ z( a3 R; z
  54. ---例如---
    ; n- ^, O  |8 W0 o
  55. 6 J5 b( m7 Q" {/ }* A
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    - t# s6 r3 }% G& ]: Z) S1 x
  57. ---例如---
    , E! G! e4 S7 ~  K* \6 ~# r7 h
  58. [ dbexpress ]
    ' ]% ]- z! A* X" R' R2 V1 ?
  59. sqldir = mysql_sql ; E$ K  N/ w# I5 \; M
  60. drivername = MySQL中. a- w2 W' `& q% _9 b
  61. 数据库=测试1 B, ~, E# W5 B7 |
  62. 主机= 127.0.0.1
    9 G+ e4 `- ]7 F  i: R5 _
  63. user_name = testuser & x/ c, f, Q% S; G+ \7 R
  64. 密码= my_password ; A1 q" t- _2 t1 x# i, @
  65. getdriverfunc = getsqldrivermysql
    + L) d  c1 d8 I0 v2 b! R* M
  66. vendorlib = libmysql.dll在
    3 t* x! U# @% q3 c' d
  67. libraryname = dbexpmysql.dll ( S4 a+ @( B% T5 D
  68. 积极= 1
    # V! E, e4 o( t# @* j/ t6 E" T7 z
  69. ---例如---- . i: c; D3 b; W' D) m" @7 v7 G- N
  70. -写在0 2.03.04由p wk.linuxfan, m) A  I& ~. \; c: x
复制代码
发表于 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
9 y) s; R1 e) p* ?. `
; e) Z/ n! z4 d& Hbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-12-5 16:14 , Processed in 0.076062 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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