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

2711 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
* e  l; s% {( S4 |) f( E% N- H
( V; e, k: C# ^6 Q# A) n: Q

  1. , y+ X; t, E8 @4 q2 V+ C
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    8 f# E% G! D$ G& |/ @0 ?( H

  3. 5 W7 j: H' E8 Y6 L6 S
  4. ### What we need ###
    : Z% h; h! A$ @3 A2 b% _( c1 T  X
  5. Naturally, we will need a MySQL server to store the data for us, this document
    / L; e$ q1 E9 V: ~
  6. will not explain how this can be done - there are documents out there for the + [0 O% I( J  F- |9 k4 `  i
  7. interested. The requirements include a (empty) database for TeamSpeak to use- p  p. @* F1 N
  8. and a user account (username + password) that has the permissions to do stuff
    $ b0 m8 t; h. k7 j9 [; g" S
  9. with the database. Additionally, you will need a vendor library installed on the
    , N& r& d) f2 P  Q4 r
  10. local machine, this came with my MySQL install.
    , @: l4 N3 @2 t6 P( u7 f
  11. These instructions will not tell you how you might transfer your data from the
    7 O/ u& o. o- }! D- [
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    9 x# z  g+ D! n
  13. database.
    1 v/ k  O, |1 b- E+ e6 ?- ~, `6 g
  14. Some users have reported ways to import a SQLite database into MySQL, but at5 P4 J! ~7 ^3 u
  15. the time of writing, there are still too many issues - check the current status
    6 C6 f  C& G8 v) m( x5 i5 M) d1 @
  16. in the TeamSpeak forums if you are interested.
    2 A0 }/ m+ m7 \" ~, |
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from3 v3 @6 M# n) F/ F7 |' g
  18. Borland was used. This driver can only interface with the client library that
    4 d, w7 w1 ^2 o/ e7 M
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this2 @0 O7 `* J5 J* Z
  20. client library - basically all you have to do is to use a 3.x client library as
    , V; T$ x6 o* J- R, h3 O9 K
  21. "VendorLib" and a 4.x database to connect to.+ E+ L$ O1 e4 ~  J! ?0 s
  22. If you need more info about dbExpress, you can contact Borland.
    0 K. {' N7 F% E; |

  23. 8 A2 ~3 Q+ R* a
  24. ### Doing the work ###
    " C/ L8 T6 U# _5 ]9 D( o" L( M
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all" v0 h6 k- Z/ g; W7 [4 N% H7 b# j. f
  26. the perquisites right, just open your server.ini file, and add this section at
    / T9 o! r0 ~0 a$ V1 \: r, n) X
  27. the end:2 X  `5 J" T7 d6 b& }# `; F5 E
  28. ---cut here---
    2 `* S8 L: u- J5 Y. C  Q; m( }
  29. [DBEXPRESS]
    & \! R# \3 |1 z: j: Q
  30. sqldir=mysql_sql' b8 `1 C7 b3 o. m" `7 `0 E3 W
  31. Drivername=mysql$ j% w3 A5 ?' _
  32. Database=Your_Database_Name_Here
    : p& a4 M) w( F& c
  33. Hostname=The_PC_the_MySQL-Server_is_on
    # @+ o/ w: }" A
  34. User_name=User_name_on_the_MySQL-Server, x/ }# g. R# E, M$ t) R/ z
  35. Password=Password_to_go_with_above_user_name0 ^  p. C1 x0 z' I  r9 `
  36. GetDriverFunc=getSQLDriverMYSQL6 T$ |+ M; I  k7 R
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ' W8 k$ v: ]& O9 o3 n8 m$ m' m% C
  38. LibraryName=path_to_libsqlmy_libary) E0 P+ b7 {1 P- H
  39. Active=1' I# ]8 G6 }6 u! Q' W# I$ y
  40. ---cut here---5 t7 b% d% G+ Z* F2 U0 \
  41. In my environment (a linux box with a MySQL server running locally) I have:
    7 Q: {* v" n# N8 \9 A& f3 v) t2 T
  42. ---example---
      s- i: H" T# r6 f
  43. [DBEXPRESS]
    0 D. U, K# m( V5 V' ~4 N
  44. sqldir=mysql_sql6 B) V) q% m. S$ k  N) V7 F
  45. Drivername=mysql7 ]2 N) @. i6 Y9 B9 i% \
  46. Database=test" u/ y  P& l* Z
  47. Hostname=localhost
    % W/ S8 d/ {% w0 Z
  48. User_name=testuser
    , g- |* v2 p$ U& P4 p; g. H) S
  49. Password=my_password5 k* L/ f- c3 Y6 t
  50. GetDriverFunc=getSQLDriverMYSQL3 u* T% s. K' x
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    " n% w6 B, ]9 E, n" {
  52. LibraryName=./libsqlmy.so8 Y. N% `+ {( s' |9 h: Z
  53. Active=1
    ; N: p- q7 `) k+ H2 n. o2 o
  54. ---example---
    ; d# S  Y8 U8 l
  55. 5 b: d; t) z# i- _
  56. On a windows box, also running the MySQL server locally, it would be:
    " j2 @0 j) ^+ l- K
  57. ---example---( [3 D; h+ W6 k# c2 o7 d' h7 f
  58. [DBEXPRESS]
    ' p/ Q' ]: N) }: x
  59. sqldir=mysql_sql/ C: {0 C+ Q2 a1 _
  60. Drivername=mysql
    0 C% S  b% V% }8 P, e. V7 T' a
  61. Database=test* i) S) @5 X3 H  e4 X
  62. Hostname=127.0.0.1
    * h- o; a! g1 p8 h9 F1 a0 S
  63. User_name=testuser
    ( q% O$ {" r0 A0 S# Z, n
  64. Password=my_password
    1 k3 ~" M' M) C& E7 Y
  65. GetDriverFunc=getSQLDriverMYSQL
    6 H$ S' {  L" ^- O7 f7 I8 B
  66. VendorLib=libmysql.dll
    6 h" j; a9 O5 I3 u% t. k
  67. LibraryName=dbexpmysql.dll
    " F# [  D4 |; K4 y- n. F4 j# L
  68. Active=1
    2 Y" B3 V. p$ \! v: \. S8 B' N
  69. ---example----2 l! t  Z! D' J, t8 m
  70. - written 02.03.04 by pwk.linuxfan0 ~+ d% T- x) S, T3 X
  71. 1 ^6 X7 ]: c2 F* J0 n/ {
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
5 i% U2 X+ Q# {5 Q$ m
  1. 3 |4 E1 f& P" i2 W% m! T8 {
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    $ s% V, e; K6 `1 c& m" m( I3 C
  3. " \8 Z% F% C* F$ V3 w8 f& o
  4. # # #我们所需要# # #
    * Z2 X: d  z. M6 u% t
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ' W4 V9 Y- p! j5 q5 D
  6. 不会解释如何做到这一点-也有文件存在,为- Z( M- K' a* f$ J4 U' l
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用- z4 I3 M1 T; n; i
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    5 W' H- k2 W/ t' W% ]% r% F. G
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    9 s5 k$ ]& W' q. I' V
  10. 本地机器,这是我的MySQL安装。
    # P/ Q3 Y" }- L' b
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从1 p4 u/ I) t# ~4 z) _) ]
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL / L2 Z( ~( s! A6 m7 M' O, G
  13. 数据库。 6 \( A: q7 W' F  L: d, }4 b
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ) c2 d8 k/ L. f$ o4 z$ L
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    # W7 G1 |% U; L
  16. 在teamspeak论坛,如果你有兴趣。
    * ~2 X- P( ^( h$ t
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ; q. w; T0 t6 u4 C
  18. Borland公司使用。这个司机只能界面与客户端库1 Z6 d; f$ B+ h8 @( o
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    . {# z' {6 ~5 h: c& r0 U' b. x# G
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    3 P$ n5 N& ?/ v& c; W5 F
  21. " vendorlib " ,并解数据库连接。
    ; Z- D9 }0 J$ e) @- \2 n* `
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 - b: A: T2 Z" c2 S: o

  23. - E( ]4 S  F; q. ~( J
  24. # # #做好工作# # #
    : }, @0 y$ [+ u  w4 c2 o7 I9 Z2 w
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ( z* `. @) J* u6 ?
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    * C% e6 K, B9 k8 G' m$ t3 V
  27. 结束: % l: L4 t! X, k
  28. ---削减这里---
    7 x% _3 Z/ F; ~% |; w1 }3 H
  29. [ dbexpress ]
    9 T5 T: L* r' ?2 D# C
  30. sqldir = mysql_sql
    " r" D) u# l/ R( R9 F& s
  31. drivername = MySQL中
    4 S0 ?+ j" a- G" H2 _
  32. 数据库= your_database_name_here 0 H2 f/ }6 i! p) \. W
  33. 主机= the_pc_the_mysql - server_is_on
    8 D6 n1 A" ]9 M) }
  34. user_name = user_name_on_the_mysql服务器: `- v: p3 A  h" b. W) Q# A5 D1 C
  35. 密码= password_to_go_with_above_user_name - Y5 g! B( Z3 x# B  X
  36. getdriverfunc = getsqldrivermysql 5 F* ^: b6 }6 r3 M6 i$ `1 Z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ( [5 L4 v* _0 n# U$ k) z
  38. libraryname = path_to_libsqlmy_libary
    , \6 M' R  k3 @& M( u  A" R0 I
  39. 积极= 1
    ! N8 }+ K# d. T4 M- `" F
  40. ---削减这里--- 4 L$ M% f; B9 Y9 o7 d
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ( T  x+ T( q' n* D/ m) s
  42. ---例如---
    ; E5 l4 \* j% s- i, d  K
  43. [ dbexpress ]
    / Q2 {3 ?  I$ E
  44. sqldir = mysql_sql
    , K4 a' z7 k/ H/ ~
  45. drivername = MySQL中
    ) F/ o0 B' S, r
  46. 数据库=测试+ Q. T/ u/ i+ V1 }% U  g
  47. 主机=本地主机' G8 k2 N) _9 l2 {5 w7 Q) e
  48. user_name = testuser $ {' S% z' n5 P; O( U& [/ a! u
  49. 密码= my_password * {0 g2 k( H% z! j
  50. getdriverfunc = getsqldrivermysql $ k8 N& o& K: A8 P' L5 K
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ! M8 P. o7 q" b- L
  52. libraryname =. / libsqlmy.so
    & `* \% n% B+ |7 A/ M7 t/ Y; E, K6 m
  53. 积极= 1 2 ^" o5 m+ m2 Q
  54. ---例如---
    ' W  i5 K# R, e: w8 d% B% ^5 q
  55. ! X: o* x' W6 q9 P, ~3 y% N: F- A: y
  56. 对Windows中,也运行MySQL服务器本地的,那就是: : s- i2 ^1 x8 J
  57. ---例如--- ( W. e3 u7 m7 d& [: J- _
  58. [ dbexpress ]
    7 ]8 b0 i8 a+ w) `1 |1 H
  59. sqldir = mysql_sql * q' s! C: d2 M3 S/ D) X: X  |
  60. drivername = MySQL中
    , v5 ~$ w) D" |# P
  61. 数据库=测试/ T" V' Y1 B3 w- y4 U, d
  62. 主机= 127.0.0.1 0 B( c: e+ B, i& r# y
  63. user_name = testuser 9 y+ x  F) W7 E/ w, ^
  64. 密码= my_password
    ) T/ f5 f. z& k- s( S0 G! H  e
  65. getdriverfunc = getsqldrivermysql
    3 {  _  e9 U( C, p4 X9 I3 G
  66. vendorlib = libmysql.dll在
    9 p9 \% j5 r1 d9 }5 F/ [5 }
  67. libraryname = dbexpmysql.dll " Q: p8 g8 R2 h
  68. 积极= 1 0 Y+ d0 {+ T* }& ~3 c
  69. ---例如----
    % F0 u0 f  p% |0 I/ Q5 i4 C/ X, x
  70. -写在0 2.03.04由p wk.linuxfan5 X4 X2 ?, S+ @- b7 l
复制代码
发表于 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 words0 p; Y3 R- N2 ?5 L

; ^, e! _, ]1 Y2 Obut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-6 03:25 , Processed in 0.108354 second(s), 11 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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