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

2494 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 9 P( ]: \5 Q2 w) \$ t) R- I' p
6 b- s' s, r  R2 C

  1. 2 [, K& x7 g! a* z) F$ Z# W
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######1 P5 ^! a- ?+ a4 d0 o2 R2 u. |2 V
  3. & o$ R; j. F3 u( t+ I+ \6 U( @
  4. ### What we need ###
    0 q, b/ J5 N1 Q, O3 D
  5. Naturally, we will need a MySQL server to store the data for us, this document
    " @5 n% N) h( |9 U/ G. e6 h
  6. will not explain how this can be done - there are documents out there for the
    8 \% A" J' f9 {* _9 b
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    6 X' d% I  s% d
  8. and a user account (username + password) that has the permissions to do stuff8 |! ?  {, {# h9 \, E" t
  9. with the database. Additionally, you will need a vendor library installed on the
    / {% j0 h% D4 ~0 s
  10. local machine, this came with my MySQL install.
    ) D( J! x+ r7 Y) o$ L
  11. These instructions will not tell you how you might transfer your data from the0 s. _  Q, E& S) i4 G( Y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    0 W1 d8 w7 x/ R5 o. v; l
  13. database.2 `* G8 J' T( X' b
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    3 f4 g9 [$ L* ~5 n. i. D3 ]
  15. the time of writing, there are still too many issues - check the current status
    8 {* v3 b# \; H# l2 p
  16. in the TeamSpeak forums if you are interested.  @8 B" |) K+ i. G% ~! F
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    - Z: |6 q/ w1 Q( R5 L/ q) T& N5 ]7 O
  18. Borland was used. This driver can only interface with the client library that # {  \: L7 B& w7 c6 ^. M
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this9 K; t, J4 Y6 e* p
  20. client library - basically all you have to do is to use a 3.x client library as
    4 ~' o/ G5 _2 A' D/ O5 h
  21. "VendorLib" and a 4.x database to connect to.. }, x. o: z$ ?
  22. If you need more info about dbExpress, you can contact Borland.* I$ ?5 c$ r9 L- `

  23. / G  ?# ~# N- g/ u" G
  24. ### Doing the work ###% E6 _+ [$ X! s9 I
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all  x- C: Y% e% j2 m: ^5 q; F
  26. the perquisites right, just open your server.ini file, and add this section at
    , g! b/ g) W- o* C
  27. the end:
    6 N! K5 T" O4 T- e1 T
  28. ---cut here---7 S4 }' _+ Z$ D( @
  29. [DBEXPRESS]7 f9 J7 R& b* ^! `; k' d
  30. sqldir=mysql_sql
    & Y# p' x& Z! J/ Z7 w- S
  31. Drivername=mysql8 S0 t/ N/ c; R! D+ p3 T
  32. Database=Your_Database_Name_Here1 i+ h! T5 ]2 S3 J
  33. Hostname=The_PC_the_MySQL-Server_is_on* o3 n7 {" ^, s; ~  `, ^# Y
  34. User_name=User_name_on_the_MySQL-Server/ r+ x* O2 c3 V0 n
  35. Password=Password_to_go_with_above_user_name
    7 `6 o8 p' ^. d. a5 Y# Q- T
  36. GetDriverFunc=getSQLDriverMYSQL
    + }4 e8 e* [1 Q9 F( H4 {1 s
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    & i- P$ \4 o" @2 l2 K; I2 l+ U) B5 `
  38. LibraryName=path_to_libsqlmy_libary
    # p. d/ M$ _. V7 W+ ^0 A
  39. Active=1
    " h* `, s/ [, g0 o- c
  40. ---cut here---2 ^- H( Y$ m# V
  41. In my environment (a linux box with a MySQL server running locally) I have:2 u1 ~4 E% ?1 ~* K' i. `- ^7 F
  42. ---example---- S2 `, l: u0 X1 j9 v$ [
  43. [DBEXPRESS]
    - N% {2 B! ~: ^' V0 ~0 i
  44. sqldir=mysql_sql
    5 C$ j0 S4 w, W; e- _/ z
  45. Drivername=mysql1 J! E2 t! ^; J& P1 y! @3 T9 n
  46. Database=test
    / o! l* c5 ^5 j, t
  47. Hostname=localhost
    ; E  w0 x2 N3 a- T+ ^
  48. User_name=testuser, W' R, ^' }+ ~& q  l
  49. Password=my_password
    % v3 j" d/ Y! K1 _
  50. GetDriverFunc=getSQLDriverMYSQL/ D7 a1 _% y! J) @; K
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0) Z( Y( L7 R# [, M* M% p
  52. LibraryName=./libsqlmy.so
    $ Q8 q( B! s5 C
  53. Active=1. h/ Q; K. K7 {/ S
  54. ---example---
    ' ^5 J& V' h3 Q  ~; ?! ]

  55. - d" E2 V5 j* J, u
  56. On a windows box, also running the MySQL server locally, it would be:
    6 }( \1 \: Z# a9 Q8 I
  57. ---example---" J; R, u5 o  B8 @( d
  58. [DBEXPRESS]8 f2 ]5 F; U; W3 P$ T3 c
  59. sqldir=mysql_sql
      O. {+ e( V% u) Z9 c  \
  60. Drivername=mysql
    . E: K4 u  F" U6 q4 X* N! R
  61. Database=test4 Z8 b& N+ p; d
  62. Hostname=127.0.0.1
    & o" G- E) I4 r
  63. User_name=testuser
    " @0 f: k  N$ j+ z
  64. Password=my_password
    0 w& F; C( x) H9 T7 K3 L& o
  65. GetDriverFunc=getSQLDriverMYSQL
    7 k; S" o/ Q. X
  66. VendorLib=libmysql.dll2 R8 {2 s8 {) K; H' `
  67. LibraryName=dbexpmysql.dll) L6 C/ R, t" f- t, [
  68. Active=1
    ! k  J! _$ @# o
  69. ---example----" n, J5 ^; j$ C( n, {4 l, @
  70. - written 02.03.04 by pwk.linuxfan2 r: {7 t% Q4 V2 v6 M
  71. ! i5 O% ~+ b0 {: m7 i+ u
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
9 J$ C, y! v, e/ F+ s# N
  1. & N: ]8 }9 G7 f
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
      V2 i4 B7 m6 ?* V
  3. 4 r  w7 i, ?& A
  4. # # #我们所需要# # # 8 Q3 ]" t( \9 V
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    7 `$ [) [  X; l
  6. 不会解释如何做到这一点-也有文件存在,为
      c: ]0 K( V2 r9 @) ?( q5 J/ z
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    3 o) ^) _0 v9 d3 n' d; h, N& J
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西, z! o# Q/ g6 [& g' e
  9. 随着数据库。此外,你需要一个卖方图书馆安装于9 g" A9 k/ t; ~- j4 ^1 [  n2 B
  10. 本地机器,这是我的MySQL安装。   p' v3 @* G6 |" d; h+ P
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ( `! ]0 n+ Z8 y! h  L
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    + b3 x+ h" }( R. D7 d5 B7 \: W% x
  13. 数据库。 4 X% ^. t+ f: ~
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    + O9 c! J* J! T7 F/ k- G
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    , `2 r4 t; w+ }  O0 ]+ P
  16. 在teamspeak论坛,如果你有兴趣。 ( N) P# V# v5 Q
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机5 S/ j) N3 o; [( b# \( ~) A( r/ A
  18. Borland公司使用。这个司机只能界面与客户端库
    0 ]  w& Y: O) j
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ( g  x% e" [+ m' A% l2 R, p
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为( s' @2 C% P4 D: b2 d
  21. " vendorlib " ,并解数据库连接。
    & \4 `! v% d1 C7 S2 l: S
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ' I9 z2 L  g  o0 Y& p2 L
  23. ' _+ W1 v: l2 s$ f$ C
  24. # # #做好工作# # #   |1 C2 a. ^8 i0 ~) S
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都. {8 w( x8 o- G4 ^& C* o
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在% C' X& }" L7 ^2 ^" u6 ^( {
  27. 结束: $ p. J# q5 E: N3 n" T: i
  28. ---削减这里--- " A/ q3 p+ W" i7 |2 X
  29. [ dbexpress ] , K' J$ \1 Z: ?* F" G# H; S, C% V4 ~% w
  30. sqldir = mysql_sql
    5 u: c" z/ k5 e- s6 e0 A8 W
  31. drivername = MySQL中
    0 T/ g! ]0 `1 x% u6 p
  32. 数据库= your_database_name_here
    % E) T  H4 e; x7 O) p4 `1 E9 Y
  33. 主机= the_pc_the_mysql - server_is_on
    * L4 r; g9 v5 s3 d4 D
  34. user_name = user_name_on_the_mysql服务器; P6 _) f  C  Z% s) i
  35. 密码= password_to_go_with_above_user_name
    , A) F1 s8 n' P/ n- g# o1 \
  36. getdriverfunc = getsqldrivermysql
    + T5 Z' z# C- a
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib % @! D5 z0 v( q4 A9 ^3 h
  38. libraryname = path_to_libsqlmy_libary
    5 l  C  }* N" c+ }7 s+ P
  39. 积极= 1
    0 I1 K6 U( B1 R5 I6 {: r$ Q
  40. ---削减这里--- 0 p2 w9 z8 E& ^5 _
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 5 [. j! F# }" y+ y/ h
  42. ---例如---
    , E! D+ g, A) b* z7 h& R
  43. [ dbexpress ]
    : `9 v- k; G* j$ J, m% N7 }
  44. sqldir = mysql_sql
    - ?" d) b& s! \9 q* r* n  r
  45. drivername = MySQL中0 v2 r# Z$ q7 [; B) O: h
  46. 数据库=测试
    & a# T1 c0 w: [0 C$ y. d; {+ L9 R0 J
  47. 主机=本地主机
    & Z6 q% w' C6 R4 Q1 m2 w. ]4 m
  48. user_name = testuser
    - X# G. H7 X" f* _! `2 A0 [
  49. 密码= my_password
    ( A7 }* x1 x, ?1 B  C  ?" p
  50. getdriverfunc = getsqldrivermysql * E0 R0 }/ Z7 C" @3 l9 @; N3 X6 u
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 * A9 w( u6 \  w% z/ h: d% H0 |, e; y
  52. libraryname =. / libsqlmy.so 9 d( a% y; z5 a3 n7 w
  53. 积极= 1
    1 M2 e9 g- a3 G* h. v. i% l
  54. ---例如--- ! p, g* y  p) x5 D, w- k

  55. * Y9 U6 ~1 v; ^/ L1 a& G2 d
  56. 对Windows中,也运行MySQL服务器本地的,那就是: * [  v% p4 s3 m7 D; S4 x
  57. ---例如---
    9 m8 ^# h1 N! x4 G9 F, w
  58. [ dbexpress ]
    $ l* b8 o3 R$ C
  59. sqldir = mysql_sql
    # I, I. C6 V+ M6 h5 S
  60. drivername = MySQL中
    8 X4 {) q7 R# U
  61. 数据库=测试. B6 t, I2 l' T0 Q8 G& m0 H
  62. 主机= 127.0.0.1 4 c* a* `3 _  Z- d6 N
  63. user_name = testuser
    4 h& m0 u7 x. d6 \
  64. 密码= my_password 4 ^$ T/ j( d1 l1 }
  65. getdriverfunc = getsqldrivermysql 6 D- h9 {" n0 B' L6 V' I9 e
  66. vendorlib = libmysql.dll在0 p! \8 P* f& c. u7 M6 ]8 W
  67. libraryname = dbexpmysql.dll ) V2 M4 B1 B5 G# Z4 ?
  68. 积极= 1 # l+ c  t! a0 W( V( P
  69. ---例如----
    4 Q/ s  |) Y6 R, _( q% e# G/ m
  70. -写在0 2.03.04由p wk.linuxfan
    3 v( ?! F# `) B% |
复制代码
发表于 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 C6 |) K2 \+ Z6 r! o1 v

; |! K0 b- Y7 dbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-10 20:46 , Processed in 0.087708 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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