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

3501 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
3 U" _6 G. P4 w' g; n: [7 u7 u$ [# L

  1. ' u0 W5 K% M. |7 v( b
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    3 j1 h) a- _3 ~6 p9 _6 b

  3. 7 ]7 Q# {* N; L( {+ B
  4. ### What we need ###, n/ e- B$ G, i0 q0 X4 ^
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ; Z( l! Q# u" `% R* F
  6. will not explain how this can be done - there are documents out there for the
    5 c! X$ ]$ U5 N0 p  e" g
  7. interested. The requirements include a (empty) database for TeamSpeak to use. D1 s' [7 T, h
  8. and a user account (username + password) that has the permissions to do stuff1 s, P3 t" B: E, V* F1 p8 p7 @0 \; L
  9. with the database. Additionally, you will need a vendor library installed on the
    ' g+ p  }( b! B8 ?& f! s( P: g
  10. local machine, this came with my MySQL install.
    2 q7 I5 ~9 G; O( b
  11. These instructions will not tell you how you might transfer your data from the
    6 _: y& f3 G- b8 ^& d- @! I$ S( B+ p
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ! H8 g6 b- d$ I. T
  13. database.
    " N4 _: J% g) J; O3 ^7 Q
  14. Some users have reported ways to import a SQLite database into MySQL, but at7 f% t5 e" F* D5 T. a& g' q# k
  15. the time of writing, there are still too many issues - check the current status
    ; P- d) N, k' h' i
  16. in the TeamSpeak forums if you are interested.
    9 z/ B) w% J0 j2 \0 J
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    7 f3 v. J  P3 Z
  18. Borland was used. This driver can only interface with the client library that ) @8 l: ^( K+ x) B. D" M& `3 Q, x
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ! C" {8 D# D, _- B; T# ~+ H
  20. client library - basically all you have to do is to use a 3.x client library as
    . ?% v; d2 |7 u8 H+ h/ D8 E
  21. "VendorLib" and a 4.x database to connect to.
    " h9 w" e+ @% ?$ U
  22. If you need more info about dbExpress, you can contact Borland.
    % N! W, l/ h+ k  W* g. \
  23. 4 I$ T0 e& |; w
  24. ### Doing the work ###
    7 }0 d( w, F3 U# t8 K" r
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ; {6 J  g4 r: S: t
  26. the perquisites right, just open your server.ini file, and add this section at
    7 g: h/ x8 J: w5 Z/ q
  27. the end:
    6 G3 w. H9 B. b" x+ ^" k
  28. ---cut here---) Z* B% X5 Y. q3 [+ c
  29. [DBEXPRESS]
    ' H" A# S. ~( G% y- ]+ F* d! t
  30. sqldir=mysql_sql+ |: f  a/ ^$ P/ o4 O* R6 c" R
  31. Drivername=mysql7 v7 P. [7 [  I- z+ @8 s/ f
  32. Database=Your_Database_Name_Here
    ' t) R3 P1 @7 o$ s" l5 T( T
  33. Hostname=The_PC_the_MySQL-Server_is_on0 t8 ~: @( F+ Z2 c& o. ?
  34. User_name=User_name_on_the_MySQL-Server
    0 M% {' D. P) `6 J: a
  35. Password=Password_to_go_with_above_user_name! \( s3 A: l% {. B
  36. GetDriverFunc=getSQLDriverMYSQL
    : N8 F9 I6 ]6 s, e1 [# ^  l; A+ t2 x
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    6 \7 {8 ?* p7 M9 K+ H+ |
  38. LibraryName=path_to_libsqlmy_libary! \2 E/ _8 {" j9 j( d
  39. Active=1
    + a/ z# f! O- f5 k- M- M$ J
  40. ---cut here---
    ' k0 w  _8 k9 x: ~$ p0 V1 @3 B
  41. In my environment (a linux box with a MySQL server running locally) I have:/ x  x- {# H' J& ~' Q7 w: N8 A) q3 e
  42. ---example---8 W# I- ^% O3 m/ M
  43. [DBEXPRESS]
    ' v/ A0 J5 W( ~$ c& q  w) }
  44. sqldir=mysql_sql
    1 {: U3 H$ _$ R1 y6 [' p+ o, z1 t
  45. Drivername=mysql
    7 N  t( N* H! C6 U% F* p$ d, j
  46. Database=test: H$ M3 B( f) g! m0 ]/ }$ ?
  47. Hostname=localhost
    1 E2 Z& d  G. ?" X' f! H, w
  48. User_name=testuser
    $ Q' E$ g* w! R+ Y+ B; k2 @
  49. Password=my_password
    9 s. R; F. }. G; A; {0 h8 l
  50. GetDriverFunc=getSQLDriverMYSQL
    5 X  ?% d8 v) r( }! i
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ; ~$ ~5 W+ k4 n6 T
  52. LibraryName=./libsqlmy.so* U3 {/ Q+ U* [+ }& v" W
  53. Active=1
    9 ]9 P! L  X5 ~, W
  54. ---example---
    ( k. T$ f/ B% N/ ?
  55. * o! Q7 w' [* W  O% L* B5 x4 F$ y  ]
  56. On a windows box, also running the MySQL server locally, it would be:
    ( D4 c% l0 U) g3 R- |' _+ \) i6 @# T7 j
  57. ---example---# V' a5 e& b) C/ j% l
  58. [DBEXPRESS], X: [; }* a6 |1 N6 P
  59. sqldir=mysql_sql
    ! y  M, {0 `( j. D2 X- ~+ ~* [
  60. Drivername=mysql8 j% o  L% s' K& u" i
  61. Database=test
    ) C2 ]. {6 D  W4 |: s+ H3 u- A
  62. Hostname=127.0.0.1, o: A6 B- p* b* v* n: D: e
  63. User_name=testuser* u; \9 }! o9 G# u
  64. Password=my_password
    % h, O; V# _5 G- w
  65. GetDriverFunc=getSQLDriverMYSQL
    ! g' e; c1 ]. s
  66. VendorLib=libmysql.dll$ Y) I7 }6 k9 V5 P
  67. LibraryName=dbexpmysql.dll2 z5 L: k" k( n$ _. w2 }0 v
  68. Active=1
    $ G, q: U* G0 b
  69. ---example----
    5 [9 r8 `" K9 K
  70. - written 02.03.04 by pwk.linuxfan' p0 j% ?' _+ n

  71. & j/ e/ p8 l. }5 G, O  k
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
; s# R7 q2 @  g1 n0 b" K* f+ t% @9 E) \0 g
  1. ) y9 U# D- `" |$ H* F/ \
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    / \1 \$ p! d; z1 a8 x! o

  3. - L1 f4 f. {8 w' b) z" Y# Q9 W/ ?5 Q
  4. # # #我们所需要# # # 6 N9 M# W, o& Q' i9 y# h, A6 J: V
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    + V9 W4 N! K5 B- \; H
  6. 不会解释如何做到这一点-也有文件存在,为
    / S9 a8 H6 }7 y  P$ f) M
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用6 d7 t+ w: |8 s! d! M
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西( G3 g8 v" G8 P5 a
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    # n" D' r% o8 m; h+ Z: e
  10. 本地机器,这是我的MySQL安装。
    9 r5 @- w4 r9 H  A& R0 Q
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ! e3 _: O4 `3 Q4 t2 J( w
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    # u3 g. `" Z# b
  13. 数据库。 9 |0 M: z& a8 ]8 i' c- O% N5 R
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在5 f- b: a+ s( b! }( Q6 P8 |
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    % x& j$ C0 m: ~
  16. 在teamspeak论坛,如果你有兴趣。
    / `( \. t: x9 t" S6 u
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
      M/ P# t) b" i% ~) w% t8 }- B
  18. Borland公司使用。这个司机只能界面与客户端库+ @/ C: G2 k) p) W
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    % U* U/ s- {1 I$ t# ~
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为4 o' D  w) A" Z5 D- }# v. u+ r& r
  21. " vendorlib " ,并解数据库连接。
    ) w1 p. z% W5 Z( W( w
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 : A! X" _3 z! v. u- W( X: O! c

  23. 2 h' K# U% d% K  ^
  24. # # #做好工作# # # 2 O9 K4 L3 _6 X7 s2 b( d
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都+ _5 ]" W/ R# g. }( _' y+ K
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    $ F" D- R  Y- u) m& E
  27. 结束: . \' w% n( N; w6 Q* H$ r/ t
  28. ---削减这里---
    % N4 v6 _& ]$ p8 I8 j2 G7 z  q  _
  29. [ dbexpress ]
    ! m2 q7 a; U! `; j/ Q0 A
  30. sqldir = mysql_sql * y' ~2 V7 T- }
  31. drivername = MySQL中
    % S4 {& ^7 ]! i  X& e0 |) v
  32. 数据库= your_database_name_here 6 L- A- z7 d( K4 M: r! S+ n- r
  33. 主机= the_pc_the_mysql - server_is_on
    2 G9 M; ~' a0 M. P9 [
  34. user_name = user_name_on_the_mysql服务器) s. W; t  r" X+ K: ^1 g, M
  35. 密码= password_to_go_with_above_user_name
    4 V( Z* ~: `' p7 N2 i5 U
  36. getdriverfunc = getsqldrivermysql
    # ^3 Q7 D) [5 Z, w, o, B5 u# x
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    & ?: q* w5 s5 w% c
  38. libraryname = path_to_libsqlmy_libary
    4 C+ B4 n# ~  B
  39. 积极= 1
    / H! n0 P5 n( {9 [3 N. g$ G" W% o7 ~
  40. ---削减这里---
    2 F% C3 J& t& K# \  v7 \
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ' g. f' b. j/ k% x0 Y1 c; }) r7 F4 i
  42. ---例如---
    ' x/ X4 E" |: _) H
  43. [ dbexpress ] 8 Q- e; X- b7 g  \
  44. sqldir = mysql_sql
    ' c5 G, {7 D% i" |; ^
  45. drivername = MySQL中6 k8 s6 j% [8 R# T" E6 b2 @5 ?
  46. 数据库=测试: W" J( V2 e8 @+ m" ^  F: U
  47. 主机=本地主机) j% l; n: I* s+ _2 X* J) Y
  48. user_name = testuser
    1 W8 }- J: i# ^! I, ^
  49. 密码= my_password + O6 Z" B( @" [- m$ l, E0 u9 i
  50. getdriverfunc = getsqldrivermysql
    ' x* ]2 n0 S7 Y' e" j1 m" f
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 . |8 V4 [& {& J1 X/ m' C' _
  52. libraryname =. / libsqlmy.so * j3 O, m2 `/ Y7 _0 l- g* z! l- D
  53. 积极= 1 ! }- M3 _& v4 w2 B3 F9 A5 w
  54. ---例如--- / ~* e2 ]' ?' I
  55. " \( |+ V# `" R& z) D
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 3 s8 K: b% e( v$ g  y) D+ @& ]& ^
  57. ---例如--- " z7 d$ o% D, o: T: \( `0 O
  58. [ dbexpress ]
    : |. r! E) t1 H1 ?9 k$ d
  59. sqldir = mysql_sql 0 _! l" P# F9 L  s2 y& V
  60. drivername = MySQL中
    1 i. n3 O0 ]3 n" k: l, W7 _
  61. 数据库=测试  |+ D6 d4 P: I( v- ~7 b
  62. 主机= 127.0.0.1
    6 H# z1 T9 G+ a0 P5 c5 g% E
  63. user_name = testuser 4 S7 c5 h& j5 w$ B
  64. 密码= my_password
    1 {' Q5 |5 `3 z1 \' M
  65. getdriverfunc = getsqldrivermysql 9 O8 q6 s, C8 Q+ r2 C: z
  66. vendorlib = libmysql.dll在
    ) t; E% e4 p* r) T
  67. libraryname = dbexpmysql.dll
    + ]+ |. i: ?% L
  68. 积极= 1
    ! i0 E5 D+ o; L, d3 t& H- L8 @
  69. ---例如---- % [  n, t4 z; a4 S' K
  70. -写在0 2.03.04由p wk.linuxfan
    . o0 E: q1 W% n% p
复制代码
发表于 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 D. ?" K% ?0 w1 |8 e" q) E$ ]3 U8 h
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-11 16:25 , Processed in 0.063926 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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