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

2759 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 4 D( y/ A9 h  k: _# ]% J

2 d' |5 a4 W8 ]8 ?# [( L5 u$ z. \( n

  1. - N( G* H6 z* r' ~- n8 g- ~
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######/ w7 D7 C% B# J8 {! h. E
  3. # Q) r4 n4 k8 l& Y- [
  4. ### What we need ###% V" G+ B# s" X, B" Z7 Y, D' k
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ) f+ O0 F, g" R9 `8 u, j9 D
  6. will not explain how this can be done - there are documents out there for the
    ; K- F# {% O( D9 Q& \) j2 B$ g
  7. interested. The requirements include a (empty) database for TeamSpeak to use( Y; ]- C7 T( @5 S- Z+ b. y0 _4 D, S
  8. and a user account (username + password) that has the permissions to do stuff
    + ~1 A' I6 q% W+ I. q8 D" Q
  9. with the database. Additionally, you will need a vendor library installed on the; O3 v& _$ f! [$ t) X
  10. local machine, this came with my MySQL install./ h- c; t  b- O5 \/ r
  11. These instructions will not tell you how you might transfer your data from the* s4 q/ F& c+ G9 g+ ?, Z
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    7 n, k" R- `1 L" g4 L6 A; k$ F
  13. database." }1 G, p# U6 b
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ) ~, @7 g) l+ d4 t3 c4 R, U
  15. the time of writing, there are still too many issues - check the current status
    9 Z0 j( _( m& r# P  \& @) k2 n
  16. in the TeamSpeak forums if you are interested.: e5 P( G, L3 Y; t5 Q( l# v
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from. R8 ^. Q2 N: C. d( y7 D
  18. Borland was used. This driver can only interface with the client library that
    ! G. k; q. d* i& h, }
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this; C; n8 w8 ]8 U, z+ t  u# f* m1 w$ e
  20. client library - basically all you have to do is to use a 3.x client library as ' \  X8 w, X. x% D
  21. "VendorLib" and a 4.x database to connect to.: P& E9 h6 {7 [- Y1 B" F
  22. If you need more info about dbExpress, you can contact Borland.: t. A9 ?: c% T2 G8 `/ U3 W0 M
  23. . R+ ~2 w& t7 f1 `9 T
  24. ### Doing the work ###
    # |  @3 |' ^! @( g
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all0 h* o6 `4 O4 g/ c% L( [
  26. the perquisites right, just open your server.ini file, and add this section at
    4 v# U. X$ m3 C
  27. the end:
    8 B9 Z9 w8 b: ]7 {* S& ]6 U
  28. ---cut here---3 Q7 D5 u* J5 J( b* w* ^- C  e3 B
  29. [DBEXPRESS]
    4 I. i! }% O- E' e; a
  30. sqldir=mysql_sql
    2 A1 {! z' T: ^
  31. Drivername=mysql) P$ p+ o8 i/ f
  32. Database=Your_Database_Name_Here) A) H" t9 B) ^& m# n
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ; _5 c& y' d# q: Q/ A# g( k/ l# }# R
  34. User_name=User_name_on_the_MySQL-Server  ?4 D2 n) {% ]# Q- q- S- o7 r
  35. Password=Password_to_go_with_above_user_name: D+ g4 Q$ d% e2 `! k
  36. GetDriverFunc=getSQLDriverMYSQL
    ( q2 C* @1 p( K# s  k6 L
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    1 X* P; t; g8 P& b" W5 }
  38. LibraryName=path_to_libsqlmy_libary
    % m8 J: A9 |  q3 Q
  39. Active=1
    $ a9 a  a7 S2 d
  40. ---cut here---: P/ a$ R2 ~, j& U5 _7 z
  41. In my environment (a linux box with a MySQL server running locally) I have:
    9 D% ~9 d5 e9 b
  42. ---example---
    ) m2 i7 n. j5 k$ k- t
  43. [DBEXPRESS]( k# t0 _* V) ]* q
  44. sqldir=mysql_sql/ o- B; X$ \% f9 N! N0 ?
  45. Drivername=mysql
    $ D! F- b  u* ~  `
  46. Database=test
    8 c) r) G- o, ]$ }- G
  47. Hostname=localhost
    $ n! w5 `3 Y- J7 |% a! B6 y
  48. User_name=testuser7 a6 w7 @! o, R& \
  49. Password=my_password
    0 ~/ S  D2 }. J5 {- V! O* k
  50. GetDriverFunc=getSQLDriverMYSQL
    / e. ^7 J* R& M/ K
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0$ T5 g! @8 ]$ I5 ]
  52. LibraryName=./libsqlmy.so( c7 A( b5 ^0 a" h
  53. Active=1
    ( {' y9 F, }0 k5 F. E$ R$ C" a
  54. ---example---
    - h% O2 z0 r7 I2 r0 a+ G( S0 @
  55. * }* S8 l" u5 i! T" ^' G; n& j: P
  56. On a windows box, also running the MySQL server locally, it would be:' v9 p! P+ r8 M4 d4 F$ j
  57. ---example---
    9 s& c6 b" R- {; @/ ]; z
  58. [DBEXPRESS]" Z# v0 I/ \  k# z$ P
  59. sqldir=mysql_sql1 A5 V& Z  u6 }& _
  60. Drivername=mysql
    " Z/ e0 ^' c) S8 v* H& l
  61. Database=test
    & E5 O, }+ }+ L: k
  62. Hostname=127.0.0.1/ p. ^  s& L1 K- K) j; R( F
  63. User_name=testuser, ?+ ~( }4 W& m6 P
  64. Password=my_password8 u7 r0 ^6 s* \, x; }. K; b; ?) r$ q
  65. GetDriverFunc=getSQLDriverMYSQL
    8 n" k# I* G9 P! D
  66. VendorLib=libmysql.dll) l0 A) R" F! ^1 E% N8 H/ d
  67. LibraryName=dbexpmysql.dll
    4 c9 g5 p* y; q, [# i7 A! A- Y
  68. Active=1. y+ n& c% f# V/ i
  69. ---example----
    9 e6 ~% m5 y+ w4 F* v, r, k. b
  70. - written 02.03.04 by pwk.linuxfan& j' D" J6 r% u% D" D3 a, u

  71. , ^$ O9 |; d+ R/ D. t4 [. m
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
: g# Y; n6 w. [7 t7 R, j: c
  1. 7 v8 D% ~# Q2 E4 a
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ! s2 v8 h- R! u$ q

  3. $ O2 a% O' C( S: Q6 r; L
  4. # # #我们所需要# # #
    9 q9 ~6 z6 S. i+ z
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    & k& m+ W( O5 C7 F" Q
  6. 不会解释如何做到这一点-也有文件存在,为6 X: f9 ?/ J% N
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    # O+ i5 P8 K3 _: h% U
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西5 U0 q; c6 U9 h
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    # @- q. w$ `8 K# p) X# Z9 [
  10. 本地机器,这是我的MySQL安装。
    ( @9 _7 ~" m1 s
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从/ r5 F: V2 D1 ^% j) e
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    4 ^8 ~0 G* o3 f+ [  v1 C. i0 w1 \
  13. 数据库。 0 _, }6 L: D) D4 H/ f/ i* c
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在3 U" |5 p" j& j! ^; o8 M4 T  d% C
  15. 编写本报告的时候,仍然有太多的问题-检查现状: a3 D- |4 x. Y* t8 K' C
  16. 在teamspeak论坛,如果你有兴趣。   O9 W* Y) k( D7 }. p6 h" S
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机, T+ z7 V; ~; C8 @; P  Q) e! \
  18. Borland公司使用。这个司机只能界面与客户端库8 G5 x1 Z: l; P9 i3 W
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    & D( Y" i) v5 X, j* H
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为4 T) d, S% k5 F0 Z
  21. " vendorlib " ,并解数据库连接。 ' N. L+ H6 q' P3 z" E" J3 i
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 - U- ~0 Z  m* y; ^
  23. ; \$ A1 P; G9 H
  24. # # #做好工作# # # / Q' S6 f4 L) P: Y0 X/ b5 }
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
      S; n/ ?9 ]! \; V) [* \
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在) \9 W: {6 V3 y! U+ Z
  27. 结束:
    ! K: k3 Q2 D; K0 m: L
  28. ---削减这里--- & Z0 |. c3 O- }. `( y: ~( ]9 {
  29. [ dbexpress ]
    / h/ r2 h& h0 N/ U5 S5 n4 B
  30. sqldir = mysql_sql   Y) \* ?) r* E0 W# l2 A
  31. drivername = MySQL中1 \( A4 B; O% {% ]9 B5 ?
  32. 数据库= your_database_name_here
      e# A: W: y' [2 i: R% Z2 k* l! Z0 p% z  x
  33. 主机= the_pc_the_mysql - server_is_on . _- ^( j! Z4 M) H# U/ \. E5 ]
  34. user_name = user_name_on_the_mysql服务器
    - c% J1 v# F6 B* D3 K2 l
  35. 密码= password_to_go_with_above_user_name
    7 B" i- `3 J9 E# `
  36. getdriverfunc = getsqldrivermysql
    : l4 i: P- R4 _* w
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 6 T+ p/ m% Z, e: Q1 o; i, G
  38. libraryname = path_to_libsqlmy_libary * ?% ^9 G1 S; \8 u! J7 _  u7 d
  39. 积极= 1   b) W! c4 G8 ^4 R
  40. ---削减这里--- ; r' z1 }. S  S1 ]3 f1 e+ T
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    , p; [1 E. R1 i" ?! v
  42. ---例如---
    ( W; {7 I/ w# e7 j: Z
  43. [ dbexpress ]
    % d, G( t1 i7 O# _" e& f
  44. sqldir = mysql_sql ' t( Z* _$ y5 b6 w5 B. M, z" @
  45. drivername = MySQL中
    , E( ]: x! s$ C+ m8 l$ c+ s
  46. 数据库=测试
    8 H8 k! O4 Q0 g8 e& r% N
  47. 主机=本地主机
    ; y# S& l3 M6 u1 J1 a8 }) a# V
  48. user_name = testuser 9 }- ~7 M; \5 U8 l8 p
  49. 密码= my_password ) C) A1 }7 C! H2 E# W" j( S/ R; _
  50. getdriverfunc = getsqldrivermysql
    $ ]+ F- P" L3 y9 Q
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    3 _1 z( z) h4 L$ c
  52. libraryname =. / libsqlmy.so 7 m/ Z3 U* a% x3 t( c( j, P
  53. 积极= 1
    3 O7 ?- l% w( S
  54. ---例如--- 0 F' |3 ?/ E9 z3 S7 j
  55. 3 |& H8 Z7 _) g' q
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    . B. I, `+ k: k, A, H  W# [" @
  57. ---例如--- 7 p( }3 g0 V$ J8 S: }* b
  58. [ dbexpress ]
    $ i4 b6 ^% B4 j
  59. sqldir = mysql_sql
    3 W9 q/ x* e; X# @, v) o
  60. drivername = MySQL中, v# S/ m. [1 ]
  61. 数据库=测试8 Y: o' T2 I: w+ M$ h
  62. 主机= 127.0.0.1
    ( i* a: {1 ^6 A- M6 G- n+ W8 I
  63. user_name = testuser
    9 T$ K; n; v1 D, j2 i) K
  64. 密码= my_password
    ' h' \# c) O8 {, P- H: z' F
  65. getdriverfunc = getsqldrivermysql
    7 @: H0 p/ S, m* D# r4 l, h- ~7 O* M
  66. vendorlib = libmysql.dll在# M, L& z  }9 O; V8 r
  67. libraryname = dbexpmysql.dll
    5 F" L( N8 a4 \  t$ f1 j  A. v, h
  68. 积极= 1
    : }% n0 d; Z' S" g
  69. ---例如---- 5 u# ^) n- f4 ~1 s; ]
  70. -写在0 2.03.04由p wk.linuxfan
    7 w. }2 u! p! T9 {1 \! [
复制代码
发表于 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
; |, @1 s0 {6 m/ j$ j; r; o. Q
* W- t/ O+ d/ t9 U* t" I' S: tbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-14 06:50 , Processed in 0.098774 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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