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

3465 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ) L( A: N* L+ a0 j) P
2 A2 U% j5 b$ Y& A! ^8 g

  1.   j. q: x* _7 o6 X) r- v
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######7 N" H0 S% {( J7 H$ C
  3. / p# |  R* W  M
  4. ### What we need ###5 k% \. X, s6 x; @7 `; K: V
  5. Naturally, we will need a MySQL server to store the data for us, this document 5 `( z" u: F. F
  6. will not explain how this can be done - there are documents out there for the 7 S2 z/ ?0 G6 Q- G0 @+ q9 V
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    5 G. }; o" A# ?0 ?2 ]( _8 V. J
  8. and a user account (username + password) that has the permissions to do stuff
    / g5 F8 j- _; Z( ]; [
  9. with the database. Additionally, you will need a vendor library installed on the
    9 r1 `* n% a7 O( B, f
  10. local machine, this came with my MySQL install.
    6 v% `& T0 n: _. R
  11. These instructions will not tell you how you might transfer your data from the
    4 s" f4 B  f$ i# v+ `# S# N
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL4 h& a& z* E( m3 _* X9 H
  13. database.- s& }) u# p7 e  ?" I7 Y
  14. Some users have reported ways to import a SQLite database into MySQL, but at! u- E: [1 L$ q3 R) l3 b  ~
  15. the time of writing, there are still too many issues - check the current status
    8 r, T- V5 K/ z5 v/ q/ N0 ]9 c
  16. in the TeamSpeak forums if you are interested.5 U- {7 x! Q* V9 s6 C
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from/ ], j7 }5 s5 o- z' R+ Y# T3 t4 E
  18. Borland was used. This driver can only interface with the client library that 6 b2 S) h' v- K; o6 V! y
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this; B% O2 Y8 a1 V
  20. client library - basically all you have to do is to use a 3.x client library as
    0 s- h! W7 H& e1 F2 D
  21. "VendorLib" and a 4.x database to connect to.
    - K" }! o! t  b
  22. If you need more info about dbExpress, you can contact Borland.. N+ o3 d' F& F8 r

  23. 3 K* p* g# Y, ~: d! j3 ^
  24. ### Doing the work ###
    ' {) M* Q: p4 j9 g0 {6 m, Q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    & K% U0 N& J; q5 _* J! l
  26. the perquisites right, just open your server.ini file, and add this section at. |6 o- R$ ]+ S: s/ ~6 b
  27. the end:1 E$ q2 z, ?2 C
  28. ---cut here---
    6 U8 N& H( g8 c+ p) R
  29. [DBEXPRESS]
    8 B( d  X% X: e" {
  30. sqldir=mysql_sql
    ! R! B9 S9 N5 _; b0 ~' L# B
  31. Drivername=mysql
    & T0 k& G7 [3 ~/ R! W8 [. m8 X
  32. Database=Your_Database_Name_Here6 N& `' G' n: K* ?, ]( a
  33. Hostname=The_PC_the_MySQL-Server_is_on
    1 C& T! X( m8 l9 P3 U6 ~
  34. User_name=User_name_on_the_MySQL-Server
    % C, t- z* w8 V% v& C. w
  35. Password=Password_to_go_with_above_user_name
    1 S; }: K/ W5 M
  36. GetDriverFunc=getSQLDriverMYSQL8 D" z  S5 X1 D8 p. x
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    : [! Z; {( z# @1 ]( [* r6 a: k
  38. LibraryName=path_to_libsqlmy_libary' k, E) w7 a! ~
  39. Active=1
    5 [5 t, o  |, @% @
  40. ---cut here---
    % `0 b: `' d& v3 y3 G
  41. In my environment (a linux box with a MySQL server running locally) I have:
    $ y# V8 U# w* @2 o6 J2 m4 o6 j( e
  42. ---example---
    * J! V" l5 ]* e3 Y
  43. [DBEXPRESS]
    * ^4 b4 m' o0 \# H% s
  44. sqldir=mysql_sql
    : |3 e' a2 v* D( k
  45. Drivername=mysql
    ) z) n: S# U+ ]$ W  I
  46. Database=test! n# F. d$ Y+ V4 j+ J
  47. Hostname=localhost: Q+ S0 M" d' ^" \9 U
  48. User_name=testuser
    - X+ x2 r- d6 E$ }+ h/ W- [1 {
  49. Password=my_password' w" X7 @8 w& h3 R
  50. GetDriverFunc=getSQLDriverMYSQL: e( m" G5 q: a& p+ K1 T+ E) e
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0" U1 N9 R6 ^! k' A% J* {
  52. LibraryName=./libsqlmy.so7 w& U6 d, I& y) I3 P+ T0 f% [
  53. Active=1
    1 O7 f3 U: r$ ?2 T: C. o! D" F
  54. ---example---
    ' \+ q$ I6 X, Z8 T* S1 D
  55. 8 w1 g6 C8 x8 ]0 o& |  y- z0 T/ t( l
  56. On a windows box, also running the MySQL server locally, it would be:# P# F( z/ ?. R+ B* @; F
  57. ---example---1 @6 a# V3 ~3 y5 y: Y
  58. [DBEXPRESS]: p/ t1 Q) i. k7 O: Z9 N  B6 u: n
  59. sqldir=mysql_sql
    ; Z8 o7 P9 s7 l' j
  60. Drivername=mysql
    1 v9 P  j, i- n5 b( j. Y  e
  61. Database=test
    " e! K+ L7 c+ q% y
  62. Hostname=127.0.0.1
    % ?/ R& l; t$ u. K% x) B0 s
  63. User_name=testuser
    ' ?# g8 `' ?+ a. A* P$ l+ }- O
  64. Password=my_password
    $ X) J/ @6 D' H3 j
  65. GetDriverFunc=getSQLDriverMYSQL2 F+ \9 U7 F6 h3 e# `- T' u
  66. VendorLib=libmysql.dll
    ( s; k, L' ]$ C+ b9 n
  67. LibraryName=dbexpmysql.dll
    6 q0 ?# Q; n' i8 v! D
  68. Active=1
    + _3 S* K" {; _: l; c( r5 N
  69. ---example----$ k4 R2 O3 y5 @% U- v
  70. - written 02.03.04 by pwk.linuxfan
    % W) A8 J0 \/ A! V- }7 ~: y: G
  71. * N8 {' i7 h* C% Q* r! P2 h
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看; R  k$ ^0 \6 V  K- Q1 z
  1. : B6 U" T. v. _2 w/ l+ Z
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 7 U0 w+ k5 P7 r* [9 A$ b+ T/ }* w
  3. 4 ^( Q/ q3 i$ u* v" O
  4. # # #我们所需要# # #
    5 p' P2 |2 p; M* V$ g, o; @# I
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件" |& T& l  C0 A# R; B" ]
  6. 不会解释如何做到这一点-也有文件存在,为
    ! B: x1 q( E) {- e( |
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用; t- j' W) |1 V! p. O( @
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    # V+ K+ U6 s3 P5 z9 {
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    / I: n- m7 J  S! j
  10. 本地机器,这是我的MySQL安装。
    0 K' x; W/ i9 F3 I; t  ^
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从# l% X0 O( H" d9 m+ X* P. j+ _% `0 U
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL - M9 c( h6 k; h7 S2 |3 f
  13. 数据库。
    4 D9 Q( Y. R; l. g/ V7 g8 G; K4 G
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ; c$ i/ N1 i7 ~1 \# d; u* |& x
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    / O8 I8 N( p6 ^0 b
  16. 在teamspeak论坛,如果你有兴趣。 1 v5 h4 o# T/ M. v4 l  A( w  k
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机. D- ^! i' B1 S+ M! S
  18. Borland公司使用。这个司机只能界面与客户端库
    4 R7 R2 r9 B5 M: O3 U8 G, d; j
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ! f5 _4 b! P# \# O' E
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为6 ^0 |* v# k# E; R' P* s  s+ \' D
  21. " vendorlib " ,并解数据库连接。
    & O3 ~- s* j. b
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 * U8 M! k8 |- x0 k

  23. 7 }( @" {' ^: T5 t8 s
  24. # # #做好工作# # # 6 `, A/ m8 A# t
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    $ j8 {& n4 T& t% r+ Z: ~" w
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    3 d; I3 p- _8 U/ o$ u( {: ]' z
  27. 结束:
    1 L4 ?5 I/ w) E5 b' q+ R( x/ n
  28. ---削减这里---
    7 x+ V+ q% C4 w. }9 [) Y% x6 {7 c( e
  29. [ dbexpress ] 4 _! W# u  \' J( {6 L% ]+ P
  30. sqldir = mysql_sql 0 {; x4 U/ p5 v" P0 k
  31. drivername = MySQL中" J$ h! u( m1 c( L6 k
  32. 数据库= your_database_name_here
    ( l' T% _/ o2 J5 o9 e2 `
  33. 主机= the_pc_the_mysql - server_is_on
    . @8 `5 `  T0 D# e5 S7 w6 c2 {
  34. user_name = user_name_on_the_mysql服务器8 Q1 g( w. _) Y
  35. 密码= password_to_go_with_above_user_name $ F, l# A, I' L1 H" [- \
  36. getdriverfunc = getsqldrivermysql ) y/ ]& I: ~* ~9 E' D
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    , J# Z) I% d  z" s# z
  38. libraryname = path_to_libsqlmy_libary
    2 t! A3 T$ c& W1 N
  39. 积极= 1
    $ l2 S* D: T' L2 n* v" d- C+ R
  40. ---削减这里---
    : q9 Z' J7 j4 K7 T! u' W
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    $ H( U/ d; Z5 S" @) V- n2 V% ?
  42. ---例如---
    1 u& r( O, M! ]3 ]# s/ a
  43. [ dbexpress ] 6 |, _3 n* {9 w4 v
  44. sqldir = mysql_sql
    / R1 h& E( x% M# {7 ?
  45. drivername = MySQL中4 X: ?5 w% Z) I3 N' l+ n( Z8 |/ {
  46. 数据库=测试
    ! K) e; q. V, |* c$ \" _1 D" F8 P
  47. 主机=本地主机2 ~% v! o$ y( N; p' f
  48. user_name = testuser % `7 R* {' t: E9 _/ G
  49. 密码= my_password ( m. V4 }% i/ F% t9 p. n
  50. getdriverfunc = getsqldrivermysql
    ; _" W6 N( l! L) \9 g
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 5 R7 }& q- ]& q, A) ]2 a7 e
  52. libraryname =. / libsqlmy.so 1 V$ e/ M/ p" P& m( |
  53. 积极= 1
    0 c4 D0 X! J2 C: n
  54. ---例如---
    ; I8 i. X% v* l* p
  55. , A& f! _3 ^/ c' D
  56. 对Windows中,也运行MySQL服务器本地的,那就是: & d9 L2 _3 l+ x  L+ g
  57. ---例如--- . ?6 f* U( a: E; X3 h0 a/ |+ z
  58. [ dbexpress ]
    1 `7 V+ K, S" E" u% r  u
  59. sqldir = mysql_sql $ e5 [7 A! F& \' U- _( v
  60. drivername = MySQL中% A* I# U7 Q. g8 U6 }3 x1 I" B
  61. 数据库=测试4 y  c4 h7 _( |( H( C/ ~- h' A3 |4 W
  62. 主机= 127.0.0.1 # G! a. m: i1 |& Y$ Q( w* ~7 h
  63. user_name = testuser
    2 s# h4 Y+ C0 N# \7 i# O
  64. 密码= my_password 8 N, K$ u  ^( v7 S, U8 j3 ]
  65. getdriverfunc = getsqldrivermysql
    4 A8 ]; E5 }8 B
  66. vendorlib = libmysql.dll在' l4 \8 l8 f: H4 d& W. F  V' R
  67. libraryname = dbexpmysql.dll 7 V. S0 h* d, z
  68. 积极= 1 , j0 n; ~1 d# ?1 W4 C5 n
  69. ---例如---- 1 Q/ x& o, Y$ m1 G
  70. -写在0 2.03.04由p wk.linuxfan
    / A0 a1 O" q* i. i5 s  p0 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
: d1 H+ `7 G) g8 `7 g) J
5 C5 \' }, V8 t0 O: ~! L  xbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-2 21:04 , Processed in 0.078305 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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