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

2370 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 8 w- l5 V" Z* f7 f

7 Q# ?/ s6 T+ ^' `; o& A  {
  1. + z2 [! i7 n) r: [. P2 V5 d
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    # K8 F1 `, D6 A) ^" |

  3. ; K( o7 q# U( R/ B
  4. ### What we need ###4 b" J8 @  B5 M! _; z9 L( ~& j
  5. Naturally, we will need a MySQL server to store the data for us, this document 5 ~$ P9 w9 j- k( P+ ~
  6. will not explain how this can be done - there are documents out there for the 8 J7 ]+ \- N. x* [/ q. Q9 ]9 D
  7. interested. The requirements include a (empty) database for TeamSpeak to use; a0 I, x. x+ g' t3 z* ]
  8. and a user account (username + password) that has the permissions to do stuff' t: L- U. p( K. W) R: |1 {
  9. with the database. Additionally, you will need a vendor library installed on the
    / _6 V+ |, A* Z& b) P3 q: r
  10. local machine, this came with my MySQL install.
    0 J& w% W: B3 \* A/ `
  11. These instructions will not tell you how you might transfer your data from the
    4 u4 h% |  ]) |' l7 a& R
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    & b8 W3 `6 @: O
  13. database.. f0 j% `/ p0 b
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    9 d/ Y: E5 n# s9 T3 Z, u' A
  15. the time of writing, there are still too many issues - check the current status" M# L+ R1 U6 b; ~/ s6 H9 z
  16. in the TeamSpeak forums if you are interested.
    7 B+ S+ |  Z# M$ }2 r
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    . |. h' r2 G2 x
  18. Borland was used. This driver can only interface with the client library that " p& a+ {6 }+ B
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this) x  L! n7 G( g5 R) X8 L" C  t
  20. client library - basically all you have to do is to use a 3.x client library as 0 G7 v% d6 Q! @! E. |3 T" x
  21. "VendorLib" and a 4.x database to connect to.
    * V9 a4 N4 Q( H7 w. i$ u3 K3 S
  22. If you need more info about dbExpress, you can contact Borland.
    . i2 o, p/ u$ ]+ E# I; h7 ~: Z

  23. ; l4 `0 `' s7 I% f. s* s
  24. ### Doing the work ###
    + A4 _7 B1 {* D9 D9 X
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all, d- G9 t+ ~6 {/ ~' T. t
  26. the perquisites right, just open your server.ini file, and add this section at
    % J! b$ y1 d6 P; J% T( J$ \0 o
  27. the end:) R$ [! Y  D' }$ @/ G& t% Y3 ^
  28. ---cut here---5 g  y0 w1 D2 e2 Y5 g4 }- V; f
  29. [DBEXPRESS]! s) S3 o! I: b9 j
  30. sqldir=mysql_sql
      }9 L" Z! X7 K  w4 @! |! H. M
  31. Drivername=mysql
    4 S0 S3 B' x" M$ X
  32. Database=Your_Database_Name_Here4 n+ C0 m4 T2 H' B3 s' d  Y, T: d
  33. Hostname=The_PC_the_MySQL-Server_is_on- m7 g! |3 N4 {6 A) T
  34. User_name=User_name_on_the_MySQL-Server
    " [8 ^- P7 p# J$ o7 u
  35. Password=Password_to_go_with_above_user_name6 Q: H1 t0 a; m' M+ h  j
  36. GetDriverFunc=getSQLDriverMYSQL
    : y2 \) _3 [# m
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib2 T1 R5 S8 N- P9 M, W* x
  38. LibraryName=path_to_libsqlmy_libary
    8 ~+ t# f* S' h( x
  39. Active=1! W/ J+ G" P1 k, ]  P/ M
  40. ---cut here---  p' D8 i' y/ o' g# V8 y5 {
  41. In my environment (a linux box with a MySQL server running locally) I have:
    # Z2 h6 s3 f6 \6 F
  42. ---example---1 r* [. K/ z8 Z* P4 y
  43. [DBEXPRESS]  ~- k; {! s* o6 h' B
  44. sqldir=mysql_sql" L4 Y& J: H- e3 d. V% [
  45. Drivername=mysql( _- i1 |: B, `) x2 ~
  46. Database=test
    " ?1 G4 L1 k4 \, I! U
  47. Hostname=localhost
    + l/ t! P- m  @; H! y: j! J! V  r
  48. User_name=testuser& T* W; ~2 r4 G
  49. Password=my_password+ x# _0 |' x# m& w- y. P
  50. GetDriverFunc=getSQLDriverMYSQL1 W! h% L2 N/ {2 s5 [2 e/ ~
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ! D8 |7 @0 L8 H& y6 h+ b
  52. LibraryName=./libsqlmy.so" C- u; W. g% C, `0 o' Y; N; B& W/ M
  53. Active=1; h, r/ j9 o6 O+ J2 j2 w+ E% p
  54. ---example---1 Y9 u  U" J5 t/ l

  55. ! X9 k2 h" @# }4 R
  56. On a windows box, also running the MySQL server locally, it would be:
    & c( C4 n' H; T4 v( ^& N
  57. ---example---9 F; V; X. x! b4 d
  58. [DBEXPRESS]
    % b* ~+ i) b1 E# B/ |+ Z* B8 s6 z
  59. sqldir=mysql_sql
      i+ Q9 ?! }! {" \; K6 n3 Q; z
  60. Drivername=mysql
    - w' x! I7 _! ?! Z, g; V: \3 `; O
  61. Database=test
    % Z9 H1 q9 C6 X7 I5 y% G( ?* A9 L
  62. Hostname=127.0.0.1
    , g; I8 H# k( u
  63. User_name=testuser* D* Y& ~- W, x) ~0 J$ m% \' o
  64. Password=my_password
    - j8 {4 C& C7 a5 [
  65. GetDriverFunc=getSQLDriverMYSQL
    8 G5 Z/ [$ q7 \
  66. VendorLib=libmysql.dll
    $ k/ r5 C4 `7 ~7 [2 ~4 m5 A
  67. LibraryName=dbexpmysql.dll
    7 @- }4 s: W& p! H3 j% s! y
  68. Active=13 o4 j  a, e3 f! i! d+ d9 ?+ c
  69. ---example----0 E) T$ R! }. S3 [3 I
  70. - written 02.03.04 by pwk.linuxfan0 O$ o( y: Y  w) ~: q
  71. : W% v/ C, S  c$ E- T# A
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看  T2 D+ [; K) X  n& H  K
  1. # k6 j; {  w( }4 q
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    & h/ Y+ Q0 l  J) m
  3. 9 Y8 w/ E; R! w) l, w% z) m
  4. # # #我们所需要# # #
    " V( U' X: \: ~7 L. b) e
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    8 K  c3 P0 e! |3 ?6 W
  6. 不会解释如何做到这一点-也有文件存在,为2 r5 |4 |! I% ^' ?! C4 d
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ) R' S1 U9 i( I( E3 P0 A7 ]
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西; k9 A, B8 f: ^& c
  9. 随着数据库。此外,你需要一个卖方图书馆安装于, B' D+ [# f  b" S9 [, T3 ]: O
  10. 本地机器,这是我的MySQL安装。 ! \/ b. B: F* u& B+ D
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从0 T+ v+ N) u$ O  Z' S% k
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ! V9 a. [0 {$ b/ D
  13. 数据库。
    9 }' k  _# t6 U- Y, B5 J+ G6 z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    9 R: a  {% v4 g2 w) }
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    * Z) ?& e' U# |( I$ }
  16. 在teamspeak论坛,如果你有兴趣。
    / L( I7 ^/ A; s# i
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机7 g& _+ N4 j& _" G  i
  18. Borland公司使用。这个司机只能界面与客户端库
    % q% m) Y6 ]- H( T$ K$ I
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    " Y8 Y% Q# S% K0 g
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    % P# L% m, G1 N, Z* e+ b% }. T
  21. " vendorlib " ,并解数据库连接。
      L, E. p) I% D( L$ S
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。   S, L9 K$ s) n4 h
  23. & J- N* h" |- G& P7 F3 y( P
  24. # # #做好工作# # #
    2 s. |# w1 r+ N: {$ b
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都! e; C9 P7 G# ^3 z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在8 q7 D* H1 J7 H& c/ Z+ z' b
  27. 结束:
    6 U$ A) h' n0 ?/ g# A
  28. ---削减这里---
    . U9 O; D! `& J7 z# w" X
  29. [ dbexpress ]
    9 x: F3 _9 Q2 P. Y
  30. sqldir = mysql_sql
    6 h* C4 X  l" o2 H, U$ x
  31. drivername = MySQL中
    7 O1 `3 C! M) z# l
  32. 数据库= your_database_name_here 9 h# \- F% x# J
  33. 主机= the_pc_the_mysql - server_is_on
    1 Q  D, J& c) ]+ s8 I% J5 {
  34. user_name = user_name_on_the_mysql服务器8 L( m3 ^, s- E4 D. @! d" f% ?
  35. 密码= password_to_go_with_above_user_name
    7 R. v$ U2 G) s. T7 ]  l
  36. getdriverfunc = getsqldrivermysql
    / s, _5 T4 v1 \9 g5 I/ A0 e
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    6 ^( q# X7 d" i2 h2 k; I
  38. libraryname = path_to_libsqlmy_libary
    # z6 N. F+ |( \7 ?. f( \
  39. 积极= 1
    * R9 @( G- W( {0 g
  40. ---削减这里---
    8 c. e- {& T" \; |/ T
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    2 O% l/ X* R9 B, Q4 `0 ?3 t0 W
  42. ---例如---
    2 ^0 h* ^/ c$ n$ ?
  43. [ dbexpress ]
    6 w* i6 E0 i1 F+ x+ q
  44. sqldir = mysql_sql : z- }& k) F  _! M
  45. drivername = MySQL中
    + Q$ z: _4 }& P3 u2 B+ M8 G8 r
  46. 数据库=测试# o- Y' i; M. }9 t3 c4 h2 _
  47. 主机=本地主机
    ) D0 a) A/ P% N  l. a
  48. user_name = testuser ) a" q& W* h+ w- ?# i4 a; ^, R
  49. 密码= my_password % D/ L( k" h7 c8 I
  50. getdriverfunc = getsqldrivermysql 8 P5 @* l+ d# b7 x1 m1 ~7 I* Z5 d, `& G
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0   T2 Y' b. T* v
  52. libraryname =. / libsqlmy.so ! D0 b( y7 b& M
  53. 积极= 1
    ) B, |5 @; b1 b+ D( K8 D
  54. ---例如--- ; y4 M6 Q3 ~5 O2 ~1 j4 @# g

  55. 9 v! t2 v1 w4 F% B+ c
  56. 对Windows中,也运行MySQL服务器本地的,那就是: % D. G1 n+ j' m1 _
  57. ---例如--- : X" X" r$ I' l4 l7 d6 c& @# `
  58. [ dbexpress ]
    * ~- D6 h2 Z+ B3 S  p
  59. sqldir = mysql_sql ; p0 z7 Q% [0 \0 Q
  60. drivername = MySQL中% d8 L5 a/ l; {* D. d
  61. 数据库=测试! g$ N* p# @5 B! G' T
  62. 主机= 127.0.0.1
    ' P4 l7 q& W8 N. u' [3 L
  63. user_name = testuser
    ) x+ Q( V! k8 j" {! ]
  64. 密码= my_password - ?- a  n" B- ]6 ]/ \) n
  65. getdriverfunc = getsqldrivermysql
    ! Z9 r) t0 v* J2 X3 [- P* Z- P
  66. vendorlib = libmysql.dll在3 P( F* K  t' b# @1 P3 D
  67. libraryname = dbexpmysql.dll 1 T5 g- c$ K- F6 L5 E0 \
  68. 积极= 1 9 y3 A* M2 q4 q8 M& t
  69. ---例如----
    " e% g. t. b6 }& m5 N$ H
  70. -写在0 2.03.04由p wk.linuxfan
    * r& e! [. z; I) [5 u2 ~6 M
复制代码
发表于 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- P' o5 ?  g) K7 O; k7 p4 T

, w5 Z, O4 j( p5 ubut, 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 01:19 , Processed in 0.091833 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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