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

3302 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 1 t* A. \3 g1 L9 H. H

; c! T& M, G+ h$ B) s
  1. . m6 P* `2 h! S. f2 d! ^' P
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######8 h  W& \* P+ w8 q' N8 V
  3. 3 F! I: A" v8 S& c, x) U* e) X  B
  4. ### What we need ###
    7 v( W% Y1 ?9 K! D  @$ b3 i5 m( Z
  5. Naturally, we will need a MySQL server to store the data for us, this document / C# ^$ L9 \" B1 A8 Y" l
  6. will not explain how this can be done - there are documents out there for the
    ! n( i  K$ }: ?5 }! z2 z5 u9 U) d
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    * G8 Y% E$ o/ I9 p. u" j/ }# A+ s2 x7 ]8 ^5 T
  8. and a user account (username + password) that has the permissions to do stuff: U* o3 V9 F7 A, ^1 X9 E
  9. with the database. Additionally, you will need a vendor library installed on the
    * |! Z3 H+ |7 q9 m. {) s4 Q
  10. local machine, this came with my MySQL install.
    " A" m9 t" f0 J6 _% a* x% B* h) L
  11. These instructions will not tell you how you might transfer your data from the6 t1 L) \; B7 ]  @1 y) f
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL( _/ e# @$ J; g% E, w7 ~5 {
  13. database.
      v9 q8 H- g5 _2 U1 {) X  {1 a
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    / t* N) T) C: X, W4 L3 ~* b
  15. the time of writing, there are still too many issues - check the current status
      H" M) v2 h1 u( |" R  q
  16. in the TeamSpeak forums if you are interested.9 R8 b& C( ]* E% p3 ?: M
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    , Y/ b, }& L# k7 l7 o  g( c
  18. Borland was used. This driver can only interface with the client library that
    2 C; {! |1 w4 A) V' ^$ p& f
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this7 j7 H; J2 |2 b; c4 [0 H6 _
  20. client library - basically all you have to do is to use a 3.x client library as ! {, A0 r2 C" g) S% f
  21. "VendorLib" and a 4.x database to connect to.
    * w) J2 s+ Z3 b. V3 z2 n2 }( s1 W
  22. If you need more info about dbExpress, you can contact Borland.& C7 M. M3 K0 k9 V" B4 _* ]* T8 p

  23. 1 ]- O* \9 N. O1 g; S) o7 @2 d/ }
  24. ### Doing the work ###
    6 G  |' g' w/ l  E3 g; `
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all* G( @- E9 S; [: L7 D* ~
  26. the perquisites right, just open your server.ini file, and add this section at
    5 s; F7 [" X* g8 g# Y7 M6 p" l3 ^
  27. the end:
    : h* M0 {$ U* i1 k! G, w* G& _
  28. ---cut here---# h3 Y! Y, A) V8 w
  29. [DBEXPRESS]; b3 d# b' R0 G; C
  30. sqldir=mysql_sql6 N9 b3 k) \2 _1 O" s8 E
  31. Drivername=mysql' g* d6 V2 y! ~- P* c
  32. Database=Your_Database_Name_Here
    5 j! b7 k6 V& ?4 `" {5 n
  33. Hostname=The_PC_the_MySQL-Server_is_on
    & Y" p: c4 g7 F
  34. User_name=User_name_on_the_MySQL-Server
    % F/ n; Z3 X0 v& L
  35. Password=Password_to_go_with_above_user_name
    ; C' f; z8 @7 z1 @& L$ I( `1 q
  36. GetDriverFunc=getSQLDriverMYSQL! Z1 d! u! |2 z0 y8 T. O
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib( c! [) X1 R3 d7 ^9 T
  38. LibraryName=path_to_libsqlmy_libary! Z# l: F7 D9 y( j% H/ x* [
  39. Active=1
    3 Y+ Z/ o$ E4 K, F( k; g5 B
  40. ---cut here---2 H  r% g+ }! ^2 z
  41. In my environment (a linux box with a MySQL server running locally) I have:5 N( r7 d( `" Z
  42. ---example---
      }# N: y& Y  F5 G) ]
  43. [DBEXPRESS]: ^( c6 z& _9 R! T& V  U; f
  44. sqldir=mysql_sql3 D. x3 R! D1 b0 P- @
  45. Drivername=mysql% |; p1 F  t# J4 v
  46. Database=test- `: g& ]( g- }$ q4 A) \
  47. Hostname=localhost: n* ?& g8 ^" o2 l  v
  48. User_name=testuser
    : n1 T: R+ V0 _, d+ M9 z5 }/ |5 V. T
  49. Password=my_password6 s5 h/ }; }7 U' `9 N
  50. GetDriverFunc=getSQLDriverMYSQL' z2 p/ d+ F3 q1 [
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0# _6 A, U. o* h+ ^  c
  52. LibraryName=./libsqlmy.so
    1 a- @/ f/ z* {
  53. Active=1
    ; q  c$ Y* V5 f6 L. S
  54. ---example---
      B! j) j8 ^. ?6 ?/ h/ ^

  55. : u: B, j& R. {
  56. On a windows box, also running the MySQL server locally, it would be:
    : P* z- n" k! b
  57. ---example---7 z" X) W4 ^9 F
  58. [DBEXPRESS]' |6 W+ w0 C. b' l1 P7 N
  59. sqldir=mysql_sql
    & S& b* A7 u4 z
  60. Drivername=mysql3 v# P0 Z5 H1 g: |
  61. Database=test- _; ^! i! `, z
  62. Hostname=127.0.0.1* x0 s8 `& w& K  s
  63. User_name=testuser$ O% n# p% L: S8 k1 D  U# i
  64. Password=my_password
    + n( ~/ N& k* c) Z
  65. GetDriverFunc=getSQLDriverMYSQL3 f, |) T1 _0 Q/ ?0 Y& R5 @" c" N6 X2 a
  66. VendorLib=libmysql.dll
    / f" i$ R( ^1 Q
  67. LibraryName=dbexpmysql.dll
    2 s+ h. x. G3 L5 c* f5 W% r* D
  68. Active=10 ]- R( [, s. B- i3 I  U% p5 e+ K+ ?
  69. ---example----
    ) Z" h5 T( }; E0 `
  70. - written 02.03.04 by pwk.linuxfan  O( C; C& @0 Z( c0 J
  71. * R+ E% l0 @' u( _; R/ x
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
2 Z  m* x) k7 U$ T: e% c
  1. ( |+ V9 q# L, D
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### " L5 E2 @( u6 p

  3. * x' p5 B2 B4 ~; A# X: f, N
  4. # # #我们所需要# # # 4 i) W. h: a9 e+ {( t
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件' b6 h8 M/ q7 H1 [" Y4 A# t  n7 B# ~
  6. 不会解释如何做到这一点-也有文件存在,为
    0 c( _2 V; s' \
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用* H. p6 I! T* Q; y
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    + m. b9 ^& T1 q) @
  9. 随着数据库。此外,你需要一个卖方图书馆安装于+ }6 k* m6 h& [* \6 r$ x
  10. 本地机器,这是我的MySQL安装。
    ' m5 H% [# a; ]: s( _* C3 R& C3 M9 ?) j
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ; v6 i& j9 [, z; @, M2 j8 G) w
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    0 V! W  C4 Z3 X1 L% ^4 ~" j
  13. 数据库。
    ) X4 d' g# m$ H9 q. e8 e( H
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在9 n, k9 r5 ?! C. \1 M' E5 o5 |3 m
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ! v% t, w3 p9 @7 B. l
  16. 在teamspeak论坛,如果你有兴趣。
    9 B0 Q' r) a4 M( }# [- y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    1 m+ W0 S$ _- R& L; W' E
  18. Borland公司使用。这个司机只能界面与客户端库
    ' y3 j' K8 w2 b* U. h7 R) g
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    - b" b4 ~5 F0 e2 ?
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为& U' O- g9 }. r- x4 ^
  21. " vendorlib " ,并解数据库连接。   q: U. R  ?5 R' A5 H* C9 p9 r
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    9 o2 u6 n. @7 z( b9 E

  23. ( p& s; c# {+ t, _
  24. # # #做好工作# # # % @% ~/ m6 l3 t  w" e# M* U
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都+ i& r9 m! B3 N* k
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    3 X* D! k8 a( N, m1 B  I: r
  27. 结束: / |9 c$ f4 \( H2 j) `4 S5 z$ h
  28. ---削减这里--- $ n+ r6 E& v7 ~9 G
  29. [ dbexpress ]
    8 N5 f9 }( W1 E  S7 i
  30. sqldir = mysql_sql
    : Z+ D) H- s* l1 Q
  31. drivername = MySQL中& {$ m$ r: w' Q
  32. 数据库= your_database_name_here
    . Z3 T0 f- Y  @" S; q; ^. M
  33. 主机= the_pc_the_mysql - server_is_on * ^) r% x' j/ z5 a" t; o# @* G  @
  34. user_name = user_name_on_the_mysql服务器
    , W! i. }8 ]4 F% \! j
  35. 密码= password_to_go_with_above_user_name
    . P9 d% p3 |) n2 K& s
  36. getdriverfunc = getsqldrivermysql 8 m( R8 M, q% d, K4 |* ?  B
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    3 H3 g. a1 I8 m) b/ S( \1 _4 \
  38. libraryname = path_to_libsqlmy_libary
      Y* T3 O3 x- s& E5 l9 d- E% q
  39. 积极= 1 ; \9 I0 r5 T3 V+ Q5 h- a- [
  40. ---削减这里--- ) D  x: _% H% T, _* T4 m
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: . q/ g, S! W; o& o$ j' Z
  42. ---例如---
    ' S1 D% P- x  m" Z% b
  43. [ dbexpress ] , q- N/ d1 R0 Q
  44. sqldir = mysql_sql " c1 E. P4 b: m2 I
  45. drivername = MySQL中" H! n3 k. `& I, }
  46. 数据库=测试2 |9 H4 G: Y3 |8 i
  47. 主机=本地主机0 C% a3 X4 ~3 Q/ Q6 g
  48. user_name = testuser
    5 K6 E8 i6 T9 g1 `; D/ [  y
  49. 密码= my_password
    5 |& v- A7 V& n" M* u5 i7 P
  50. getdriverfunc = getsqldrivermysql
    - x5 y( v1 c2 W0 I9 @
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    0 S# p  l$ w" {, d  i
  52. libraryname =. / libsqlmy.so
    * F% P6 p; D# f0 d
  53. 积极= 1
    2 S6 R2 S  V3 F7 ~' G$ V( ]
  54. ---例如--- , {# d% o, J& K1 v" }
  55. 8 Q2 g. |( I4 M8 l
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ! r: }/ b( {- z9 T2 M5 y
  57. ---例如--- 8 ]7 Q' ?# y1 A) j/ r
  58. [ dbexpress ] 0 J1 J+ E7 h2 }
  59. sqldir = mysql_sql
      c$ Y4 |$ A! t# m( q
  60. drivername = MySQL中9 i% P2 q* ]: g  {: @# T
  61. 数据库=测试
    ( F' C6 C( x1 |$ O
  62. 主机= 127.0.0.1 2 r/ P, L) o" _% l: t  w
  63. user_name = testuser $ |1 `6 G0 E" @- S9 z+ S
  64. 密码= my_password # @& N3 R+ \* t0 b7 F
  65. getdriverfunc = getsqldrivermysql ' n  E; U2 j0 ~. L3 A8 e- o
  66. vendorlib = libmysql.dll在% s9 Q0 c+ n" m" x  H
  67. libraryname = dbexpmysql.dll
    0 I( s) |$ S6 \
  68. 积极= 1 " U7 B& Z9 A3 G) r& Z1 F: ^
  69. ---例如---- / X) q; Q- l, M6 X: U" I& o
  70. -写在0 2.03.04由p wk.linuxfan% M0 s" |7 i" K. n( r9 r" o8 c
复制代码
发表于 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
" l. \2 y: h1 w# Z
- ^3 d" a  T$ k2 p) s3 a; Ubut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-8 06:30 , Processed in 0.097536 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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