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

3552 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
+ [0 W# B) n' F; Q, {9 E# |& [& t, ^9 O( p+ G" }
  1. ' T0 D0 W* D- k1 \4 C- R1 ~
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######$ V$ f9 K# }, g9 H0 v8 S
  3. - B. f7 v- A. q
  4. ### What we need ###) ~0 O! A( Q% k7 B( S5 E7 {& |
  5. Naturally, we will need a MySQL server to store the data for us, this document # ^- `2 Q" A3 q; M" n
  6. will not explain how this can be done - there are documents out there for the
    $ ]' M* K' a) S
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    " g  h" p0 S/ r- `/ B2 D
  8. and a user account (username + password) that has the permissions to do stuff: V. [( q8 S+ ]+ e  |$ w4 W+ m0 ]7 `$ F
  9. with the database. Additionally, you will need a vendor library installed on the0 Q' g" j" y* I% o8 z1 ]2 F
  10. local machine, this came with my MySQL install.
    5 H/ E1 p: R, R$ [0 R
  11. These instructions will not tell you how you might transfer your data from the
    2 z# c0 F- x6 b2 R# I+ Q
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL% t6 p( k% w: Q
  13. database.* V% @+ g, Q) A3 C" R
  14. Some users have reported ways to import a SQLite database into MySQL, but at2 L. F6 H9 ]0 r2 t3 c
  15. the time of writing, there are still too many issues - check the current status0 S, U. ^0 W6 e% B! Y# C* y
  16. in the TeamSpeak forums if you are interested.
    / m8 m0 a- e( |, v/ H2 b3 x
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from; q- U0 I) H, I6 a1 E6 d
  18. Borland was used. This driver can only interface with the client library that
    , k+ j$ s' ]9 _' k4 w
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    8 o, [5 ]1 X+ d- J5 v. P) S
  20. client library - basically all you have to do is to use a 3.x client library as
    6 Q9 I! b" h6 J' u6 u+ W  w+ m7 X: [
  21. "VendorLib" and a 4.x database to connect to.- [% y) R/ e$ g: h' L# C
  22. If you need more info about dbExpress, you can contact Borland.! [$ k4 L0 }8 u1 Z
  23. 4 W0 J0 W* j+ u; N1 u
  24. ### Doing the work ###
    ; @9 s5 ?6 x+ e5 c  ^( d
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all, U) M' F) H) s8 h. k* |
  26. the perquisites right, just open your server.ini file, and add this section at
    1 r0 ]4 ~$ D2 S0 A( b# [  L
  27. the end:" [+ {- n% `3 l  T: t
  28. ---cut here---  a3 F  `9 W9 V+ h  @' N
  29. [DBEXPRESS]
      Z$ Y4 p2 F8 m+ t& K0 Z0 f
  30. sqldir=mysql_sql
    9 I8 ?1 `- E2 |0 K" c# U
  31. Drivername=mysql' T# ^" C) G5 O1 E, a
  32. Database=Your_Database_Name_Here
    , p8 U( _1 ^/ a) S4 ]
  33. Hostname=The_PC_the_MySQL-Server_is_on
    8 R0 k9 d: H& I% l
  34. User_name=User_name_on_the_MySQL-Server
    ! ~( T3 S1 z1 n
  35. Password=Password_to_go_with_above_user_name
    1 ~* X# h* a: F; x6 Z$ h9 T
  36. GetDriverFunc=getSQLDriverMYSQL
    ; b/ u8 ?/ c* V7 g! }0 V
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib6 H4 R, g% F$ S# ?
  38. LibraryName=path_to_libsqlmy_libary0 D9 D( }* L! l* t  V; b& F5 {
  39. Active=1
    ; P. B# A9 h( b8 o! X) r0 J
  40. ---cut here---- C! [) w& M( m. X& k
  41. In my environment (a linux box with a MySQL server running locally) I have:0 }7 T+ k7 n7 k$ V, f% z4 p
  42. ---example---* d  `" K' W, q
  43. [DBEXPRESS]
    % o  K, G- _% J
  44. sqldir=mysql_sql& W0 n! _! Z6 {3 K! z6 T( h. ~
  45. Drivername=mysql8 y3 _: e0 |* @' k; \% \7 [' @
  46. Database=test" M. I' K+ ^1 h* E
  47. Hostname=localhost5 Q, a& R2 g, P! G0 G9 M
  48. User_name=testuser
    ) r' {" V5 m% y8 m% ~
  49. Password=my_password/ n! M/ b/ a7 j6 H1 A- E+ T
  50. GetDriverFunc=getSQLDriverMYSQL- ?' Z  F+ n% z( ?9 G7 J
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    , l/ E! |" P+ n/ H. {3 O% E
  52. LibraryName=./libsqlmy.so
    0 y7 j+ ]3 P5 v
  53. Active=1
    3 F8 ]) O* o2 v" l
  54. ---example---
    3 h) s) v: I: Z- j* _( v0 r
  55. * G2 I4 b  ~& K) M- h, W$ u7 Q* b/ m4 h
  56. On a windows box, also running the MySQL server locally, it would be:
    2 u* h$ q9 d) |' Q
  57. ---example---
    % ~! l" i0 u  T; U/ @8 \( m$ U
  58. [DBEXPRESS], U) X, ]# O  r" {8 d7 s4 F3 m
  59. sqldir=mysql_sql& A2 _/ n" C9 A- Z" u$ G8 D
  60. Drivername=mysql
    * ?) O4 c$ g5 \9 L, v8 h* l8 K
  61. Database=test! ~. ~" Y. g+ S; ~& `  K/ n
  62. Hostname=127.0.0.1! F- T1 N  [0 P8 a$ T3 a
  63. User_name=testuser
    % C  V7 w1 G6 f2 A+ i1 B
  64. Password=my_password3 v; \: y8 `  w* c1 J5 L# K
  65. GetDriverFunc=getSQLDriverMYSQL
    2 Y3 ~) J8 b9 [6 O
  66. VendorLib=libmysql.dll
    2 p& c) p1 \" g3 C+ |2 Y
  67. LibraryName=dbexpmysql.dll( D0 N: p( J  f( ?
  68. Active=1( O- `* R5 O: T7 ]# S
  69. ---example----9 G. ?9 t$ Y% B- M
  70. - written 02.03.04 by pwk.linuxfan
    * S" }/ M/ b, ^. {& v" _
  71. , Y9 \% E0 b" F  I
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
7 ~: y4 c+ d- ]$ O4 r

  1. 8 F5 b; h8 [* k% j! ]2 Z
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### * t: k4 n4 O" G. C5 o6 e0 ~
  3. - M: z! n0 z4 Y5 f+ _2 {
  4. # # #我们所需要# # #
    , V  V1 J; W) k1 f) Z3 h
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件5 D0 W9 H: U- T6 E& L% v/ N
  6. 不会解释如何做到这一点-也有文件存在,为
    - W' D1 |2 V7 f. _  q. A& t
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用! @+ R4 _' v' J$ v
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西$ ~+ J9 d' K5 ?, s1 B* V
  9. 随着数据库。此外,你需要一个卖方图书馆安装于& G( _6 k9 p' i
  10. 本地机器,这是我的MySQL安装。
    8 z% b& i* Z' \# M  @
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    # p, I# [4 Q* X# c
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 5 n$ ?( v( C( |* p
  13. 数据库。
    * w+ \4 T, Y( p2 N
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在% `* o; j' n$ O+ l- U  f1 B
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    3 T) l7 m! A9 h$ z) N, h/ k: r
  16. 在teamspeak论坛,如果你有兴趣。
    . X. G* H' w( o6 ^# w
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    - L: r0 G. `) i
  18. Borland公司使用。这个司机只能界面与客户端库
    & W$ Z+ G0 P1 @' h) ~0 E6 Q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这7 M4 E, f3 q% k3 X; c% `! m
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    1 ], Y) `( e6 y/ z) |
  21. " vendorlib " ,并解数据库连接。 * K* Q; q8 g2 h) I9 V, Y3 Q3 x& I! t
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 # F* p8 O( X! W" T

  23. & J0 f9 d7 p$ I7 R
  24. # # #做好工作# # #
    9 Z) A+ o& S8 [# I2 [; ]  k! l/ w
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ) I. _/ D& u2 F6 p" F1 o* q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    * v" t% X" t3 h8 e# x0 u) t# }; b
  27. 结束:   q1 w8 a8 U; t( @/ Q8 U# y
  28. ---削减这里--- , A3 ~- [9 W/ U2 n: |5 w
  29. [ dbexpress ] 3 b9 T; A: y. x+ Q3 u! T7 i& E
  30. sqldir = mysql_sql 9 z8 H) P+ q& t" u( R# W4 v0 l
  31. drivername = MySQL中) T2 e. C/ s- _$ t9 q; o7 o+ z
  32. 数据库= your_database_name_here
    . Y5 C. G; m  p' b: w: V" L
  33. 主机= the_pc_the_mysql - server_is_on + W" X& ~" K6 Z4 R; Y" t! @
  34. user_name = user_name_on_the_mysql服务器" [& i' K! ?+ n: N0 P
  35. 密码= password_to_go_with_above_user_name
    , |* P6 Q: n' T8 ?1 o2 j
  36. getdriverfunc = getsqldrivermysql : t8 V/ E6 \7 `( P$ J1 c
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib : b" x8 N9 x6 T3 R$ z, d/ l, ^
  38. libraryname = path_to_libsqlmy_libary
    0 \3 p% a  N5 Q8 q" c& H8 k
  39. 积极= 1 + }& y4 o7 C. `6 D% ]
  40. ---削减这里---
    5 I/ \5 Y  |( o2 \$ Y- f  N5 J
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    2 w/ @2 I2 A( L1 l/ |$ {# [  Q
  42. ---例如---
    " d  y- b; {2 d$ C
  43. [ dbexpress ] 4 ]4 e# ?2 z8 _5 U
  44. sqldir = mysql_sql 0 ^) Z" r* X" z9 n
  45. drivername = MySQL中, x5 O5 ~* n1 F$ ?6 a2 P
  46. 数据库=测试. M0 Q# W( o1 S1 X1 X: u
  47. 主机=本地主机
    # I6 l( k& Q' x+ @! Q- v
  48. user_name = testuser
    , i! Z+ Q5 Z( U. X9 s
  49. 密码= my_password ) \9 I" w6 ^# w) a$ e
  50. getdriverfunc = getsqldrivermysql ( w7 y! L! r3 Q# v! u5 U
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ; c6 {5 o- H3 W  S8 x" c) @
  52. libraryname =. / libsqlmy.so ( ?0 `8 }# ~( `, j+ G) q( j+ R
  53. 积极= 1
    * R$ B/ d; _  ?$ ?% e0 l
  54. ---例如---
    " d/ x: S7 u' a2 g  P; w

  55. 6 y$ q1 h, b& Y8 a) K
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ) l0 u1 ^/ ?, N4 e  w9 f
  57. ---例如--- ; ?6 e" M( w9 [9 n% g& k- i) A
  58. [ dbexpress ]
    6 U, H9 r$ J7 T0 t: c/ v
  59. sqldir = mysql_sql * C1 [: E: a5 J
  60. drivername = MySQL中/ Z' z3 l# c4 ]8 ]' t! V! s
  61. 数据库=测试
    5 H! d1 X8 ^) B$ t
  62. 主机= 127.0.0.1
      }9 O4 P  g5 U
  63. user_name = testuser " F) n4 {( V: o, v$ M4 ~/ r( B
  64. 密码= my_password 2 Q/ z3 t$ w, g. j7 J) I0 ]
  65. getdriverfunc = getsqldrivermysql ( W7 v( Z4 |! P$ l3 |0 @
  66. vendorlib = libmysql.dll在
    3 P$ O# S, F" Z" A# _
  67. libraryname = dbexpmysql.dll
    # u, C% {( B! W4 `+ l
  68. 积极= 1 # E4 N+ ^4 ?9 M8 P' V& Z
  69. ---例如----
    % Y2 Q2 y* {; R4 w
  70. -写在0 2.03.04由p wk.linuxfan; p8 l7 a- A2 I$ d6 m) y$ X; d
复制代码
发表于 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/ ?$ Q  ^1 M/ n$ J8 [) H6 l

7 w8 J8 m* O- R  p- Z7 fbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-23 01:08 , Processed in 0.058143 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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