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

2373 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ( K2 [- R, {* V" c& A* Y

6 \4 N2 h: Z2 X
  1. " Z( b% \( S2 F8 k+ U# i
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######! }' I1 _: L% }$ @% g3 J4 Y# f. e

  3. 3 ~- X/ b% d' W1 @+ \" A9 h* R, G
  4. ### What we need ###
    ) Z0 x; ]% C& R8 i' L* `
  5. Naturally, we will need a MySQL server to store the data for us, this document + u1 m! b5 r7 M$ q0 p5 X7 I
  6. will not explain how this can be done - there are documents out there for the
    . h* j: E0 E1 q* }. H  ~! n
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ( r4 y: K# @9 z4 D, J: @
  8. and a user account (username + password) that has the permissions to do stuff
    ; d" U3 i9 K3 I8 g6 Q( P
  9. with the database. Additionally, you will need a vendor library installed on the
    4 u8 M" ]+ t) C# A# D0 b* O
  10. local machine, this came with my MySQL install.
    " z% V7 K, v5 m% b
  11. These instructions will not tell you how you might transfer your data from the
    1 S( n3 C! p6 y* n7 ^3 g; G4 k
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL9 u2 f5 n5 J9 w4 U! R2 h) x+ J
  13. database.
    9 F" }8 o8 H( j2 Q# M: K$ J
  14. Some users have reported ways to import a SQLite database into MySQL, but at  b$ \& j& N- `; K$ D5 J
  15. the time of writing, there are still too many issues - check the current status) D4 A  G$ H+ B: Y7 Q
  16. in the TeamSpeak forums if you are interested.* E1 k( a& p% W" |1 o
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from4 I4 q7 n$ y7 k$ ~
  18. Borland was used. This driver can only interface with the client library that
    ' [' z* }6 n5 C4 w9 y2 z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    9 e; P7 X' i6 ^& \' B, n. v, e# i
  20. client library - basically all you have to do is to use a 3.x client library as 1 [/ @! f$ K. [0 o
  21. "VendorLib" and a 4.x database to connect to.
    $ G% `, Q! C6 z
  22. If you need more info about dbExpress, you can contact Borland.7 \9 x* L1 i) \: r* B# y4 Z. R

  23. - f3 }: _  G" l( K2 D
  24. ### Doing the work ###+ u- m3 @7 W- D7 m
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all- d* V/ f2 q; Z) G: R0 h9 w6 b2 ]
  26. the perquisites right, just open your server.ini file, and add this section at4 g* R, `; p4 U$ q$ h# w
  27. the end:
    , R( n' _8 m( L- a
  28. ---cut here---! O# \. g! z: _
  29. [DBEXPRESS]
    / D- T7 B  c# V! j0 u
  30. sqldir=mysql_sql
    + n# B! G( l& D' p" y. W4 F8 G8 I- R
  31. Drivername=mysql/ v$ I* @- q) O  P
  32. Database=Your_Database_Name_Here9 }2 D4 m( g! B' l
  33. Hostname=The_PC_the_MySQL-Server_is_on8 D: U: U1 l2 p* s
  34. User_name=User_name_on_the_MySQL-Server
    / u9 [# `5 G5 l
  35. Password=Password_to_go_with_above_user_name# a/ C$ ]* O" }
  36. GetDriverFunc=getSQLDriverMYSQL
    8 s, a2 m1 \6 O  j2 }. C- Y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    5 ^9 M% O' V4 I0 ]
  38. LibraryName=path_to_libsqlmy_libary! b( ^' P) z5 w* W# i
  39. Active=14 n  e- S4 ~; u; i+ P& ^0 R
  40. ---cut here---; X, u0 L2 C+ g9 N% O# H& G9 H
  41. In my environment (a linux box with a MySQL server running locally) I have:0 j; ~# H, \1 e' Q4 C
  42. ---example---$ ?1 C9 \/ b- G9 d# L$ _- d) H" y
  43. [DBEXPRESS]; N) k3 S) [6 u" S: R8 ~
  44. sqldir=mysql_sql
    7 Y# P4 m! ^; U/ \- L5 u
  45. Drivername=mysql
    7 t9 X' u% l- A' d/ K9 L- k  `2 G/ W
  46. Database=test
    3 _  t7 f% [- V' l: f) h
  47. Hostname=localhost& D5 l8 C/ Y7 J, R& Z' f# v
  48. User_name=testuser
    1 Q& P" K+ S$ ?
  49. Password=my_password
    $ Z. R! r6 Y* G2 n" d
  50. GetDriverFunc=getSQLDriverMYSQL
    : E( B" u; c# A% N
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0( u: H8 g" ]6 A2 j3 _9 a
  52. LibraryName=./libsqlmy.so; v$ Z4 A! J6 }+ l9 z$ }6 ?
  53. Active=1
    3 o6 c% Z4 W/ j- z# W. }1 H9 m' P6 O1 G! ?
  54. ---example---
    : `- ?7 a* P+ M9 `% `2 M- z
  55. & G# S' U2 ^! |4 F" M* O( C2 E4 L: ^) Y
  56. On a windows box, also running the MySQL server locally, it would be:. w" x1 O& W7 u5 V
  57. ---example---0 M, p! a, C' p: m
  58. [DBEXPRESS]) T+ {6 g% r, ^! s+ L) r
  59. sqldir=mysql_sql* r9 `/ q+ u% n2 p
  60. Drivername=mysql3 w+ L/ b( {* c& |' `1 H
  61. Database=test
      I3 v' |2 w; F3 E+ @+ U  o$ y/ b
  62. Hostname=127.0.0.1% Q1 ]$ M5 ^+ A; }0 E3 n0 g5 W5 ]) j+ s
  63. User_name=testuser3 s* ^$ w! f" N& t* K
  64. Password=my_password
    1 N# Z& D/ x: n( @3 h0 E
  65. GetDriverFunc=getSQLDriverMYSQL
    / `0 g: p# G' o  K1 g
  66. VendorLib=libmysql.dll
    * G( s, |  B* q8 o
  67. LibraryName=dbexpmysql.dll4 J% O5 A$ {. w6 p. f  q: Y
  68. Active=16 T% b* _( _6 x9 ^1 b
  69. ---example----' |) |$ k' c: \: W; w$ C
  70. - written 02.03.04 by pwk.linuxfan
    $ U. B$ E/ F: r4 m: m8 q+ l$ u

  71. & M2 m8 k0 e. [7 z" n
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
# E: |- Z+ U  s- q4 n$ @1 f

  1. 5 w- b. d) X% ]
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### * D9 W. N- _0 M/ a  t
  3. + z0 Q: _) g' @1 O% _% Y( x
  4. # # #我们所需要# # # ' p2 r5 P9 V: q( i8 ^
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    / X1 O" ~7 ?- B
  6. 不会解释如何做到这一点-也有文件存在,为  Z# d- {- U4 A* s
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ; _, W, D, z, a/ R" F/ M
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西" l- I9 T& G" g
  9. 随着数据库。此外,你需要一个卖方图书馆安装于' t& \# i: i- f
  10. 本地机器,这是我的MySQL安装。 + u, Z, s! ^- A4 e
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从0 t( `5 r8 N  g9 ]) {
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    0 w8 J4 l+ `4 ]& D' `
  13. 数据库。
    % K3 B0 G- ~9 U
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    5 i# V; L' A* m, N
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    + q5 S( Y7 N; r9 m) v6 c) ]) `7 Q# K
  16. 在teamspeak论坛,如果你有兴趣。
    # I5 M1 {: F' n- L; `, `
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机  R! n1 ~8 p2 A% T1 s7 j4 m" e
  18. Borland公司使用。这个司机只能界面与客户端库$ f- ~$ s: V6 m# e8 j$ t# v
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    . ]( k) u+ ~+ {. I! s! T( B
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    6 k+ |' N- j; d/ ^7 _5 T* ~
  21. " vendorlib " ,并解数据库连接。 , C* _/ a( O" o, M3 W
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ; |' ], a, K) x
  23. 4 t0 s. Z( s# D1 H+ {2 N7 G
  24. # # #做好工作# # #
    ' ?  v; n& e" C; Y2 Y8 ]9 _: L
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都; Y& l( c2 q3 F
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ' ?$ b! A7 I; j8 L& X' l5 o" M
  27. 结束:
    & ~% x5 t9 h' E2 s3 U% G
  28. ---削减这里--- 5 L- t5 {  V3 u; b" ^/ o6 c
  29. [ dbexpress ]
    : Q. G$ o% L8 C9 T5 Z
  30. sqldir = mysql_sql
    ! H5 \; l9 l6 L+ m3 v
  31. drivername = MySQL中$ [1 R1 @8 b2 n# a$ p
  32. 数据库= your_database_name_here
    " H; `* }. g' `) H) \2 R1 i: A9 ]
  33. 主机= the_pc_the_mysql - server_is_on
    - _9 ]/ B) ?% _2 R
  34. user_name = user_name_on_the_mysql服务器' a- u- w6 |. V) j
  35. 密码= password_to_go_with_above_user_name
    * B- B5 l# G! v
  36. getdriverfunc = getsqldrivermysql * A- _! W2 o2 ]  E5 h2 o$ O
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    & H- [2 U1 z- G7 y
  38. libraryname = path_to_libsqlmy_libary
    ( L& ^- H  q6 j. \+ @
  39. 积极= 1 8 v- x+ b6 {. x, I0 U/ k! a
  40. ---削减这里--- ' ^$ I1 E% w$ o, Z7 ?
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    1 x; o1 @+ n2 a" f. x) D
  42. ---例如---
    6 F* P( ?% _' s2 }! d
  43. [ dbexpress ]
    - y& d9 O8 }" S6 Z( s
  44. sqldir = mysql_sql
      l/ b  ^, [4 t! C
  45. drivername = MySQL中
    $ R! |  J2 J: i! S+ u7 b
  46. 数据库=测试3 P' J1 G  D. S* y9 L* d
  47. 主机=本地主机
    1 O3 j" _6 E( \( `
  48. user_name = testuser
    5 R& u  v1 S/ x% h
  49. 密码= my_password 2 C: v; {# O/ |8 z$ D* O
  50. getdriverfunc = getsqldrivermysql
    ' ~5 \# g: @9 R1 Q# g1 a
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0   @6 {1 g4 G6 W
  52. libraryname =. / libsqlmy.so 8 s0 W7 r' D! \' E
  53. 积极= 1
    / F+ I3 z2 D& L. S7 |4 N4 `
  54. ---例如---
    1 Y3 d8 H; Y! ^4 g
  55. ; |' k' }. N, B, u4 g4 p
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    1 E- _* Z% k: H/ M' `4 K6 Q+ j2 K
  57. ---例如--- ' G9 l: Q$ o3 Q' a% o3 u
  58. [ dbexpress ]
    3 p- i; }3 T) A
  59. sqldir = mysql_sql
    1 s2 [( h( ?+ R* e
  60. drivername = MySQL中- _6 U1 P5 r' g# K& |
  61. 数据库=测试
    2 i4 J! @) F: ]4 ^% I3 U7 s
  62. 主机= 127.0.0.1
    5 A, q) `" z7 {! Q2 I8 j; @
  63. user_name = testuser # n" }4 I: K# L% M5 y
  64. 密码= my_password 5 {  y0 V* L4 A$ T! x
  65. getdriverfunc = getsqldrivermysql
    ' C8 S9 {/ K" C; U$ s
  66. vendorlib = libmysql.dll在' i# N8 q6 X% l1 }/ z
  67. libraryname = dbexpmysql.dll 1 M9 `0 Y( P0 M
  68. 积极= 1
      h" o* ]8 h3 q4 ^
  69. ---例如----
    7 s7 i) v7 G& g. T, f7 u
  70. -写在0 2.03.04由p wk.linuxfan
      H7 x9 j- m4 ?) `# ~& |9 j" o! d# l
复制代码
发表于 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" A$ I# U0 ?+ V) ]2 `- w
0 A  p" [4 }2 D. f- O
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-10 14:20 , Processed in 0.111795 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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