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

3216 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ) [5 H/ R5 `7 u0 Y- V
/ q+ ~6 S: H+ G! k+ z

  1. 2 y! X7 B7 f  f  g! ]8 R
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    & H! {1 _3 J* v
  3. 8 V8 S9 b) t+ H+ S+ B$ x
  4. ### What we need ###" n5 E7 [6 D' _- g: Y# W2 T$ }6 N, O
  5. Naturally, we will need a MySQL server to store the data for us, this document : v  u( Y4 f% p% d
  6. will not explain how this can be done - there are documents out there for the
    , m7 p2 g/ F) ^2 n2 u  ^7 P' i7 Z1 t
  7. interested. The requirements include a (empty) database for TeamSpeak to use3 S' H3 D: a4 D( `7 E/ Y/ ~
  8. and a user account (username + password) that has the permissions to do stuff
    . c9 m# S* _: G  y0 C% H7 D1 ^
  9. with the database. Additionally, you will need a vendor library installed on the
    2 p2 E' }" s) [
  10. local machine, this came with my MySQL install.0 D& S6 c/ V0 E( w
  11. These instructions will not tell you how you might transfer your data from the1 O/ @/ [. c0 r, t" d% w
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL2 U2 \  {# v9 h! Z* e9 ]' ?" B0 d- i
  13. database.
      Q) U5 y" g6 B7 Z$ D6 B% y& h
  14. Some users have reported ways to import a SQLite database into MySQL, but at1 J- H& K; Y3 T) \
  15. the time of writing, there are still too many issues - check the current status1 i. ?4 S: ~3 }- K
  16. in the TeamSpeak forums if you are interested.9 d2 P4 s: v! A
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    & K& a" V* `+ f5 X. W( U
  18. Borland was used. This driver can only interface with the client library that
    " k* t9 w6 R7 R2 K; z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this8 H- n* M8 S; S1 }; {, i
  20. client library - basically all you have to do is to use a 3.x client library as   R5 J3 ^  `% q4 U- {
  21. "VendorLib" and a 4.x database to connect to.
    , c# s0 L6 U2 y( j
  22. If you need more info about dbExpress, you can contact Borland.
    2 j$ l1 l" j4 x5 l

  23. 6 B& U; g7 r# s; \7 n6 y2 b
  24. ### Doing the work ###
    * P$ Y0 b% |2 P8 I" ?
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all4 ?1 ~! }: Q* o" N8 U& E# _* \
  26. the perquisites right, just open your server.ini file, and add this section at9 @# z! T4 F) Y
  27. the end:: s' V- F% R) @5 K% u) M: x% [/ @
  28. ---cut here---
    ) t9 }, a5 L: d2 _  z
  29. [DBEXPRESS]
    $ M) z3 {1 S9 ?  c, L$ U) _9 o
  30. sqldir=mysql_sql
    7 t9 f. B6 z  y  f
  31. Drivername=mysql
    # D& b3 |! p6 A% v) Z* K
  32. Database=Your_Database_Name_Here
    4 \/ c5 N# c9 P5 o# m1 j# N3 r& C: p
  33. Hostname=The_PC_the_MySQL-Server_is_on
    7 C! I* p. M! J& G) J
  34. User_name=User_name_on_the_MySQL-Server; n" D+ [) {. |" m; N
  35. Password=Password_to_go_with_above_user_name
    ( U7 U$ C4 j4 B# \  I0 X; [
  36. GetDriverFunc=getSQLDriverMYSQL* p2 R* e( b* L% h7 ^6 Y  J
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib- M( X& L% J3 F" m6 y* e
  38. LibraryName=path_to_libsqlmy_libary: L5 y$ f! d( ?- x2 r; z
  39. Active=1# \( x" r% m- t2 p2 `
  40. ---cut here---3 w9 j) h, Q+ W% E2 o1 W8 _  R
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ) K, R6 q+ o4 p- d  ^- k. r
  42. ---example---, `+ N# v* U1 ^7 s' B: K
  43. [DBEXPRESS]
    2 A' \- H5 W9 |
  44. sqldir=mysql_sql) x, O' B9 I( a  ?) _6 Q
  45. Drivername=mysql
    2 j# V! r9 w% d4 c# X
  46. Database=test6 p. g+ ^# A7 C& ^3 S
  47. Hostname=localhost0 z  E! h8 p3 M  y6 B
  48. User_name=testuser
    & q' b1 B) {/ T# g! {0 D
  49. Password=my_password6 B1 @2 V& R$ e4 S" h& h* G% H/ W5 G
  50. GetDriverFunc=getSQLDriverMYSQL
    4 o; i( \+ I1 }/ y: J' v
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    , g# E: u$ m* x2 Y# h! U/ o
  52. LibraryName=./libsqlmy.so" ^/ t' M! R4 p* W4 p
  53. Active=1$ S- M9 x! z! d
  54. ---example---9 _2 T6 t$ V6 V- e! x3 s* b
  55. 8 R! m. y7 G# }( f. T  }$ _* u; k$ o
  56. On a windows box, also running the MySQL server locally, it would be:# o) J4 E0 j' Z  p
  57. ---example---
    0 W: K& |4 e$ u, ~
  58. [DBEXPRESS]( \* n- d* G  K# k2 J. W. g, K
  59. sqldir=mysql_sql
    ; y, [3 p* t7 w9 `" c  Y& k
  60. Drivername=mysql
    ) ^9 y# W6 K1 x- O3 w6 c
  61. Database=test- B5 `6 R/ [; g+ u; Z4 l
  62. Hostname=127.0.0.13 k$ H$ a2 l4 b
  63. User_name=testuser
    2 c  M" |- N( e  D
  64. Password=my_password( W* j& @& L: h: p
  65. GetDriverFunc=getSQLDriverMYSQL
    ( g. }5 E0 B4 a0 m& f1 h, c
  66. VendorLib=libmysql.dll
    2 |& p0 T0 Q6 o- U) W# v/ D, W- c
  67. LibraryName=dbexpmysql.dll
      R: m- X  T/ t8 f: P
  68. Active=1
    & [# D# L( W3 y5 c  |8 N' B8 {
  69. ---example----6 @+ ]9 X4 F6 Y4 e, z
  70. - written 02.03.04 by pwk.linuxfan2 b3 G% K, M( \+ l  H* z* Q6 F

  71. ; m; v7 B0 Q- g
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
- F0 a+ ^# A" S4 z
  1. ) {4 h$ [. E4 P* x
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### : [: c, W6 W; w8 I+ l
  3. ( }4 H' q5 c3 o! `( n- Q" _9 K
  4. # # #我们所需要# # # & ~3 x0 e% o# I& X1 v# ]
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件7 P) N2 L; g3 [7 s! d
  6. 不会解释如何做到这一点-也有文件存在,为3 y1 s: }1 M/ S, `' R5 ?1 a- C' j
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用. ]" k3 ]6 b% {8 z) d0 q/ y
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    9 W. r% P3 }4 ~2 X
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    4 [% f: I9 w( J' G4 p) s
  10. 本地机器,这是我的MySQL安装。 - z, w3 M8 w& T3 Q# w/ Q
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    4 \7 }0 e7 I; `+ B
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL / ]2 j3 d* N4 W# ^' S
  13. 数据库。 9 c0 b1 m: c# }- q6 s' C
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    : Q8 E( p, o0 H1 J2 H* U3 f
  15. 编写本报告的时候,仍然有太多的问题-检查现状/ F9 r/ [4 h( L
  16. 在teamspeak论坛,如果你有兴趣。
    6 w1 o6 O0 F) ^. ^" N
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机2 B6 ^$ T4 e; l% P" g
  18. Borland公司使用。这个司机只能界面与客户端库, e" d/ Y8 R; ]! w/ Q, B) y  c
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    9 U: ^4 _( _0 M9 E! k
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为! d* s; {; N& V* N
  21. " vendorlib " ,并解数据库连接。
    # }/ y0 R9 r( ~9 u& i. c
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 + u' B/ I/ ~: P& Q1 W# Q! x/ N' ?5 N

  23. + L( u( c1 o% M6 B
  24. # # #做好工作# # #
    2 B, A' S* l7 O, h8 n
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都$ L: j+ ~! k. e- A2 ]
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在! M$ l, V  b" N; h- T5 Q$ S. u
  27. 结束: % g( ^  I" @0 t, G3 O
  28. ---削减这里--- 7 [2 X, `6 H& V3 ?+ F& d
  29. [ dbexpress ]
    5 M; T* \3 R  J+ a6 L% P9 c6 a  Y
  30. sqldir = mysql_sql ; d2 M+ E4 J' L8 {( l* U3 y
  31. drivername = MySQL中
    : p) q5 O$ V% H* Y! o
  32. 数据库= your_database_name_here
    8 C; l6 ~1 D6 i  O% i* L- g3 W8 K
  33. 主机= the_pc_the_mysql - server_is_on
    + P+ N1 n5 i  v. G* x; o
  34. user_name = user_name_on_the_mysql服务器2 I! z6 h& l; p: U1 [
  35. 密码= password_to_go_with_above_user_name
    " |" C  b4 C( t7 C6 G3 f
  36. getdriverfunc = getsqldrivermysql
    ' Z  f/ k: X$ o- p% ~) R
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib + r5 p5 w7 a* U/ ]3 o; _
  38. libraryname = path_to_libsqlmy_libary
      n' X0 T6 e6 {/ U" g
  39. 积极= 1 ! x7 b8 L% Q  s: f, s8 f" v% Y# z
  40. ---削减这里---
    " E5 Q3 \  {! N" h" e
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 2 E1 x, n( Z5 ?0 B3 H
  42. ---例如--- 7 k3 M  K1 V- U/ B( \
  43. [ dbexpress ]
    - H& A; k$ s$ d' \7 y) N( Z# w. }
  44. sqldir = mysql_sql
    1 P$ g9 g9 {3 Y' t2 x& d
  45. drivername = MySQL中. Z. F/ }* w. L; y! q2 f& y
  46. 数据库=测试# D( v( k' c; u9 H# A) y
  47. 主机=本地主机
    1 E3 I8 H  R! f9 ?$ b
  48. user_name = testuser ) N9 M: h! E8 Q6 o* Z
  49. 密码= my_password 8 L% a* e* i( R" l- _+ s' Y: |2 L/ F
  50. getdriverfunc = getsqldrivermysql
    . N! A% K4 L9 E( E5 X; d9 f
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ; u* @) e0 e- C9 S, H
  52. libraryname =. / libsqlmy.so ! w: c  t# F& O' ~9 o( a5 m5 A8 x' G
  53. 积极= 1 7 @  d/ p, I% \3 E
  54. ---例如--- ! f# E% |) ]* T

  55. 9 q1 R. p' ]1 i/ g% u
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    0 _! D$ r8 P2 R, B+ }+ Z: L
  57. ---例如---
    ( L# j$ |. ?( z6 V& q7 E
  58. [ dbexpress ]
    2 j' q/ o3 X, N$ j/ z- x
  59. sqldir = mysql_sql ! |- ^, K9 G! d3 X
  60. drivername = MySQL中+ ?! x( S* L, g* k' A) f. e
  61. 数据库=测试
    5 G$ `1 L4 j; s; P" O; d1 }
  62. 主机= 127.0.0.1 4 |2 N3 G9 t! t8 P
  63. user_name = testuser % s  m. @4 Z8 w6 C0 t7 v
  64. 密码= my_password
      g$ u/ c6 K0 F  a6 n
  65. getdriverfunc = getsqldrivermysql
    6 Z9 O9 @1 N6 M5 z; \
  66. vendorlib = libmysql.dll在
    8 k* |, d( c# A8 i& o; y5 L
  67. libraryname = dbexpmysql.dll 5 _# j4 X% ]! p+ t9 l4 n/ ]
  68. 积极= 1
    1 v4 K2 H' u1 I/ a6 t1 D
  69. ---例如----
    & M7 r- y" O4 A) f, b
  70. -写在0 2.03.04由p wk.linuxfan
    % H: w1 `! ~" `9 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
! O0 P: S7 r# O& V
( V4 N( Z3 b- Y) @8 P/ Sbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-24 12:07 , Processed in 0.103510 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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