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

3354 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 3 o& f4 U9 ?( }- Y0 `3 v# ~4 I

& ?/ j* w$ l8 N6 I/ Q" }# R

  1. & j! P9 `/ O# W1 t. c5 ]; b
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######1 F; \3 H: e5 Q
  3.   T4 J0 J; M  m
  4. ### What we need ###
    0 Z: S1 O4 T, Z; W' U& g
  5. Naturally, we will need a MySQL server to store the data for us, this document : |" h9 l$ I' M  E8 F
  6. will not explain how this can be done - there are documents out there for the
    1 |% T' n9 y) y: h9 k
  7. interested. The requirements include a (empty) database for TeamSpeak to use3 o8 h5 U; q" b# ^
  8. and a user account (username + password) that has the permissions to do stuff
    : e6 m4 e- E' c0 S
  9. with the database. Additionally, you will need a vendor library installed on the
    2 i3 G; }/ y+ g* p/ t" g
  10. local machine, this came with my MySQL install.! z! b5 m2 w9 M. M1 V" b% m
  11. These instructions will not tell you how you might transfer your data from the
    6 M2 |5 T0 h( N. }: g
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    9 G" X6 j" _4 U6 b
  13. database.
    1 {- F% ~6 E# U4 j- s( }
  14. Some users have reported ways to import a SQLite database into MySQL, but at! T) T- [0 j) U! f
  15. the time of writing, there are still too many issues - check the current status
    ( q# T/ q& p+ e/ z+ \2 T* V% a4 r- [
  16. in the TeamSpeak forums if you are interested.& F9 V2 ]5 M# q" H: Z$ b- @& \
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ; \! D# r+ o% n8 S8 H
  18. Borland was used. This driver can only interface with the client library that . l. H9 V+ U8 A1 J( t0 L
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this, P: ?3 s; ?2 \0 c, c% H
  20. client library - basically all you have to do is to use a 3.x client library as
    % X$ B' z/ p- L' P
  21. "VendorLib" and a 4.x database to connect to.
    % e& q& f) v6 B& W, }* x  }
  22. If you need more info about dbExpress, you can contact Borland.. _7 K' i# S4 f; ^0 ~+ I
  23. 8 X" L5 e9 ~' ^7 L: r( `$ p
  24. ### Doing the work ###
    : Z8 r  o/ M+ _6 m/ Y1 l8 \( M
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all/ a: i$ I: M* r
  26. the perquisites right, just open your server.ini file, and add this section at
    $ m/ f3 n5 V9 p# N, c. j
  27. the end:3 d. n2 a% S$ _2 [7 E! F
  28. ---cut here---
    & J$ S. x9 `% `+ `
  29. [DBEXPRESS]
    9 ~6 |" Y$ X* P0 q, I+ ]% }
  30. sqldir=mysql_sql
    5 U' V" k9 e8 Q( M
  31. Drivername=mysql. Q) {1 E2 [  a) X: ?  b: a
  32. Database=Your_Database_Name_Here, x- o& m1 \6 R' {: O+ o
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ) e+ s+ I8 O2 u
  34. User_name=User_name_on_the_MySQL-Server3 x: E  l0 r. ]! u5 s
  35. Password=Password_to_go_with_above_user_name
    , B) r3 x6 _* i9 c
  36. GetDriverFunc=getSQLDriverMYSQL
    : U" e5 |" f# {$ y1 m& w3 s
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    " c. y5 K: o: M& L7 R
  38. LibraryName=path_to_libsqlmy_libary
    2 w7 U9 Y2 S" }) L3 ^5 h8 P) A5 J
  39. Active=16 P% r5 W  P9 ]. z. f% M0 H( x+ L
  40. ---cut here---
    ( n6 e' n! L$ O: F. S6 X! F2 U) ?2 A
  41. In my environment (a linux box with a MySQL server running locally) I have:
    * X1 |4 o  |1 B& S6 W
  42. ---example---% a3 t+ v$ i0 ~" f. Z
  43. [DBEXPRESS]
    4 v, u( ?/ W& ?  a" f( d3 d4 m* K6 \* E
  44. sqldir=mysql_sql
    , g; V- a# O" j
  45. Drivername=mysql0 o; J" Y& V' S
  46. Database=test9 z% ?7 i" s* L, _& H
  47. Hostname=localhost
      W7 e1 s% L' ~0 A9 D6 m
  48. User_name=testuser
    , `! J0 Y8 `, q% L
  49. Password=my_password6 ^6 y* d+ s3 a: f- Q0 n! x# j
  50. GetDriverFunc=getSQLDriverMYSQL
    ' Y; K/ A  }# g- p6 ^/ }
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
      ]: r% a6 D* {5 C7 b
  52. LibraryName=./libsqlmy.so
    % M# m5 t6 c# j$ L4 ?( T  I' c* E# f
  53. Active=1
    * m& Q# i! k# R. C& Y
  54. ---example---' f' q. T9 z! n2 S* f* d6 A
  55. 5 N' d* s  ~# B. K& c1 M2 N
  56. On a windows box, also running the MySQL server locally, it would be:
    - {) j: S. r1 i# L$ b! E0 M- v: |/ |
  57. ---example---
    8 v, `6 |( d' `
  58. [DBEXPRESS]8 ~  J! @. t+ e0 m  T0 `) f
  59. sqldir=mysql_sql& c- o5 r* l5 F' C  K1 h
  60. Drivername=mysql
    8 K  l% c. K& q8 p% I
  61. Database=test7 H4 v* b0 D1 ]2 \, N
  62. Hostname=127.0.0.16 D3 j4 l8 E2 @: W% N* F
  63. User_name=testuser
    ' h) u/ F7 Y/ {& j, n0 [
  64. Password=my_password0 w6 G( u3 f. V; s9 W$ g
  65. GetDriverFunc=getSQLDriverMYSQL8 t, k( ^! K9 I1 B$ }
  66. VendorLib=libmysql.dll
    - a  I% E0 F( }& {( m! D; ^+ z4 ]
  67. LibraryName=dbexpmysql.dll
    : |$ H2 E* \1 h2 h
  68. Active=13 x$ e. Q& `; ~1 b' y! [
  69. ---example----' {6 s7 `# s( ^* H1 E
  70. - written 02.03.04 by pwk.linuxfan
    ( t) R2 x0 ]# N( `' {# x

  71. ' b* n) J! g3 [" D
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
1 ?* C# m$ D$ E$ ^5 M
  1. , C2 J+ ^6 Y: q8 A
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    7 |) `$ k3 S6 P8 U: J
  3. 4 W0 U1 G% v4 J$ i
  4. # # #我们所需要# # #
    + h! h) I) H3 {. s  F
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    : x1 E7 V5 O& t& {8 |
  6. 不会解释如何做到这一点-也有文件存在,为; V2 p, L- A& u  l$ ~. D6 e% y
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用3 `7 w* c9 {) U% o  D2 M
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ! A& R. G( L7 \3 \" T4 F
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
      o3 w! Y, j, p6 V$ `
  10. 本地机器,这是我的MySQL安装。
    + U% H% }; m' d
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从! L! g/ j% o: I# x
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    + m& d2 I9 [! [' e
  13. 数据库。
    9 E) d0 ^/ A/ a
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    8 ]. n( O  n2 z( b6 a
  15. 编写本报告的时候,仍然有太多的问题-检查现状( H5 K8 l& [; S; {  _/ a# {. H- s
  16. 在teamspeak论坛,如果你有兴趣。
    ; i" y3 l$ {8 J% X
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    5 b* x: `. S2 C' q+ ~2 j
  18. Borland公司使用。这个司机只能界面与客户端库/ M7 ~5 N0 A" [4 g, \
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
      r' V% Y3 [1 q& O
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    + T2 z* [0 Y' p( o* n/ _+ x6 z
  21. " vendorlib " ,并解数据库连接。 ! i% Z; z4 t: L# |
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    # _% Y$ Q8 R5 {" O8 R3 l

  23. 2 f  M5 e1 L7 J0 s/ ~. \5 q- k# C7 Y
  24. # # #做好工作# # #
    ; q( I! {5 ]5 v8 o' b
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都* w6 b* I- x* i. ~4 Z$ f+ y0 ~9 k
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在9 h7 d- s+ v) w2 z
  27. 结束: 3 T1 ~) t& D' W! U$ ^
  28. ---削减这里--- * v' d0 M9 `4 d* k; h5 l4 s; v8 w
  29. [ dbexpress ] . J/ T( s0 J6 B% I; q% V
  30. sqldir = mysql_sql + Q6 Q5 r$ f5 u6 N% g, Z8 Z0 r
  31. drivername = MySQL中" k- h6 [7 Z3 [$ n) j
  32. 数据库= your_database_name_here
    $ c( e0 p3 x" Q! o/ F. ]
  33. 主机= the_pc_the_mysql - server_is_on
    # u; }# n7 x3 \3 _+ l: e
  34. user_name = user_name_on_the_mysql服务器: a& v4 z2 z" U- S" K- ?+ x+ C
  35. 密码= password_to_go_with_above_user_name
    7 ]% S5 E6 r+ }  b! \
  36. getdriverfunc = getsqldrivermysql + m% m* l. J5 h3 ~/ a3 j8 _
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
      }% Q" Q8 K' d/ {; H& z
  38. libraryname = path_to_libsqlmy_libary
    : ?% |2 M  ~+ X: J
  39. 积极= 1 * K' U1 \6 m. L' Z, O
  40. ---削减这里--- 0 e$ o0 B2 t# d' l
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    1 @1 ~; x, S' ^/ O, T7 U
  42. ---例如---
    4 }9 ~( S" }9 X
  43. [ dbexpress ] / e* T" V, E4 q6 b1 b, U2 E  p" g
  44. sqldir = mysql_sql
    , c1 W' R9 _7 ^0 R1 J7 W& e
  45. drivername = MySQL中
    # i7 q% P" c, v% Q9 S2 K
  46. 数据库=测试. P) f( ]* X" ?' ?8 S
  47. 主机=本地主机
    * o$ p9 M9 e, {
  48. user_name = testuser 6 e% W6 i2 a% U$ R2 ?" U# N
  49. 密码= my_password & o2 _" y+ [$ Y2 E; [$ n0 C
  50. getdriverfunc = getsqldrivermysql
    : N* y' J2 a4 ]+ v
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    4 |0 c# I& R# K4 r( C9 x2 g
  52. libraryname =. / libsqlmy.so 2 J+ ^% h0 I* Y& K% y' C; Z
  53. 积极= 1   x# O$ `0 b4 o7 H
  54. ---例如---
    ! ?- @" k% \; o! {( h

  55. ! W9 o! {1 ?4 @
  56. 对Windows中,也运行MySQL服务器本地的,那就是: . e  j: M* X8 X2 ?2 s& G- S" t
  57. ---例如---
    . T4 n; L) j: |% r4 I/ R! h; Y) ?
  58. [ dbexpress ]
    & A7 u3 _+ F# ^# Q
  59. sqldir = mysql_sql # T. m) }/ t# }% o
  60. drivername = MySQL中
    1 Z5 d; B1 H# u; |9 q6 p6 n
  61. 数据库=测试
    0 O' y8 g' i3 S% b% C" N
  62. 主机= 127.0.0.1
    , t# X/ O5 O' }" D9 z# H
  63. user_name = testuser
    3 D9 a4 ~0 s+ j* Q) a
  64. 密码= my_password 8 z  ^6 s8 ^! \, f2 T; p8 ?  C; U3 o
  65. getdriverfunc = getsqldrivermysql
    - n& T. n3 c/ f$ X& Z
  66. vendorlib = libmysql.dll在
    " X3 G! ]5 H) `: T2 p* s
  67. libraryname = dbexpmysql.dll ; a* w' G/ Z$ T" ?6 |7 p  a
  68. 积极= 1 & x, `/ L# Y) Y# w0 g& R3 R% u
  69. ---例如---- 2 N: r4 ?. O3 A" n% N: [
  70. -写在0 2.03.04由p wk.linuxfan& w/ u$ S9 o2 `6 h5 k
复制代码
发表于 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 words6 K+ H% f( ?* R1 T( I$ t  ?& L8 h  o
5 H; \2 F4 U7 {" Y$ o  M
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-18 15:48 , Processed in 0.088566 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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