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

2718 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
  e4 S5 j: _' c8 r
/ Z1 U; L! p. G. r' ?

  1. + S$ C8 |& i  `: g# s
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######4 `( o1 |( n7 D0 X' @8 a6 z( ^, k

  3. . B: b* G: k6 ~7 s
  4. ### What we need ###
    3 Y5 i7 T9 p& y6 n( g
  5. Naturally, we will need a MySQL server to store the data for us, this document
    + E: w' W. V) E
  6. will not explain how this can be done - there are documents out there for the
    : u# s0 @2 I7 @' [& R5 b- K8 a  C
  7. interested. The requirements include a (empty) database for TeamSpeak to use) s3 W. j* p+ r. l
  8. and a user account (username + password) that has the permissions to do stuff
    , N2 G+ x8 @8 I: j# H; x
  9. with the database. Additionally, you will need a vendor library installed on the
    4 H. |% }0 a5 c; U# w
  10. local machine, this came with my MySQL install.
    7 R. d! f( ~! O! t( v# p# R, K
  11. These instructions will not tell you how you might transfer your data from the
    0 z8 Y) p  f* ]4 k7 q* p5 A* ?
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ; j2 u3 K+ N; A+ U0 ?. n# J! y
  13. database.$ ~( `. S; l' O4 ?8 h
  14. Some users have reported ways to import a SQLite database into MySQL, but at# @/ n# |' \* W8 k, `0 a8 }
  15. the time of writing, there are still too many issues - check the current status' i. W+ l9 ^+ {  J. p' R! s$ h
  16. in the TeamSpeak forums if you are interested.
    * O. f$ ]1 R) Z
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from/ d- x% ~1 D% j% B1 \; }% t9 }. a
  18. Borland was used. This driver can only interface with the client library that + N) p0 ]7 O3 v* [
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    " D% V/ Q3 y4 A
  20. client library - basically all you have to do is to use a 3.x client library as
    ! Y5 z3 L) h$ D1 f# h2 Q
  21. "VendorLib" and a 4.x database to connect to.
    ' p$ i' _0 O8 N. V$ ?" J. _/ P$ {, o. ^
  22. If you need more info about dbExpress, you can contact Borland.7 G% S& {( e1 @& f# [' t8 V; Q

  23. / o' i, y( v( H2 `5 r! Q# l% B
  24. ### Doing the work ###
    6 V' H; ~' t7 k1 h4 p
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all/ C7 U6 l. l7 w/ I, L
  26. the perquisites right, just open your server.ini file, and add this section at
    / }6 a5 W: q, P
  27. the end:
    * ^* M. l4 c6 d- V1 k1 |
  28. ---cut here---9 Z+ F1 w9 g$ t7 p8 d
  29. [DBEXPRESS]! d+ O4 w, y8 w% L- l* S
  30. sqldir=mysql_sql5 E: K: h9 B) Z' ~
  31. Drivername=mysql' E. [" N2 A% R- v* G/ A& @
  32. Database=Your_Database_Name_Here
    2 u( e2 [9 t7 h/ ]- J
  33. Hostname=The_PC_the_MySQL-Server_is_on# z4 f: s1 N( R  Y' i, J$ x
  34. User_name=User_name_on_the_MySQL-Server
    # r4 N- j! C4 s4 D0 k' A1 N: j
  35. Password=Password_to_go_with_above_user_name
    5 N) G2 v* a$ w1 K5 a
  36. GetDriverFunc=getSQLDriverMYSQL
    ( o6 r8 e: {" o/ E7 w7 R% t# S; k" a
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib* C. `0 l/ g' Q6 C8 C
  38. LibraryName=path_to_libsqlmy_libary
    9 Z) g7 E; }7 F# b! i) f. M# w1 B
  39. Active=1  b+ i3 I5 @: j  i
  40. ---cut here---
    ) |  l: g% K; B; t: [- N& n" ]
  41. In my environment (a linux box with a MySQL server running locally) I have:% k7 J7 E: B# C: h8 P' x* H; q  |6 F
  42. ---example---
    & E* ~! E8 _: e+ e' U
  43. [DBEXPRESS]
    % U8 ?7 t9 ~5 d# q8 b. D: n) a
  44. sqldir=mysql_sql) f8 u6 R: M+ Z2 I* _1 }
  45. Drivername=mysql
    6 G; @2 q0 T* _
  46. Database=test
    5 N1 o9 e  T. e
  47. Hostname=localhost
    * c' u1 V* {" \2 i% D; \6 s/ S8 X* ]; P: Q
  48. User_name=testuser
    ; G$ E: L2 M0 g4 {5 _
  49. Password=my_password9 Q( z! n; ^/ N' ^- ^
  50. GetDriverFunc=getSQLDriverMYSQL
    7 I( j6 F9 V- o9 {4 L+ a
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.05 S! S" G3 j! E% N9 r0 }  A* L
  52. LibraryName=./libsqlmy.so' t1 q9 V9 s4 j! H% N
  53. Active=1
    + P, G" |" ?7 e* ^1 e
  54. ---example---5 r5 U5 v' |7 H% D- n
  55. 8 }6 @/ B! M* _. X
  56. On a windows box, also running the MySQL server locally, it would be:
    & s' h, Q8 J9 R: u; m
  57. ---example---. q: @/ B% g+ p/ {
  58. [DBEXPRESS]
      {$ @! K3 D7 ~1 E8 g* Y# g% k5 p4 t7 C
  59. sqldir=mysql_sql7 K7 B" ]: L4 U0 E' X4 R
  60. Drivername=mysql1 h  ?6 u- @0 ~2 Z7 _
  61. Database=test
    4 c  l* a2 i  e' z% C
  62. Hostname=127.0.0.1
    + ]" M4 q" @* l" b
  63. User_name=testuser- g/ p7 h, n3 n: \! X) ~8 N+ m. O
  64. Password=my_password& b3 u" n7 M1 P' f" O: N9 V
  65. GetDriverFunc=getSQLDriverMYSQL! ]  z" A* ]3 B2 T- X4 ?
  66. VendorLib=libmysql.dll: N: v( i5 H/ w6 h
  67. LibraryName=dbexpmysql.dll
    5 l: g$ t5 b+ d4 p$ w' W+ A
  68. Active=10 Y. F! V* [. v2 c7 j" G
  69. ---example----
    5 S* R: H5 m  h: ?0 Z* U
  70. - written 02.03.04 by pwk.linuxfan6 q; F5 A; v) [
  71. ( {' f5 r0 J4 N1 Z* q
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看0 \. Q5 ~2 C3 Q+ O% M0 y! u" o: f. ~

  1. 1 ~% i) L4 Z% G! P+ N
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    & x; F, F- J& L0 ^% A
  3.   m- J, Z  D6 _: r+ L
  4. # # #我们所需要# # #
    + Q0 x! B' |* `# h' N& L8 r
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件. D7 ~& t) S4 T0 f+ }4 k4 ~
  6. 不会解释如何做到这一点-也有文件存在,为) ?  l2 m; Q5 k& n3 r
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用& K% }* f! C/ m5 W+ F9 z" ~
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西( J) Z0 `* G- [: o* v
  9. 随着数据库。此外,你需要一个卖方图书馆安装于( S1 _4 r. a+ B$ T% c  x
  10. 本地机器,这是我的MySQL安装。
    ( I% M% H4 r- A  l' S0 ^
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从( a; I& c9 Z4 U/ H4 g
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL # ~2 S7 O* W6 N  F
  13. 数据库。 0 w5 s% W( H8 f( [% \" J$ N
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在4 k3 Y$ B& x7 m8 g
  15. 编写本报告的时候,仍然有太多的问题-检查现状( u/ a, z+ V8 [3 R
  16. 在teamspeak论坛,如果你有兴趣。
    ; y; r& v2 y. f5 m8 T  m3 g
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
      I. e) r) U' d  j4 g! F
  18. Borland公司使用。这个司机只能界面与客户端库0 B5 Q6 o" J0 y6 @
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这0 R5 f  T5 J) o& m4 U1 j
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为! Z- h" F6 h' r; D1 h
  21. " vendorlib " ,并解数据库连接。
    ) m+ v- J5 K; a) r  n% }* C+ L9 J
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ' ^/ c& }* q% t* t: L; m2 f/ A$ A
  23. ' ~  J  a. {7 a) i, i
  24. # # #做好工作# # # 1 P* V% i' E- I
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都8 T( ?% W+ ?  O$ y
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在: ~3 j  U- h- a, ?% e4 C% Y" k5 o5 r
  27. 结束: ) r) Y% W. }0 g1 M3 k/ @
  28. ---削减这里---
    4 a4 W8 m+ f/ B8 u* F5 T
  29. [ dbexpress ]
    4 P8 ^9 Z2 I6 |, @
  30. sqldir = mysql_sql " a' ^4 o$ A) g0 j
  31. drivername = MySQL中
    % i2 s9 T- L. |6 @$ M" D
  32. 数据库= your_database_name_here
    ) }( q- t! k8 s' W# x, q4 R1 U9 d
  33. 主机= the_pc_the_mysql - server_is_on . J. T2 r5 L2 K5 B, f
  34. user_name = user_name_on_the_mysql服务器
    4 k! A+ F$ B) |
  35. 密码= password_to_go_with_above_user_name ' h, y* Z. A4 T$ D; b5 v) w* p( R* c
  36. getdriverfunc = getsqldrivermysql   H  T+ i! `' a# O6 {
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ; e# ?3 t. K' V- Q6 D+ x# q
  38. libraryname = path_to_libsqlmy_libary 3 O4 o6 k. H! v
  39. 积极= 1
    $ K8 a) L  [& u) K% n$ O' W6 c
  40. ---削减这里--- ( ~3 p& y; O5 L2 j1 r
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ' S. f( f* N9 j) x. L
  42. ---例如--- & R3 T. h- {" x3 O8 \
  43. [ dbexpress ]
    . |! h+ N1 v: K0 w
  44. sqldir = mysql_sql
    " @$ L+ L8 y8 J; g, \4 h* Q) F
  45. drivername = MySQL中
    + k7 F7 J! V9 t$ r6 y3 l# T% h
  46. 数据库=测试
    5 w. E8 F$ ^; g3 K% [. C
  47. 主机=本地主机
    % Z% n4 M* c9 t# t6 h
  48. user_name = testuser
    ; F# a3 x/ O0 H! [
  49. 密码= my_password 8 @' T6 z( N+ Z6 |+ R
  50. getdriverfunc = getsqldrivermysql
    % t% O  c" }; i( q( `
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 9 c* T3 ^9 L# s
  52. libraryname =. / libsqlmy.so 7 ^/ m  z. \8 Z6 Y
  53. 积极= 1
    3 L5 E1 e+ Y- ~2 _  a( a7 E
  54. ---例如---
    6 M8 j9 n8 g6 Z( g6 L& J

  55. 4 J8 |3 X" P2 l" Z
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    : {% W, X, C$ f/ E, X' n
  57. ---例如---
    5 b, w7 D: ?% Y
  58. [ dbexpress ] 9 {+ ~8 n- Z( H. H" b( o: n
  59. sqldir = mysql_sql ( z! W+ K7 v& [& B0 @% q
  60. drivername = MySQL中$ S. n9 a! \+ W! c* ~
  61. 数据库=测试! Y! [# d0 g( N
  62. 主机= 127.0.0.1 ) D9 x* ?9 w* z0 i
  63. user_name = testuser ! ?$ p! h1 c$ F# k% I: J* _
  64. 密码= my_password 9 d* G! J' E) n% ]
  65. getdriverfunc = getsqldrivermysql
      n) \+ m( |% O/ @
  66. vendorlib = libmysql.dll在" U5 V$ S$ O' d8 \0 h1 \
  67. libraryname = dbexpmysql.dll
    . G$ g& i' O- P/ N& g1 z
  68. 积极= 1 # d7 F+ m/ S3 n1 C! z
  69. ---例如----
    0 _8 l1 N4 V5 F( O
  70. -写在0 2.03.04由p wk.linuxfan
    & C9 y/ ^% T: A, v! {' B
复制代码
发表于 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
' _4 x5 p8 q0 B  a. f- ^% E* ?5 [* z' D5 q7 T
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-6 22:59 , Processed in 0.113978 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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