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

3560 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ; z: s2 W1 Z$ J/ U
. b  u3 {6 F% z$ m* Q5 J

  1. & Z8 u, Y+ O9 N5 I' l
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    $ u$ Q0 ^9 e8 C  w7 K

  3. + x5 @4 u, ?6 e7 t9 @
  4. ### What we need ###, ]  q) V" g3 X
  5. Naturally, we will need a MySQL server to store the data for us, this document
    6 [, `  c+ f5 E, \. K1 }. K0 r& Y
  6. will not explain how this can be done - there are documents out there for the
    + L* a' Q) k: p. A! k/ ]
  7. interested. The requirements include a (empty) database for TeamSpeak to use4 Q4 i. [0 A( Z4 j, N" L
  8. and a user account (username + password) that has the permissions to do stuff! _' O% U6 ]1 ^; M) r
  9. with the database. Additionally, you will need a vendor library installed on the
    : c1 }3 D& X5 x9 z4 l
  10. local machine, this came with my MySQL install.
    $ H, R& l9 `) d* k( t
  11. These instructions will not tell you how you might transfer your data from the
    : |- @. g* n, X6 V! s! N
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL% |( Q' n+ P. c$ X
  13. database.
    / y' d% {; c/ y. O4 o, ~
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    / d2 C& }5 X, {" z+ S% N# ]- s
  15. the time of writing, there are still too many issues - check the current status
    ; [/ y3 W0 N5 d
  16. in the TeamSpeak forums if you are interested.' j. `( e/ z: }1 U5 H9 t
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    , K& K$ _5 L/ \, m& {1 r* C
  18. Borland was used. This driver can only interface with the client library that
    ! K# B/ o* ?* R6 K( ]
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this3 Z# i% G; N  t, q- E8 R
  20. client library - basically all you have to do is to use a 3.x client library as
    8 Z* W7 M; k: u1 M
  21. "VendorLib" and a 4.x database to connect to.; q6 n  O) x* h  ?; r) ~* d6 v
  22. If you need more info about dbExpress, you can contact Borland./ l9 i1 G8 j' ~" ^+ Y; ~  c
  23. 4 O. @( l9 \* F1 i& ^
  24. ### Doing the work ###/ W5 e' B( p" ~& Q/ l' ]0 O8 h& c, J
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all" L. E3 d6 |) n- T4 u
  26. the perquisites right, just open your server.ini file, and add this section at( M- b$ N; Y" X9 h; A; A. D
  27. the end:$ w* {1 H7 \% N0 T5 t- W  ?4 Q3 X$ C
  28. ---cut here---
    ( V% O: Y0 a& b( m7 j# n
  29. [DBEXPRESS]0 x2 f( a8 o# e" _
  30. sqldir=mysql_sql
    / j% K0 j+ w* U3 I9 [
  31. Drivername=mysql
    & P+ }& y) S6 F1 s% @
  32. Database=Your_Database_Name_Here  S0 k: P; ^* G6 G, }4 S
  33. Hostname=The_PC_the_MySQL-Server_is_on, t$ s# |! f* r( [; o4 z
  34. User_name=User_name_on_the_MySQL-Server
    * J8 w' w1 [, G, e& e: w
  35. Password=Password_to_go_with_above_user_name% o: p- y6 i! R, F
  36. GetDriverFunc=getSQLDriverMYSQL
    7 W: I  c& M  E4 Y9 s+ ]$ g  X+ E
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    & _( l8 Q1 i) f% u, P; G) m2 p) B
  38. LibraryName=path_to_libsqlmy_libary( [5 V  }9 I' ?" X
  39. Active=1
    " v: @/ I/ j" q2 O0 Y3 s' K
  40. ---cut here---
    - x, d2 B/ q- i) S' q
  41. In my environment (a linux box with a MySQL server running locally) I have:9 z. R0 M2 ]0 u- s+ J, ^
  42. ---example---
    / C. g( j: D! C5 a* K8 x/ i6 I7 _
  43. [DBEXPRESS]
    $ T9 q8 Q7 b. d
  44. sqldir=mysql_sql3 i; c4 I5 m+ P6 g
  45. Drivername=mysql
      x, E; Y, y( h% n3 b# x- M
  46. Database=test
    3 d/ J' L- v7 o  x! L
  47. Hostname=localhost
    ) w# [7 Q- |! y' Z& e4 ]
  48. User_name=testuser. h6 L9 v# z  V: B4 Z6 W/ s$ a; v# K
  49. Password=my_password/ v# j. z6 I2 Z) U4 W  f$ G
  50. GetDriverFunc=getSQLDriverMYSQL
    4 e) K# k6 ^4 P8 t5 p
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
      ]) O1 t' p: A& R/ F6 b
  52. LibraryName=./libsqlmy.so6 ?3 t+ C4 m4 C" j  p& P
  53. Active=1
    & w7 ~8 K9 ?% v6 H
  54. ---example---
    6 A* [" e4 x2 e& X( l" s, E
  55. ( e7 o' `- I' D/ d" J0 k9 I
  56. On a windows box, also running the MySQL server locally, it would be:
    ' k, y  i' @# c, ?8 W
  57. ---example---. j2 P0 U& z5 L( K
  58. [DBEXPRESS]6 A! Y: j- [& t3 A8 t) _
  59. sqldir=mysql_sql
    . ?$ M! {/ f# S8 V1 Y
  60. Drivername=mysql
    " h' w) A; W. y1 T
  61. Database=test
    & s2 y% G0 |& A/ @. l& A0 S
  62. Hostname=127.0.0.18 }% A; [+ o/ ^5 E4 f; c3 l7 g
  63. User_name=testuser
    , j  x3 d, W( ~0 B: |$ G
  64. Password=my_password5 i. M1 {; s! ~! R$ `
  65. GetDriverFunc=getSQLDriverMYSQL6 w. m. p/ l$ N$ {+ y
  66. VendorLib=libmysql.dll2 L2 I4 E, [: j- {$ F5 @; ], p! {
  67. LibraryName=dbexpmysql.dll' T% v9 o0 q- F% W2 R
  68. Active=1
    + H, q7 P& H" |1 W
  69. ---example----
    1 K/ D3 P- c7 S7 `/ S6 C/ M4 R4 \2 ]
  70. - written 02.03.04 by pwk.linuxfan
    ' S% c1 ]7 u1 g: ~# }9 b
  71. & A3 s+ r; Q/ p9 ]
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
' Q6 e3 Z, ]( e$ H8 k" G$ T
  1. ' R9 V& a0 {$ `& J
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    : D( k9 _" f  X0 O" h
  3. & C# m. y, N" ]" u+ O7 T) f
  4. # # #我们所需要# # #
    2 F. c3 f: W: |7 t* V+ A- w. H. m! s
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    8 j7 v; I& J8 _" g4 E4 U
  6. 不会解释如何做到这一点-也有文件存在,为+ J* q& K, Y8 ^' A( |, y2 s; `
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用" d( E* o; K% P0 k' F" l( L
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    9 s- L0 _- v$ E) _
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    7 b" R" i0 @' d% ~
  10. 本地机器,这是我的MySQL安装。
    4 }, w5 }$ z* O4 e" N
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从' {  I  S' s, R5 Z1 a) w
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL , N# T7 n- ?) g: J
  13. 数据库。
    1 {9 E7 n  N& |
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    8 L& C) H. c4 h6 K( r, f, |
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    # h( B" A8 t+ i, v( V; L# R6 z
  16. 在teamspeak论坛,如果你有兴趣。
    2 b1 J8 v2 a$ K
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    % D6 p( j7 b* m2 C. w4 B. Y
  18. Borland公司使用。这个司机只能界面与客户端库2 W: m) m# ^+ f7 g
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    & {8 g# }: i! S- ?' D) w
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为8 }! d+ b3 Q% V
  21. " vendorlib " ,并解数据库连接。
    2 C7 I, ?% H! j: M; E
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    " l. u" o; f, w9 z9 c7 I$ E
  23. ( ]/ \$ _- l8 b3 h! D5 L2 G) N2 H
  24. # # #做好工作# # #
    8 W  h6 }/ y' I* m( u
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都! T4 ^; r3 B# B. Y4 E( ~# n
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在9 Z' [; K! f* Y
  27. 结束: 1 e! Y6 E  q3 b( e. |: b
  28. ---削减这里--- 8 Y9 J8 O9 a' I
  29. [ dbexpress ]
    . |9 u; c6 R# z! W  L; [% z: @4 C
  30. sqldir = mysql_sql
    + _+ b) W  B! W/ `* S" Z
  31. drivername = MySQL中7 z9 W. {* {% l! u, U" U. d9 t$ g
  32. 数据库= your_database_name_here
    $ q1 D, n; W0 l0 K
  33. 主机= the_pc_the_mysql - server_is_on
    0 p4 v& D8 w# s: C0 Q
  34. user_name = user_name_on_the_mysql服务器
    " p$ `3 P* f& D( h! ^
  35. 密码= password_to_go_with_above_user_name
    $ @+ V- r7 A: w3 q
  36. getdriverfunc = getsqldrivermysql
    & b4 `( W8 Z* t2 D) b7 s+ B& s
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib   U0 ?  n, s: P
  38. libraryname = path_to_libsqlmy_libary
    ( p' t1 U: g" [/ S6 w; @. P7 n$ e3 o
  39. 积极= 1 3 b/ }* y$ L3 k3 G, D! C9 k# U
  40. ---削减这里--- 2 ~* ~7 D7 d  j5 F7 W1 v6 b, h
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    6 I4 Z( i9 d% P9 q) {9 ^4 o
  42. ---例如---
    " B: M) I0 \% x& O1 s: P
  43. [ dbexpress ] 0 w  C  w! {8 X" A
  44. sqldir = mysql_sql
    % ~( V4 W9 H: I+ a
  45. drivername = MySQL中# P9 v4 w- T9 ~
  46. 数据库=测试
    ( ~7 y+ t; I( U7 [3 A/ \* Y
  47. 主机=本地主机. S  F. V( @& H; u* V. V; Z& }9 a
  48. user_name = testuser 8 e4 Z4 x# F8 m4 I
  49. 密码= my_password
    : V0 s( I& O4 D& @' g9 a! Z4 |5 ^
  50. getdriverfunc = getsqldrivermysql 0 k' y3 ~) M4 A- E+ ~+ w. z3 _0 W
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ' R9 E' j8 `3 I! E; D4 t
  52. libraryname =. / libsqlmy.so 9 G7 ^+ T  J3 r4 A3 G$ [
  53. 积极= 1
    8 Q& r3 t1 s" ?+ i
  54. ---例如--- & Z+ D- H8 U- T- {
  55. - n+ o' @1 G3 B5 p$ T
  56. 对Windows中,也运行MySQL服务器本地的,那就是: - X& z+ D, R/ q" q& j7 O2 q) n
  57. ---例如---
    2 x2 e, T; k" Y
  58. [ dbexpress ]
    # U4 e( s8 U( ?' P0 v# q; Y
  59. sqldir = mysql_sql
    9 w( u+ B2 C" E' ?) c' a& P7 b( S
  60. drivername = MySQL中1 D6 g- P: t( K" U4 M3 H
  61. 数据库=测试5 ~; E2 u8 h$ M
  62. 主机= 127.0.0.1
      |) y/ n2 x8 u# n0 ~) }1 s
  63. user_name = testuser
    8 h7 o* G" g% N: j; w& X" d- U
  64. 密码= my_password
    # @! e1 t% m" P5 I6 F
  65. getdriverfunc = getsqldrivermysql / c- x* n, q: y/ A- H" p( U3 A- |# s
  66. vendorlib = libmysql.dll在
    ( q, U( g2 g+ Q9 j
  67. libraryname = dbexpmysql.dll & Z; F' x3 l5 s6 e- Z1 S
  68. 积极= 1
    6 a( w0 P, i+ s1 a
  69. ---例如----
    ! m: g/ n7 Y! @* I% c- e7 [
  70. -写在0 2.03.04由p wk.linuxfan7 j4 R+ F; H/ f: n: n4 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
% M- e, o# d5 {$ y% S1 q2 Y/ F
* \4 J4 Y( [; M6 N$ o9 cbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-25 02:23 , Processed in 0.060603 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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