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

2710 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
* V$ Z# z; n* ~8 I6 x% C3 ~
8 a( T) i3 q8 E$ U& k

  1. 8 L- ]) ^9 Y! o& T  ^( Q9 V/ E
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######3 [, J, [& l' E( U
  3.   [- D: @8 m8 U% E2 Q
  4. ### What we need ###
    0 _: r# k9 ]9 A! B. d$ c! H" p
  5. Naturally, we will need a MySQL server to store the data for us, this document 0 A9 ^2 k! N) m# A$ w1 E
  6. will not explain how this can be done - there are documents out there for the % ~% \  [( m  ]
  7. interested. The requirements include a (empty) database for TeamSpeak to use$ v& s3 O' R3 e/ X
  8. and a user account (username + password) that has the permissions to do stuff- S6 o# Q" B( B% o7 B" h6 E' @' e8 }
  9. with the database. Additionally, you will need a vendor library installed on the
    ( y: G8 Y5 R4 [
  10. local machine, this came with my MySQL install.
    & y, b: s. k$ _+ ~
  11. These instructions will not tell you how you might transfer your data from the
    ' G, ^4 b# \" Z3 T2 G( t
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    + e% h1 g1 X$ c. T
  13. database.
    7 z9 q# w4 B! z
  14. Some users have reported ways to import a SQLite database into MySQL, but at/ M; L7 {( M7 S, t5 D3 p( k
  15. the time of writing, there are still too many issues - check the current status; Y* ?/ p8 q* ^- e3 g' v* }
  16. in the TeamSpeak forums if you are interested.
    5 y2 ]7 V2 M) }2 U* p! t5 p
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from% Z/ D6 t3 [8 a: ?% I5 ?4 ]
  18. Borland was used. This driver can only interface with the client library that 2 N* n7 B1 S% _/ P6 j2 f: z+ O* J6 C
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    2 T, o* w; i) Q* ~
  20. client library - basically all you have to do is to use a 3.x client library as 9 M2 g6 s- @2 }/ o: [3 ^. P
  21. "VendorLib" and a 4.x database to connect to.3 a; H- C- J- D5 c% _5 o, l
  22. If you need more info about dbExpress, you can contact Borland.
    ! D& w' N' ?$ i1 `/ ]2 U
  23. ' n$ b$ Q2 y$ _; Z  G
  24. ### Doing the work ###
    6 O5 E& ^6 Q! l$ |6 Q7 k
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all. D5 q( F7 k' d) u& Q9 r9 B8 Y
  26. the perquisites right, just open your server.ini file, and add this section at- S" H3 r4 q. @$ ?: t3 W# H
  27. the end:9 t. t  c" b, M) Y4 H6 ^& A2 K
  28. ---cut here---
    - \7 i1 Q8 Y# g8 W! ]1 X- [
  29. [DBEXPRESS]
    : A" S" o/ [, w8 W1 e' [
  30. sqldir=mysql_sql
    - o4 [& `8 o" l$ h1 V  D  c7 J
  31. Drivername=mysql- m; v! k/ B  U
  32. Database=Your_Database_Name_Here
    8 V: k+ _0 K& G
  33. Hostname=The_PC_the_MySQL-Server_is_on
    * W/ d$ w) ]% u9 A0 @- S/ l
  34. User_name=User_name_on_the_MySQL-Server& y) M% b# Y. s& [
  35. Password=Password_to_go_with_above_user_name1 R7 B2 U9 t* p( @& F  h3 o  `) L
  36. GetDriverFunc=getSQLDriverMYSQL" P# P( v% [& }; G. v8 V# \9 m
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ( @5 j3 e- a' S+ o
  38. LibraryName=path_to_libsqlmy_libary! f0 M& v: ]6 u% a* a- O
  39. Active=1
    4 P5 _- }; t+ y# Z! P' y
  40. ---cut here---, z9 {! Y5 W" K6 B8 c* P
  41. In my environment (a linux box with a MySQL server running locally) I have:
    5 y% f5 j0 l+ ^- m1 T
  42. ---example---* `  {) J6 M: U
  43. [DBEXPRESS]- L% ~1 @$ U9 ~/ t) K. q: G0 j
  44. sqldir=mysql_sql1 c' o6 ]/ c8 r4 X* e) T: {
  45. Drivername=mysql
    5 c# a# R8 D+ v' ?/ J8 r, i6 l
  46. Database=test4 }' t/ w9 q0 Z3 T& R
  47. Hostname=localhost
    $ U$ \- e! s# j, c. U
  48. User_name=testuser
      U" L+ Q$ L6 Z" C  l! @, E
  49. Password=my_password8 T8 p) `  S5 X& w. _/ f( ~& V" `
  50. GetDriverFunc=getSQLDriverMYSQL
    ; j3 X5 ~! B+ ^) A2 G
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0/ S+ ]3 K( x: C# i, r& v* j4 a
  52. LibraryName=./libsqlmy.so. q! f. ?2 g9 L) [3 n- w, H
  53. Active=1
    - H- |5 J8 U2 R
  54. ---example---
    8 }& p$ w" ~( i- b' {) y+ }
  55. 6 Q1 P0 j- l0 @% v7 K5 A5 X9 u# [: I
  56. On a windows box, also running the MySQL server locally, it would be:: @4 d2 D5 v, B1 D
  57. ---example---
    6 j1 C8 U  z* w$ k& g
  58. [DBEXPRESS]
    % `" x1 s5 V( i
  59. sqldir=mysql_sql/ Z2 F2 ]0 p. H, l4 F/ i. t
  60. Drivername=mysql
    3 e  d/ A2 \7 Z& ]  t- d# V
  61. Database=test9 o9 \& D/ h+ O5 \
  62. Hostname=127.0.0.10 ~( h: ?0 \. B& e* |
  63. User_name=testuser
    # Q: ?; `5 J; b/ g- ?3 P7 D
  64. Password=my_password
    ; i" [1 }0 D+ e4 {5 F( W
  65. GetDriverFunc=getSQLDriverMYSQL+ s2 F5 H* @5 Z5 s6 V/ \9 p
  66. VendorLib=libmysql.dll
    3 P3 t1 ^5 @! W+ U# o
  67. LibraryName=dbexpmysql.dll
    + M$ P5 D4 B( {! X$ e  I2 _
  68. Active=1; l  E. O, X/ z; c  T9 Q
  69. ---example----
    0 h+ N% R* {8 d) ~- ?
  70. - written 02.03.04 by pwk.linuxfan
    ' W& L" n# h0 c7 @! Y1 a

  71. 6 ~3 [8 O: Y, Q, o) Z
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
1 f% w& ^6 L$ S) L0 y- }( e6 o

  1. - _/ A6 y2 W$ q2 v  F/ w$ U: _
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 7 ]* D8 Y3 d9 K0 N
  3.   c# R  J# S& S- F1 }5 j/ V- ?
  4. # # #我们所需要# # #
    ) j& H2 o! f2 F$ ?1 {$ Y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    . ^7 W9 Y' U6 k5 A& ]! d
  6. 不会解释如何做到这一点-也有文件存在,为
    / R8 ^0 |$ ^: u2 P9 j9 T: c/ S8 d% Y
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用1 M, S- Z3 N- g( K0 S
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ' ?/ D& }! m1 V: A0 }. h' b
  9. 随着数据库。此外,你需要一个卖方图书馆安装于1 J1 j" Q! h* P% a& o: @. h# v: \
  10. 本地机器,这是我的MySQL安装。 9 D, D% j" g/ L
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从1 \) N) q& A3 E' g
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    1 A& N+ y* j* j1 W
  13. 数据库。 3 ?! _$ P4 L6 t" `7 f. v' e
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ) e- o1 J, j4 K7 l- Q. L* }4 L' @5 K- {
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    : Z, U, e) X% ^& r% O
  16. 在teamspeak论坛,如果你有兴趣。
    % ?0 N+ ^% ~: A# b. s
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    2 N: g, \- ?4 x$ a4 T
  18. Borland公司使用。这个司机只能界面与客户端库: ?, W3 E2 m! [* P0 h  e$ P3 M( }
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ! C. G$ r' l7 e$ K/ f9 G
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    + b1 F+ L, r5 k0 z# x& `
  21. " vendorlib " ,并解数据库连接。
    5 Q% ?2 \( s3 W( o/ m" y
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 1 M/ c) w- W7 j
  23. 9 E0 E$ V* k# ?
  24. # # #做好工作# # #
    * Z4 b4 }3 c- A/ T
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都& O* c) \- L$ J1 {' J4 Z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在/ H! t6 t; y7 p
  27. 结束:
    - T# J! K% }2 Y- x7 V$ ~' i6 G
  28. ---削减这里---
    1 f% g3 h4 E8 H5 P# g& ^! w
  29. [ dbexpress ]
    3 `% a% _: l7 y& M
  30. sqldir = mysql_sql
    7 \& Q% f' S/ s' V, F* `# t
  31. drivername = MySQL中
    ! d8 r1 X( M. @' H$ [  k
  32. 数据库= your_database_name_here . V! ^4 ^0 O' \0 J5 R* V
  33. 主机= the_pc_the_mysql - server_is_on
    ' n; Y) w  p: S
  34. user_name = user_name_on_the_mysql服务器$ v& y, C* ]; z/ Y- @; p
  35. 密码= password_to_go_with_above_user_name 4 v, ~" I( |, c9 c8 F% I7 E9 C5 ^$ l
  36. getdriverfunc = getsqldrivermysql * F) Q- ^2 V. W4 c* `& w5 L. W
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    " z. ]3 W; s+ x1 K) I% d) y3 B8 K
  38. libraryname = path_to_libsqlmy_libary 0 Y& |9 C1 M! y  R
  39. 积极= 1 5 h7 a( X' `" T9 ]
  40. ---削减这里---
    ' V0 Y5 w2 H; A) _
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: & m1 Q+ C/ r# t# I- r+ U3 o
  42. ---例如--- * @4 E1 ?& m% N2 y: y( T, v! G
  43. [ dbexpress ]
    ( w9 E/ v6 B( ]- ^
  44. sqldir = mysql_sql
    0 P# V- v$ g- l% ?5 y
  45. drivername = MySQL中* `3 H# ?9 C0 J) z3 K$ k
  46. 数据库=测试
    ! ]* \6 I' M: ]; a5 O
  47. 主机=本地主机
    / a$ r2 e& o- ^  ?+ u) m  p
  48. user_name = testuser ' ?! q6 E, O7 N4 L3 u# `' R' R4 s- l
  49. 密码= my_password " s" k6 }# {- p# i( k
  50. getdriverfunc = getsqldrivermysql
    / y" C7 k5 O! p7 X. V3 \3 U
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 " G8 r% q5 q* {& Z" y6 M7 O
  52. libraryname =. / libsqlmy.so
      P9 v) P/ S( ]$ {/ A3 u$ e! N
  53. 积极= 1 , J. v4 c# F* K* L, ^/ G
  54. ---例如--- 4 n# |: |' l- a0 p- @+ H
  55. 2 n  p" |8 ]: l8 Y, \* A
  56. 对Windows中,也运行MySQL服务器本地的,那就是: % }% s3 _- ^( b% L* G- V) i
  57. ---例如---
    # z& [* N# C" Z
  58. [ dbexpress ] 1 u) t6 k/ R$ c- g, A8 B5 C
  59. sqldir = mysql_sql & R7 W: V7 d, }* c% \
  60. drivername = MySQL中
    * `* I, ~9 ]2 c! {
  61. 数据库=测试
    $ Z5 N0 O2 a/ P% @: A7 {
  62. 主机= 127.0.0.1
    1 E1 ~& |1 v' }( F. K
  63. user_name = testuser 1 M) z* e" e5 d8 _$ r. J
  64. 密码= my_password
    ) |# U7 J1 H+ `. Q7 P3 p
  65. getdriverfunc = getsqldrivermysql
    ) s7 U% u9 [0 l- |& O+ Z7 ~7 K3 ]
  66. vendorlib = libmysql.dll在
      ]% V- O2 Y3 i; {! H8 v- `
  67. libraryname = dbexpmysql.dll , g( l: g# k$ I  ?! K) `1 r  ~% {: G6 Y
  68. 积极= 1 + N! \( t+ A3 a5 b& b) }8 ~2 U
  69. ---例如----
    / A, W3 K8 |: p0 O+ U8 G8 K
  70. -写在0 2.03.04由p wk.linuxfan  x3 [$ N  x$ a5 G$ v# V. A
复制代码
发表于 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
$ q1 c9 E) }5 e9 F+ x
3 f6 ^" n9 G5 E0 u( @but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-5 16:48 , Processed in 0.103796 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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