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

2882 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan $ L/ H8 O% K9 a! w& B
2 q- D& m6 d. s! I4 s9 h

  1. ) g1 P. b6 ]0 w! H
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    # o$ O1 _8 B5 l( ?

  3. - z! O6 X  [' R. d* n. P
  4. ### What we need ###! K' d! J1 B7 f/ p' K' w
  5. Naturally, we will need a MySQL server to store the data for us, this document ! R. v, T# w3 p; O2 N: X$ z, s3 N( I
  6. will not explain how this can be done - there are documents out there for the
    3 Y+ N4 B/ w% k0 L! `& x
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    1 N2 _7 A3 U# k) ^8 J! f
  8. and a user account (username + password) that has the permissions to do stuff) E, x4 J& v0 P8 [; F
  9. with the database. Additionally, you will need a vendor library installed on the
    4 S* I" M, W- G) c5 f
  10. local machine, this came with my MySQL install.: F1 O6 C  k. I/ g
  11. These instructions will not tell you how you might transfer your data from the& _$ L# x7 a4 J: L" E
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    # J/ F. y) I/ S9 \0 D. M  G. a
  13. database.+ a& c' ?! Y6 V$ Z) x
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    7 B- D7 K) K3 }2 N7 u
  15. the time of writing, there are still too many issues - check the current status. c  i- t0 s7 U! p+ E: p
  16. in the TeamSpeak forums if you are interested.2 Z0 b# I" Z- ^: t- q
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    3 N# l; B0 m# R! d, a8 a4 \
  18. Borland was used. This driver can only interface with the client library that & S4 h* o7 J( n, f" B3 e
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    8 _+ Z! d6 {2 \6 s. o
  20. client library - basically all you have to do is to use a 3.x client library as
    9 o5 i% u5 F' P) Z+ \4 f) X
  21. "VendorLib" and a 4.x database to connect to.
    0 v2 L8 x6 j4 N1 n* \2 ^# k: S! i
  22. If you need more info about dbExpress, you can contact Borland.0 ~5 R  v* u0 z5 U8 C
  23. % ~+ X  ?! `" b0 V3 ~
  24. ### Doing the work ###
    2 x/ u) T8 }) y2 A, C2 S  U0 x
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    $ U/ o* I) e% c8 G9 U& m9 A& {
  26. the perquisites right, just open your server.ini file, and add this section at
    / _. D3 k2 e& Z
  27. the end:
    4 z4 e: s' U- s* @7 H
  28. ---cut here---. B8 o- f" ]* V
  29. [DBEXPRESS]
    ' A) u! W: x, @4 {7 j) h
  30. sqldir=mysql_sql
    8 u; K2 b) [% @4 I9 ]! y
  31. Drivername=mysql
    " P: t! H( M. `
  32. Database=Your_Database_Name_Here& _& z& O* j5 N8 H$ U7 r% a% P
  33. Hostname=The_PC_the_MySQL-Server_is_on. U7 f6 Y; n$ I: z
  34. User_name=User_name_on_the_MySQL-Server& a9 R. [$ ~' r3 G& ?& |
  35. Password=Password_to_go_with_above_user_name
    1 n, b, w7 t  p+ Z& Y6 c/ f
  36. GetDriverFunc=getSQLDriverMYSQL1 P4 B9 B; ?! h: H7 u8 s
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ; q) i- ^4 W% {/ f5 G
  38. LibraryName=path_to_libsqlmy_libary
    ; Q+ L& U: P" _) A; l) D
  39. Active=1# e0 @/ T* [( Y! \5 i# R
  40. ---cut here---
    " m3 }7 K* G' M0 n6 Y; K" w
  41. In my environment (a linux box with a MySQL server running locally) I have:
      T7 o7 l- ^/ O" o# t# b5 X6 @" S
  42. ---example---" B, l2 Z; F: f" ]* _
  43. [DBEXPRESS]* k# z- O: K: O. j6 f% K' J
  44. sqldir=mysql_sql: e9 a4 p0 ?% t7 y( e* \
  45. Drivername=mysql! x6 t. `+ u7 Q/ j! v" P6 b8 ]
  46. Database=test
    . e: S, O+ v( S
  47. Hostname=localhost7 @7 U7 R3 }0 u5 I  d! u+ _2 r% E  @) S
  48. User_name=testuser
    # C& D7 k( z2 N$ M
  49. Password=my_password
    2 c& F7 L1 @- i4 a; Q* m
  50. GetDriverFunc=getSQLDriverMYSQL
    " V* n0 i3 j& q3 I/ M2 h
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0* L6 {1 P3 U& j
  52. LibraryName=./libsqlmy.so
    $ a% E' e. S6 Q0 A5 S3 y5 p
  53. Active=1* l; c) Y# A; C0 E" E" r7 B! h8 k
  54. ---example---# p4 G; ~/ |' V" ?- E3 k' p& y

  55. 6 P; M! s* [8 `) Z0 U! [
  56. On a windows box, also running the MySQL server locally, it would be:
    $ A3 ?. Q3 `8 U5 t
  57. ---example---( u- D0 C0 R. C* K6 [9 C8 V
  58. [DBEXPRESS]
    & N" U/ L& F9 f0 A( _
  59. sqldir=mysql_sql
      g& u% S' f$ [6 U, z, y
  60. Drivername=mysql
    ' b9 w, d$ W, n. \9 C3 w
  61. Database=test
    9 \  Z- S& ^2 v  n; \& e
  62. Hostname=127.0.0.1
    # {( M; s0 Q: G* B4 V) r8 M* C
  63. User_name=testuser
    * q- n; p" T& \
  64. Password=my_password
    - n. J( O1 g2 L5 r9 d1 c2 u; v
  65. GetDriverFunc=getSQLDriverMYSQL
    ; P$ N8 ^  u- S( Z" H
  66. VendorLib=libmysql.dll
    0 z# s* F2 Y% F6 J3 {4 ?
  67. LibraryName=dbexpmysql.dll) p! [* {" r- t7 e
  68. Active=1
    5 l! r( j+ G5 w# @
  69. ---example----
    % S0 `* w" n% U/ ?* U
  70. - written 02.03.04 by pwk.linuxfan
    8 E* U% J0 V: M( c+ V1 C

  71. 2 e3 ]$ \( T5 }/ L. P, q! ~8 q& }
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
& c2 ~- e# ]  k1 r! E" E

  1. ) e) t( {+ N- Z6 ^" J
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 1 b. d7 [! d* l7 U' y

  3. ; T0 Y1 H, ]' P, u; x, M
  4. # # #我们所需要# # # + u- u& q# Z3 }; I; O
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件  I0 J6 P. A0 F) m+ [4 f! u
  6. 不会解释如何做到这一点-也有文件存在,为2 u  q6 w4 s( @. G
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    & u" P/ Q+ R# t8 a1 I* C4 w
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西! x+ H9 ?! z1 d
  9. 随着数据库。此外,你需要一个卖方图书馆安装于/ U: A3 E0 o' C8 M8 a& J+ Y+ }, t, [
  10. 本地机器,这是我的MySQL安装。
    : `2 T$ ~# B, M) [! d) t, s9 }
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从# S" {. H) Y4 a, v" e# ]
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 8 N- G" T- K8 w
  13. 数据库。 ! J- x/ H5 ], F0 [" y4 ^
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    / j; V1 O' _7 q! \9 E/ }1 j
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    & F2 K5 d# w5 D: c
  16. 在teamspeak论坛,如果你有兴趣。
    8 ^) A- s6 X; y, F) Q& A
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    * A/ u2 k+ l& d& {2 J
  18. Borland公司使用。这个司机只能界面与客户端库; Z/ f- F- V) W# w
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ' {. X$ v" c9 n2 R: ]+ J
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    3 v: a2 E& S2 q' c2 M
  21. " vendorlib " ,并解数据库连接。 ; |( e$ ?& Q6 G) p$ M
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ( j* X! F, W1 U* q: o+ ^* ]5 B  O
  23. / r* |; T! j+ f. P& c8 c2 Z, y
  24. # # #做好工作# # #
    8 s- X$ H! h+ N/ v. N) E, {
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    , L+ g3 m6 @2 W$ Z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    - z) B& K7 S( E" G" S, t, N, b
  27. 结束:
    # p8 T. f1 z% i7 y
  28. ---削减这里--- 0 g( P3 `( s( Y1 k  L
  29. [ dbexpress ]
    3 W( G4 i2 _: f! ]9 P
  30. sqldir = mysql_sql
    . y, a' ^1 U7 y/ |: c! e
  31. drivername = MySQL中
    . E# R& E2 C- s: y8 f. d- X" n5 q
  32. 数据库= your_database_name_here
    # ~- g2 t  W  r
  33. 主机= the_pc_the_mysql - server_is_on
    $ d+ c& I; ?/ _2 x* X0 D5 v% v* T
  34. user_name = user_name_on_the_mysql服务器
    8 u1 g0 x! y4 P9 g
  35. 密码= password_to_go_with_above_user_name
    ( Q6 ?9 P, k6 h! A; ^
  36. getdriverfunc = getsqldrivermysql
    - |7 a9 i- Y2 ]5 @" n! n
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib $ |/ B# m9 I: F5 P' T
  38. libraryname = path_to_libsqlmy_libary " c% T8 n" _0 d! G- ^
  39. 积极= 1   `' i" o8 P+ O- {7 ^
  40. ---削减这里--- 3 A' a0 \. q* T% x# R3 O) @
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 1 R! d! `2 U8 H! c$ H0 D
  42. ---例如--- ) J; k. C, P8 m* C! ~! {; N
  43. [ dbexpress ]
    : R, ]3 m, E' L& b0 n
  44. sqldir = mysql_sql ! H: P9 u2 {8 @. m; ^
  45. drivername = MySQL中  ]" C  R' v8 n9 g
  46. 数据库=测试3 u: A  E  _' m+ Z
  47. 主机=本地主机
    5 z) U- d  S. X7 A9 k) w# T# m/ U
  48. user_name = testuser # I, ^+ M! T6 m. P
  49. 密码= my_password / U! K2 \# b: S3 f# o
  50. getdriverfunc = getsqldrivermysql
    : N7 P# n) {  Y  m1 S/ I
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 : q! e0 ^- P0 L* Z
  52. libraryname =. / libsqlmy.so 2 D  @& h( G3 @0 Y" ~
  53. 积极= 1
    7 n+ C3 [  H- x: @7 U5 v
  54. ---例如---
    7 P6 I$ _: Y3 G" v: k: U' A

  55. 8 }! R, F; Z% C, T/ a# \' d' Q; _! _
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    - Q* O& A4 Z5 `; U
  57. ---例如--- + E8 Y2 s# y% W
  58. [ dbexpress ]
    ; X: F$ t0 H! [, b% ^. [# {/ b
  59. sqldir = mysql_sql ! m  e" p. M  `% C% r
  60. drivername = MySQL中
    2 R! u, x+ x7 F5 Y) b2 l
  61. 数据库=测试
    3 s( `; U9 g) t$ n6 [
  62. 主机= 127.0.0.1 " e5 E0 ~3 ^) R: h# g0 y& S
  63. user_name = testuser , k6 u8 b$ l7 U( j0 A
  64. 密码= my_password
    2 C2 u, e! B/ z- y2 d% S
  65. getdriverfunc = getsqldrivermysql
    6 ?& u; y1 w  m" E- L
  66. vendorlib = libmysql.dll在! s; x& W: A# ^" C8 k1 b* q; q
  67. libraryname = dbexpmysql.dll ( G: r  p& H6 y4 ]' g
  68. 积极= 1 " p" V5 R2 @; y0 V0 [
  69. ---例如---- 6 z" X# M5 G3 [0 Y( F" }
  70. -写在0 2.03.04由p wk.linuxfan$ g" u5 D3 P$ h/ _3 v7 [* u
复制代码
发表于 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
' [8 \5 e) {% `3 g: H  r: Z6 Z! r
; O, x; x  ?6 M7 d0 ~* x; k( [but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-12 19:19 , Processed in 0.109109 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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