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

3023 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
- n$ u& Z5 L0 g2 N, F* Z0 f( M3 w7 o$ W7 f" p8 Z8 r! z9 u

  1. 3 X) u, D6 X# e( E) g
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
      r2 E! t5 l# Y( P' ~2 g9 J
  3. % o3 D/ k7 `) |
  4. ### What we need ###
    ) }9 v) W+ n/ f* _$ M' u; a
  5. Naturally, we will need a MySQL server to store the data for us, this document
    3 a2 K% E% F. ^7 G, O8 }
  6. will not explain how this can be done - there are documents out there for the 9 s0 f) ~: a# C8 x. [' @, B8 ~
  7. interested. The requirements include a (empty) database for TeamSpeak to use7 I' N7 e4 N! A2 N  [0 k
  8. and a user account (username + password) that has the permissions to do stuff/ d+ S7 x# S( n3 W* t1 Q- ~2 ^7 V! o
  9. with the database. Additionally, you will need a vendor library installed on the
    , @- }% e( U! c3 A
  10. local machine, this came with my MySQL install.
    9 U4 g8 b6 t" W& R4 [: k' s4 s" l7 N+ P
  11. These instructions will not tell you how you might transfer your data from the
    4 l3 h# h; k+ }; x
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL8 L0 t- w) e( v8 u0 U
  13. database.4 |& X; ~- ^3 W8 @4 [
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ( o0 C. w# X( E1 p( ^' x
  15. the time of writing, there are still too many issues - check the current status) t. j- C+ i. d3 R
  16. in the TeamSpeak forums if you are interested.
    2 }/ L+ T* ?4 |' {5 l
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from+ W) N6 x/ ~1 i$ W2 x& j
  18. Borland was used. This driver can only interface with the client library that
    1 j) l! y* l; u7 b5 z! N2 a+ V
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this- k( G1 f7 S/ z$ f- e" d+ u5 w( t
  20. client library - basically all you have to do is to use a 3.x client library as
    + ^4 ^8 [7 ?/ Y; C! e
  21. "VendorLib" and a 4.x database to connect to.3 V5 r8 `/ r) m, P/ C
  22. If you need more info about dbExpress, you can contact Borland./ @* T2 e; @0 @- K; R" d
  23. 2 x' z( I5 D8 B* w* C% l$ V
  24. ### Doing the work ###$ Q: C4 \6 H7 G- J6 G
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ) ]8 @+ C7 X9 Y. E+ ?1 X5 B
  26. the perquisites right, just open your server.ini file, and add this section at
    7 V* ?8 n" K) k9 f/ `7 Z
  27. the end:
    & q& Y4 i, w* @( d: e: B3 h
  28. ---cut here---. k7 L5 E: n6 d( `$ h- c1 T
  29. [DBEXPRESS], L. W) M5 D9 C3 ?
  30. sqldir=mysql_sql4 n4 h) O. y, I5 N0 D) a9 V
  31. Drivername=mysql
    ) q3 }: O. @% H: K& S; M
  32. Database=Your_Database_Name_Here
    ( a5 ^  o! V! ~- v0 }
  33. Hostname=The_PC_the_MySQL-Server_is_on
    , x/ ^5 u9 m. R7 p4 R+ j# h
  34. User_name=User_name_on_the_MySQL-Server& K$ y& K/ E! `. U  A* s& b7 V6 z
  35. Password=Password_to_go_with_above_user_name
    ! O. L& c8 t2 E6 s8 P
  36. GetDriverFunc=getSQLDriverMYSQL9 D& a6 K& K% p4 d( B- |
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    / A; H# w4 E1 S+ h! m% h1 ?# }
  38. LibraryName=path_to_libsqlmy_libary
    ! T- m' ~0 s( M2 n& f+ D
  39. Active=16 \+ H3 n, o7 C0 L2 m
  40. ---cut here---+ Y2 L9 O; l1 o* z) C2 X
  41. In my environment (a linux box with a MySQL server running locally) I have:+ b; `8 ?+ x" I) T
  42. ---example---5 r! K6 E# q6 ?# e& a
  43. [DBEXPRESS]
    - C1 g  E6 I1 T; G1 L. g2 n- s
  44. sqldir=mysql_sql/ Y* K7 }. \. z) q! Z( \7 T
  45. Drivername=mysql8 h: W0 c0 H- U" M: ~0 k5 m) h  k
  46. Database=test9 }- K* h, O0 n* J" a; _( N
  47. Hostname=localhost  Q' b% F2 N: F  u
  48. User_name=testuser
    7 U6 f1 }. [6 @( Y% R- H. h3 X% C
  49. Password=my_password4 i/ {. ?) |" V; q9 u
  50. GetDriverFunc=getSQLDriverMYSQL; i$ v( u  ?6 ?3 g$ r
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.03 B0 Y4 d4 @: d$ w2 h% C
  52. LibraryName=./libsqlmy.so
    % s4 b+ z& e$ W; i) |
  53. Active=1
    & `8 f1 ^/ y7 N0 k/ W' |5 T0 s
  54. ---example---
    / P* v  Y; c6 B. J

  55. , {8 m  }4 R8 r% K
  56. On a windows box, also running the MySQL server locally, it would be:$ m$ Y# C4 N, A6 c0 Z' b
  57. ---example---$ f+ `9 E: N$ _: S. h. k/ Q  _
  58. [DBEXPRESS]5 ^8 m" ^6 J6 ]+ s7 G- P$ j% K- }
  59. sqldir=mysql_sql- X+ i* k# ^4 ~4 n% h' Z
  60. Drivername=mysql
    0 k+ i0 ~( ?$ G
  61. Database=test
    6 N- r/ e' K  S8 A3 E$ I
  62. Hostname=127.0.0.1/ Q# A/ m+ b/ s9 f, P# ?; {, r
  63. User_name=testuser
    ( {) }- A& i7 m4 S
  64. Password=my_password
    & n  t# m& U% l4 H8 z5 f( _
  65. GetDriverFunc=getSQLDriverMYSQL4 M& L6 Z7 |/ t  w  k- u, q" L( t
  66. VendorLib=libmysql.dll
    ' k# k' C7 r- C
  67. LibraryName=dbexpmysql.dll
    : A" S3 ]5 s/ y8 x/ y: h
  68. Active=16 H( @  t4 b+ M  x3 ^- _# [
  69. ---example----
    * d/ n! ?/ y" S5 |% h, `4 i& y
  70. - written 02.03.04 by pwk.linuxfan  `  j# N+ L9 _9 N
  71. 0 l% N. K! v, P& n! g3 f. ~2 q* U
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
% Q( H/ g+ d/ ~) z2 F/ q
  1. ; C8 @6 g" @" v  @3 p, g1 H
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ! _& G# h" g, ~

  3. * k' n% G5 k8 v% ]  }. Q7 l) K9 K
  4. # # #我们所需要# # #
    ( P3 `' e/ m3 j' p  ^2 t
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    1 ^1 U( t. {( A2 B% U
  6. 不会解释如何做到这一点-也有文件存在,为/ c9 A* E9 E% d- u4 h9 d1 T
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    9 W8 y1 P! U% t6 D) u
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    9 A& s: [8 k9 S' ?, {9 f$ ]5 W
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    % p' x8 Y+ n1 z) \2 i
  10. 本地机器,这是我的MySQL安装。 3 o+ e# W6 ^1 `) x5 P
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从  R( n4 n8 i+ Z% _5 K) U* \1 d' S
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL - r9 \: G. R1 ~& [
  13. 数据库。 2 E4 A# T/ u- \1 H
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ( d* Y+ O. `/ U# r8 \: }0 o9 k
  15. 编写本报告的时候,仍然有太多的问题-检查现状2 X9 ~# y) o! c( q& p/ j/ X
  16. 在teamspeak论坛,如果你有兴趣。
    0 }# V" X2 z% y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    " r8 r& W7 P8 `# j8 S, |$ ]' {
  18. Borland公司使用。这个司机只能界面与客户端库
    + _- u4 x; g- b2 t  i
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    . {' ?. i8 b2 T, z9 B0 G, a
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    5 A8 d  F  b2 r- x, X/ e
  21. " vendorlib " ,并解数据库连接。 2 J3 j# O# w- `- f7 W
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 . p$ v# `+ y0 @% @
  23. 7 V% k. h2 E- o; D
  24. # # #做好工作# # #
    3 l' k8 g. A, O% I, [7 B( [
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都" E7 q" T6 a+ ?% d' q2 j
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在4 K' K: l6 I- y
  27. 结束:
    3 O% ?3 f9 _/ o8 a2 W5 c
  28. ---削减这里--- 8 ~& ?# p6 Q$ g( s; F! w3 J
  29. [ dbexpress ] " _- r+ ?; u! v
  30. sqldir = mysql_sql
    1 |  Q; i9 v7 y% H- z7 S  L
  31. drivername = MySQL中
    0 w3 r0 A0 z) B; o0 ^
  32. 数据库= your_database_name_here * A) N+ f" k  p. o7 }
  33. 主机= the_pc_the_mysql - server_is_on
    - R- Z/ f& Y9 t' F$ n
  34. user_name = user_name_on_the_mysql服务器
    ; T& n0 r; }% Q
  35. 密码= password_to_go_with_above_user_name - a8 O: Z- ~/ u8 U+ d, Q; O
  36. getdriverfunc = getsqldrivermysql / [+ {; R, o0 S8 ^9 P- t, s
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib : Z4 }; M* x! C8 V2 f6 E
  38. libraryname = path_to_libsqlmy_libary 2 c& I/ O' s+ F( r, b7 T: h
  39. 积极= 1
    / B0 \5 @3 }! d6 I6 i8 \
  40. ---削减这里---
    2 i" J1 e$ Y) o
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: . h! x6 H8 @" R' e4 W5 |
  42. ---例如---
    0 Y) J/ G# p' r# E; _
  43. [ dbexpress ] ) [. [1 M/ z2 I0 [2 N! U
  44. sqldir = mysql_sql
    / J, ^7 r" ^" K! W! J, S
  45. drivername = MySQL中
    5 Y! b% X" {; D  C
  46. 数据库=测试
    , k3 ], \% k  a  x6 W$ g5 S( M
  47. 主机=本地主机
    % l- ^% I5 o" w
  48. user_name = testuser
    . F3 B0 v0 T) L' o& K
  49. 密码= my_password 0 S6 q3 X" h4 X7 |. ~$ w
  50. getdriverfunc = getsqldrivermysql + X. W& n$ T( c# _
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ! h  [( m. w2 [+ q& e
  52. libraryname =. / libsqlmy.so
    / p7 j; q' G( l: T
  53. 积极= 1
    & F$ _, \# b( r
  54. ---例如---
    * Z, j0 Q3 x0 v* J2 z# L; o/ m, d
  55. 8 D7 u- a! v  Y+ \3 O1 I5 P% L
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    $ E+ Q% t6 N$ g3 |% [- M) U
  57. ---例如--- , f0 G5 o+ @  ?$ d3 @0 @8 {
  58. [ dbexpress ] . G6 n7 A% O% q  T, |6 M7 \
  59. sqldir = mysql_sql ( \  e9 F3 r9 J
  60. drivername = MySQL中
    , L' b% n* O2 v+ m9 G; y8 ^
  61. 数据库=测试
    ; u5 ]& }6 T  [/ j. K6 Q6 K! D
  62. 主机= 127.0.0.1 0 Z( u( O$ f" r) w
  63. user_name = testuser
    9 }7 ^4 u; x2 X$ W$ q0 a$ ~
  64. 密码= my_password
    1 p; p6 C' s& Z1 d, a
  65. getdriverfunc = getsqldrivermysql
    5 i" E  M5 Y* B. {7 z- s
  66. vendorlib = libmysql.dll在
    % r$ x5 @" {! E4 H" A, S3 m2 f
  67. libraryname = dbexpmysql.dll ( J3 q, A3 x- A0 {1 }" e
  68. 积极= 1 2 T8 o. f8 m% [. r
  69. ---例如----
    $ e' d  \% l) F0 k$ M
  70. -写在0 2.03.04由p wk.linuxfan( H' G9 _5 S/ V7 u4 ~
复制代码
发表于 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+ o# K( M5 E3 x6 {& N- k) T
% @! u4 H! R9 j2 {
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-15 03:04 , Processed in 0.086079 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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