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

3294 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
. F% z8 d) m9 [9 L) @) u( H4 _0 W$ q. A3 x9 |. x
  1. 8 y. ~* b5 H; ^: _4 T1 |
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ####### r3 ]& c4 v9 w" ^8 _6 U4 \/ a) b

  3. + {! k  ^) @& i% c
  4. ### What we need ###
    ; @7 Z/ S2 ^; C% e2 t
  5. Naturally, we will need a MySQL server to store the data for us, this document - y. o0 N' D; r% }. u, Z( D
  6. will not explain how this can be done - there are documents out there for the
    " V6 R0 `- k5 o8 |5 R. n0 e. Q  _7 k
  7. interested. The requirements include a (empty) database for TeamSpeak to use+ r- g0 ?6 E; _* \$ w0 l, L; {
  8. and a user account (username + password) that has the permissions to do stuff( q9 U' V) t" a7 y
  9. with the database. Additionally, you will need a vendor library installed on the* J+ W* D/ l; U7 [. I8 l& f+ V5 C
  10. local machine, this came with my MySQL install.
    - m8 i; ~! R; l& [2 l' d0 c$ L& P
  11. These instructions will not tell you how you might transfer your data from the
    - Z: e" @3 Q+ ?" A, W& X
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL6 M8 u8 l& m/ ]) P/ k
  13. database.
    . b2 C, z* p& s0 e( T1 m9 i
  14. Some users have reported ways to import a SQLite database into MySQL, but at" m+ k( b+ p7 L, o4 {+ V0 {
  15. the time of writing, there are still too many issues - check the current status
    : V) R, ~1 e- A% O3 _# R, Y3 c
  16. in the TeamSpeak forums if you are interested.
    ; J' j4 ~2 O. A( \% w
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    2 n4 m( z* p0 ?- f9 f" T
  18. Borland was used. This driver can only interface with the client library that
    8 H2 n1 A  e$ s- E1 N# k
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    3 d' B+ g2 B4 v2 a
  20. client library - basically all you have to do is to use a 3.x client library as
    - ~: W3 j1 X& U
  21. "VendorLib" and a 4.x database to connect to.
    7 F/ K2 z1 u6 ]; v. i
  22. If you need more info about dbExpress, you can contact Borland.$ m3 B1 S9 G$ Y8 O$ b. J* [( c+ s

  23. , k2 z$ h% ~9 z$ u" ~+ _: r) x6 p
  24. ### Doing the work ###
      \- m- j) a" ?! _" l5 i
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all: p' k9 Y" L6 H7 l' P
  26. the perquisites right, just open your server.ini file, and add this section at5 B: U$ B4 {0 D; s: l  S* w
  27. the end:
    7 _) ?. B8 a$ H; ^: [" E. V2 c
  28. ---cut here---; ~/ J; ^5 Z2 x+ O; ]
  29. [DBEXPRESS]
    , y& h' B! G+ q7 Y
  30. sqldir=mysql_sql" u/ j  ~& u% l. ~9 `$ n! ^
  31. Drivername=mysql
    " v6 G- t4 @1 N
  32. Database=Your_Database_Name_Here
    1 t5 C( n5 ~3 t9 W( H! L& |
  33. Hostname=The_PC_the_MySQL-Server_is_on" w7 r9 L, a2 ]8 ?
  34. User_name=User_name_on_the_MySQL-Server
    ( Q. U% w( n, c& n% u7 E+ \* A2 |5 Y
  35. Password=Password_to_go_with_above_user_name; Z, C2 _+ Z% N  \0 s9 H
  36. GetDriverFunc=getSQLDriverMYSQL& |+ ~% m9 Z( g
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    $ C3 [- i& \9 H" X/ _  A0 Y9 `1 I. f
  38. LibraryName=path_to_libsqlmy_libary
    0 K& o' }6 S, h7 h7 X
  39. Active=1
    5 `7 I0 x) k* R9 g- G8 h
  40. ---cut here---
    4 V* C! \& c: A9 p* S1 Y2 F
  41. In my environment (a linux box with a MySQL server running locally) I have:
    & n8 x4 `- w, U- g, b3 t( Y5 l
  42. ---example---  a5 F8 K& T6 r4 ?' o
  43. [DBEXPRESS]$ ?& y  E+ x! f* R* b) B+ n. e# b
  44. sqldir=mysql_sql
    % n" _$ D5 d/ |2 y4 p
  45. Drivername=mysql
    , E: E" J7 ~; s$ w8 T% ^
  46. Database=test
    : ~. F7 |7 W5 e8 V) D9 x7 o
  47. Hostname=localhost8 w# e. q! S" C0 N6 X
  48. User_name=testuser
    : W5 B: _! O( u2 o
  49. Password=my_password
    9 I/ e5 J  ]# L" j. j5 u2 D9 p0 ?
  50. GetDriverFunc=getSQLDriverMYSQL
    " U- n& r, N7 \# N1 U( W; Q
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.09 J' G; m" A$ n3 \& A' a& i+ k8 k
  52. LibraryName=./libsqlmy.so' C$ d6 Y" H3 b6 C
  53. Active=1: n4 b  H  I' P6 _9 |! t
  54. ---example---. T4 I! ?3 j" G! w) M
  55. 9 j% s" G1 {4 Y; X
  56. On a windows box, also running the MySQL server locally, it would be:
    ; I1 v1 P1 u. F% [+ y2 G; \. Z
  57. ---example---/ J+ k% b$ d6 l  t
  58. [DBEXPRESS]
    - K8 z0 J0 d. X+ y$ Y
  59. sqldir=mysql_sql
    ( f8 D. R; \6 ^6 ^, b5 |
  60. Drivername=mysql
    & G6 J1 ^& ?' b; b( S) i
  61. Database=test" I7 D4 \4 U  f% l- D/ H
  62. Hostname=127.0.0.1
    ) z' `) e* e/ y" C9 X- L
  63. User_name=testuser
    ' G. n* A' M# j/ H
  64. Password=my_password9 T$ l% @, Z) ~! H9 `" X- a
  65. GetDriverFunc=getSQLDriverMYSQL
    / |0 Q1 R9 Y, M5 k9 O9 w; W
  66. VendorLib=libmysql.dll
    ( p* @) c6 B* X0 [- p0 c
  67. LibraryName=dbexpmysql.dll; p( n: a0 }# D6 i
  68. Active=1& \  `* @$ X/ R) u$ K
  69. ---example----# W" Y: b0 e2 ]: ?
  70. - written 02.03.04 by pwk.linuxfan1 [9 p/ o' r3 D0 E9 A* j
  71. 2 `- u  g  d5 r0 {$ p3 B) o
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
3 M/ z( J, C. c
  1. 0 d0 J! @  r: J, _- @3 m
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    + B( ?; {4 b% J/ g0 |

  3. 1 Y+ k$ ?; M: Y  c
  4. # # #我们所需要# # # ' a) T' t, u; `6 }6 N
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件) z# A. i0 F# t1 ^+ o* P+ x
  6. 不会解释如何做到这一点-也有文件存在,为/ L- ^& r3 l* o2 o
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用9 C4 C* {# a  ^! e4 K9 y
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    # J' d; v1 x1 Q; W8 S2 a
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    $ |* n; d" r/ A
  10. 本地机器,这是我的MySQL安装。 ) B4 ^5 q$ L& V$ d2 \! d0 I" N4 s
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从' X9 N+ u' {; V# S
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    0 h# p2 }- ^( L3 R0 V. }
  13. 数据库。 / W8 Z8 `" A' F
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在! q! t7 a; w; @, L4 f1 C9 H
  15. 编写本报告的时候,仍然有太多的问题-检查现状  ^9 K( z/ O$ D
  16. 在teamspeak论坛,如果你有兴趣。 0 Q2 L% p. B* ?3 x, s
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    * |/ h& i6 J1 R9 X2 j$ z
  18. Borland公司使用。这个司机只能界面与客户端库
    9 i% o0 y6 {0 y- V" L: t1 O: f
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这, _" O/ N% z9 ~4 A7 R% f
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为! g4 z% N1 C% b4 p
  21. " vendorlib " ,并解数据库连接。 * U5 e0 @( e- Z% s" @
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    : n3 Q, J& i4 H+ G7 g- T3 v: g

  23. 3 r1 @/ ~. Z. h) E  x- _
  24. # # #做好工作# # #
    , E5 M8 P/ ]# J$ G
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ' F3 L, B! u, D3 d) [, \
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    # \3 z* G$ Z( l+ v9 j( w, P7 Z- W
  27. 结束: 0 w! o! `  ]# M8 x' V
  28. ---削减这里--- + m" e4 |& P5 T$ R. X
  29. [ dbexpress ] / k3 p' s/ d6 q' |: ?9 G
  30. sqldir = mysql_sql & U$ T2 R3 D6 J+ Y* x
  31. drivername = MySQL中
    : I6 w& q" p0 S7 P
  32. 数据库= your_database_name_here
      ^1 E- C0 z3 o" r
  33. 主机= the_pc_the_mysql - server_is_on
    % F3 v1 ^4 q1 [* W, O1 X  f% n/ z
  34. user_name = user_name_on_the_mysql服务器( ?! p; U- z: j) l1 c. g# G0 U
  35. 密码= password_to_go_with_above_user_name
    " u- k7 e7 o+ ~2 U$ L, u8 K7 U
  36. getdriverfunc = getsqldrivermysql
    . X9 V$ l; V# G  o5 Y! q, l
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib : Q& b, C5 c9 G! q) l
  38. libraryname = path_to_libsqlmy_libary # J7 X) C: l5 p2 [# p( d
  39. 积极= 1
    & r  x- Q" c0 ^* m
  40. ---削减这里---
    - f* V  \9 c5 E' j: {# \+ |- D! w
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: " m( `. j. V- D! @
  42. ---例如---
    ; B8 ?& |5 U9 J6 B
  43. [ dbexpress ]
    $ F6 R1 w% ~7 m
  44. sqldir = mysql_sql % H# Z* e2 ~4 [8 P& u% T/ M
  45. drivername = MySQL中2 A, ^, Z% U" `8 P3 o* z
  46. 数据库=测试" |& R) h: ^! M
  47. 主机=本地主机- u4 m, B: {' S3 L+ T5 B9 ~) A' K
  48. user_name = testuser + S% h  ^6 O$ d1 Y% `& l; k$ o( u
  49. 密码= my_password
    5 H. s) W+ q8 G8 g
  50. getdriverfunc = getsqldrivermysql
    2 t9 S. B# L, H1 f
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    / C" C0 c  |/ U& r
  52. libraryname =. / libsqlmy.so
    $ g* F3 w7 }/ l
  53. 积极= 1
    4 p. G6 e! q! x% w
  54. ---例如---
    ( j0 X# T3 z0 |4 y( \" [

  55. . b7 ?+ _7 w# A( m2 U2 d0 F
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 9 @" Y& g' s) |1 Z
  57. ---例如---
    $ m& W4 \, F2 h  B
  58. [ dbexpress ]
    . {  T( n1 _8 u/ z' @5 K: y9 w
  59. sqldir = mysql_sql
    0 P' h! y0 A3 N; B
  60. drivername = MySQL中
    $ x% Z: S* C9 y( w2 H6 A( q
  61. 数据库=测试8 Q: \5 T! p  e
  62. 主机= 127.0.0.1 - W# f' i7 O/ |4 `% n
  63. user_name = testuser   R3 c' j& @/ R
  64. 密码= my_password
    ! z+ N' d( h. z: B9 z
  65. getdriverfunc = getsqldrivermysql
    2 d7 U$ T. W/ n
  66. vendorlib = libmysql.dll在
    . X% I* |1 z% p
  67. libraryname = dbexpmysql.dll
    ! p- d3 t$ u+ {: H
  68. 积极= 1
    $ i* W& @; p4 j% j4 B7 f
  69. ---例如---- + R6 }- C, t4 u$ q3 q$ F
  70. -写在0 2.03.04由p wk.linuxfan+ Y- c) O$ P3 G% c, C
复制代码
发表于 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
! [$ Y! L9 G: O0 _, h, Q
1 K' \- h7 A* U) }/ I6 q, R$ Vbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-6 05:59 , Processed in 0.099885 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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