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

2592 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
9 ^, n( K7 ~6 W2 H* s# ^- p/ p# d9 W; t) e7 H5 F. \* c( `5 {9 f
  1. 7 _0 b4 u/ ?8 ?/ H" D8 ~$ ]
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######4 V0 i& _* t+ d* q  s( r
  3. / |% D% g/ B8 G. u+ m6 j4 \; t
  4. ### What we need #### w8 X' o% M0 l$ M9 F
  5. Naturally, we will need a MySQL server to store the data for us, this document 8 V1 L! \- t0 W
  6. will not explain how this can be done - there are documents out there for the : l  ]( Q, T% |$ g* w- D
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    2 f6 O# w" Q3 x: `) a- D* e# ?
  8. and a user account (username + password) that has the permissions to do stuff1 e( P, v% ~; K
  9. with the database. Additionally, you will need a vendor library installed on the
    8 y' n  R, q. j6 W# a2 l
  10. local machine, this came with my MySQL install.3 q% a' x; e# k2 P) |
  11. These instructions will not tell you how you might transfer your data from the
    & `2 \; i9 w; l0 }
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL, H! R4 N" K+ x, o/ p/ x3 |
  13. database.
    . I$ e! @0 D3 u
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    $ t  j! R. B' s9 E+ `; ~
  15. the time of writing, there are still too many issues - check the current status
      f  k0 T0 y9 M
  16. in the TeamSpeak forums if you are interested.. o, x  O7 ]) l' o! g$ H
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    % _9 K7 y: L$ B4 M
  18. Borland was used. This driver can only interface with the client library that . _' a+ e2 f! q% q2 ?# {$ M
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this1 y" N  \$ _" P3 G$ W" D2 O( m  X
  20. client library - basically all you have to do is to use a 3.x client library as
    / E+ o0 ?9 F' `- S4 S7 r+ Q. S
  21. "VendorLib" and a 4.x database to connect to.+ Y4 X0 c& r( L3 ~/ j+ T6 L# i
  22. If you need more info about dbExpress, you can contact Borland.4 J* l. U3 N4 _0 y3 _2 F
  23. " V- P3 n7 E3 h' B6 n+ Q0 |0 M5 M8 r
  24. ### Doing the work ###
    $ f+ f" O  n. u: Y: ^
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    + V! y- [, \( @# `& U' k( u2 x
  26. the perquisites right, just open your server.ini file, and add this section at# B9 }5 {+ H% i' e6 A
  27. the end:; u( \" M! K! z4 ?, Y. i9 T
  28. ---cut here---
    5 ~+ t' ]' g/ t0 H: N
  29. [DBEXPRESS]( q1 H4 w7 M+ C4 Q3 g) |9 Z0 J
  30. sqldir=mysql_sql
    " q# m3 e8 S5 I: }" R) u) Z# Q
  31. Drivername=mysql
    + j8 O$ u+ c* f  v2 _8 a1 A
  32. Database=Your_Database_Name_Here7 D& _8 L) b) [
  33. Hostname=The_PC_the_MySQL-Server_is_on( `4 b/ U) _$ }! t  @
  34. User_name=User_name_on_the_MySQL-Server
    ! F! ~9 ^; \7 L2 P
  35. Password=Password_to_go_with_above_user_name7 L7 v7 L1 t7 V1 \/ v3 I6 H2 O
  36. GetDriverFunc=getSQLDriverMYSQL
    4 E' r1 L$ i& J
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    # O' e4 r& Z5 y8 F) @
  38. LibraryName=path_to_libsqlmy_libary; o( L- s& v( b3 ~* {3 O5 d3 y- \- _
  39. Active=1! Z/ [- w6 k0 y2 V# I* y
  40. ---cut here---
    # \" a. n( f. F7 m  d% q/ x# F. F
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ' M: P/ Q5 N' X* B  S$ z
  42. ---example---
    ( A: l$ K8 l# p# E7 g% D4 P3 D/ p& L
  43. [DBEXPRESS]6 q7 u+ O2 B" |
  44. sqldir=mysql_sql) `  U, r2 m  o; N- O
  45. Drivername=mysql
    8 N* u6 F8 q% m8 k) i/ K
  46. Database=test0 [; [7 K- v5 ?# i8 Y. Z/ ~
  47. Hostname=localhost, s+ F7 N9 |! _2 p( L  i$ C
  48. User_name=testuser
    . [6 r6 [; r. \4 Q  O1 I1 T
  49. Password=my_password6 D4 [5 c) J  P  r
  50. GetDriverFunc=getSQLDriverMYSQL6 Q6 A" ?2 s! F$ B. r: e& M
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    , W3 H+ I! F7 r! J' M! D
  52. LibraryName=./libsqlmy.so: ]( B; H2 c; B
  53. Active=1) t8 A. ]8 |. t4 v
  54. ---example---
    0 z3 w4 P2 ]* |0 G+ H2 {
  55. 1 m! g+ w5 u2 q  O/ Y5 F
  56. On a windows box, also running the MySQL server locally, it would be:2 R' q" w; }7 r
  57. ---example---
    ! ^% k- }5 I" F0 c9 G6 W
  58. [DBEXPRESS]
    3 n  w+ ~7 n& N+ m" o/ {
  59. sqldir=mysql_sql' j! W* u7 b! d
  60. Drivername=mysql
    1 r6 o1 n2 k( l! Y* p
  61. Database=test
    # \7 ]  [, H) b, L  ?
  62. Hostname=127.0.0.12 h( L3 u$ [) {6 j  V$ s; Q" C
  63. User_name=testuser
    % P- `; H  G: r; u! l) m! r' X
  64. Password=my_password+ z  I+ O5 M  v1 I* w
  65. GetDriverFunc=getSQLDriverMYSQL
    " y( \+ a/ J" }1 x7 }8 C
  66. VendorLib=libmysql.dll
    - I' K; @% ?3 e  j
  67. LibraryName=dbexpmysql.dll
    - K; }2 `( b+ |6 r+ T5 H- [
  68. Active=1
    5 n) `! l2 s. A0 J
  69. ---example----
    % l8 |" ^7 }' a9 N3 \* ~
  70. - written 02.03.04 by pwk.linuxfan
    - l2 }! a( _: `! v

  71. ' q+ G. N* X6 s
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看$ }- {# ^2 O5 O1 E" n. q! v
  1. 4 f  f% q6 {8 ?3 [3 N
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    2 ^, ]* r" l: P0 m, ~; x. [
  3. ! w/ @- C( f5 ^' D
  4. # # #我们所需要# # # / \0 s8 W0 `9 p1 C! ~5 e! T
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    3 |8 M) ?8 D, e) N, l  y3 o) C- Z
  6. 不会解释如何做到这一点-也有文件存在,为1 `5 o' ]* }# V8 j
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用( }3 T  t8 i- Q2 i+ ~- N
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    3 m3 \$ w1 N) y# _5 Q+ O
  9. 随着数据库。此外,你需要一个卖方图书馆安装于6 J! f) ?. C3 `9 @, W* N; N
  10. 本地机器,这是我的MySQL安装。 5 \. d( k* a# }2 L! z0 J0 m
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    5 |. t! D. h% R2 |
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ) d# @2 w- s& h1 Y7 X
  13. 数据库。
    % g) }2 c9 Q0 F( H( g
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在, _  t* v7 M, a& ]: L# q# F
  15. 编写本报告的时候,仍然有太多的问题-检查现状5 B' S# V% B, X. S
  16. 在teamspeak论坛,如果你有兴趣。 , Q# f+ s2 T: L7 c% a
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机7 s# q& l4 y5 Z. p
  18. Borland公司使用。这个司机只能界面与客户端库* U) G- }, s/ _* i. c/ [- _7 u
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这2 |9 ~# ]# w; k: g7 {3 `, D
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为* C1 V. d# k9 p
  21. " vendorlib " ,并解数据库连接。
    * @4 Q3 _. R2 w# C3 z
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 9 [$ x# c1 n( U- `6 g  J& F! d0 h* Y; z
  23. " j& X# y/ T6 a- V
  24. # # #做好工作# # # + v9 \+ C  f, p) k; ]$ @
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都  Q' H' N, \5 K; d  i0 R6 q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在( f: s4 j  m9 M: q7 s. X
  27. 结束: ; a, \( c; |6 _
  28. ---削减这里---
      D, k% L+ @$ l0 |) ?- {5 l' {
  29. [ dbexpress ]
    2 r7 E0 T* J8 V8 Y$ z$ N  t) u
  30. sqldir = mysql_sql
    # w5 \* N4 t$ _& [8 c, [
  31. drivername = MySQL中
    # _7 |0 Q0 x4 Y/ F& z% M$ ]
  32. 数据库= your_database_name_here 6 c2 A: \5 d- ?, c! h
  33. 主机= the_pc_the_mysql - server_is_on
    * I  d: A& [/ S' y$ T
  34. user_name = user_name_on_the_mysql服务器, s: K: {( U, |  n0 c3 _
  35. 密码= password_to_go_with_above_user_name % H5 J( g4 T# {0 Z( _( ]. H1 G- I
  36. getdriverfunc = getsqldrivermysql
    ; i9 m' I! [: S$ F
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    # V' |( E9 G' P3 g( A" c6 i" E
  38. libraryname = path_to_libsqlmy_libary 2 R4 f( ]( A5 t0 W2 a/ H
  39. 积极= 1 * O+ u+ U1 V: V6 ?! z
  40. ---削减这里---
    7 [/ F) o9 s2 M9 d8 I3 l9 h$ n
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 9 X1 M: A* e7 k- Y# R5 \8 o
  42. ---例如--- 5 ?1 s( X; C5 K! S# O# b" G6 n! [- y
  43. [ dbexpress ] 5 c: j$ ^, V) h1 ~, k
  44. sqldir = mysql_sql 2 N1 y& {9 ^9 H4 ], X. U3 u4 q
  45. drivername = MySQL中$ e( A) s6 _6 v% ]) t5 r1 \
  46. 数据库=测试
    + e+ h: i& f6 R1 ]% |$ N* o
  47. 主机=本地主机
    4 Q7 ^* j8 k+ f; ]
  48. user_name = testuser 1 R: s+ G0 N% `% |! V* F
  49. 密码= my_password ) v* l$ k- Y4 h& y
  50. getdriverfunc = getsqldrivermysql
    6 n" I! |, b# f; e( Y0 \
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 % j, m% m; Y9 N' [$ L- d  `( t
  52. libraryname =. / libsqlmy.so - l/ ~6 ^% F2 Y- b) ?7 t
  53. 积极= 1 : z5 F2 ]/ Z7 _( y1 ]
  54. ---例如---
    5 d- s# ]) d0 K" v/ n8 N2 S
  55. + W" O2 r  b2 v
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ( u- {$ g, h! A: O
  57. ---例如---
    1 G2 H. i2 \! A6 E, S  R
  58. [ dbexpress ] & E0 `, M, }# Y
  59. sqldir = mysql_sql
      V' I4 j! o5 c2 u8 f3 j+ X% Q1 h& s
  60. drivername = MySQL中
    ! A7 Y  L$ u1 [2 L7 {* }
  61. 数据库=测试7 M& [2 Q1 R: f- D+ |+ d
  62. 主机= 127.0.0.1 0 O/ H+ G4 U# ~# Y4 H, \9 s
  63. user_name = testuser % c, g6 [4 T3 X1 \' c
  64. 密码= my_password
    , M+ m  A6 R( {( ?" Q; C
  65. getdriverfunc = getsqldrivermysql
    # h: M7 ^/ {" ~2 N' `" C
  66. vendorlib = libmysql.dll在
    - ~2 r$ P$ G. d; M  G
  67. libraryname = dbexpmysql.dll
    ' H2 a& d% e  r  D% ^
  68. 积极= 1 * ?. d3 ]3 s& n8 t8 {
  69. ---例如---- / F) a5 ^8 v8 M% Q+ X' L* X
  70. -写在0 2.03.04由p wk.linuxfan' k) G  S' |/ r+ r" [0 d
复制代码
发表于 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
. U+ m& @8 @6 V; ]9 y$ m4 T/ }# C- T8 U5 E  k8 Y
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-8 06:20 , Processed in 0.100542 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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