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

2972 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 9 @3 q' N& ~& P' s/ _

$ \3 m- Q* B- I2 i$ j& a

  1. 4 F4 t2 d: U0 B/ q
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######7 E1 [3 N. I+ Y" {3 _
  3. 2 ]$ p' a8 w3 M& u8 X
  4. ### What we need ###0 m4 K  H/ O- l. ^/ I
  5. Naturally, we will need a MySQL server to store the data for us, this document
    3 E6 G8 g$ Q# e
  6. will not explain how this can be done - there are documents out there for the
    ' w% A8 r; q0 J
  7. interested. The requirements include a (empty) database for TeamSpeak to use0 `% r" n5 j% C6 V* N1 d3 p
  8. and a user account (username + password) that has the permissions to do stuff) P5 `2 L  Q, F  d( Y( V7 X! ?
  9. with the database. Additionally, you will need a vendor library installed on the0 l% l" C  X' ~0 P% k, W! m" J3 {" }
  10. local machine, this came with my MySQL install.+ c, D7 n( L! R
  11. These instructions will not tell you how you might transfer your data from the' ?) b8 Z& [: u2 Z/ _1 v) U7 d
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL- [8 k" x2 X7 T" n0 t& V& t( t
  13. database.
    7 z9 L( W  R0 c8 ]7 R+ N
  14. Some users have reported ways to import a SQLite database into MySQL, but at  s% z8 h7 s) C3 E- G  z
  15. the time of writing, there are still too many issues - check the current status
    4 \) F' [; L9 u; X1 r4 J
  16. in the TeamSpeak forums if you are interested.. o/ ^/ Z; f5 O  C3 X" G- ?
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from4 h$ |! @# g5 J' p+ e/ t* y
  18. Borland was used. This driver can only interface with the client library that
    . w# L: `% q. v% i. X  h" J' X
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this1 a. A* |; ~( [, ?
  20. client library - basically all you have to do is to use a 3.x client library as
    1 ]2 M- k& K+ l0 d- s; m
  21. "VendorLib" and a 4.x database to connect to.
    + e6 E# B! Q7 ^% ~
  22. If you need more info about dbExpress, you can contact Borland.
    % @# _4 u/ h; r0 d; M1 {, P6 r

  23. # G, m2 a/ ^5 c" H! J$ }: b5 D* h
  24. ### Doing the work ###. j* T% Z0 X0 C6 x" k
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all) ?  @0 d  M1 S$ S& P
  26. the perquisites right, just open your server.ini file, and add this section at, N0 I% y4 K+ u4 \4 K' u3 B' F' h2 j
  27. the end:
    4 Z1 O! j; B7 |. y7 T2 }
  28. ---cut here---
    6 D7 Q, i3 ~1 P6 G
  29. [DBEXPRESS]
    , D4 R; t0 E5 l' p& o7 z
  30. sqldir=mysql_sql
    6 L2 H3 ]$ r( z, j+ m) t9 [. a9 o. B
  31. Drivername=mysql
    - \9 m0 n( C7 O3 Z# G8 K
  32. Database=Your_Database_Name_Here
    6 u3 ]: E) N0 T
  33. Hostname=The_PC_the_MySQL-Server_is_on& }! w# u8 p( ]1 L6 {" m
  34. User_name=User_name_on_the_MySQL-Server8 }- W. r  S6 d' H
  35. Password=Password_to_go_with_above_user_name, z, W  r+ s5 l. I( F( H* X
  36. GetDriverFunc=getSQLDriverMYSQL
    * L5 }5 _! j3 i8 c( x8 V
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    7 f. C, B2 @" v3 M) I+ @2 F5 _
  38. LibraryName=path_to_libsqlmy_libary
    , {! v- z6 l% e) l6 ?% E/ Z
  39. Active=1
    6 K0 W3 M% c  a4 q. ~; W1 {3 Z
  40. ---cut here---
    1 V( L' V' x! P- }
  41. In my environment (a linux box with a MySQL server running locally) I have:# S: [$ w: a1 K
  42. ---example---
    + Z: `  U0 ?+ r! r' U5 S1 m% Q+ g
  43. [DBEXPRESS]& ?  y4 D! ]+ y. C
  44. sqldir=mysql_sql' [9 }: |6 k4 E/ U/ ]
  45. Drivername=mysql7 X( b1 L3 p+ K: Q# d
  46. Database=test* ?  ~% G) O4 C
  47. Hostname=localhost8 R2 e# v' n: Z$ i9 D. H! {
  48. User_name=testuser$ m8 N6 H! b8 y  p* H
  49. Password=my_password, e( ~! {2 b9 U6 E* O. c* o+ y1 g
  50. GetDriverFunc=getSQLDriverMYSQL
    5 d( ^( p9 t& @2 ]
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    4 \) z6 S, N8 |# o
  52. LibraryName=./libsqlmy.so
    4 ~* K8 I+ ]! b
  53. Active=1
      H% E# E/ K% h/ a8 d
  54. ---example---6 N( B. d* t; f5 o
  55. 9 n6 w6 w+ H' V% d9 U
  56. On a windows box, also running the MySQL server locally, it would be:
    ; x; u6 [5 O: z3 A0 A& B
  57. ---example---3 g$ G: E1 i  A% V0 L4 m
  58. [DBEXPRESS]
    ( S! _3 H) o' a7 K8 Y; N
  59. sqldir=mysql_sql/ _, s: Y  m# [; t, ~
  60. Drivername=mysql/ `' K- V' J! O
  61. Database=test# Y2 M8 [; V$ x+ r( N9 V
  62. Hostname=127.0.0.1: J- |% `& p# Q7 H+ _& C: S! O8 j# S
  63. User_name=testuser
    + |' A/ z, ?6 W  X- f- y3 I
  64. Password=my_password5 ^0 P$ K6 v0 x. M! G; `% Y& ^* U
  65. GetDriverFunc=getSQLDriverMYSQL
    & r! R5 T4 L* I. X7 P! M
  66. VendorLib=libmysql.dll
    4 W5 f# N" _0 O
  67. LibraryName=dbexpmysql.dll: T* ]5 h4 u; C- l% F& Z. @
  68. Active=1
    ' h  |. U: B" d- b% {
  69. ---example----
    5 z% ]+ b! {& X) u% X8 ?0 ^
  70. - written 02.03.04 by pwk.linuxfan: P2 p% Z4 |3 Y0 I1 N5 J

  71. ! |! P; [- W7 W9 z
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
* H! g; P! _0 O
  1. 6 p! g) x! I+ t6 i# d* x6 m) i5 |
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ' v% L( }0 @! h) J' b3 p" U

  3. 6 u7 z  S. k+ W
  4. # # #我们所需要# # #
    9 M( E% C/ _- a: L; e0 x
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件* e' G5 ^2 [6 o8 d5 i
  6. 不会解释如何做到这一点-也有文件存在,为
    ! E3 p3 ^6 m, o. u$ O0 a6 Q% f
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    5 y8 C& F; l- y
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西, p/ r  I$ \/ v* S6 t7 [: d
  9. 随着数据库。此外,你需要一个卖方图书馆安装于5 y2 E6 s0 k5 r- v, t0 W
  10. 本地机器,这是我的MySQL安装。 7 H2 \" t8 O5 _* H' ~+ v( V
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    8 J3 R7 {: j* d" ^2 d& J
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 2 k" u3 e5 p1 S
  13. 数据库。 " D2 ]1 W5 U6 x$ B7 y( x+ Q" _
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在+ a% h% W" v2 C9 x1 x# m
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    , ^4 R+ @  ]3 y1 {& O/ I4 }8 n
  16. 在teamspeak论坛,如果你有兴趣。 # }* n# A2 V! t0 W$ X
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    9 \6 M7 t# p3 Z. P& J- p1 O& p
  18. Borland公司使用。这个司机只能界面与客户端库
    ( G, S7 T% z3 l, x
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这! i* i, M) k5 `5 X5 C% d5 i" n( ]
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为' E8 }" {/ D6 }& W9 V
  21. " vendorlib " ,并解数据库连接。 . V0 v# G. r' y3 i4 _9 S1 z, [
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    5 m3 @2 a: q2 O( W0 c% E
  23. : a) p# v6 Y2 }; A
  24. # # #做好工作# # # 2 v- }' E1 u! j) S; v* T# r
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    4 z/ w* u) b3 e+ G7 I  S
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    & M7 X% D& n; z: y/ S6 d
  27. 结束: ' h  X* M4 ]: k6 o; M
  28. ---削减这里---
    ; x0 d0 t0 o- r) G& x" S
  29. [ dbexpress ]   _6 `2 c7 ?8 Z7 G# r
  30. sqldir = mysql_sql * u  c% X: Z& i
  31. drivername = MySQL中6 j, n5 |) |! n. s, ^
  32. 数据库= your_database_name_here ! j# R5 w+ }, q
  33. 主机= the_pc_the_mysql - server_is_on ; x% L: |/ t. i0 |7 q4 s
  34. user_name = user_name_on_the_mysql服务器
    + j/ V1 k0 @4 G( d9 e* b6 c
  35. 密码= password_to_go_with_above_user_name ' x& @7 j' r+ k. a  v) s
  36. getdriverfunc = getsqldrivermysql / A+ R8 p  c! z# j6 K8 J- ]
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ' y- L  c( t$ y0 \7 q$ d8 ?8 ~
  38. libraryname = path_to_libsqlmy_libary 4 W+ J2 J4 v3 ?
  39. 积极= 1 " }+ g9 \( U& D5 _! `9 w5 g7 ?: }
  40. ---削减这里---
    * @( N& N* T9 o, D/ K
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ) H5 ~, D0 y+ Y/ z5 ^- v" L
  42. ---例如---
    , F" w1 i; D" ~* S5 H! D
  43. [ dbexpress ]
    . W' q0 l! t* I8 |8 j; F3 G0 R
  44. sqldir = mysql_sql ( m, }: v/ [! d9 ]
  45. drivername = MySQL中
    8 F/ z& |" k* W) G2 b
  46. 数据库=测试  B, a/ K* x' ?
  47. 主机=本地主机
    7 O3 y. V3 Y9 |8 ~) w
  48. user_name = testuser
    3 w$ e5 x$ r1 s/ M
  49. 密码= my_password
    ' f4 d/ h" y4 R1 {2 C, h
  50. getdriverfunc = getsqldrivermysql
    / }2 K+ P) p. J+ F1 p7 k2 J
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 8 \6 Y' t0 ?+ A, B0 c' \# I2 O& g
  52. libraryname =. / libsqlmy.so
    7 W! r  Z) e! e" d. z- Z! a
  53. 积极= 1
    # ?8 r# `7 r6 o6 G+ p- B" t
  54. ---例如--- $ x- w4 l/ i' l8 G2 c2 u% W7 N

  55. % S) v$ N1 T2 S
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    4 _# b; o/ f: W1 k" i2 X, Z% w8 s
  57. ---例如--- 3 R, F1 x; U5 R2 O
  58. [ dbexpress ]
    : ~/ ]. {  d. Y4 m4 V
  59. sqldir = mysql_sql 8 s. F7 H/ M1 R' S! h5 I- H" X
  60. drivername = MySQL中& E. {9 m; N! Z: ]7 O9 C# ~5 ?! O
  61. 数据库=测试' p  k2 B2 L3 X" D1 M
  62. 主机= 127.0.0.1
    8 d: j8 w# q8 @4 I! Q7 j
  63. user_name = testuser ' k; k. L2 o+ ~$ e" {- V
  64. 密码= my_password
    ) Z7 n8 F7 ^0 L  A
  65. getdriverfunc = getsqldrivermysql # P8 {# s: Z5 z; {' p7 T$ a/ u( P+ _
  66. vendorlib = libmysql.dll在6 W0 T4 F2 B2 f
  67. libraryname = dbexpmysql.dll ; ?  e7 w1 e8 v0 ?" c
  68. 积极= 1 , d% `: s2 ]: a* L% q
  69. ---例如----
    / k( V7 s( U( v, w
  70. -写在0 2.03.04由p wk.linuxfan8 g; k0 T6 ?2 ~5 `( c3 X
复制代码
发表于 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
$ i) A, ^4 p0 Z2 j" Q6 L/ u: I' W0 d, ~8 B' s& \  j7 i; W" h
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-2 14:45 , Processed in 0.090510 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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