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

3548 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ! N* L: a/ G. f( C: `
' k! o7 y- {# g( i
  1. % i+ x- T! S2 L6 ?8 W4 a, g) S
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######5 e+ }/ `' N7 A9 e% w

  3. 3 L" P, E  v% {/ g
  4. ### What we need ###
    ! g) k) Y; S; ]* j9 W" K
  5. Naturally, we will need a MySQL server to store the data for us, this document ) _* Q+ P8 s' [0 d
  6. will not explain how this can be done - there are documents out there for the
    0 Z  l; y- t) r/ |% p
  7. interested. The requirements include a (empty) database for TeamSpeak to use3 x% M) n1 Z6 U, V. A. e% {
  8. and a user account (username + password) that has the permissions to do stuff# i1 P/ _$ W5 ?* b
  9. with the database. Additionally, you will need a vendor library installed on the
    ' c* o* I1 E8 q& ^9 _8 t" M
  10. local machine, this came with my MySQL install.1 j3 N. T+ {8 T! m- H( J
  11. These instructions will not tell you how you might transfer your data from the/ w) j8 S8 {: Y, o
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    . Q/ r$ C+ @) f
  13. database.
    ( [, l7 h$ D% W  ~4 T2 f9 R6 N
  14. Some users have reported ways to import a SQLite database into MySQL, but at9 A3 z5 `& b- b8 }, H! N
  15. the time of writing, there are still too many issues - check the current status: ^8 L/ E9 e2 m% r  w3 I
  16. in the TeamSpeak forums if you are interested.
    # [1 p. Y5 Y4 ^+ H4 v; {: H
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from% e7 l% K& M6 Y4 F: F8 r) ^: ]
  18. Borland was used. This driver can only interface with the client library that
    . \% d3 p+ y; l6 ?/ s4 M
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ' h  U5 K6 F2 K9 M. |
  20. client library - basically all you have to do is to use a 3.x client library as
    ' y4 T, z! T9 A! e: y  E1 a
  21. "VendorLib" and a 4.x database to connect to.% x, E/ z. U) S. k# U
  22. If you need more info about dbExpress, you can contact Borland.8 l6 N. t! w; Q- ?
  23. ( A. n6 S: H9 L) z9 M1 j
  24. ### Doing the work ###
    / R4 s6 d. L/ K1 G/ H4 D5 o% x2 @
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all5 @; Z+ f$ C$ Q3 ?! J2 q
  26. the perquisites right, just open your server.ini file, and add this section at3 [$ n/ d  k" G8 K3 P3 N# X
  27. the end:
    1 n" B4 E4 i( R; S
  28. ---cut here---9 v+ U6 x3 V3 o% E
  29. [DBEXPRESS]' @) o* ?. A! Y) J7 p' Z" o' h, b  K
  30. sqldir=mysql_sql& O( ?  E: l$ a/ w" K
  31. Drivername=mysql* A' s) q: n6 g
  32. Database=Your_Database_Name_Here% L1 b$ v+ n6 ]+ V1 B6 Y  p$ G
  33. Hostname=The_PC_the_MySQL-Server_is_on
    : H) Z+ z' \# a5 c" @
  34. User_name=User_name_on_the_MySQL-Server
    9 c8 v+ W0 |$ Q8 D/ @
  35. Password=Password_to_go_with_above_user_name
      Y3 R+ c/ \& ~1 v' N+ e( Y+ C( p
  36. GetDriverFunc=getSQLDriverMYSQL
    . m! }2 v3 i( x5 Q+ ?& h$ y# P- w' ^
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
      S+ Y' q( J5 \1 y5 E% O
  38. LibraryName=path_to_libsqlmy_libary9 x7 |3 f  i- P1 C; h2 S
  39. Active=1
      ^3 v# D* m" i- l
  40. ---cut here---
    0 s2 `  J6 \, H/ b2 u9 J( {
  41. In my environment (a linux box with a MySQL server running locally) I have:) W1 R: _0 ^* _$ h+ j
  42. ---example---& t! s& n8 [0 L
  43. [DBEXPRESS]) I# b& I% k( C  i
  44. sqldir=mysql_sql" E' R5 x; P  p! p! E4 o! J
  45. Drivername=mysql# n$ S; M& H. G2 w- m
  46. Database=test
    3 _+ Q( F* D( f( f0 P% L1 P
  47. Hostname=localhost
    $ w+ V: y3 _$ R0 ^
  48. User_name=testuser
    9 s+ S- ~/ F* h) P" Y& ]& T% H
  49. Password=my_password: f: `9 q, ]2 Z) R" S
  50. GetDriverFunc=getSQLDriverMYSQL( D! P- r) X" h2 J. |
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0, `4 e: ~0 R+ a1 I7 z- D
  52. LibraryName=./libsqlmy.so) p# v2 d) c8 K" X+ W
  53. Active=1
    4 X' q/ Q! V' G3 P3 D
  54. ---example---
    ; u2 b6 ?) R0 ^0 K6 B

  55. ' ^5 ~* i' |2 |% g( m* j1 Q
  56. On a windows box, also running the MySQL server locally, it would be:
    + C5 ~( Q" N2 V# |: p: H
  57. ---example---
    4 c' ~" F5 _$ y6 E* L
  58. [DBEXPRESS]  y3 P9 d& f& z% p
  59. sqldir=mysql_sql
    ) m3 y- X- f9 `
  60. Drivername=mysql) v5 O+ N* Z, _5 o
  61. Database=test4 W, l8 R4 n9 z. @# v7 y
  62. Hostname=127.0.0.1
    6 a; i) |& }' h2 n9 V
  63. User_name=testuser
    7 Q2 x! X5 h) f+ O
  64. Password=my_password+ q* S2 L8 C4 d7 \
  65. GetDriverFunc=getSQLDriverMYSQL
    $ \# |- P/ {! |- a" E/ u
  66. VendorLib=libmysql.dll, z* {* |. u  \* M
  67. LibraryName=dbexpmysql.dll
    . J2 c) `+ g/ X2 `. O: A$ y
  68. Active=1
    + n# @- Z7 g1 j" [9 ^
  69. ---example----
    # [  v' t8 k8 ?* Q: @9 v0 T
  70. - written 02.03.04 by pwk.linuxfan8 b+ b5 E8 F# V2 m0 `" L
  71. 5 w8 |* G, @. d5 m
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
( ]& m( j+ i* P! r! f' B

  1. $ Y" H5 T4 z/ K% {
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    3 P3 M9 X6 l% p) [* U6 O, h* ]0 }

  3. . a+ ]/ x: Y; r* Y: f) X" E# C
  4. # # #我们所需要# # #
    - ^6 G1 c( q! J
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件. S5 w/ h$ H1 @3 J" g
  6. 不会解释如何做到这一点-也有文件存在,为+ h- j. n2 C& j5 \: M
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    5 c+ ]5 {5 N/ T* n# z
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西  A+ B6 t2 p: M. T# E
  9. 随着数据库。此外,你需要一个卖方图书馆安装于) v# m/ i2 M, l* Q' t
  10. 本地机器,这是我的MySQL安装。 ( W! u6 U( m5 M& |
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    & F$ _" A3 D' N& O
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    5 G$ \: F* s; y' K
  13. 数据库。
      S- N5 G' _- o: w/ h* N3 w. t* D
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在7 J3 ?; Y7 w7 |  b
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    - b" q% L5 u+ B9 K! O7 G7 N
  16. 在teamspeak论坛,如果你有兴趣。
    # e; U: I/ r  j8 J- W$ n
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    & ^, U1 P$ v& ^
  18. Borland公司使用。这个司机只能界面与客户端库
    , @; y9 m  H9 w7 o+ E
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
      U8 Z% y( e0 F3 l
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为. z4 e- T- y9 P  j
  21. " vendorlib " ,并解数据库连接。 1 G, W$ q& V& w3 ?3 W
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    # D; F  k" B6 V3 L8 V  x* y5 a

  23. / x5 i, w) _$ u- C' \, w
  24. # # #做好工作# # #
    8 }3 a6 B7 q, L+ j  Q
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ; O; G/ M8 L  j+ g
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在( X! w1 M- _/ E/ N& Z# h7 {" A
  27. 结束:
    1 j5 ^4 |6 ]/ V& p* S
  28. ---削减这里---
    ' N; X+ I+ S0 R* l: ^% I3 c2 H
  29. [ dbexpress ]
    / [/ N, O: J; L( V- w( m8 V; M/ e
  30. sqldir = mysql_sql
    5 ~- U9 @' h( V: B5 e
  31. drivername = MySQL中
    ! O8 \/ _' A# [& v4 D# R
  32. 数据库= your_database_name_here ' d' u% Z4 @2 {3 I3 \. g1 }9 k
  33. 主机= the_pc_the_mysql - server_is_on 0 F, m& W1 I' P6 U7 t1 r- L
  34. user_name = user_name_on_the_mysql服务器
    6 T# N/ s* e4 L( c
  35. 密码= password_to_go_with_above_user_name
    $ i$ m$ |: A% }5 A+ l3 ~
  36. getdriverfunc = getsqldrivermysql
    / Q8 K" B7 h7 z% g9 ?& c7 \- q, B
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    0 {" r/ @$ v, j0 j, V, {( I
  38. libraryname = path_to_libsqlmy_libary
    8 s" R% c' f8 I1 U7 t+ g2 g
  39. 积极= 1
    $ C: I$ b" N6 y' a
  40. ---削减这里--- ! E- z$ y. T, |9 f+ C
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: " ~9 F( g4 _; Z# K0 n9 ?
  42. ---例如---   Q# Y+ T7 p( _7 I- f
  43. [ dbexpress ]
    3 @( q8 [7 M: h* R1 h- s+ r
  44. sqldir = mysql_sql
    & g7 S+ k& `4 Z1 A
  45. drivername = MySQL中
    0 @9 i% @9 G- O* h2 P
  46. 数据库=测试& U$ A9 j' Y. @& J
  47. 主机=本地主机+ f2 n0 n; ~* T+ Z
  48. user_name = testuser
    5 Q: w" i% E% I1 ~+ B# K! Z' |
  49. 密码= my_password
    . r" k5 M1 x/ {. o
  50. getdriverfunc = getsqldrivermysql ' e; P4 u# m4 P7 r4 R
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 5 f4 F6 b: ?* L0 c% r  O" B# ?
  52. libraryname =. / libsqlmy.so 1 a8 z0 |3 s8 {1 `4 g, p- w7 X# j3 \
  53. 积极= 1
    ) g% ?1 l9 v# N+ g% L  Q, p& |
  54. ---例如---
    : }" o/ I" ]+ T$ _% A
  55. $ {4 k* R4 b8 m/ N! K* [( r+ m, q0 }
  56. 对Windows中,也运行MySQL服务器本地的,那就是: / ?. i5 G* K8 L5 b$ q
  57. ---例如--- 8 }: r- x) X0 B$ [
  58. [ dbexpress ] 8 p+ R5 g3 d9 v
  59. sqldir = mysql_sql ( \* v* a3 B* ~2 x6 b$ `2 U0 }& _
  60. drivername = MySQL中: v- l) s; c% K
  61. 数据库=测试
    % W- s/ Z8 B1 E6 S& p/ B6 `
  62. 主机= 127.0.0.1
    + @& p( P+ l, N. _, k
  63. user_name = testuser 0 b% e7 G+ L8 k# s
  64. 密码= my_password 9 ~/ e' @/ J5 J4 P3 L
  65. getdriverfunc = getsqldrivermysql 4 N2 T7 I) W' f7 F
  66. vendorlib = libmysql.dll在
    2 X& l- d" j7 I6 r4 Y+ r% e
  67. libraryname = dbexpmysql.dll ' {7 \9 `" W. t# U  ?0 D( H
  68. 积极= 1 6 `: e- [0 o$ X, m) j" |/ I" ~
  69. ---例如----
    # O* f5 q+ v- v: i1 {  ?
  70. -写在0 2.03.04由p wk.linuxfan
    - u, N4 C" b) W! c6 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
  W: x6 a1 x7 y& I
' y- Q1 U2 j" R. \9 C) b2 n' [but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-21 22:48 , Processed in 0.061948 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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