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

3510 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 1 T' B. ~) o+ k! }  x
  k. o1 V6 s4 B$ J/ U0 ^$ |
  1. 1 r3 H  z- Z. v8 E! Z; u2 Z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ( o6 y4 O4 T4 k3 P4 S
  3. 9 N7 D* m1 y. u( H
  4. ### What we need ###" n( L, G: H* M5 K* I: x
  5. Naturally, we will need a MySQL server to store the data for us, this document ! T; ~2 S/ p" S$ y. H: ]
  6. will not explain how this can be done - there are documents out there for the
    ' R% P( c4 }  R0 R2 A2 Y
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ' S7 Q' O1 m) d1 L, ?: o
  8. and a user account (username + password) that has the permissions to do stuff7 K3 W- z5 S: d
  9. with the database. Additionally, you will need a vendor library installed on the
    4 j0 D, \% W& ?- [# \
  10. local machine, this came with my MySQL install.% [5 V+ Z# G/ R! h! c7 g! u: B
  11. These instructions will not tell you how you might transfer your data from the
    8 X0 L5 o7 K, d8 B- N& d
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL$ N5 {' N, V3 S8 ^
  13. database.
    5 l# D" X9 I: N# d$ M7 N
  14. Some users have reported ways to import a SQLite database into MySQL, but at" ~' u) G; d$ S. s( W9 g4 Q, K
  15. the time of writing, there are still too many issues - check the current status$ d, a4 K- m, b4 p
  16. in the TeamSpeak forums if you are interested.
    9 _0 M" T2 G, o% O
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from/ d  m( n+ T. s2 ?
  18. Borland was used. This driver can only interface with the client library that / f) p0 _$ n1 j0 o  v3 d6 C
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this7 S' g& M% e: s. c4 ]/ j  C
  20. client library - basically all you have to do is to use a 3.x client library as   {4 q: I: @* W+ U/ t
  21. "VendorLib" and a 4.x database to connect to." v  B: Z- |! a' _6 I/ Z3 @
  22. If you need more info about dbExpress, you can contact Borland.# g* @. m4 |, z1 O- t
  23. : [" b! U: l# l2 N
  24. ### Doing the work ###* o) m" x% p* M
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all2 n2 x1 {# q* K6 m. ], _
  26. the perquisites right, just open your server.ini file, and add this section at3 v" h( n& z8 K  {+ D
  27. the end:* K* X, R! f3 A5 X* k2 A
  28. ---cut here---
    - L  l; J* }. D7 S4 z& F
  29. [DBEXPRESS]
    3 ]6 i5 ~) M6 n
  30. sqldir=mysql_sql" H9 f9 J0 W. D! r
  31. Drivername=mysql
    + F6 S" P/ l" I" N# H8 S: j; u+ k
  32. Database=Your_Database_Name_Here/ N  _2 E3 `0 h: u+ z& f
  33. Hostname=The_PC_the_MySQL-Server_is_on# t( n0 Y9 w" [+ H" g
  34. User_name=User_name_on_the_MySQL-Server
    , ?0 C1 v1 P. f* A; ^$ x  S
  35. Password=Password_to_go_with_above_user_name
    * i2 l1 _; o: h" l" O6 L
  36. GetDriverFunc=getSQLDriverMYSQL
    & N6 @6 j* @# e( s! Q, m6 k! F$ e- \
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib* V, O: L; c5 I4 {3 s& @# f8 _- D
  38. LibraryName=path_to_libsqlmy_libary* t5 k% e2 S" _( s/ B
  39. Active=1
    3 v+ c2 Z$ f, A  P! b
  40. ---cut here---
    6 ^7 M+ o7 u) Z3 [: w+ T8 K
  41. In my environment (a linux box with a MySQL server running locally) I have:
    . U5 E2 y0 a, s
  42. ---example---+ S( _& G% t  ~
  43. [DBEXPRESS]
    . i5 }7 q% X* V
  44. sqldir=mysql_sql) _6 B9 p- e) ^% e9 B
  45. Drivername=mysql, w. q% J( ~( a/ f' m$ O  u4 A# c3 ]
  46. Database=test& V: R) \0 e3 p; c2 g' o( s# x
  47. Hostname=localhost
    7 R% {4 h+ `7 w  ^% S
  48. User_name=testuser
    - ], T1 e  Q6 A* d, e, C" X# k: J
  49. Password=my_password
    3 v, i9 h2 T- d1 E( M: Y5 J
  50. GetDriverFunc=getSQLDriverMYSQL
    ; m' |1 J/ L4 V/ b* b2 M
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0# R- X# x7 p- K! o. Q$ `
  52. LibraryName=./libsqlmy.so
    " a" b. v7 C$ {- z
  53. Active=11 D8 f, x0 \$ k7 m- c- d
  54. ---example---) k( {0 n3 L/ b% h% j+ V2 J
  55. 1 o% m+ A$ i1 r# n0 x) t
  56. On a windows box, also running the MySQL server locally, it would be:
    + \8 x  W! Q/ I; d
  57. ---example---
    $ w8 s. }: z, B1 f2 n( f
  58. [DBEXPRESS]/ s7 K! B( j1 g0 v1 ]+ C: L
  59. sqldir=mysql_sql# T' [9 F4 }6 l8 S
  60. Drivername=mysql9 q: [$ j, C( P# `% ?# ~2 w8 r* J! s
  61. Database=test& T& f6 |+ j! h3 o
  62. Hostname=127.0.0.1; ~- {7 y7 J  ]5 c. q: \, W+ H+ w
  63. User_name=testuser
    3 ~* Z, J) D# N) E" v* w, b
  64. Password=my_password6 L. N$ Y1 ~$ w) X" l
  65. GetDriverFunc=getSQLDriverMYSQL
    - l% t5 X* T. ~$ x
  66. VendorLib=libmysql.dll
    % [' h& m6 \/ X
  67. LibraryName=dbexpmysql.dll
    8 s, \6 X5 p" N
  68. Active=16 C. D1 }: ^' l  e* V
  69. ---example----
    4 L5 g& r3 _2 }' N2 q9 A
  70. - written 02.03.04 by pwk.linuxfan
    7 q4 R6 |4 v! V
  71. + x; y: G1 t5 V" s% D
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
0 x& ]% i9 _$ N% c! d

  1. # s2 S" `6 h. E4 \/ v- r
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    " l, q( L  ?7 {" K% D3 l- I

  3. ; b- |# t0 S, ^0 {$ x
  4. # # #我们所需要# # # 0 |6 k2 h: Y3 s8 N2 ^& e: V7 Q
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件( j  i: s% `! g, M. e
  6. 不会解释如何做到这一点-也有文件存在,为
    7 d& r& h$ c( x* t3 @2 P
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    # c- z+ b8 u' ~# E& y
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    4 H0 l$ Q1 i) U. i4 l8 y3 L
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
      k/ D  R9 N6 z  d  P
  10. 本地机器,这是我的MySQL安装。 3 V( j( \- _4 K, C8 v- z8 h
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    # \; Z( o" t& Y6 w% B5 `# [
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    $ w. A; S2 P( y
  13. 数据库。
    6 r/ B* u  l- a
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    . }. r% S# S3 r  K7 M
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    , \) N+ U7 a1 M+ r/ @. @+ R! f
  16. 在teamspeak论坛,如果你有兴趣。
    3 j/ {7 V; Z* s. ~' ~; f( d
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机9 w  ?1 k7 t6 @3 b& B, @2 U
  18. Borland公司使用。这个司机只能界面与客户端库) K, Z, L5 _- z! `
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ) m) }- A3 K8 K( r1 N$ G  d
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为& M! v" B. s" h+ F  f/ c
  21. " vendorlib " ,并解数据库连接。 / n: H% F6 F5 H) T) O1 W$ a, G
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    2 K. C7 x. i& U
  23. * {, h2 D% k4 k+ O( B2 Z7 g% E" o
  24. # # #做好工作# # # 4 P' W" G5 Z* P& s" i5 J% a
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都& m* ]# J) e# P- W1 L9 W7 r
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ' d# ~$ q. V/ @# h  z; f- o0 Y
  27. 结束: ' _( k( X# T6 M0 e' z
  28. ---削减这里---
    1 h# s( G5 ]6 [! ]( D# ]
  29. [ dbexpress ] 6 P4 h. I# Z3 x) |( E, I. x4 y
  30. sqldir = mysql_sql
    * d+ T& J  q1 W! E2 R* s
  31. drivername = MySQL中; K7 M# S7 i, q' S3 W# Y8 ~
  32. 数据库= your_database_name_here
    ! d' U( r4 t9 X+ g& ?
  33. 主机= the_pc_the_mysql - server_is_on , ?8 s# U$ {' q6 k; z- |
  34. user_name = user_name_on_the_mysql服务器
    2 Z3 }. @: u8 r0 }9 M2 h
  35. 密码= password_to_go_with_above_user_name , H# n- b4 {" R1 U, y) T
  36. getdriverfunc = getsqldrivermysql / m; a1 r6 W! o2 g
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 4 O4 C8 q! h/ d& ~& l' r  g$ |
  38. libraryname = path_to_libsqlmy_libary
    ' M9 }# N; d0 i; L
  39. 积极= 1   W* f/ F0 `# v5 q$ i
  40. ---削减这里--- ! k0 g- g* F$ r9 I, w. N
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: $ I7 m3 h3 o7 Z+ F5 K, Y- A
  42. ---例如---
    9 l) V8 n6 `9 H1 Y" g+ i, s
  43. [ dbexpress ] * v5 o5 e7 ]. t
  44. sqldir = mysql_sql
    : _6 X+ P: ^" I, ?3 V8 W9 H# j
  45. drivername = MySQL中" w* H$ y6 b( `1 S
  46. 数据库=测试, J$ T% u( p% z# R  O/ Q
  47. 主机=本地主机! Y' U+ l" ~) i; ~
  48. user_name = testuser
    3 ?& ?7 `3 Z% G& O0 R
  49. 密码= my_password
    3 h' i" j5 Z2 L- T( z
  50. getdriverfunc = getsqldrivermysql
    5 p4 g% d& W" ?5 Y0 y
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0   `8 g; E; F3 u; f; T& o
  52. libraryname =. / libsqlmy.so
    . D7 s6 B5 j1 p  W& _7 p6 L# U2 z
  53. 积极= 1 5 v$ t; j- P4 l& i& M1 i& @0 {$ F- Y
  54. ---例如---
    4 n& a/ J) ]5 m" Q0 X# {

  55. 3 H3 x! R  P5 e2 z8 c
  56. 对Windows中,也运行MySQL服务器本地的,那就是: - c( l0 ?) U9 m! N
  57. ---例如---   T5 D  Y9 w& a5 l$ I
  58. [ dbexpress ]
    , \& h& E8 B! U1 o2 F7 @% I2 M
  59. sqldir = mysql_sql
    0 a, A6 H; M( `) {7 N; u2 S5 G
  60. drivername = MySQL中
    ) z' k" _7 ^+ G" q: \
  61. 数据库=测试
      ^, S$ n/ f9 h& h9 |+ k' ~. a3 c7 [
  62. 主机= 127.0.0.1
    " P8 J; s) j5 O* l  S: L6 d3 ^" c
  63. user_name = testuser
    " g& o, T7 o7 s2 H! l6 Z
  64. 密码= my_password
    - R% C: B: j" q3 c" [9 ?+ i3 i
  65. getdriverfunc = getsqldrivermysql 8 _/ @2 b' U# a) f4 I
  66. vendorlib = libmysql.dll在! }; j$ x' J. p( P5 P5 I
  67. libraryname = dbexpmysql.dll / v2 s5 z8 g  {& s& t
  68. 积极= 1 1 v# T3 M  J0 O4 Q6 c' w2 l; n
  69. ---例如----
    & ]" W+ Z- E9 L. S  Q  J5 l
  70. -写在0 2.03.04由p wk.linuxfan! n: D3 Z9 c7 U5 y( W
复制代码
发表于 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 words8 B$ @: |; C; j; C) x) F+ Q

' B1 `4 l4 |: s" t: jbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-13 15:29 , Processed in 0.074560 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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