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

2546 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
8 n- l6 R+ E! a6 b7 j' F3 e
* D9 B9 J& J9 [2 Z  d* x% w
  1. / G# w2 }9 C; Z! K, ]& E% T4 U
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######7 W8 v& ]* J8 J
  3. ' l; W6 O- v& n8 C5 l8 C" U
  4. ### What we need ###9 @! v9 R3 Q& C
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ; N! D2 K4 Z, G+ v7 u
  6. will not explain how this can be done - there are documents out there for the
    2 `& f+ ]; s$ m, V3 ^+ I, X; x
  7. interested. The requirements include a (empty) database for TeamSpeak to use& h  I& }) m; c
  8. and a user account (username + password) that has the permissions to do stuff
    6 y9 R8 o% h' Q
  9. with the database. Additionally, you will need a vendor library installed on the6 }  `* D6 b3 H# w8 p8 t% `
  10. local machine, this came with my MySQL install.6 \+ Q  H6 [4 q  h4 ?) D4 F5 l. y
  11. These instructions will not tell you how you might transfer your data from the
    . ?* Q1 s* ?1 o. e7 F3 H) {
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    % u3 `! M. u1 V" C) p; r) U$ ~# P2 U. x
  13. database.5 U, U. C7 _2 R. `! O2 c: @# g
  14. Some users have reported ways to import a SQLite database into MySQL, but at- c* k: H# `, _/ w. ~4 T" |% w
  15. the time of writing, there are still too many issues - check the current status, M5 }. z% C9 S. K
  16. in the TeamSpeak forums if you are interested.7 D5 f3 X+ E. Q
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    * a% P) T% _, L; Y" c9 F
  18. Borland was used. This driver can only interface with the client library that
    ) p, d' |4 w* [0 n4 h8 |8 y- Y
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this: E# v; O1 `5 z/ ?0 |9 ]' g; e; A
  20. client library - basically all you have to do is to use a 3.x client library as # [/ T( U& z* o* {7 i! W& ?, G; K
  21. "VendorLib" and a 4.x database to connect to.* T  ]" G) q  c) w
  22. If you need more info about dbExpress, you can contact Borland.
    & M1 D  T* |! ~  ~/ U( w" g" ~

  23. # i+ {1 S, |) V
  24. ### Doing the work ###
    ) ^; T( [. N& A8 }# N
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all% b/ _  O- w4 S0 N; v" s4 Z  D  [
  26. the perquisites right, just open your server.ini file, and add this section at
    5 w/ ~1 o# ~8 ^
  27. the end:* f% d# b) h" @4 a' U3 g9 N/ `
  28. ---cut here---
    : N, Z( I3 p- B
  29. [DBEXPRESS]/ Q, i' \5 G) ?
  30. sqldir=mysql_sql
      v1 l6 ^, G! W8 H: }! ~
  31. Drivername=mysql
    $ X7 s( T& w+ z8 x
  32. Database=Your_Database_Name_Here6 @# d  @( G3 [
  33. Hostname=The_PC_the_MySQL-Server_is_on* Y( E  X) K5 d5 o! l
  34. User_name=User_name_on_the_MySQL-Server% G4 n8 {8 r/ ?" S; D9 t! A
  35. Password=Password_to_go_with_above_user_name: O: C3 E9 J  |( E# j
  36. GetDriverFunc=getSQLDriverMYSQL
    % V) u2 V$ Q2 X; ^) [
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib- B+ J4 L1 h) r1 I0 T
  38. LibraryName=path_to_libsqlmy_libary
    1 |( \8 O! y/ ?+ [
  39. Active=1$ N5 f4 H9 T' v" W3 q. p
  40. ---cut here---* K7 T3 c. Q0 i% R& h! ^
  41. In my environment (a linux box with a MySQL server running locally) I have:! Z+ Q- c1 V/ ]0 y% w" P2 I5 @& Y9 \
  42. ---example---
    " z, J, f5 O2 p' R) }& P
  43. [DBEXPRESS]
    0 Y+ m- g9 p& y# l+ z
  44. sqldir=mysql_sql
    * g8 g& P9 t( @5 z
  45. Drivername=mysql: @* i9 n' H8 M0 E6 J8 E7 b
  46. Database=test
    ; Y  v( M# _( _$ R+ G; U: _$ b
  47. Hostname=localhost% A" x; |5 q$ W7 u
  48. User_name=testuser
    0 h* S2 l: B) G- f* m
  49. Password=my_password
    . x$ W  u/ x+ j' P
  50. GetDriverFunc=getSQLDriverMYSQL
    ) g1 E" b, e9 \1 ^4 J% |
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    6 P& f# y, _. x( ~% l1 Y4 z
  52. LibraryName=./libsqlmy.so6 c0 j+ E, h+ o2 f& j
  53. Active=1
    4 m7 q! f/ v; G( n5 Y3 U
  54. ---example---
    / t( }; I1 R1 V. L- h/ o) R0 n8 x0 ?
  55. ; p% ]8 N# {2 D5 V$ |
  56. On a windows box, also running the MySQL server locally, it would be:
    ) ]: c/ f4 w$ k& ~
  57. ---example---
    % e& e3 J7 w; K3 P/ b0 W
  58. [DBEXPRESS]
    # ?9 k+ F5 f; y" p9 b/ n
  59. sqldir=mysql_sql
    4 O/ X7 T* l# }' l$ e" ~/ K9 P- {7 j
  60. Drivername=mysql
      l) D- G* c9 e' c: T: P
  61. Database=test
    / `- ?" N" h3 y& E; }- P7 [7 m( P
  62. Hostname=127.0.0.1/ h! ^1 E, d( ^$ e, D7 K
  63. User_name=testuser/ O( l! i3 u9 Q0 W5 W+ ^& b. L
  64. Password=my_password, P: S9 b4 F7 `6 \9 O1 ], ~  q
  65. GetDriverFunc=getSQLDriverMYSQL, k) Q! i9 U  v$ j( D7 z
  66. VendorLib=libmysql.dll
    + b0 D4 j+ D) n' x5 E4 G( z, o: @
  67. LibraryName=dbexpmysql.dll/ ?3 Q$ |( R+ y" i& g* V( L1 t% b5 _
  68. Active=1/ h- O) D4 O& |
  69. ---example----: D$ i9 T2 Y3 W5 L! a
  70. - written 02.03.04 by pwk.linuxfan
    7 G# e- v( C( v4 K) v  ]

  71. % m9 {* G% a" B6 d# w
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看( r% F- k7 p8 p6 q

  1. 3 I+ ?7 h2 C6 A2 x) H
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    . g2 r; N4 |/ w9 V, o5 r

  3. * y; p8 O- I0 X* |% j6 m7 O
  4. # # #我们所需要# # #
    ' l  ]4 w/ R' P# X2 s+ {
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    6 f$ t% I' m5 y% }
  6. 不会解释如何做到这一点-也有文件存在,为
    . M* _1 p" W) r) C) a' y! ?
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    4 ]* }: [+ X- j4 `1 k. y( {  u
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    2 {0 y8 G" ]- P( M4 Z
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    2 o. l; b  }, O9 X. z* p! c
  10. 本地机器,这是我的MySQL安装。
    0 O0 Z1 \) T: v
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    $ i( G4 T6 S" F. W: K
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    3 @6 s! I6 N# [9 u* |
  13. 数据库。
    ! o# f  L3 s0 P
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在& A* @1 @7 ^/ W4 J7 k4 _0 X
  15. 编写本报告的时候,仍然有太多的问题-检查现状  y* s& i1 J3 w3 \9 C, X
  16. 在teamspeak论坛,如果你有兴趣。
    1 I- g0 r2 q1 X
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ; O3 f4 T/ r( G" D9 F7 X: e( E
  18. Borland公司使用。这个司机只能界面与客户端库1 p9 y- Y3 }! A! m5 F% }6 c2 v' Q5 n
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这  }5 X+ }/ G/ m  S: r
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为6 I) ~! m0 p# }% m* L
  21. " vendorlib " ,并解数据库连接。
    6 [, J( }& l! u% L6 X; J' N4 `% m
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    / b3 I" E, L3 b$ P% x
  23. ! x3 e% R1 ^# Z
  24. # # #做好工作# # # 8 W2 Y3 C  p/ r/ f8 \% X+ O4 S
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都3 Q! c( Q) m& f3 I2 r& m
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    8 C: g2 m0 I3 N8 _4 T4 y; J
  27. 结束:
    7 c' v; j  d7 P, ~: W. E4 A- m
  28. ---削减这里---
    ( ]& Z; C( N7 M$ a( t
  29. [ dbexpress ]
    & Y% E) v* ~; r8 o" f% l
  30. sqldir = mysql_sql ! t+ s& g% H5 P! |5 u& F6 O
  31. drivername = MySQL中/ D6 F6 g( e2 D! Y; B
  32. 数据库= your_database_name_here ! {9 T% k$ W) m  J0 b
  33. 主机= the_pc_the_mysql - server_is_on ' i7 n6 \2 E- V, q7 Q/ R
  34. user_name = user_name_on_the_mysql服务器
    $ a6 @# A8 n/ ]! Y. W" q  }
  35. 密码= password_to_go_with_above_user_name
    ! V6 t' h- p$ v! D3 l
  36. getdriverfunc = getsqldrivermysql $ n/ `( J7 s# C: u8 r5 U" m  l& y
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib - P5 U* v- T* V* Y0 d" j* h, w
  38. libraryname = path_to_libsqlmy_libary
    ' o) j7 j- ?( s' ~! h( T/ K" `
  39. 积极= 1 5 L3 E# u9 G( ~$ a" |+ Q5 G
  40. ---削减这里--- ' t8 I" J/ O3 l; ?" e  ^, _8 V
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    / ^( n+ `6 X( c/ j' @
  42. ---例如---
    - F* `+ }$ g; l* J% h1 l! c3 v
  43. [ dbexpress ]
    % l" x0 G" M, r( Y( P+ M2 S: O% f
  44. sqldir = mysql_sql 3 n( e1 N3 _! k
  45. drivername = MySQL中
    # G- m, H# e* A, r8 D4 z/ |' K
  46. 数据库=测试
    1 X- @- ]  H" s3 J7 l
  47. 主机=本地主机- l8 [/ R1 t# C3 S  |" M& {5 b4 v
  48. user_name = testuser
    # u. j3 L  t% B8 @$ _. `
  49. 密码= my_password
    . ~! U8 [4 h) }" p; V8 Q8 J
  50. getdriverfunc = getsqldrivermysql ( R' f$ q$ m  m/ w
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    & m/ s  ?4 \, e5 D# f( a
  52. libraryname =. / libsqlmy.so
    ( _2 T7 W) K1 u1 X# r' {6 E
  53. 积极= 1 4 \# R/ h2 \1 a6 O
  54. ---例如--- 1 w6 K0 Z* [5 U" K
  55. $ I, B2 o/ t, l& i+ b1 p- g/ {+ \
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    , A$ N  H3 k+ ~* I4 c
  57. ---例如---
    1 A& g  r+ R$ G, ]
  58. [ dbexpress ]
    9 K+ f0 V0 c. Z3 E2 h
  59. sqldir = mysql_sql , @/ s# I1 o( Y
  60. drivername = MySQL中
    . v" S  i. w$ ]5 i& e, _; _
  61. 数据库=测试
    7 J1 X; w1 C7 Y. o+ {4 r  N. @
  62. 主机= 127.0.0.1
    ' l  O6 U2 V5 @0 T% H* O8 U
  63. user_name = testuser ( k% r; j. |6 t4 f+ N  B! i
  64. 密码= my_password & ?# X+ R8 Z7 R0 \4 K6 p8 P
  65. getdriverfunc = getsqldrivermysql 5 A( M1 C( m* q* i
  66. vendorlib = libmysql.dll在
    # m6 W2 X" c2 g" ^
  67. libraryname = dbexpmysql.dll ; L( ?+ k. Q" t: Q0 @, r5 }3 G
  68. 积极= 1
    & ~5 E) E4 h4 ?+ W0 e
  69. ---例如----
    - y- e* u2 w) o, Y  ]+ R
  70. -写在0 2.03.04由p wk.linuxfan
    + m0 s/ j+ n; y- p9 L; D0 S
复制代码
发表于 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 words1 P- I" p2 ?& g% j$ f9 r
. A. w: C( e, ]- @1 V
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-23 08:21 , Processed in 0.113907 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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