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

3103 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
3 E0 T' S. _& L
3 K8 M: B, o- z
  1. ! i; B8 U; _3 V. Z% Q  ?
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######* [# v4 z! [% A; F
  3. 5 `2 p- C' D: N/ l" k; @
  4. ### What we need ###
      X7 u+ S# P, I, Z
  5. Naturally, we will need a MySQL server to store the data for us, this document
    0 I1 u' n8 J+ h0 n6 l/ c
  6. will not explain how this can be done - there are documents out there for the * p4 _7 B( S- |& o, I# e
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    - G* W( k4 l- [! f6 o
  8. and a user account (username + password) that has the permissions to do stuff* g! K$ u5 Q6 s' |
  9. with the database. Additionally, you will need a vendor library installed on the1 A  Z5 v' z9 ?2 b4 L+ j% X7 W0 k
  10. local machine, this came with my MySQL install.5 A% x* C: M8 R% R3 N
  11. These instructions will not tell you how you might transfer your data from the
    . i9 U( i5 l0 H% }$ \6 U
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    7 }% e- O2 y; h1 g3 V
  13. database.( ]5 |' a  p* y& ~. P, _
  14. Some users have reported ways to import a SQLite database into MySQL, but at# ]& ^- p" U. r
  15. the time of writing, there are still too many issues - check the current status% X: @) f& d  Q* e6 ~
  16. in the TeamSpeak forums if you are interested.
    ( p1 n' [0 Q5 Z# \
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from' j. q. T5 z8 R7 @% F
  18. Borland was used. This driver can only interface with the client library that
    1 ], p, A4 G, b6 M) I  i
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    5 Z# P1 I, R: G6 c" U8 b* h" {
  20. client library - basically all you have to do is to use a 3.x client library as 3 d% B1 C! W3 m0 P
  21. "VendorLib" and a 4.x database to connect to.' F' q- H. e) {
  22. If you need more info about dbExpress, you can contact Borland.
    8 ^' t4 B" a8 p2 i" r% M

  23. 8 G! i3 W5 C+ u4 R
  24. ### Doing the work ###
    6 S7 d* ?) U+ V7 r$ d9 L/ F9 w
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ' V9 F+ U1 d, h" L" {
  26. the perquisites right, just open your server.ini file, and add this section at* [: f# r0 x9 |
  27. the end:4 W, I( m& ~/ q- M- ]
  28. ---cut here---% z( r4 j1 I% V' I; }$ ^8 |
  29. [DBEXPRESS]
    & E# q9 u' a/ d( G
  30. sqldir=mysql_sql
    ' r6 f  |2 o, S
  31. Drivername=mysql
    $ U3 H# C0 r8 N  o4 k* G0 h
  32. Database=Your_Database_Name_Here
    # a7 i( L" [9 L9 [
  33. Hostname=The_PC_the_MySQL-Server_is_on; W/ n+ a  u3 j' B1 d5 L
  34. User_name=User_name_on_the_MySQL-Server/ ]& V' g/ u% f& i3 B! m6 F. I
  35. Password=Password_to_go_with_above_user_name
    , x6 M% V9 w& t: h/ K
  36. GetDriverFunc=getSQLDriverMYSQL
    % t* ~8 j% k2 @9 U, E% p& }) K8 |
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    , ^. l7 ~% M! A( Q: B, }
  38. LibraryName=path_to_libsqlmy_libary
    * o) ^: y/ _/ V3 |! }
  39. Active=14 N" W! @% d, V9 Q' T
  40. ---cut here---/ N" m% O/ N( {9 p# x& n$ ~
  41. In my environment (a linux box with a MySQL server running locally) I have:
    * B! A! W  ]" Q2 B2 D6 u" L
  42. ---example---
    2 ^& s6 k7 Q- z6 ?9 |
  43. [DBEXPRESS]" ^# S$ B( L/ V% f
  44. sqldir=mysql_sql
    ; N) P& x) i+ y0 }1 \
  45. Drivername=mysql
    - T3 A. I' R, X  m( _8 E% u* u
  46. Database=test4 H+ c6 ~( x1 z* l
  47. Hostname=localhost) E3 F8 T. t6 k. S% P% b
  48. User_name=testuser
    - ?  j- ]3 |# Q7 w! y. d
  49. Password=my_password
    % q/ \9 z! _2 k! B4 R
  50. GetDriverFunc=getSQLDriverMYSQL
    2 M1 ^- r- d" j- S  T  t
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.07 }6 p& i9 v! K1 G$ U4 ?9 u' D0 q
  52. LibraryName=./libsqlmy.so
    % Y* u" L: `* d
  53. Active=1" z! M1 f& d9 S
  54. ---example---
    ( G  k& |! M8 Y# V( l6 c

  55. 4 y% W( c: j" V! ?
  56. On a windows box, also running the MySQL server locally, it would be:
    ! R3 ]2 _" ^) H. t8 [, I
  57. ---example---
    - z' U/ l6 u8 U+ J1 f$ G, a
  58. [DBEXPRESS]
      k2 {6 Q/ G8 Y
  59. sqldir=mysql_sql
    0 y& W% y( p$ B; ?/ ~
  60. Drivername=mysql- W! A0 N) K  v1 Q; \; f
  61. Database=test/ k* r; i3 k9 r* V" e: F& S
  62. Hostname=127.0.0.1: o" @% K/ a( a
  63. User_name=testuser
    ' P% s8 [, h, z% N5 T1 {
  64. Password=my_password
    / Y" @9 T3 A6 B. @9 a5 y# u
  65. GetDriverFunc=getSQLDriverMYSQL
    - @. @$ @, N8 _3 D  H* o
  66. VendorLib=libmysql.dll  M, x# k; o$ f5 P
  67. LibraryName=dbexpmysql.dll
    - w5 `$ y  G! H8 T
  68. Active=1
    9 d% X4 x, v% x; G6 t2 D+ K* h
  69. ---example----2 w8 E0 Y2 |% l* V5 S/ x
  70. - written 02.03.04 by pwk.linuxfan, ^2 J( s3 |" @* X# r

  71. 7 n! ]/ P, C$ D7 v
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看. R& W) T) ]" v7 i# I1 w* _

  1. 7 p6 j# a' {1 [
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    8 P& X! o( f1 d& l8 I* d5 Z

  3. . _' _5 L1 {, J2 B4 L# Q! V
  4. # # #我们所需要# # #
    " u0 p  ^( ~1 _' P
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    4 y* c0 p2 v/ f) @$ q, E% H. ~
  6. 不会解释如何做到这一点-也有文件存在,为9 g. W+ o2 \7 @2 p5 R9 Q
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    & a4 ]* o+ O0 Y, x$ A
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    - C0 s9 Y, N$ L# @- l
  9. 随着数据库。此外,你需要一个卖方图书馆安装于1 a3 R" T# Y. @: b7 ~, R# B, o
  10. 本地机器,这是我的MySQL安装。
    5 d' k' u% i$ _
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    * y/ ~! b4 {* U+ z7 r$ T7 {0 X
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ; w$ y& M8 q' J, `7 x- x2 Y2 o* S
  13. 数据库。 0 \1 Y8 q( \3 t# _
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    + _! @2 j5 S5 T6 q: A9 J
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    % M& b1 f% @3 w4 y" M5 L# B0 V
  16. 在teamspeak论坛,如果你有兴趣。 / x9 ~% M. x# h% Y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    # C/ C# f8 q' X+ Q/ \
  18. Borland公司使用。这个司机只能界面与客户端库
      Q. N$ q  f0 x  X" c- P
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这2 S, D& T/ F7 {9 D( H- f5 c
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    * Y% E4 k& [6 e5 _& s
  21. " vendorlib " ,并解数据库连接。
    7 B9 V% o4 [) ?% k$ K& k
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    : R$ x* B- g; E' m7 A' \$ ?7 ]

  23. 9 K7 R; D: o: Q7 ^3 \. H
  24. # # #做好工作# # #
    # F6 S8 t: ^" Z, Y- F
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    8 A6 o) N, Y- z1 v5 p2 c
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    & D+ u, p, s5 z9 ~* H7 t8 T
  27. 结束:
      [2 b  o! B. Z/ ]
  28. ---削减这里---
    $ ?9 |. p3 V0 l5 a2 v6 ~
  29. [ dbexpress ]
      `$ G8 b( z0 a' d) ]3 q1 ~$ P
  30. sqldir = mysql_sql
    3 N. N2 s& `' x4 F3 g
  31. drivername = MySQL中  ^+ Y+ s4 d; a8 o
  32. 数据库= your_database_name_here 0 M4 m3 {* W. F& i4 c$ M" c
  33. 主机= the_pc_the_mysql - server_is_on 8 u  C2 S" G& p; G; ?
  34. user_name = user_name_on_the_mysql服务器
    : N) Y5 r9 T  n) V+ b: X$ d' P
  35. 密码= password_to_go_with_above_user_name
    8 O2 L7 G$ A* ~2 `) T4 @
  36. getdriverfunc = getsqldrivermysql
    6 B5 {0 v8 q- x* R9 y) J# ?
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    . d# q! p' ]6 W) P, u! P2 w9 @
  38. libraryname = path_to_libsqlmy_libary ! y+ k$ \' I0 ^; B) q) W
  39. 积极= 1
    3 c0 Z5 v: e4 X) U  y5 S5 F1 F
  40. ---削减这里---
    / L$ n+ d6 L1 K! A% V
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 3 W# n- a( I, E, M5 b/ y; f/ y
  42. ---例如---
    5 t& J# H( N% {: P8 ]
  43. [ dbexpress ]
    7 k* a  |( |$ ~# P" a
  44. sqldir = mysql_sql
    ; D$ @7 a- w8 L! s
  45. drivername = MySQL中+ q8 w- t' k, x5 D; P
  46. 数据库=测试+ R" O7 j; K- f1 l
  47. 主机=本地主机+ S! v5 S5 i+ |7 V
  48. user_name = testuser % ?% P( r3 _. l/ p4 ?8 X1 I' d
  49. 密码= my_password
    % A/ Z7 a2 C/ i3 ?1 ]
  50. getdriverfunc = getsqldrivermysql % @' P7 J# ~2 h+ _; H
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 + Z: x# I5 n; C4 V
  52. libraryname =. / libsqlmy.so : @. R/ |. H  r. U1 |9 \4 x
  53. 积极= 1 " d& B# P; @: t) b, v2 b) X7 G* _' Y
  54. ---例如---
    ; J* ?" {0 W7 }' V9 l
  55. 2 D, {7 E. U& s& ~1 h
  56. 对Windows中,也运行MySQL服务器本地的,那就是: / x: `0 b  N7 G0 ^( }5 X/ L& z
  57. ---例如--- ; @- m5 E# D* k: T" w, o
  58. [ dbexpress ] + c' e. ]$ [: z/ }! P2 ]% I' F
  59. sqldir = mysql_sql
    - X5 I6 a! k: E6 Z% f" j
  60. drivername = MySQL中
    / }4 J; S2 @& @# |+ p( b3 Z
  61. 数据库=测试
    : y6 d& L2 S1 S5 @0 v! y' R* ^
  62. 主机= 127.0.0.1
    2 R1 L6 o; m. c& \; }$ Z
  63. user_name = testuser ) q1 f+ e- J/ c! V
  64. 密码= my_password 8 H( }+ u+ \$ j* v7 m1 h
  65. getdriverfunc = getsqldrivermysql ) v+ p8 A' g$ t7 h! d
  66. vendorlib = libmysql.dll在
    $ `! s& A4 z* L2 c
  67. libraryname = dbexpmysql.dll
    3 n7 K+ T/ e, E9 d- N- ]4 n6 n8 F! o
  68. 积极= 1
    5 |  e! K6 e, c$ a" ]5 v% M; O$ l4 e
  69. ---例如---- 1 t# ?0 t- ^- q0 X3 g
  70. -写在0 2.03.04由p wk.linuxfan0 {, r* `; c' y
复制代码
发表于 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
; a1 f' s( A1 O  L8 o9 \6 _
, g# |6 E/ T) R, ^4 ~but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-2 19:31 , Processed in 0.105563 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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