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

2511 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 4 {; h1 P- g5 }/ \8 O

2 n! O2 c, g8 |, v

  1. 5 r2 x. G* ?9 y8 p! D3 _. r
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######! C- O) f4 R) F
  3. $ A+ Z2 `/ s. n, x4 o
  4. ### What we need ###
    6 t* r" M" f. {! t4 G% v; m0 u
  5. Naturally, we will need a MySQL server to store the data for us, this document
    + o* w& A0 `+ n  ^$ G. N3 y
  6. will not explain how this can be done - there are documents out there for the
    9 j5 h% t6 R+ h* w" J
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    3 ~- p& l. r  g! V0 U
  8. and a user account (username + password) that has the permissions to do stuff
    4 j, _+ e- n6 |( e1 ?0 s: K  u
  9. with the database. Additionally, you will need a vendor library installed on the
    # O) G$ `- z: l) P) C2 o
  10. local machine, this came with my MySQL install./ J5 U3 E  I: O
  11. These instructions will not tell you how you might transfer your data from the
    2 A# \; M/ E, J% v! o# M* V
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    2 a6 q8 I: N5 ~7 ]
  13. database.9 T6 N3 g. a! G; r
  14. Some users have reported ways to import a SQLite database into MySQL, but at8 H- e6 Y: g$ S, K- p% R
  15. the time of writing, there are still too many issues - check the current status3 L7 Y( U2 c& i
  16. in the TeamSpeak forums if you are interested.
    & t& b! O" g1 \9 D: V
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from1 w- T+ F, f4 |4 q+ n# v0 K
  18. Borland was used. This driver can only interface with the client library that
    1 t! g3 P6 Q, u8 G( x
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this: Q0 S# g! Q' A. M  o8 b/ R8 t7 j
  20. client library - basically all you have to do is to use a 3.x client library as
    ( ~/ Z) O' c$ P  U1 p
  21. "VendorLib" and a 4.x database to connect to.
    " x! z  G8 r" W8 g) p
  22. If you need more info about dbExpress, you can contact Borland.
    & @' S+ t2 ^9 S- D+ ?; c5 m
  23. 4 j1 e- A# @* y! a  f
  24. ### Doing the work ###
    ; G0 U! Y3 E0 N: x* F
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    : Z$ f! E, B; w8 f4 U; P) l% [
  26. the perquisites right, just open your server.ini file, and add this section at$ `1 R) A! L. f
  27. the end:
    % p2 p( E0 r/ b9 U+ V
  28. ---cut here---
    # t5 B6 q0 h3 S6 f  i, w6 M; f
  29. [DBEXPRESS]8 ?6 }! l0 F7 I
  30. sqldir=mysql_sql: g% G! X% a9 c. `2 H9 {
  31. Drivername=mysql
    ( p: @& J) ~, z: F. @- W: X
  32. Database=Your_Database_Name_Here) [$ r" p) J4 O% s6 \9 [+ N
  33. Hostname=The_PC_the_MySQL-Server_is_on9 _  H$ z) M4 H$ v% n  G
  34. User_name=User_name_on_the_MySQL-Server: p. o0 i4 S+ g3 e+ O
  35. Password=Password_to_go_with_above_user_name  ~5 p: l# n9 i2 R* a) m! V
  36. GetDriverFunc=getSQLDriverMYSQL" V# R; @% y$ G# y) e
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ( t2 u" y9 {. @, x' @
  38. LibraryName=path_to_libsqlmy_libary5 y4 d6 L5 q' a# U
  39. Active=1* g( P$ P- o- b, n7 a
  40. ---cut here---
    7 R$ R$ I: ~2 t
  41. In my environment (a linux box with a MySQL server running locally) I have:
    1 o& S& b8 ^: g- y$ l$ V" Q6 p
  42. ---example---, ?7 I# o/ M" ]; a( A% ?
  43. [DBEXPRESS]
    0 ]6 j' H4 z9 y7 i
  44. sqldir=mysql_sql# B8 Z8 t5 h; c, k8 T. r) u0 c1 ~+ s
  45. Drivername=mysql4 d# {3 E# e8 G: A+ x
  46. Database=test7 k# B# G/ V- m5 i1 [2 u0 i
  47. Hostname=localhost/ S+ E- R) w* s' y3 p
  48. User_name=testuser
    6 @8 Q; P5 U! Y$ D$ b# C& |, _
  49. Password=my_password3 _9 p0 }& [5 ^( H( C
  50. GetDriverFunc=getSQLDriverMYSQL! ^. t: o% i* x9 u$ f% d# _
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    0 d8 S" R6 k' Q* _& ^4 C# ^
  52. LibraryName=./libsqlmy.so
      m7 v+ n9 J* \% G# c' A3 ~
  53. Active=1
    / ]! V9 {& b4 q
  54. ---example---
    $ O8 j0 g& k' _; ~" R, s

  55. ' ?& Y; w4 Q9 S9 ?
  56. On a windows box, also running the MySQL server locally, it would be:# ?* o' P1 s' c- l! m' U) r; D9 D! ?
  57. ---example---% {8 H. T0 S' n$ c
  58. [DBEXPRESS]
    1 ~" _  u: [7 R2 T  `) e
  59. sqldir=mysql_sql
    - `& P9 x4 ^# h* L; B* l7 b, O6 r
  60. Drivername=mysql/ r& q) Y' _. O6 S% J" c# \
  61. Database=test/ K0 g9 P% A  b. o
  62. Hostname=127.0.0.1
    ) J9 N( T$ ?4 f" A' N7 I- z% K, s
  63. User_name=testuser
    5 V$ i3 L8 y- V  J$ O. y2 J+ o2 ?/ m
  64. Password=my_password
    5 j; y7 R' k2 I: p! e
  65. GetDriverFunc=getSQLDriverMYSQL9 H$ \) E$ m+ x  e7 d* l/ P
  66. VendorLib=libmysql.dll4 E; V' F) }1 {  p/ T6 n7 v
  67. LibraryName=dbexpmysql.dll
    + S; N# L1 b' F; p) r+ F
  68. Active=1* ]( k) K5 s2 T+ m. _0 S
  69. ---example----
    5 v0 ]" n% J* E" n2 I$ e8 k! K
  70. - written 02.03.04 by pwk.linuxfan
    2 o1 D2 G) i- F! D/ Y

  71. / x' f& N* ^$ b5 V6 ]  L1 c
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看& }; D$ F& I7 D0 N- ^5 J, k, w5 d) S
  1. % n9 Q' u4 h- T9 U* L- w9 i5 W
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ) |4 _; H' N, K$ T8 ]
  3. 7 P+ B8 j5 h% H! ?' M2 I' R6 D
  4. # # #我们所需要# # #
    : \  R3 `4 g, w2 `7 V
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件! h0 [5 z  T# Z& c. l$ s( J
  6. 不会解释如何做到这一点-也有文件存在,为$ F: g6 r$ y( i9 V8 b  O
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用  x" u) K' Z& J" L" O: r
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    1 E7 ^' Z0 e4 S" m
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    & ?; R# {/ J' y+ Z( r! A8 I
  10. 本地机器,这是我的MySQL安装。
    " v0 |2 s- ^) z; {8 Y: a
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    : v6 d$ X& ?3 S9 `* ]) C0 N
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ( s" U$ G8 p5 @5 [8 ^
  13. 数据库。 ' N7 r" v0 j9 [3 [9 P% f
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    3 [+ t4 |$ Z" K, c# s0 n. o; n* W
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    " z' F2 k; p8 b, g- K+ t  j
  16. 在teamspeak论坛,如果你有兴趣。 " x# ?2 \4 e; m% r% [( m$ h
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ; x0 d0 A$ s9 Z
  18. Borland公司使用。这个司机只能界面与客户端库1 _% y3 E* I$ Z8 ]
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    % k; R, W: t! a0 }* K
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为3 ?& h3 J% j! Z7 ?6 o
  21. " vendorlib " ,并解数据库连接。
      t. z$ Z& N) }6 I) t
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 : ^- L1 N- }: s$ y; c/ ~
  23. & c8 S8 C  j. r! n
  24. # # #做好工作# # #
    9 @) K) d/ ^: h7 x
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都2 p6 [$ c; _3 u5 P
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在: o9 J/ l% @& X) ?' Y" s- w9 z
  27. 结束:
    ( m. w9 |* p% ]- L2 Z
  28. ---削减这里---
    $ S/ m3 |6 t% d+ x+ `, c
  29. [ dbexpress ]
    , i1 j8 _! u! D- ?2 l
  30. sqldir = mysql_sql
    " e4 x" R  X  _7 e' |4 u. C
  31. drivername = MySQL中2 x& Q' ^% u/ Y
  32. 数据库= your_database_name_here 8 y. f6 E- k/ n2 `3 q- \6 R( {4 d
  33. 主机= the_pc_the_mysql - server_is_on $ ?  K3 P1 c6 s! A' t
  34. user_name = user_name_on_the_mysql服务器  w  y: c5 m6 j) _! \
  35. 密码= password_to_go_with_above_user_name
    1 V$ q2 C& e5 s7 b& ^0 y, N; _6 [
  36. getdriverfunc = getsqldrivermysql , c$ c! f; N4 l4 [* B
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    8 w$ o) u& P6 B( B, j+ z  @
  38. libraryname = path_to_libsqlmy_libary
      w  ~7 A& H  E3 l5 E1 b4 N
  39. 积极= 1 " g3 `9 j. I$ ~  q0 @6 q
  40. ---削减这里--- # K% H1 W- o9 a5 T' Q/ ]  u
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: # A$ t* f; q2 \( [4 Q* Q
  42. ---例如--- . k1 J; k# c* z# }
  43. [ dbexpress ]
    6 U/ w4 H, P1 s3 d4 _; o
  44. sqldir = mysql_sql $ q3 y* }5 [# r, |$ w1 V! C  Q
  45. drivername = MySQL中! |  b: s' C) q2 s8 |5 n
  46. 数据库=测试
    * ?7 H% L' G$ q0 u. d0 x" p& S
  47. 主机=本地主机7 y+ K+ X5 M" M6 r3 p: D* s
  48. user_name = testuser
    & Z; D7 V7 I( Z1 C4 [& y
  49. 密码= my_password - p! w+ }# T7 A) G
  50. getdriverfunc = getsqldrivermysql " Q% F* [5 F8 i' c
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    % @9 H! z5 \9 k" J$ f$ a
  52. libraryname =. / libsqlmy.so 1 M& s8 S3 H+ {! g4 m) v0 ~' z
  53. 积极= 1 4 Q2 J) A2 l8 s7 b- ^9 G' k
  54. ---例如---
    ' m0 g7 {/ y9 ~9 R
  55. $ P1 j  H6 n7 I0 R+ z1 S
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    4 n0 M( m# O9 ^6 M1 d* y
  57. ---例如--- 3 ]+ \: C. `; A# o( r9 I
  58. [ dbexpress ] - ^/ Y" O- S; V
  59. sqldir = mysql_sql 1 P4 o* d* \3 K/ C
  60. drivername = MySQL中% P7 j) `* Y; }4 w
  61. 数据库=测试
    0 z$ x9 o, a/ }; J( V2 P
  62. 主机= 127.0.0.1
    5 N* p0 R/ c2 W) t# @: j! j
  63. user_name = testuser ; E, n0 o' W$ O. B: e4 O
  64. 密码= my_password & N0 Q5 g3 G( v6 d! I9 p1 V
  65. getdriverfunc = getsqldrivermysql
    " u( p/ ^9 M1 M* f6 v1 X6 D
  66. vendorlib = libmysql.dll在$ r5 T5 j7 ^* h. H$ a/ p
  67. libraryname = dbexpmysql.dll
    # N% v/ n0 u- E( K0 ?
  68. 积极= 1
    . Z  A, |( B- {4 R3 Y4 P  A+ }# {
  69. ---例如---- , L. S# {& J3 {, v
  70. -写在0 2.03.04由p wk.linuxfan, I$ X$ Y8 }& I: j# Q- 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 words/ ~' h% W: I5 R, q- F" K% t

) _2 O/ V1 z& U. g6 }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-13 19:21 , Processed in 0.103816 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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