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

2214 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
4 V) Y6 X+ b# b5 K1 q
8 f+ f- r) @0 Q( \+ `) N& W9 l! ^3 \
  1. " c9 a. N5 y( e1 V' T* f8 I
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######& e/ Y; b. K1 G1 T0 Z

  3. 5 L4 c0 S5 B& [+ O
  4. ### What we need ###5 o, p: P6 [4 A; u. I
  5. Naturally, we will need a MySQL server to store the data for us, this document
    7 w! c! x; n5 ~! f7 d" d9 E
  6. will not explain how this can be done - there are documents out there for the / i1 n+ r/ f* R5 i2 U4 Q& I, s5 w$ A
  7. interested. The requirements include a (empty) database for TeamSpeak to use$ H1 B( U/ p( X7 g1 x; i- M( A
  8. and a user account (username + password) that has the permissions to do stuff3 n" W, A- S0 Q1 w( r1 i6 k: B
  9. with the database. Additionally, you will need a vendor library installed on the
    & F6 r8 C% }4 [( ]* ?8 K7 P9 x
  10. local machine, this came with my MySQL install.: c9 W0 W$ v* C9 T" k7 F
  11. These instructions will not tell you how you might transfer your data from the- `3 N" }2 Y# n9 N' N
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL" {6 ?: F# L, \
  13. database.
    - W8 p5 G+ q$ e! p# p) L+ \0 a! ~
  14. Some users have reported ways to import a SQLite database into MySQL, but at
      K: Z+ m& u# v3 B( s. q
  15. the time of writing, there are still too many issues - check the current status; G! w6 Z1 ~2 g  J+ j
  16. in the TeamSpeak forums if you are interested./ i5 c0 X( s, a
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    $ R, j) E2 {$ z6 r6 F$ Z$ ^
  18. Borland was used. This driver can only interface with the client library that
    . J! X, O# E) s+ a2 o
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this" f1 R8 l( a. {& E" Y/ ~5 S0 u
  20. client library - basically all you have to do is to use a 3.x client library as 0 v8 Q( z& O8 O( B
  21. "VendorLib" and a 4.x database to connect to.
    # g$ Y+ J/ E: o, e
  22. If you need more info about dbExpress, you can contact Borland.& T& p0 ^7 z" I5 g8 Z
  23. / N  P0 C" H8 _7 x' g1 W3 m
  24. ### Doing the work ###' e% N- N7 v" V
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all$ @0 j+ p: c0 a, z5 V
  26. the perquisites right, just open your server.ini file, and add this section at/ v/ L& H) y( e8 I0 z% n$ c
  27. the end:
    1 W- H- I4 q3 S1 d" R9 m3 D
  28. ---cut here---
    " K8 C# s2 C+ x. s9 [
  29. [DBEXPRESS]
    ' w( a. w/ z' c) w, X
  30. sqldir=mysql_sql
    & K8 r: |; z0 Y9 W
  31. Drivername=mysql9 \& K- l0 \1 c
  32. Database=Your_Database_Name_Here( \: H& _4 k9 l& T0 t: m4 o$ w/ y- G
  33. Hostname=The_PC_the_MySQL-Server_is_on7 J; _' b. @: H  a9 a8 p
  34. User_name=User_name_on_the_MySQL-Server2 u( k+ Q1 I' \* L
  35. Password=Password_to_go_with_above_user_name- Z2 \1 {6 `. V" Q9 H& ]: I
  36. GetDriverFunc=getSQLDriverMYSQL, a; J1 H) ]  k2 z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib- ^9 s9 b* w" }/ `& r! Y
  38. LibraryName=path_to_libsqlmy_libary
    & y6 a. H  E, u3 C, T2 J: f( m4 f
  39. Active=1
    5 [! f4 @: j' Q) ^, d  I) P1 r
  40. ---cut here---9 T/ w) b, U5 u/ b. ?- [
  41. In my environment (a linux box with a MySQL server running locally) I have:" t8 A) c8 o- V
  42. ---example---. l$ ^' A$ g. X9 l! ?! N
  43. [DBEXPRESS]; S2 e6 s$ i( T
  44. sqldir=mysql_sql+ o; x0 x6 z9 x
  45. Drivername=mysql4 |$ c" e3 R" h" x/ _
  46. Database=test
    8 S- T5 Y5 ~: g4 h7 |4 H( D1 p; w
  47. Hostname=localhost3 w9 a6 }& B, D) m/ u1 z' y7 X( p
  48. User_name=testuser: c- [& A  ?! v( [# e$ R
  49. Password=my_password' Q" l  Y0 d* _9 C9 T' Y
  50. GetDriverFunc=getSQLDriverMYSQL
    " r( G/ l& V7 r5 M; L! P9 h
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0- O5 u4 G" ~! b" {8 x
  52. LibraryName=./libsqlmy.so6 S4 V# J- O! h, U
  53. Active=1- J" U' z# T, U( Q
  54. ---example---: F3 D- l& b2 p. F

  55. & ^: v7 |) G' a& T" b+ a8 S* U5 y
  56. On a windows box, also running the MySQL server locally, it would be:
    7 p, P1 h/ u( V) H. i9 d
  57. ---example---
      ]. U7 J  x. ]3 }: @& B2 n
  58. [DBEXPRESS]9 a1 R: a% `/ j% d1 o/ Q
  59. sqldir=mysql_sql' ]& ~, _, F: t+ U. r. {! Z% Y
  60. Drivername=mysql
    8 p8 {' [3 Q1 D! S0 E
  61. Database=test
    9 @5 l. d5 a" p0 X8 n! h: s# q2 e
  62. Hostname=127.0.0.1/ H- E& X9 ]7 E9 ^
  63. User_name=testuser
    ; n3 G  n: e& q5 \0 V& S' H
  64. Password=my_password: w' J2 @$ d8 b9 _
  65. GetDriverFunc=getSQLDriverMYSQL* L3 r# m9 j2 m
  66. VendorLib=libmysql.dll
    - @) J* U! I. f1 r: w
  67. LibraryName=dbexpmysql.dll; S# f& O+ ^0 \) b/ M
  68. Active=1& ?2 t: }6 y& u/ q
  69. ---example----1 q" _' u/ i. g( W
  70. - written 02.03.04 by pwk.linuxfan
    6 g6 C5 {6 J2 W2 `7 j
  71. ) Q/ I6 b3 y  W( ^
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看5 P7 R( t4 z) c$ U. z4 N, ^7 S; |
  1. 2 h" a3 W- h/ Z. m2 I5 e
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    9 R8 o, _2 S* G. d9 k
  3. % q& I. v. I# n! d% Y  l  f
  4. # # #我们所需要# # #
    " c. a5 C- e8 T' M
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    , d# a* N; V& g* J" F
  6. 不会解释如何做到这一点-也有文件存在,为
    . n; {( q) j2 Q6 e! z
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用# Q. p/ B: H. a  \2 w6 n. z
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
      d# p0 n, F% H& i$ Y
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    3 G& b) s" ]; p4 @$ c; b
  10. 本地机器,这是我的MySQL安装。 # _7 E- n: U2 D3 d; @$ b6 b
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从9 B$ V' D0 K/ C1 s7 n* v6 k+ m
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    # o! J% ?/ D' B% p
  13. 数据库。 / D, g7 p9 ]3 u
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在! W+ ~3 `. n6 ~+ E' h
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    " U3 @1 N2 r8 n0 R0 J7 [3 h" |
  16. 在teamspeak论坛,如果你有兴趣。 / G, N/ Y; e5 O" ]7 a6 d$ H! r
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机) ~" g) H' o; y( W6 j1 b2 l- J
  18. Borland公司使用。这个司机只能界面与客户端库- {. j: v+ I) c' l5 B
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    . C1 R" n* {4 C) U4 Y9 E6 Y" m
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ; H2 Q5 A- f& \- ]5 R
  21. " vendorlib " ,并解数据库连接。
    ( p7 @) e( e" [
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    2 ^1 \( B6 s9 V) |" U2 n; X
  23. - @1 H  Z& t, [5 X3 A4 s
  24. # # #做好工作# # #
    ( V/ Z, q3 ~6 R' n3 |$ S
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都2 E2 a/ N! \# A2 i6 d: h
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在; B+ C5 V$ {8 d. [( v9 [" g+ l
  27. 结束:
    2 w2 E% @) a  q  V
  28. ---削减这里--- + k4 ?8 T* w; f& V! {3 S% c
  29. [ dbexpress ] - e1 z/ k. ]( K/ F  {- C7 J
  30. sqldir = mysql_sql 5 u( x0 e" U6 f4 J5 W9 C
  31. drivername = MySQL中& z8 N8 m; b5 |4 J! @
  32. 数据库= your_database_name_here 1 t4 f0 j5 {( E
  33. 主机= the_pc_the_mysql - server_is_on 2 b# Y& L9 w1 j
  34. user_name = user_name_on_the_mysql服务器- h3 O1 P" \; D" B
  35. 密码= password_to_go_with_above_user_name
    . U4 [9 q" `! ?5 J
  36. getdriverfunc = getsqldrivermysql % e+ l, ^' G: Q5 y5 \
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 9 z8 ~3 O9 d7 l2 |+ Y5 c
  38. libraryname = path_to_libsqlmy_libary 6 a/ `: K! y, R5 V  W0 d1 E
  39. 积极= 1
    # z- k0 V6 v  e- \: R0 A( k  D" L4 l
  40. ---削减这里--- % H$ u% ~) w4 b# v0 I
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    6 r& R9 `( m  E; Y! q. h4 E
  42. ---例如---
    # M. i) B- g/ S2 V5 g
  43. [ dbexpress ]
    $ U7 e; m  S2 f  S6 P, z
  44. sqldir = mysql_sql
    , v, |$ L: L  F
  45. drivername = MySQL中' f, {# F' u3 I& a
  46. 数据库=测试. D2 ~- q0 m' i$ P
  47. 主机=本地主机
    0 \1 L2 t2 V/ Y9 {2 O# `$ w: c' P1 K' p5 p
  48. user_name = testuser
    1 |8 P1 r' z9 H' T$ j& N
  49. 密码= my_password
    ' j3 h+ x4 k) L( K
  50. getdriverfunc = getsqldrivermysql ; {' r; e! j6 c: X/ X
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    $ S2 ~0 }/ l. v6 Y. }: @
  52. libraryname =. / libsqlmy.so
    3 y* g; P. r$ G+ }" V& q, ~# t
  53. 积极= 1 . m+ C0 c) W$ o3 a. l; w! J# l
  54. ---例如---
    ; i. E* E5 y/ s7 j

  55. & P# y$ p8 W1 [. w4 o1 {! [3 h- [- P
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ' b1 O5 b, F* D! _
  57. ---例如---
    4 ]. X0 G  e6 @/ R" y. O& U2 N
  58. [ dbexpress ] : [: _) p) C. P! ~3 W
  59. sqldir = mysql_sql 4 V6 i% E5 X- Y, h
  60. drivername = MySQL中
    " e3 l, k4 a% D; o
  61. 数据库=测试# T* t& C( K, C+ T  a, ^3 K6 ?( U
  62. 主机= 127.0.0.1 5 }4 j( t7 U- F' j6 a+ f/ X8 _& p. G
  63. user_name = testuser
    . \% G' i% d* q1 v
  64. 密码= my_password
    $ ~" w- g- Y( l4 Q# o- w4 b4 v
  65. getdriverfunc = getsqldrivermysql
    , H: V: R# C, Q) X0 r. I
  66. vendorlib = libmysql.dll在
    2 V* w1 c; C  M: r2 X
  67. libraryname = dbexpmysql.dll 3 F$ f. n5 N; q. S
  68. 积极= 1 8 M, t4 _$ w# ~( d6 W& t. J) P  V/ t+ J) [
  69. ---例如---- + v+ W7 g3 k% S; L$ v
  70. -写在0 2.03.04由p wk.linuxfan
    : T7 f6 z8 ~8 }2 j* O4 t, q8 o" K
复制代码
发表于 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# r3 X5 L$ @9 ], M

1 s. c! d8 o$ ubut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-20 18:29 , Processed in 0.110172 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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