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

2670 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
. \6 \: a; q# f0 n3 S1 X$ P3 c2 R5 f8 E9 E
  1. + N9 }  O2 I, b( e* x' ?: r( B" \
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ( b6 q# l! C' P7 u$ I1 J6 [
  3. 8 [+ T9 Y$ R( ^% I
  4. ### What we need ###
    5 ^! g( o5 ~, g0 c! ?
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ) F: X7 Z, P) ~9 O
  6. will not explain how this can be done - there are documents out there for the
    # j: m; u2 l0 z- k
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    " h6 z) h8 [7 i9 p6 {
  8. and a user account (username + password) that has the permissions to do stuff6 `& N" ^* @3 U+ {" D
  9. with the database. Additionally, you will need a vendor library installed on the
    ' I+ m, o% f0 [! N8 J5 H
  10. local machine, this came with my MySQL install.4 `+ i, j/ }4 L$ N- t
  11. These instructions will not tell you how you might transfer your data from the
    , A; I2 t6 H6 N- M( ?9 S
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ; Z0 o+ o) F5 M
  13. database.
    ; t& Q' e  u* _2 ~
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    . u" H0 u( M: c$ ~8 M
  15. the time of writing, there are still too many issues - check the current status
    2 ]. J' j6 m' r0 d& ~
  16. in the TeamSpeak forums if you are interested.
    ; h  t8 X2 c. F8 y
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from- y6 o$ w' x, ?' ]8 y4 j
  18. Borland was used. This driver can only interface with the client library that
    2 W5 ]8 [0 A7 u! T7 N2 d0 [4 F. N
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this8 c- z: ]' M# \# l" Q
  20. client library - basically all you have to do is to use a 3.x client library as ( @$ O! [+ j6 ?: a
  21. "VendorLib" and a 4.x database to connect to.
    ' W( T+ u$ P0 J+ O+ e' }6 s
  22. If you need more info about dbExpress, you can contact Borland.! Z. F- ^9 R# H6 r
  23. & B! g+ w: V& t
  24. ### Doing the work ###, `" a0 v. a8 C$ N$ {7 J
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all8 U: F2 G7 B5 r! i: \: S0 y
  26. the perquisites right, just open your server.ini file, and add this section at$ n; D  r% m0 I& }; h" q& `
  27. the end:
    - O# i* n0 |( @+ _2 C; e
  28. ---cut here---
    5 l* g: @: u6 E
  29. [DBEXPRESS]
    1 X+ w6 d- w) Q' w/ Y& x( W
  30. sqldir=mysql_sql
    + x) Q* F( P4 t! y
  31. Drivername=mysql
    # y" k; ^1 q- ?# u! N+ M/ \2 ?
  32. Database=Your_Database_Name_Here
    + ]9 J' H7 i6 b+ u& ?
  33. Hostname=The_PC_the_MySQL-Server_is_on
    5 r, m! T0 ^* p2 D$ q( W. s; k
  34. User_name=User_name_on_the_MySQL-Server
    7 m/ O; s8 a0 q6 j
  35. Password=Password_to_go_with_above_user_name5 k% S7 w' {# b9 v9 K0 v6 t
  36. GetDriverFunc=getSQLDriverMYSQL6 V% @& E4 y9 b
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib+ N$ ~4 Q# Q! S! x' P( S
  38. LibraryName=path_to_libsqlmy_libary% c# b% A; u! P6 V# v* c+ F9 y
  39. Active=1" f8 a  k- c' H" g- d
  40. ---cut here---
    5 J  ~% B# h) T( r: G9 l
  41. In my environment (a linux box with a MySQL server running locally) I have:
    # Z6 g  X0 Y. F
  42. ---example---  {1 d: T' N0 T: `
  43. [DBEXPRESS]
      H* R7 W" y- _5 \9 x3 w7 j, R: b
  44. sqldir=mysql_sql6 j. }6 E# `, B/ d. T
  45. Drivername=mysql
    % `) }5 V: }! v3 V
  46. Database=test, v, a2 V' v0 _8 W0 ]; g2 M
  47. Hostname=localhost. u  q8 d$ n3 b5 u' _- g* s3 d1 ~
  48. User_name=testuser, K0 N* N$ o  F& u
  49. Password=my_password& r% P1 D% E  e4 V
  50. GetDriverFunc=getSQLDriverMYSQL8 X) B% X6 v3 n/ {0 d6 P
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0' r: l0 |9 q" z$ S
  52. LibraryName=./libsqlmy.so$ Y8 f7 N+ G# J+ E$ r7 ~
  53. Active=1- T' }+ B6 t% j; G, a" H/ u! v
  54. ---example---" U0 j( r  z9 B! Q8 S
  55. 4 T7 y/ e1 T* U1 d) g  O! i
  56. On a windows box, also running the MySQL server locally, it would be:
    ( T- D6 E4 Q: f
  57. ---example---" V# L" }2 B& M( \
  58. [DBEXPRESS]
    - x( ~4 C8 e* w6 G' H5 D0 L$ ]
  59. sqldir=mysql_sql
    " s# z" i* S! i6 {' ]; X
  60. Drivername=mysql
    5 X) x6 w7 b7 i7 D, a
  61. Database=test/ `! `( {: h4 G( S) C7 Q" N; F8 m
  62. Hostname=127.0.0.1# A6 i: X3 g, ~+ U; m3 e
  63. User_name=testuser# n1 p3 h5 M3 b8 S% C
  64. Password=my_password
    3 L1 Z& Q  p) A# p3 @* p
  65. GetDriverFunc=getSQLDriverMYSQL
    & Q6 l6 |: b3 y+ _# v, `5 K
  66. VendorLib=libmysql.dll
    1 A- e* ^* _7 o0 L1 B2 m/ R) i
  67. LibraryName=dbexpmysql.dll
    + Z% D7 h7 [# x* Z3 x
  68. Active=1
    9 D# U  W8 ~$ _
  69. ---example----
    6 B; O$ _& E* Y( g
  70. - written 02.03.04 by pwk.linuxfan
    6 ]: G- ]: E* k$ \

  71. ' w: s. \0 R9 k4 {' H5 D
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看8 p# n/ U( y4 B
  1. ; l& G# x/ s: F2 N* F8 `( @& w* N
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ; w2 z7 D% ]. U' a7 }% H, T, D$ S# c" U

  3. 4 _' C. h5 [+ _2 t" J' p
  4. # # #我们所需要# # # ' L, w2 }1 |6 C0 ]/ u
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件+ B. V: j& e/ a7 @$ `
  6. 不会解释如何做到这一点-也有文件存在,为2 ]9 g6 M. w, y" ~& ~7 Z5 x$ y
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    . s* c3 }, U" m4 e' S
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西+ l* k" c4 Z1 s/ s& u5 `' d) j
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    + }( \/ ]! r# h! V6 c
  10. 本地机器,这是我的MySQL安装。 6 m: T5 Z/ M4 U% p
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    + y: }. @6 p8 S$ B2 T
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL + K9 q6 T' {( o, N2 H( k
  13. 数据库。 6 w8 J0 x4 g3 Q4 g" k& z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    6 ?9 I$ v# o9 ^/ ]* v# W, e
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    % F/ r) j4 k4 E/ C3 e. [! V) p/ R
  16. 在teamspeak论坛,如果你有兴趣。 ; `: A( I/ H1 M# Y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ! X% |: D. a8 \2 ^. \( A+ z4 ]+ j; ~
  18. Borland公司使用。这个司机只能界面与客户端库7 O! e$ X( w6 _4 O
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这' b; N5 E1 n6 r2 r% G( q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为& `/ ?: J: F& \  C3 m( D0 M, |; P
  21. " vendorlib " ,并解数据库连接。 0 }& @* N( J3 x) L; G
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 $ \6 Z4 k- t" {5 P% Q, W3 O

  23. ' _( o. B2 h8 |, }. |7 g
  24. # # #做好工作# # #
    7 \2 R' F* X3 Q, F% H9 V
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    " m4 s/ h3 z* @' W+ `# l
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在# \9 Q: L# r! i+ V. F) T; c  [: D
  27. 结束:
    7 h. Y4 X2 [, h
  28. ---削减这里--- " _8 N3 R3 i& Y9 {! W! d
  29. [ dbexpress ] * o. v; \9 v" {7 Z! B+ m
  30. sqldir = mysql_sql
    8 F1 z. S  J6 K$ Z+ Q
  31. drivername = MySQL中7 P9 ]- G8 X4 `- G' S
  32. 数据库= your_database_name_here
    7 _; s* N7 D8 ~; e! Z# g) X" t
  33. 主机= the_pc_the_mysql - server_is_on % w" n3 `8 s3 z" y7 Q0 }2 j4 H
  34. user_name = user_name_on_the_mysql服务器
    # T0 i1 Y$ x, W" |. D
  35. 密码= password_to_go_with_above_user_name
    * }: a; I, ^; f' @! T6 ~) \3 f
  36. getdriverfunc = getsqldrivermysql ! H7 d# |9 K( R3 ]+ B
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
      }, K# B  b5 V, Y
  38. libraryname = path_to_libsqlmy_libary ) K8 ^% s2 N7 V
  39. 积极= 1
    1 `5 O  q; n: l4 R. N. z0 t3 p
  40. ---削减这里---
    9 D7 ]9 l- b6 Z: m8 [2 D7 M) q  H2 p
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: + _( c" ?# E4 A, R, L& h, }
  42. ---例如--- 6 M0 O5 R& {) F1 a
  43. [ dbexpress ] 1 _* {9 \6 A- a
  44. sqldir = mysql_sql
    ! C; F6 {0 R* G' s8 F  e# t2 a2 b
  45. drivername = MySQL中
    2 W% Z  S. R6 s2 Z! M
  46. 数据库=测试  B3 l$ F$ ]# a! M
  47. 主机=本地主机" {9 B6 q8 g0 V3 H! H, z9 s0 X
  48. user_name = testuser
    - Y7 h4 C) J$ f* v: [2 @* n6 r
  49. 密码= my_password
    + U& u; d1 F# J% P- s! M- J
  50. getdriverfunc = getsqldrivermysql ( b5 L6 N8 K7 B2 U
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 . g# x) n5 ?; [4 W
  52. libraryname =. / libsqlmy.so
    $ N$ ]- L9 B9 x4 w/ y1 s& ^* @
  53. 积极= 1
    $ F+ A% s9 V8 j
  54. ---例如---
    9 Y* E9 i( I: S
  55. " n- ?& J0 A( j" K$ g
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 1 f, ^8 e: t3 H, o: a
  57. ---例如--- ) p% A( O/ s1 [; F7 ^3 ?3 w
  58. [ dbexpress ]
    2 ?2 O- P7 v- L, G
  59. sqldir = mysql_sql ( q, \5 u- N% P
  60. drivername = MySQL中. [& g: ^8 C: E. b7 F
  61. 数据库=测试
    8 W+ ]* c1 V0 [8 v6 ~; I: T) S  W
  62. 主机= 127.0.0.1
    8 s% v. |+ V, H# y4 N; X- I
  63. user_name = testuser , _8 R! K6 j3 q. P
  64. 密码= my_password * T: f) A( u4 i+ h* b' T
  65. getdriverfunc = getsqldrivermysql . {0 O4 A1 Z3 L: D
  66. vendorlib = libmysql.dll在
    # H7 m4 m, C- t2 K- w* x* r
  67. libraryname = dbexpmysql.dll 8 b* \8 Z& r8 [' i* W
  68. 积极= 1   x  A0 R" e5 W, p6 z
  69. ---例如---- 9 h- j0 z) y6 R; ~
  70. -写在0 2.03.04由p wk.linuxfan: K+ |/ e. e% Y& v- Z( S8 i
复制代码
发表于 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$ M/ p6 H9 d9 E( n9 y

* x  O5 L" v/ Q, a4 ubut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-26 23:01 , Processed in 0.109468 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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