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

2558 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan : x8 F% z" |/ d
5 I9 z3 K8 D' p5 p; G

  1. . j- s$ `. y& y2 r9 i' g8 ~
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######4 U( y! B( z, f# j/ x' V
  3. : f" |* x5 ~. j. g2 Y$ S
  4. ### What we need ###5 d6 u" G( S; v- v+ \) z
  5. Naturally, we will need a MySQL server to store the data for us, this document
    $ \- H' |) {; M3 Y$ _1 c. h
  6. will not explain how this can be done - there are documents out there for the
    2 V$ s- z- @9 }) a
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    8 `: n( v- C# ~3 V  _) o
  8. and a user account (username + password) that has the permissions to do stuff1 e+ K5 J& @0 H1 s2 f8 ?* K) E
  9. with the database. Additionally, you will need a vendor library installed on the' O% [8 j, ]% K2 S# o$ \
  10. local machine, this came with my MySQL install.
    + V+ F9 w& l8 r0 F. \% R3 a  e
  11. These instructions will not tell you how you might transfer your data from the$ H' {1 C( E5 F# q+ _5 N
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    / g3 {; \# r5 f' I4 y8 e: I2 I9 Z
  13. database.
    / \1 Y$ V1 x/ a7 N$ p" k
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ! {2 `+ z8 e3 Q0 r
  15. the time of writing, there are still too many issues - check the current status
    * ]3 q) P' f6 L/ m' [; l* Q
  16. in the TeamSpeak forums if you are interested.
    9 O9 g1 i4 W1 X: M. M
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    7 L3 T. C7 d; G1 L. p* }
  18. Borland was used. This driver can only interface with the client library that
    3 I6 F4 B6 D( M; v* I$ t
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    7 S. T& Z, g7 E/ f& U* h
  20. client library - basically all you have to do is to use a 3.x client library as ; n' }5 h: C* P0 s
  21. "VendorLib" and a 4.x database to connect to.
    ) C2 k; U; G: G: J1 E: C
  22. If you need more info about dbExpress, you can contact Borland.
    * K( H0 [6 M$ r3 v3 X$ u

  23. $ Z8 c# @" S- N9 n" q: N, m
  24. ### Doing the work ###5 h3 C- q" h+ H8 m7 p
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all% M0 V  x' X; Z2 o$ S. N# [
  26. the perquisites right, just open your server.ini file, and add this section at
    ! p5 v. u7 }% q4 ^, W6 d
  27. the end:. v# _: \9 b" `
  28. ---cut here---- h& J' G' R) J- F+ v# M9 \5 q0 M# g4 f
  29. [DBEXPRESS]- P! t6 {9 F6 v6 t3 w7 F
  30. sqldir=mysql_sql, r, S# Y2 ~$ c2 x7 @" Z
  31. Drivername=mysql9 q: p- t+ Z# K5 N* o0 s
  32. Database=Your_Database_Name_Here
    5 v5 A& @- ^# o/ [4 I
  33. Hostname=The_PC_the_MySQL-Server_is_on
    7 M' }' {3 _5 {. ]( Q7 w
  34. User_name=User_name_on_the_MySQL-Server
    / R' v4 f  o$ O$ N' T
  35. Password=Password_to_go_with_above_user_name
    * C% [, M3 E/ S; ?2 A# c% [
  36. GetDriverFunc=getSQLDriverMYSQL6 |* x: U0 m* r# ?$ Z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib5 I; A  G/ i4 ?! [; e8 c
  38. LibraryName=path_to_libsqlmy_libary6 b7 U& F; p8 g- t6 f
  39. Active=1
    + Z1 q4 @6 I" n6 J& z, n5 u9 }
  40. ---cut here---
      ]- @- l+ Z1 E$ |: b' ?/ W
  41. In my environment (a linux box with a MySQL server running locally) I have:
    & @* x( k- t9 T( Z
  42. ---example---
    4 U1 j3 A3 ]3 j+ n) C" V, d
  43. [DBEXPRESS]/ g' w# f3 o$ @# P& `
  44. sqldir=mysql_sql
    , k# L. N; T/ s# h: m6 d
  45. Drivername=mysql8 g( b/ _: d& I2 P) G4 o- |$ t
  46. Database=test: _9 P7 U' D. T: n8 r, P
  47. Hostname=localhost
    ) [- @* l" T  m3 y; M' ]' e/ K! S/ W
  48. User_name=testuser7 B. I  p% ]  d' o$ X1 z% V
  49. Password=my_password* m0 a, C# y: x5 l' `
  50. GetDriverFunc=getSQLDriverMYSQL
    , L) S% {- W7 H( _& P5 M
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ' f1 h5 e- T" B& b# v, Z( |
  52. LibraryName=./libsqlmy.so# U8 \: H& `7 N- N1 @
  53. Active=1
    - y1 w% r; N! G) V
  54. ---example---, g+ L: }  k' U
  55.   y6 n& V) s5 n) G
  56. On a windows box, also running the MySQL server locally, it would be:4 a3 w- i. k8 w
  57. ---example---
    6 E7 ^' K% ^% {- v3 U
  58. [DBEXPRESS]
    # b  O- N! F+ N+ s7 d- [
  59. sqldir=mysql_sql
    , q& d( x7 M) e' G9 A6 ]6 y
  60. Drivername=mysql
    ( b. r5 q! j. T7 F
  61. Database=test" I) _3 f- E0 P6 j: T! C
  62. Hostname=127.0.0.1
    9 }" V. K3 Y) A- q. [& p
  63. User_name=testuser* }$ v0 _/ s0 U$ h
  64. Password=my_password
    : w' }9 C" F  @/ j' w
  65. GetDriverFunc=getSQLDriverMYSQL
    . C! B' T' l" M8 D8 A
  66. VendorLib=libmysql.dll. x) J2 z8 P- g! g4 m( b
  67. LibraryName=dbexpmysql.dll
    : A5 p2 h" \& e  @. t+ M4 q# C# U
  68. Active=1
    % O* B" S! B& k6 X$ l! |
  69. ---example----8 R3 ^  v' Y, q8 w
  70. - written 02.03.04 by pwk.linuxfan' N# q- G. M2 j+ }& J: W
  71. 9 [! V0 ~! y4 c& _
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
/ n$ g8 E! {3 E/ h
  1. 7 A! z3 G1 u& _2 T7 u; R
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
      _# K; y% O5 Z6 H2 {
  3. # M" B8 ?# H* h% ]- u+ q
  4. # # #我们所需要# # #
    % Q4 o3 u# d8 T1 S
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件0 }' x/ i& H: z: F+ ]$ n' t3 q9 Y
  6. 不会解释如何做到这一点-也有文件存在,为5 _* r# Y6 D1 u* z. [! X) K
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    " E9 t7 e# H: l2 e8 ]
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西9 W. {& s! w  @" Z
  9. 随着数据库。此外,你需要一个卖方图书馆安装于8 {, @! ]9 _& \" L& R- o
  10. 本地机器,这是我的MySQL安装。
    ( \: j7 z- h' x" }$ Z/ z
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    % m" j! n4 o# h( L: w) \, N
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    + a" \6 f  w$ D+ w; o0 w8 n4 {5 m
  13. 数据库。
    / l4 @/ k; u* F0 ~5 d7 z1 [
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    0 }) R, f: d3 L2 {: c
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    0 p: r( H+ w3 g# R
  16. 在teamspeak论坛,如果你有兴趣。   ~" ^8 r# K' ~3 \, }! L
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    - x9 K+ ~# S# x9 X
  18. Borland公司使用。这个司机只能界面与客户端库
    # [# w5 |; s! O" l6 I
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    / @; \& U! |+ O% [! P% O5 G! _
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    % v: A2 }) R( |- s$ {
  21. " vendorlib " ,并解数据库连接。
    2 }  {: [; `3 Z2 D- o
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 & {3 h" A. M9 J5 e1 U9 M1 X; V9 `0 n* [1 G

  23. & J; M' t* C8 p( u
  24. # # #做好工作# # # 4 W5 P; h% `5 c+ v0 r# m# O8 J! F
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都+ U4 I( M! p# P; U6 A7 [/ h
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    + z% Q) D# F% [5 t
  27. 结束: 9 F8 @/ l& U" b0 w# ^
  28. ---削减这里--- - E7 [0 N8 D4 I9 V
  29. [ dbexpress ] $ v1 X, B' h! G( w# w" _
  30. sqldir = mysql_sql 7 W) a& }) x$ P+ N. w  @
  31. drivername = MySQL中( d; W8 d# Q* b: Q# G2 i8 {- g$ d
  32. 数据库= your_database_name_here
    ' H1 B0 {7 d; o2 U
  33. 主机= the_pc_the_mysql - server_is_on ! ^; ?+ U- J. }! [/ G5 ?6 {
  34. user_name = user_name_on_the_mysql服务器
    % D7 c, c; z$ C
  35. 密码= password_to_go_with_above_user_name
      T% M% p2 l' I; y7 P8 }
  36. getdriverfunc = getsqldrivermysql 6 m) i( s  ^* h0 ~* k" n
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib . M. u: ]/ u& ~+ H" A/ F# C; ]) C
  38. libraryname = path_to_libsqlmy_libary ' l* g# r! B& E/ |
  39. 积极= 1 5 o7 N" x8 P4 q, v2 g+ E' \
  40. ---削减这里--- : c5 Z8 a. F9 a; p) V6 U% }
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    2 a7 o; J& @% W) }2 |
  42. ---例如--- . C# e/ a4 S$ R! D% `! }) O5 f" R* ?
  43. [ dbexpress ]
    / a" V$ a- O8 H3 r
  44. sqldir = mysql_sql
    7 G& A- c$ n- Z3 E1 p
  45. drivername = MySQL中
    & B2 @" R0 `: [1 a; m2 f
  46. 数据库=测试
    : `! \4 L+ `" F# J8 q7 D
  47. 主机=本地主机
    1 o& t( G! V  p, V! l1 U0 U( C/ J
  48. user_name = testuser
    . `3 Y! A6 B* `$ J% N
  49. 密码= my_password
    6 x  U4 q3 G6 p5 C
  50. getdriverfunc = getsqldrivermysql
    5 s+ f" }* [! z1 l. O# l) [- v$ C
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ! E3 ]/ l" \* A- g0 B5 }; o
  52. libraryname =. / libsqlmy.so
    4 b/ C) D( L0 u8 P6 e- ~
  53. 积极= 1
    : ?, A8 F1 U5 x6 g
  54. ---例如--- . H9 w2 m+ c3 [
  55. ; E! O  _* r; J
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 6 H3 n) t) a; R0 q) ^
  57. ---例如---
    7 ]  x) a+ G" k
  58. [ dbexpress ]
    % h$ i- [- i! N$ A4 S/ A; T0 [
  59. sqldir = mysql_sql
    2 R# {( k$ O, t
  60. drivername = MySQL中7 _" |* b/ [5 u% ?, ~7 d) m
  61. 数据库=测试$ Z7 w$ w6 _8 G2 }( i
  62. 主机= 127.0.0.1
    ; c. _( x% h4 `9 L( Z( d6 F
  63. user_name = testuser * q$ H; n& d4 u1 e/ p8 L
  64. 密码= my_password
    4 E0 k, F- T$ I. J8 h2 Q
  65. getdriverfunc = getsqldrivermysql 2 O  _2 t1 n3 Z4 q
  66. vendorlib = libmysql.dll在
    ( H$ C( \$ @4 \1 s1 Q& W. x9 n
  67. libraryname = dbexpmysql.dll 4 l. `8 C. L* |2 k
  68. 积极= 1
    7 z9 ~) t1 b( V% {2 T
  69. ---例如---- & P, Q9 Q% S6 U( m3 E0 c  o4 K
  70. -写在0 2.03.04由p wk.linuxfan! B- W- N- S8 t# ?0 r6 ?) H" |6 C
复制代码
发表于 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
( d" L  \/ ]* C7 i' K9 s6 B  r3 p/ h
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-27 12:44 , Processed in 0.101413 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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