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

3011 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan   e. V. G5 T8 E0 ?$ P" f
1 W- T: D7 z/ Z# [( X3 s

  1. ' [8 A, P  \7 e: T6 X9 e
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######& G1 Z' Q& g+ p7 N7 D9 c: S: q

  3. 0 p7 x, L: `& \0 c! I3 {* `
  4. ### What we need ###
    ! a% c) j, @& D0 `$ w- G" A3 }
  5. Naturally, we will need a MySQL server to store the data for us, this document 0 E# F% y+ ?6 z$ P2 G3 U* u1 V
  6. will not explain how this can be done - there are documents out there for the 3 x9 i! h6 h6 [! m
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    % F; b, ~" ^  j) r! W0 O
  8. and a user account (username + password) that has the permissions to do stuff" N7 X3 C% Y7 f' W. q
  9. with the database. Additionally, you will need a vendor library installed on the
    * T; R! n. o9 A! {
  10. local machine, this came with my MySQL install.9 q! L8 }. _& O( C
  11. These instructions will not tell you how you might transfer your data from the# a- C, p7 Z. q' M$ O
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL+ o" A0 f5 m; v% W: h) `
  13. database.' z9 e7 v' ~% P. i  U
  14. Some users have reported ways to import a SQLite database into MySQL, but at$ {4 }" n) h* r4 x
  15. the time of writing, there are still too many issues - check the current status
      Y; r- C7 f% R, `% h5 H! O
  16. in the TeamSpeak forums if you are interested.
    3 l, {7 }. r* w+ c) n8 B1 s
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from/ T0 \# i/ ?1 [( x8 R! x1 I* X
  18. Borland was used. This driver can only interface with the client library that 3 [: A# A3 {5 V) _$ C$ U
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this7 b1 o4 a' F# v# w( d& O0 i
  20. client library - basically all you have to do is to use a 3.x client library as
    # J0 d; `5 l, ?. J+ I
  21. "VendorLib" and a 4.x database to connect to.7 H% E1 H# O0 z2 o2 m, u! D# n9 F
  22. If you need more info about dbExpress, you can contact Borland.
    & F- {# Z8 I5 o% d
  23. " u$ H/ T. K- U  o' N
  24. ### Doing the work ###1 w- A( Q3 |) l  ?
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all$ \0 U5 q; T1 u, z$ X2 E1 ~
  26. the perquisites right, just open your server.ini file, and add this section at# Q/ w0 y1 H% S( N7 O- x8 y
  27. the end:; T% w& p7 N0 U2 G3 [  S! I
  28. ---cut here---  Y6 b$ v% g; s! s, X. F  [/ B
  29. [DBEXPRESS], R$ c) |! K/ `% A/ D% \/ H
  30. sqldir=mysql_sql! u& s$ B# K+ k; Q6 H! O: \* r( G
  31. Drivername=mysql: F3 N. |7 f1 D' L
  32. Database=Your_Database_Name_Here" F3 \. q  E! [8 r
  33. Hostname=The_PC_the_MySQL-Server_is_on- {9 C, `. n9 V/ _( z
  34. User_name=User_name_on_the_MySQL-Server
    7 T; K3 M  v" ]- C
  35. Password=Password_to_go_with_above_user_name
    / M# B# H) [* Y7 v& G
  36. GetDriverFunc=getSQLDriverMYSQL0 f7 ?4 ~% g0 O: y4 c( p: `  E
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib, O4 T7 ]& @$ ~* z+ |
  38. LibraryName=path_to_libsqlmy_libary
    $ s9 q  H* T( X- P0 Z- E$ z' x
  39. Active=1
    8 I- V9 z4 r6 a( \
  40. ---cut here---
    * J: e. u4 v; [$ P. [+ {
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ! g1 v) f% \- B5 T0 z. ?
  42. ---example---
    + y& C% }; {) f4 g
  43. [DBEXPRESS]
    # q' j6 \' @+ Y
  44. sqldir=mysql_sql' k2 O* w  U* A  W
  45. Drivername=mysql+ W( C+ ^2 R, ~' q3 i1 _
  46. Database=test
    9 C2 Y! _. S+ c. k
  47. Hostname=localhost
    2 T! n2 q) s6 I# N* H
  48. User_name=testuser
    % c1 B! S" u" p9 `8 \* }) |
  49. Password=my_password
      x8 p* g! N4 R- V5 D- k3 r
  50. GetDriverFunc=getSQLDriverMYSQL) J- ~7 L2 j, o' X
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0! @- j$ P% c  ^$ l3 O1 F+ G. F
  52. LibraryName=./libsqlmy.so( B) ]9 y( h+ N" x. d1 M# a# J
  53. Active=12 ^: j& A# g9 H0 O# J! Z( I
  54. ---example---# ~5 f# m+ Z1 a  p. |4 j
  55. 1 h  P# z  \$ ^( X0 Y
  56. On a windows box, also running the MySQL server locally, it would be:3 y+ E% d" o+ ]3 H* [& V
  57. ---example---: i. u7 K( T% |& C& A% Q
  58. [DBEXPRESS]) S0 A# j! d1 l) t( H6 V- n# M
  59. sqldir=mysql_sql
    4 A8 \; n* c, w  G; m
  60. Drivername=mysql4 O, i: F5 x) T- P
  61. Database=test
    3 D. v5 Q: e" O5 G
  62. Hostname=127.0.0.1
    : g. ~, \# m* a, S; _
  63. User_name=testuser0 q8 C) [0 B  n& f% g+ s" E
  64. Password=my_password) h" r  {1 ^: B, ~( D, E7 J/ }: g2 f6 C" ~; B
  65. GetDriverFunc=getSQLDriverMYSQL
    3 }4 S- y: V% J9 y" s. M( O! |
  66. VendorLib=libmysql.dll
    9 Y4 Z2 @! u# I# p6 s7 o! w( X
  67. LibraryName=dbexpmysql.dll
    5 e8 ]0 C* S# S, D. k$ v
  68. Active=1% i% {+ s1 Y1 ?4 R6 r
  69. ---example----- ^" y% }' n2 ]
  70. - written 02.03.04 by pwk.linuxfan( r5 }. g6 N* a# z

  71. " ^* P' n- N! Y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
* w% ?) ^$ W1 y( ?9 j# [; f
  1. # z8 G* M1 K$ p3 b( H9 u. k
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    + @3 s: w# h5 i# h

  3. $ K, V) Z1 C1 H: n7 J) K4 u6 S
  4. # # #我们所需要# # # ( U7 w! c8 k6 r& @
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件. c; R6 k. h+ n( A8 k  ^
  6. 不会解释如何做到这一点-也有文件存在,为! s  C  k0 J7 W. y/ x* m
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用+ w( n; s* v4 Y+ ^7 i! |
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    4 b% {2 y& a  |( p; o' E4 S  _
  9. 随着数据库。此外,你需要一个卖方图书馆安装于$ z3 `" L2 U- d: Z6 u) I0 i4 F
  10. 本地机器,这是我的MySQL安装。 1 Z7 ^+ S! A; m2 P
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    9 {/ N. D+ o' o6 t# M( s. g7 B* Y2 `
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
      B2 }; [+ e: k2 n
  13. 数据库。
    # C3 B: h- S6 g/ d* q7 q: e3 k
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    % _( O" M; L0 c" [1 u
  15. 编写本报告的时候,仍然有太多的问题-检查现状. Z. I7 l" x2 G9 i
  16. 在teamspeak论坛,如果你有兴趣。
    & e# ^2 }1 F0 N1 W: D: h
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ' W0 n9 `( \7 h) B, Z2 F, \3 d
  18. Borland公司使用。这个司机只能界面与客户端库
    : x% O+ I) v' ?: F
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    $ H, b+ S6 @& {& A& k1 x) M, g1 O' p
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    1 @) d! `( @5 t2 l
  21. " vendorlib " ,并解数据库连接。 , w( ^1 [% V( ?: g
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 8 M, f) e. q' Q; n( e

  23. 3 n& s( j  k9 J, ~. C) q
  24. # # #做好工作# # # ( V! c6 K7 p% ]
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都0 U4 B7 U. o" |: a
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ; k. h; M/ Z. S$ T# b& ~) q* P, y
  27. 结束:
    5 e: \% P9 s2 x* W9 ~1 x4 v6 F2 p) U
  28. ---削减这里--- * O+ H, |0 [7 z& s2 [3 R" f* r- K
  29. [ dbexpress ] : J0 A& |: f1 ~( t
  30. sqldir = mysql_sql
    - d; B; ?- g" u' i! b# `
  31. drivername = MySQL中- X  T# a! D5 G9 `' Z
  32. 数据库= your_database_name_here $ O7 ~2 g0 M/ s2 e) {3 p$ I
  33. 主机= the_pc_the_mysql - server_is_on : L) w8 L, M% p  R5 Q1 m4 b9 z
  34. user_name = user_name_on_the_mysql服务器: Z+ `" G8 B. P3 ~3 |! r
  35. 密码= password_to_go_with_above_user_name
    0 ~( u; x% D: c% m
  36. getdriverfunc = getsqldrivermysql 4 T* R# \# l/ P# |
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ' ]+ ~, b# E* F1 G+ q) \+ K
  38. libraryname = path_to_libsqlmy_libary - {* \1 }6 h: R- K3 d1 B* S
  39. 积极= 1 3 \  Y7 }  y5 a. J& T: t+ g6 x
  40. ---削减这里--- % H( Q9 h/ t3 M& Z. W$ w5 @$ H
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
      ^* b5 i; i" \/ c) s& ^
  42. ---例如--- . Z; t# k7 u" w/ j- W
  43. [ dbexpress ] ! @7 x% Y1 T! ~" a' R
  44. sqldir = mysql_sql 8 n6 j/ [( b6 I2 y+ `  ~! N
  45. drivername = MySQL中
    4 z9 l7 c% L. f/ s& D4 k9 X. t5 _
  46. 数据库=测试
    , V- e6 {; [) L' M: c
  47. 主机=本地主机
    ( C& R  O5 |# m1 [
  48. user_name = testuser $ |2 q! D# X$ s( k4 W+ n; L2 W
  49. 密码= my_password
    ' z  d" M/ O$ z% O; E0 P
  50. getdriverfunc = getsqldrivermysql
    + e' s2 P5 U/ ?
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    7 N8 z) T# {! E5 z8 S2 C
  52. libraryname =. / libsqlmy.so : H1 e. ~/ L3 e( Q
  53. 积极= 1 8 k" e, f2 \, T: o5 O" ]
  54. ---例如--- ) y+ [& H8 {) {% T% W: Q

  55. * |7 G  m: l  p4 d$ j- x' O: ^
  56. 对Windows中,也运行MySQL服务器本地的,那就是: . @" Z# M/ X# N2 U% g2 }6 n# n
  57. ---例如---
    7 G# x. O  [0 x  M" `. F
  58. [ dbexpress ]
    & F$ x+ c4 v# I/ m6 }+ o( P4 M
  59. sqldir = mysql_sql
    & n% o+ P; Y+ E4 h/ c, @$ U
  60. drivername = MySQL中
    4 g# n1 Z, d- g! k
  61. 数据库=测试/ B' s) i: N; ]  k8 E  l$ W3 @
  62. 主机= 127.0.0.1
    7 |8 c; A' i5 k4 p: _* J7 o
  63. user_name = testuser   G3 f% @1 k# p- w/ }
  64. 密码= my_password 3 h+ j( K) V5 Q: y9 Q* o7 Y5 V% J; [
  65. getdriverfunc = getsqldrivermysql
    2 D3 S) K/ P+ _2 F* {
  66. vendorlib = libmysql.dll在* g) i/ s, M) _- d0 B9 I# p* q
  67. libraryname = dbexpmysql.dll & S6 X" V% p: i$ d) A( r0 J2 V
  68. 积极= 1
    & Q* k* G7 E0 L3 B
  69. ---例如----
    9 }/ H- }+ Q6 @% i- k  E! G  T
  70. -写在0 2.03.04由p wk.linuxfan- ]) e& b! @2 F- J, G4 a' L
复制代码
发表于 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
8 x* o! [, R  P  C$ P2 t; w+ V& i* x$ F* m: t7 s
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-12 07:08 , Processed in 0.094582 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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