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

2843 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan " U; `' K# F! s8 Y& L! \

, I  p' e: I3 M" y9 H
  1.   I0 S8 f1 j  Z! Z' s0 A! a
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######- G/ \0 D: K8 Q; D7 {6 k# d' k/ m

  3. * G1 `: A- h9 J2 D4 z6 m% x7 }
  4. ### What we need ###
    / y+ ^% L2 i0 Y9 Q6 D! N
  5. Naturally, we will need a MySQL server to store the data for us, this document
    2 `( G7 E, @& {2 F
  6. will not explain how this can be done - there are documents out there for the 6 n+ ]( T# z4 k- j9 ?6 W% c
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    4 ~% }' A; G# {2 W8 R. m6 C
  8. and a user account (username + password) that has the permissions to do stuff/ h. o2 U- D, S( E
  9. with the database. Additionally, you will need a vendor library installed on the  n  \" U7 X0 p# W- x
  10. local machine, this came with my MySQL install.+ x0 q! I9 p" H1 e5 I* }( K
  11. These instructions will not tell you how you might transfer your data from the
    ' Z0 Q9 D4 N/ n
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    , I$ [. H  s9 n" m+ q( `3 `
  13. database.
    3 N5 z$ p' D4 O' r0 W5 D
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    9 w6 O" H' f" G9 Z
  15. the time of writing, there are still too many issues - check the current status
    4 ~. c2 S9 }5 [
  16. in the TeamSpeak forums if you are interested.
    % D  o6 X# l8 D2 U
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from3 @+ r& q- I; {0 n
  18. Borland was used. This driver can only interface with the client library that
    4 W/ W- u% F3 K/ R
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this. Z5 J& @- c9 P" @2 Z5 m7 `
  20. client library - basically all you have to do is to use a 3.x client library as
    8 h0 D4 B5 H2 O5 k, v5 c: t' e7 S% e
  21. "VendorLib" and a 4.x database to connect to.
    * u  p# \3 a2 |& R+ ]
  22. If you need more info about dbExpress, you can contact Borland.
    2 k- G, Y& S! _1 b: p

  23. 6 U- x/ Z5 C# y$ |, O' `
  24. ### Doing the work ###
    0 ^0 Q# B+ c6 {  Z& \& a
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    % W0 R( A4 S! {1 y/ S/ e: V9 p; |
  26. the perquisites right, just open your server.ini file, and add this section at
    # X* U# N' u( h
  27. the end:
    ; k3 ]/ Y/ u" m7 y
  28. ---cut here---3 K" A% h- H, q$ T4 h
  29. [DBEXPRESS]# u, n% `8 p7 J2 ^5 S' T  z
  30. sqldir=mysql_sql
    4 R9 ^! X: v0 A4 ~6 E4 w
  31. Drivername=mysql4 X8 p# b* A! [) E) t# G
  32. Database=Your_Database_Name_Here& V( Q3 P, V" M9 Y9 @6 S4 _
  33. Hostname=The_PC_the_MySQL-Server_is_on# w# U' Q9 D2 t" p" u+ D& X
  34. User_name=User_name_on_the_MySQL-Server4 g9 g& u; d& B2 J6 C5 d6 x
  35. Password=Password_to_go_with_above_user_name  [2 a1 f* A) T7 Q, ~
  36. GetDriverFunc=getSQLDriverMYSQL: y- C) |& X* S1 J1 c
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    % z5 ^/ Z6 s6 ~; b# L) m$ Z/ ~2 U
  38. LibraryName=path_to_libsqlmy_libary$ I" A0 F1 W1 v. @5 i- u9 e
  39. Active=1
    - [/ R- @5 v" }; v
  40. ---cut here---
    . [( X8 Q3 m4 B6 {8 l: G
  41. In my environment (a linux box with a MySQL server running locally) I have:
    # d" ~7 Z7 |6 n7 E) U. c2 ?* S
  42. ---example---  b# \- l0 {2 r
  43. [DBEXPRESS]
    6 A1 k! p: @7 x1 \8 M
  44. sqldir=mysql_sql
    # o3 b( p; k: i  u! ]" l
  45. Drivername=mysql
    + E/ _1 Q0 S% ^- P- b; W! W
  46. Database=test
    ) ?: ?6 @& w9 `
  47. Hostname=localhost0 B$ f' H9 D9 }; ^! g3 D
  48. User_name=testuser& r5 X% M7 ^4 L" G8 t( H' }& @
  49. Password=my_password9 f6 f. h  i5 q8 ?
  50. GetDriverFunc=getSQLDriverMYSQL
    9 \* j# A$ Q& n6 R8 y( R
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0; p+ W3 G# o' U3 ^+ F5 w5 j: S& g+ Z5 R
  52. LibraryName=./libsqlmy.so
    : w8 d7 m0 R0 I
  53. Active=1
    9 t' [. q) {1 p" K+ M
  54. ---example---& }+ H4 e$ @9 c3 Z% Q0 j
  55. " x) P! r: P9 R7 _0 F- r% X
  56. On a windows box, also running the MySQL server locally, it would be:
    " _; p6 e* r' y
  57. ---example---
    # O# m+ `; S. i- [' _/ y" D$ z
  58. [DBEXPRESS]' i) P' \. _$ K" f7 Z# }5 t: ]
  59. sqldir=mysql_sql
    6 G2 ?. z  w! G$ c
  60. Drivername=mysql0 z# Q" I' P+ f: K# l9 l
  61. Database=test
    2 M7 H5 O1 h' o5 @# J  b0 y/ D
  62. Hostname=127.0.0.1, A: P+ [1 u* W$ s9 v9 b, E# c
  63. User_name=testuser  @* S) k1 r& P" s
  64. Password=my_password
    ! t# O' g- A! b, O- j
  65. GetDriverFunc=getSQLDriverMYSQL& c; H' \6 @! S0 B& R
  66. VendorLib=libmysql.dll
    7 _8 n7 g0 |0 O4 L
  67. LibraryName=dbexpmysql.dll9 o2 M/ ^# K( [4 Q4 g5 A9 V- G
  68. Active=1* \4 u, v8 y  H+ C& l' J6 ?9 z
  69. ---example----# ?( f3 O, A: q5 A( W8 i3 G
  70. - written 02.03.04 by pwk.linuxfan
    9 n/ ]" p; a% u" Z

  71. " _, {" _* U2 j! {5 }( W$ Y2 c; i; @
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
+ b1 ~! i2 Z2 t5 a$ ]6 m
  1. : c& ~5 _6 X  F
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    3 U. h. `; z8 v3 m+ g8 S9 k5 g6 ?

  3. 0 D: f' b# d$ m$ m+ l
  4. # # #我们所需要# # #
    , D/ u8 m' O% C. I( w( B% u( p* {; F
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件( Z- j  U& {. [7 E2 S
  6. 不会解释如何做到这一点-也有文件存在,为; f9 J. @2 C2 V+ I
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用* I% c- b$ A# |0 {- }' N
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    2 D8 S: X$ o/ m! ^/ c. d
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    2 M" i; n+ R, g$ A! j
  10. 本地机器,这是我的MySQL安装。
    8 D9 V0 Z9 e2 h# f5 [, d
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ) a- ^1 W& I; S  Q$ p
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    * ?$ f/ u* }. L; r  {+ j
  13. 数据库。 & k, f* q& ^4 }5 [8 t: F9 V* Y8 C, t
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在4 r+ h5 Q$ i9 n/ {+ u
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    * w3 a; L$ |, g
  16. 在teamspeak论坛,如果你有兴趣。
    ! ?7 a" S/ E6 i# h) |. z& ~
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    7 S$ F+ p+ y, `; |1 k" v
  18. Borland公司使用。这个司机只能界面与客户端库, g  v, K9 G" o4 c6 u  `7 w, `
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    + M4 R' }; a7 C2 b2 u- r0 f- y
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为/ V" a/ J  P/ h% l
  21. " vendorlib " ,并解数据库连接。
    $ h, i! N7 }* L7 H+ u+ I
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 0 ~! |/ U. Y7 ]! D  u$ h
  23. 1 ^) C. `# x7 Z0 f4 G+ F! T
  24. # # #做好工作# # #
    3 v5 v4 O! y3 L" E# g4 a: g3 x  S
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都/ ~( D; |+ B7 b) }6 y0 N; A) v. U( P
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    7 F- c6 P/ X3 K# ~' _( \% E
  27. 结束:
    ) ^# d* h& ?" d5 g  Z% Q
  28. ---削减这里---
    ; O+ e+ X# s2 l5 R. T
  29. [ dbexpress ] ! z6 B. q3 `/ n+ F0 L5 g/ C
  30. sqldir = mysql_sql 5 ]  k* {# `6 j
  31. drivername = MySQL中
    ! @3 [6 S% m( X9 x* `' X4 [
  32. 数据库= your_database_name_here & j5 b3 x' S- J2 U  m! I  T
  33. 主机= the_pc_the_mysql - server_is_on . ^8 o6 J7 Z) b% t* v5 M
  34. user_name = user_name_on_the_mysql服务器' ]; p# _4 w* Q" ~' X, C4 S
  35. 密码= password_to_go_with_above_user_name
    ! i3 N3 h! O* o  P  |3 N
  36. getdriverfunc = getsqldrivermysql % }9 T3 T3 P% g+ ?
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ! n" S* C# B# s! \: q
  38. libraryname = path_to_libsqlmy_libary
    - V- Y1 a# i4 h* x: v
  39. 积极= 1
    # P' k' }# J' r+ \& k
  40. ---削减这里--- ! ?3 q; u6 s# z
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: # g1 ]& V" b$ N4 J$ t) z- Y
  42. ---例如---
    ) i3 |5 @' b" K3 Q
  43. [ dbexpress ]
    , w' R; S: D8 t7 G5 d
  44. sqldir = mysql_sql * T$ J! ~! M; o; u. U
  45. drivername = MySQL中% u' w! G  R) t3 i, Z0 r' s7 P
  46. 数据库=测试% w# ~/ c0 x4 _; H+ x
  47. 主机=本地主机% v+ r8 M1 M2 d# k1 B
  48. user_name = testuser
    + S8 c* M! {# r8 A& ?
  49. 密码= my_password " Z; H0 {6 D% L: J- h, k
  50. getdriverfunc = getsqldrivermysql
    8 n# [8 w  v2 e8 v
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    0 l7 N7 j1 m3 T2 ?& J2 O& ]
  52. libraryname =. / libsqlmy.so
    * u3 b5 M( ?8 J& I
  53. 积极= 1
    9 c* g( F! F9 V/ Q
  54. ---例如--- 6 [; L2 Z$ D2 C
  55. 1 C% H. W% ]3 G) _
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ! V: t# B9 ^4 D$ X  C
  57. ---例如---
    - p5 k6 O5 ^4 r, G" ~$ F9 E7 e
  58. [ dbexpress ] $ r- ?: H4 \. q! [3 Y/ [1 W
  59. sqldir = mysql_sql $ M. H, X. l  m. u3 U1 t
  60. drivername = MySQL中
    0 T7 x, n1 ~. l
  61. 数据库=测试9 J( y/ y; M) x: _
  62. 主机= 127.0.0.1 ( l# o- r5 a7 m4 D
  63. user_name = testuser " r% T9 h3 R4 q& O1 U5 b' k7 `
  64. 密码= my_password
    5 l  ?5 f9 A- K; Y' d
  65. getdriverfunc = getsqldrivermysql ( A! l* ]0 h; R+ M) O- G( F
  66. vendorlib = libmysql.dll在0 D, J6 ~2 L  k. M
  67. libraryname = dbexpmysql.dll
    0 g0 u% u! k+ \2 J9 [
  68. 积极= 1 : p: T( q- E( S. m- U) g
  69. ---例如---- ' g8 D3 A2 n9 n- |/ v
  70. -写在0 2.03.04由p wk.linuxfan7 }7 o1 [( K) R/ S" b) N& m! p
复制代码
发表于 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 words9 V* v5 S) J% i

9 Q6 J% B. |( d/ v+ Pbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-5 01:57 , Processed in 0.115918 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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