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

3562 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
& G# R/ \6 v  V" n$ D5 l
! G& t$ k5 Z: j% k6 a1 J( \

  1. 9 W# x4 U, Q7 _: e+ }5 {3 e$ r' B
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######5 n: N* ]8 f, m' Y- m1 k3 w
  3. ) b% ~. J0 }: _* f5 e1 @( h6 E( x
  4. ### What we need ###
    5 V( }5 y' x. y6 F, o3 O
  5. Naturally, we will need a MySQL server to store the data for us, this document ( l; G: m2 i9 O
  6. will not explain how this can be done - there are documents out there for the + ?8 p" @7 s0 Q& v
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    5 E  x6 i- i% g$ h$ [
  8. and a user account (username + password) that has the permissions to do stuff5 t) g& L  q+ E& t! B
  9. with the database. Additionally, you will need a vendor library installed on the# E& |* E( [! W, T6 E- k$ }
  10. local machine, this came with my MySQL install.
    3 w  Q$ \7 I2 c0 r. C
  11. These instructions will not tell you how you might transfer your data from the
    ! x/ K% m/ y. }# F; l$ @' u
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL, b& G1 J3 j! ~, C
  13. database.+ g6 d1 y- D6 E, Q& l$ ]
  14. Some users have reported ways to import a SQLite database into MySQL, but at! Y' D: X# X  K% @6 W1 G1 ?
  15. the time of writing, there are still too many issues - check the current status
    2 L0 }# N# C( X
  16. in the TeamSpeak forums if you are interested.9 t! I  v$ R, S7 {/ v1 i* j
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    7 B6 g" f* G  F* B
  18. Borland was used. This driver can only interface with the client library that
    ! ?) E1 V# c) \  ~1 n
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this* x2 L% `; T9 `
  20. client library - basically all you have to do is to use a 3.x client library as
    # c' ~& S4 T8 q
  21. "VendorLib" and a 4.x database to connect to.  U: p3 K1 ]: U% D: {8 p
  22. If you need more info about dbExpress, you can contact Borland.2 I- T* r/ ^" h
  23. ) k' m% \) S+ ^; s
  24. ### Doing the work ###) R# Q8 O& y4 Y1 x
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ; L; [8 v. S2 ]) K$ b
  26. the perquisites right, just open your server.ini file, and add this section at
    7 d2 p  c# ^9 K$ G7 e
  27. the end:* v8 K, n+ B6 z
  28. ---cut here---
    & v7 N% k' |% u) Z* o% ~: Z7 x
  29. [DBEXPRESS]
    ( ]( _3 o1 O/ P4 E/ _
  30. sqldir=mysql_sql2 Z1 b; j- e' M% x8 [7 ^
  31. Drivername=mysql" S: U3 L8 h( j3 a$ ]8 l
  32. Database=Your_Database_Name_Here
    . q' s: C+ h4 q; u2 S( N
  33. Hostname=The_PC_the_MySQL-Server_is_on# K4 Z$ o! @* Y. O5 q
  34. User_name=User_name_on_the_MySQL-Server1 p) W& {) }! a9 z9 x
  35. Password=Password_to_go_with_above_user_name
    ( P+ Z, J+ g7 R" ?  I0 x, E
  36. GetDriverFunc=getSQLDriverMYSQL
    ' [3 \3 s1 J, L3 S
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib9 k# u' J, @, `. p+ a# P2 e( s* i
  38. LibraryName=path_to_libsqlmy_libary
    1 p. C- }- P& t1 u* a
  39. Active=13 a( ?$ g9 L$ y/ ^2 |% W
  40. ---cut here---: l% L* \$ {6 V& ?! b' a
  41. In my environment (a linux box with a MySQL server running locally) I have:0 r6 z5 f; [/ s1 I( y9 N! [
  42. ---example---  _& j4 w7 \6 C5 [0 z( Z
  43. [DBEXPRESS]2 O( f* ~9 L9 b& e/ k4 j
  44. sqldir=mysql_sql
    4 h5 S1 C, Q; O" c' O
  45. Drivername=mysql3 y2 k8 K2 P1 ]$ ?( l9 I& p* k" f
  46. Database=test! Z( b1 w* H0 S  u; @; v, m
  47. Hostname=localhost
    9 f9 z' m( V1 c8 O
  48. User_name=testuser
    5 w2 H6 N9 |, A- t  p4 S  ^
  49. Password=my_password( b7 t0 D" K% n( Q; E/ R4 j! a
  50. GetDriverFunc=getSQLDriverMYSQL
      X; g  {* ?9 l9 q# @. {
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.04 S1 b5 S( ]7 U) T2 }& w' _
  52. LibraryName=./libsqlmy.so' D, V" |2 j! d% `. L; ]
  53. Active=1
    $ j4 G% m7 [* |( d
  54. ---example---4 n6 E! b" s0 r" ]2 [
  55. 6 Z9 v' X) i: `' S+ n; C
  56. On a windows box, also running the MySQL server locally, it would be:
    9 D/ l: y# ^* C! o) ?
  57. ---example---
    ) `, c4 s* p" A. T8 k' ~
  58. [DBEXPRESS]
    ( e* A$ [6 d' H0 M7 o1 r8 @
  59. sqldir=mysql_sql
    5 o" j$ x$ n; s+ Q( Q
  60. Drivername=mysql. q1 C7 W8 r: n- H: |8 h
  61. Database=test
    1 m+ j% J6 j+ m- ~4 D9 S
  62. Hostname=127.0.0.1
    # c9 o" b# d. s2 s+ ^# ?
  63. User_name=testuser: v- u" @# D# x) v. w- u8 f7 |
  64. Password=my_password. t& P8 M3 b% c) O' G. G$ G# X
  65. GetDriverFunc=getSQLDriverMYSQL, q) c- x, W- k% E5 M* k( d5 R
  66. VendorLib=libmysql.dll
    ( \* O; s( P4 s0 _; v, U0 h
  67. LibraryName=dbexpmysql.dll
    ! o* Y6 V6 c" n2 i
  68. Active=1
    # F) r& I# Z3 a. ^8 A5 T
  69. ---example----
    ' R6 D- w6 u" p% t" u3 q
  70. - written 02.03.04 by pwk.linuxfan
    & L( w( I6 r  x  J/ Y$ b: D
  71. ; y: ?4 K- V$ n: h% m" Q
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
, T9 r0 Y; j* o% f& Y

  1. , V7 ~; X% v- Y7 p/ e* ]
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 1 ~4 `( B1 P5 f* \. Q+ j5 C
  3. 3 E5 O/ c6 D: ?' X: G( D
  4. # # #我们所需要# # #
    * c# n% U) c, o
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    # H# s7 P* n; ]
  6. 不会解释如何做到这一点-也有文件存在,为$ m! x' F& C( R2 J3 R3 ^
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用0 V$ w  V% l. u# W( q. P6 ~, {0 r7 `
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西+ B0 c8 Q# F8 h  C# E
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    , Y4 `  t, E* T. @( K7 x7 i6 a3 F
  10. 本地机器,这是我的MySQL安装。
    5 f$ z- r+ E, M4 @; ]; J
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    . X% t. e2 u& S* T* _  c
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ) s' ?, l4 X5 o% D# x3 y
  13. 数据库。
    9 n' \4 M6 l3 B0 ?' j' d! ~
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    $ I! J' N4 g/ v* x1 K- C6 Q0 E- v
  15. 编写本报告的时候,仍然有太多的问题-检查现状3 n2 V# m, ?2 Z4 A# F  b
  16. 在teamspeak论坛,如果你有兴趣。 1 n" E" V( b+ X* C1 `
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机1 Y' x6 t2 I* q3 ?
  18. Borland公司使用。这个司机只能界面与客户端库
    * [* m( I5 }, e- b6 M: C' `* ]
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    # T) L9 L$ [7 {% S" x
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    1 p( J7 ?) [; X  j5 }0 d/ ~. L) Q
  21. " vendorlib " ,并解数据库连接。
    7 n( w( l5 S9 x6 H) ]( ~) r/ e
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    7 W# F* D5 C8 b, i7 m9 m2 h) u
  23. . X% p( a% l& _: U4 o/ ~2 B
  24. # # #做好工作# # #
    7 [- G3 [6 s) H+ ?4 w  M) E
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都& h* m8 f, v% s8 }, h
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在1 f9 k4 e5 E% B8 Q- r7 m, @
  27. 结束: " A7 d0 m& j2 C& l+ k2 v. |
  28. ---削减这里---
    0 c6 T4 G6 T% |" n( D3 |6 z
  29. [ dbexpress ] 7 Z' e' s! [3 O% a
  30. sqldir = mysql_sql - K; k% ~, L6 a- H2 i! q4 _
  31. drivername = MySQL中. e. m$ x! `- V. o
  32. 数据库= your_database_name_here . q0 U2 Y! F4 h" v, c
  33. 主机= the_pc_the_mysql - server_is_on 2 o$ p: D$ H  H
  34. user_name = user_name_on_the_mysql服务器9 X8 `1 ~4 I* z; W) L* M
  35. 密码= password_to_go_with_above_user_name 7 {( }: }8 w9 h( N: b
  36. getdriverfunc = getsqldrivermysql
    " D3 p# ]/ C  o+ f* p, u
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 9 Z3 m( l1 a1 e7 ^& v
  38. libraryname = path_to_libsqlmy_libary 1 i8 ]% H! m( \) n! W& D
  39. 积极= 1 " r  Y- G  [( D+ |: a% h4 B8 U
  40. ---削减这里---
    , J9 s2 _; d; o; k0 o- [
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 9 t- E2 H. I# I% o$ d
  42. ---例如--- # S5 {  n* R' i' C8 e
  43. [ dbexpress ]
    / q1 d0 C# m) L) @6 l: f8 v2 s
  44. sqldir = mysql_sql
      m6 w8 O0 y- S  c2 `( Q' P
  45. drivername = MySQL中0 |. f3 K% r2 P  F  w; l* i3 _
  46. 数据库=测试0 ^- B9 \. q2 P- y9 L7 A
  47. 主机=本地主机
    & r% y0 a: s& k: f# F
  48. user_name = testuser / A* v1 E# C7 l- G8 e1 L7 B
  49. 密码= my_password & n- e% o9 e8 j+ E
  50. getdriverfunc = getsqldrivermysql
      \! W: |. B/ U0 F$ J& C* k
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 1 ], D( x( ?. `- V$ F
  52. libraryname =. / libsqlmy.so 9 @9 I1 W+ N9 z% _. g
  53. 积极= 1 " c4 s) _+ R  h" o* r' `5 @7 \4 g
  54. ---例如--- 4 j% d1 N; j  l, @9 l8 z+ \

  55. , _& u4 S) o* u  l
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ; ~1 S7 Q- u, r! o  Z: }+ |
  57. ---例如---
    * z6 l; f6 E' O0 l& v8 N+ L
  58. [ dbexpress ]
    " W1 r( @1 D4 J2 M/ u. E; }
  59. sqldir = mysql_sql 5 ?/ C7 r, y) h" H  `
  60. drivername = MySQL中
      r, x1 k" a1 C/ w
  61. 数据库=测试
    ( t. t2 I( [# F, Y
  62. 主机= 127.0.0.1
    8 ]: w1 t+ `1 V6 `  V" w* x
  63. user_name = testuser
    + }" L  f/ D0 {# Z
  64. 密码= my_password
    ! F' l% a9 p% |1 F4 G
  65. getdriverfunc = getsqldrivermysql , |9 s7 K# A8 d# b% ]% D! C3 h
  66. vendorlib = libmysql.dll在
    & t  j/ I8 G, a3 _4 U, h
  67. libraryname = dbexpmysql.dll ' D: c- w. f2 a% j+ h
  68. 积极= 1
    ! c2 Y0 ~$ c& b5 o& \8 T
  69. ---例如----
    3 ?$ n5 ^$ e- G& j: s! t
  70. -写在0 2.03.04由p wk.linuxfan' |8 q1 n; r1 f  t5 U
复制代码
发表于 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
% v0 ?% p, N4 P+ g( d9 a- c# U, [3 ?. y4 J/ Y/ D; E
but, 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 08:48 , Processed in 0.057590 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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