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

3202 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ! P: y( T& _. k/ |2 s9 T
- J# |7 j8 j- t9 ?
  1. & ~, ?, J+ R2 K: `
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
      v7 O5 N9 Y' O$ T
  3. * F+ G. d1 Y0 c! g: O
  4. ### What we need ###" Y3 ?- y5 b& d" k) V- o% E
  5. Naturally, we will need a MySQL server to store the data for us, this document 7 z; d( z9 Y- o3 ^1 F
  6. will not explain how this can be done - there are documents out there for the
    6 E$ w+ u0 I2 l4 y
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    1 e) D8 v1 K! M3 F) V& e2 D
  8. and a user account (username + password) that has the permissions to do stuff
    0 u* o9 N# X  T  p5 X
  9. with the database. Additionally, you will need a vendor library installed on the2 H) Y: q5 B9 o; e1 E# P9 w5 C
  10. local machine, this came with my MySQL install.0 a7 ~" y8 u3 R+ o
  11. These instructions will not tell you how you might transfer your data from the
    ) V3 J% s% V! v1 m( a8 A# r/ b6 U
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ( {3 ^0 U) X5 ]- L- a
  13. database.
    % i* E; T: r. Z) g$ k$ |
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    * h. C* }, ?/ C7 j$ v+ D( l
  15. the time of writing, there are still too many issues - check the current status. b; h, y) k4 o9 I$ {
  16. in the TeamSpeak forums if you are interested.
    ( o& e, q. y/ m  @3 X: E/ d8 e
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from4 m+ |2 y% u4 y
  18. Borland was used. This driver can only interface with the client library that % W, Z3 \) _6 q/ G
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    # j4 v( f' H) g; c. P& L
  20. client library - basically all you have to do is to use a 3.x client library as
    8 A, R6 C  u7 z
  21. "VendorLib" and a 4.x database to connect to.
    , `6 H4 D9 w% N7 K* t5 n7 T, f  L
  22. If you need more info about dbExpress, you can contact Borland.
    1 w1 d/ B5 u' W) m* i% @( S( `: E

  23. 6 }+ H- c% N, I8 w
  24. ### Doing the work ###
    , m' ~! z2 c& n+ m7 y. I
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all* ?$ i; D% q3 R$ e: j8 v
  26. the perquisites right, just open your server.ini file, and add this section at
    % T4 {. b9 {% b$ L
  27. the end:
    9 F$ P, ~  i9 b% K9 }' O! E3 O
  28. ---cut here---
    8 q) w7 e# h& L- i* V
  29. [DBEXPRESS]% ~; M) E. V0 M7 T7 o$ Q) z
  30. sqldir=mysql_sql* r" X% B8 d" t  k. G$ p
  31. Drivername=mysql
    , ^# R$ }- B- F% t
  32. Database=Your_Database_Name_Here' b* V4 t8 U6 W/ }; S
  33. Hostname=The_PC_the_MySQL-Server_is_on$ j6 C  y: I# @; E1 D' X7 y: E
  34. User_name=User_name_on_the_MySQL-Server
    : b0 V  t) d( Z) O- Y+ [
  35. Password=Password_to_go_with_above_user_name
    6 D* _. @1 d* Q
  36. GetDriverFunc=getSQLDriverMYSQL
    ( v) z  q( w% G( H+ D4 ]
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    2 @8 `8 M7 ~/ g9 p$ q. y8 p) F
  38. LibraryName=path_to_libsqlmy_libary
    & z" H& B0 M$ f/ R) u" y8 x3 b
  39. Active=1
    6 P( x3 T- N) N  @) H  O- k- c/ S
  40. ---cut here---) q1 v6 X' X# V" a3 o5 E& Q/ ?* V
  41. In my environment (a linux box with a MySQL server running locally) I have:" S+ a+ T  R1 l5 e4 |1 Q. N' C
  42. ---example---; w- a6 o4 W" M# B& ]* o  ^
  43. [DBEXPRESS]
      W: N6 B8 e. f
  44. sqldir=mysql_sql) ~% T* k8 ?- w8 M  H
  45. Drivername=mysql0 q' C1 y# ]9 _/ c# w
  46. Database=test! e! S/ G! t- |
  47. Hostname=localhost0 X5 X2 j; n1 I2 C7 P
  48. User_name=testuser
    % s& u# m2 b) W3 k
  49. Password=my_password/ H6 k. k+ Z+ D
  50. GetDriverFunc=getSQLDriverMYSQL
    1 u  a3 D- D8 m/ {. v; C
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    9 Z( N, o% `% C/ H2 V* O
  52. LibraryName=./libsqlmy.so7 L* D( d; |8 _+ @* M+ Y% K
  53. Active=13 f7 C) o0 s! b
  54. ---example---
      G' |. q, g3 D( k1 }$ B

  55. ) h1 B+ z% ?" U4 M- ~$ s6 ^1 r: B
  56. On a windows box, also running the MySQL server locally, it would be:
    4 X$ E: O8 o  v5 }, F3 g7 b) G. |
  57. ---example---- N& L6 X: \9 A# f
  58. [DBEXPRESS]3 T7 E( r5 Y# |5 k# K/ N0 @
  59. sqldir=mysql_sql; M7 J  i% a4 ]/ f
  60. Drivername=mysql
    / c3 i% f# s/ L& g( u
  61. Database=test* @0 c/ F  L  \( o4 w
  62. Hostname=127.0.0.1
    # z/ Q3 u6 J( J; z
  63. User_name=testuser
    5 r# S" s5 T+ ~5 O; R
  64. Password=my_password* [- `! O2 M$ n1 W* V
  65. GetDriverFunc=getSQLDriverMYSQL
    % P5 d) m: `1 M3 g5 _
  66. VendorLib=libmysql.dll; p/ ]4 v# N9 {" Z8 k# ~/ X
  67. LibraryName=dbexpmysql.dll, h, t) h/ g+ L+ ]4 o9 n2 R
  68. Active=1
    & C# d+ l: i7 }  |
  69. ---example----; N5 N8 D7 U( X+ ~
  70. - written 02.03.04 by pwk.linuxfan
    & Y* s' d; u' M+ P
  71.   u9 O) a) ]5 p' @: S0 I3 B  B
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看! l/ l* x8 f8 Y8 d- u

  1. 8 e- M3 x* x+ n- `" D$ J
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 7 d; ]+ \1 ]) H/ b! Q
  3. * d8 k; ^) V- C# H- m
  4. # # #我们所需要# # #
    7 J, ]8 p& N, [( b. O, B- A
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    # E  U5 G5 R6 i' |
  6. 不会解释如何做到这一点-也有文件存在,为
    # b8 }! z7 k1 n7 T, \. Z
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用# a) D/ V+ P, D
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    $ l8 b! A. |! \* Z) g
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    7 V' G5 R, U5 }
  10. 本地机器,这是我的MySQL安装。
    ; x+ B! F5 P3 z: c
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从0 ^" N: W/ ^% }# T; b
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL % A' ~1 W( T- Z% K7 I' ]
  13. 数据库。
    ; g% t/ X) n- @3 n/ \
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在8 [9 @$ S$ M2 |0 g& q
  15. 编写本报告的时候,仍然有太多的问题-检查现状1 ~1 D- r* u+ o9 R$ Q
  16. 在teamspeak论坛,如果你有兴趣。
    & ]8 \6 k8 ]5 \. a
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    9 x; x1 [# J# j
  18. Borland公司使用。这个司机只能界面与客户端库  T* S; [2 J) |" x1 x
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这# p( m8 G; M! u# J/ q) T" \
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    8 d; H2 B  C" e& Z) X% k4 K
  21. " vendorlib " ,并解数据库连接。
    7 ?  c8 q2 q3 b/ J& c/ o
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    / X5 M7 F, y$ F6 S: _3 a

  23. % z. X$ l# L- ^, H$ I
  24. # # #做好工作# # #
    3 c/ l' g: a5 Z2 f
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都8 X( B5 ~- s- H: E8 ~
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ( a' X1 ?  Y0 G- g8 o
  27. 结束:
    : m3 i! z3 P0 A; U$ M8 l5 a
  28. ---削减这里--- 6 M4 [" F$ h+ W; A8 T
  29. [ dbexpress ]
    ' {2 z* ]+ f* {1 [# g; H
  30. sqldir = mysql_sql 5 o$ j0 O7 }$ A" L" i5 l; [" h
  31. drivername = MySQL中
    # k' B* M4 j5 I; f- l
  32. 数据库= your_database_name_here
      v9 b1 N6 L$ H/ \& f% u. }
  33. 主机= the_pc_the_mysql - server_is_on / l; ]" h. J3 P6 w
  34. user_name = user_name_on_the_mysql服务器
    1 f; q2 s$ D: p% Z! e2 X
  35. 密码= password_to_go_with_above_user_name
    8 B: ~) z+ P) T0 F6 `
  36. getdriverfunc = getsqldrivermysql : r% z% c* X, J  f; I- ^; q/ K' u
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib , B* o& w% v9 K0 ~7 y
  38. libraryname = path_to_libsqlmy_libary
    7 F2 J# z- s, H0 D* j
  39. 积极= 1
    7 B. t2 @! n% C$ C+ ?/ ]; i! J
  40. ---削减这里--- 8 m* u1 j  S) T4 k8 C3 [2 b
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ( W- c' H" \, d* Y9 I4 d& M
  42. ---例如--- 2 y2 ], }' e0 b. F6 T# Y
  43. [ dbexpress ] 0 g) ]/ Y4 T2 E
  44. sqldir = mysql_sql
    % U6 ?6 s. M7 C8 E1 V, G
  45. drivername = MySQL中) w* c5 f; V% \# s* {' i4 I4 x
  46. 数据库=测试3 A1 E% u8 t! B4 X7 z8 i* u
  47. 主机=本地主机
    * {' ?; y6 B: L8 Z- ?0 ^) ~9 S
  48. user_name = testuser $ F1 d; a' w. @8 w
  49. 密码= my_password * o4 R( ~8 v: M( }  f
  50. getdriverfunc = getsqldrivermysql
    & A) U+ ^+ F# y+ q7 d. k  ?( Y% l
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    & _& p8 C- _- K  Z" p
  52. libraryname =. / libsqlmy.so
      `- V+ A& j8 I* A9 n
  53. 积极= 1
    ! r+ B) L, U4 w# f# P! y) `$ E
  54. ---例如---
    8 s8 Z. T* e3 ]0 t- @( R
  55. % F9 G* |( R2 b6 Y0 C5 O, f, Y) l) ~* ^
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    5 F0 b) ]) b4 i0 c" {; M
  57. ---例如--- " H9 w; R# v% ]" F: v+ p: V
  58. [ dbexpress ] . H2 c( t9 E4 c1 v* c
  59. sqldir = mysql_sql 9 s  j) a1 Z9 b) g' z# Q
  60. drivername = MySQL中0 f4 c) h% R' U+ W9 o& ?
  61. 数据库=测试% t0 {! o+ |5 Z: _' {2 c
  62. 主机= 127.0.0.1
    ) H: n2 S* w1 w+ d+ b
  63. user_name = testuser
    ) A% ?( i. E  L/ \* x& M' w7 g
  64. 密码= my_password . C( v) K" J& S
  65. getdriverfunc = getsqldrivermysql " I3 w) W! }! Z* o9 ]
  66. vendorlib = libmysql.dll在
    # m( m) }* R( W- [8 r$ _
  67. libraryname = dbexpmysql.dll
    0 g0 A" p: q7 X( `$ A3 u" w: t# ~0 @
  68. 积极= 1
    4 P; c+ y( y8 D1 Z! |5 p* |/ K
  69. ---例如----
    ! d; a& n( p$ d: {1 I5 H* l  D, m+ J
  70. -写在0 2.03.04由p wk.linuxfan
    " \2 Z& }5 C6 V2 Z5 h: S/ Z4 ~
复制代码
发表于 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" G$ v) }8 A" n  P
: M  S4 S  s* i* `- S6 u* Z3 r" d) d
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-21 11:59 , Processed in 0.093170 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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