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

3088 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 0 `9 ?- W  Y) E3 S/ R, S
9 _, h6 c- O) x  m0 D
  1. ! ^$ a4 g* q' B& `% j. N" O
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    * n; C: B0 g; q( \- e$ g. P7 I; j

  3. * e8 P6 u8 I+ s5 D- f6 f
  4. ### What we need ###7 N% [2 E3 R- Z* s  O
  5. Naturally, we will need a MySQL server to store the data for us, this document
    & H: c0 m$ }5 \  M
  6. will not explain how this can be done - there are documents out there for the 7 R8 w6 ~3 U9 q$ c$ ?
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    $ E7 `! z  I- u/ k' u  G) h
  8. and a user account (username + password) that has the permissions to do stuff
    ) n4 y! h- W8 W. N' l5 ~; C
  9. with the database. Additionally, you will need a vendor library installed on the
    . Q  M1 b2 R+ r' M8 b, ~2 R
  10. local machine, this came with my MySQL install.# \# P) J% R. }3 c
  11. These instructions will not tell you how you might transfer your data from the
    * U: `- m$ p# V2 G# O9 R. u( K) Y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL9 u& w* u, L; n7 \2 u/ ~
  13. database.
    : `* n( k" _" p5 F- y; ]+ I4 K
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ' s$ g! h; a9 q) \! Z4 b
  15. the time of writing, there are still too many issues - check the current status
    9 s' K6 H& n4 |7 o8 T0 w
  16. in the TeamSpeak forums if you are interested.8 `% N1 q. x8 A) @" J4 y
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ( X, Q: W* V! q5 ?+ @# J
  18. Borland was used. This driver can only interface with the client library that
    2 r* U# ~3 C' T# M, v- l. c
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    2 I  H  `. }1 ?8 q4 O! h/ k& h
  20. client library - basically all you have to do is to use a 3.x client library as
    2 S9 N# G( J; J3 E5 v4 u
  21. "VendorLib" and a 4.x database to connect to.
    . n% {! {  U% C! n- D
  22. If you need more info about dbExpress, you can contact Borland.
    / w% j- c8 R  {, U( G: [
  23. # a1 z6 J' R" i# \8 b
  24. ### Doing the work ###5 ]9 @( P+ l" T8 a' O! Q5 g* c2 Y' o
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all7 [3 [. E8 c7 h' o' t" j1 a( B
  26. the perquisites right, just open your server.ini file, and add this section at
    & M' d$ E+ ~9 b
  27. the end:
    ; Q; k4 N4 A- C  Y4 h, y3 d
  28. ---cut here---
    ' \  R( ^; O# v0 N
  29. [DBEXPRESS], Y4 r! A; U$ H1 E' _+ M6 k2 ^+ W
  30. sqldir=mysql_sql5 K6 F% e2 Q$ x0 d+ k* V  ]
  31. Drivername=mysql3 u" B, @* Q( \* C
  32. Database=Your_Database_Name_Here$ G+ k. p6 ^$ `, F
  33. Hostname=The_PC_the_MySQL-Server_is_on  y1 }8 L( E" S  ?, q& B
  34. User_name=User_name_on_the_MySQL-Server
    6 x6 [+ P/ m( K8 c8 ^4 q$ T: ?
  35. Password=Password_to_go_with_above_user_name
    : U/ W' h+ ?8 J6 x1 R9 Q! `
  36. GetDriverFunc=getSQLDriverMYSQL0 k5 h# L) c+ q" C% ?
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib: R- r: j  `9 ?# ~; H$ M4 {
  38. LibraryName=path_to_libsqlmy_libary+ d# V% o. s& z$ H
  39. Active=1
    ) n$ p+ A# {, [$ J
  40. ---cut here---
    : F: k$ T1 m4 p8 B$ W
  41. In my environment (a linux box with a MySQL server running locally) I have:
    5 |8 N# j% D1 b1 }! L
  42. ---example---% S1 t6 [' `+ `6 `# q
  43. [DBEXPRESS]4 D& ]8 \- C& E  X5 w# l% f/ B
  44. sqldir=mysql_sql* r. }3 r: P! ^' u( s, i0 U
  45. Drivername=mysql; t, v9 E/ E/ c7 I
  46. Database=test% l! V* g2 W% g4 O+ w
  47. Hostname=localhost+ A9 k0 ?, S$ a( [5 c- Y2 g4 _4 \
  48. User_name=testuser
    6 L# i% Z/ g0 x9 r4 @( j0 B
  49. Password=my_password( V' H/ e- v5 [+ Y0 k4 a, m
  50. GetDriverFunc=getSQLDriverMYSQL) v3 A) E* a6 W$ W+ d
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0# l$ B1 a* I4 r& m' R
  52. LibraryName=./libsqlmy.so
    + w; J6 Z1 l+ [1 P. E) @- ^" D5 O
  53. Active=1
    " ^5 D4 [4 y7 p/ Q
  54. ---example---* s$ f5 d% C0 X! {; P
  55. % N, K3 x/ Q+ ^7 O  p1 k+ m
  56. On a windows box, also running the MySQL server locally, it would be:
    ) x6 X% L  G/ p! b- p+ r! g
  57. ---example---
    $ U6 K5 X  A% q/ T9 ~
  58. [DBEXPRESS], b& ?3 q8 N( ]$ R
  59. sqldir=mysql_sql, B' |3 F2 o' B7 n
  60. Drivername=mysql
    5 H- l! P. l0 L- g5 n
  61. Database=test  H0 s$ S' [" U2 `+ @2 [3 k9 p
  62. Hostname=127.0.0.1
    # [3 A/ u- O# m& f6 G3 B
  63. User_name=testuser
    6 W  u! O8 O: a- K+ d* @
  64. Password=my_password
    0 f: q2 G. O( D* X
  65. GetDriverFunc=getSQLDriverMYSQL$ o( r: Z% k' n1 X& ]+ ]
  66. VendorLib=libmysql.dll
    0 t; D+ L. C. i$ W. l1 @8 ^
  67. LibraryName=dbexpmysql.dll/ `, \" R: Y1 h# A$ D3 [
  68. Active=1
    . S0 t# Z3 D" s% b+ ^5 o
  69. ---example----
    ; ^6 m. y6 r$ h8 W* r, \
  70. - written 02.03.04 by pwk.linuxfan- l3 j' y7 n6 ~9 [- l+ Y

  71. & a5 t- g$ B' u7 h9 g! f  C1 C0 Q
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看: B5 c* A1 E$ v' j4 ?9 |

  1. # b0 C. g7 ^: D2 r
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 5 Z7 U% }0 \5 G5 Q" B' q

  3. ( F3 g6 Z0 \" B  P
  4. # # #我们所需要# # #
    ! I0 ~( a. i6 m
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    2 {  f9 G* K0 n7 ^1 _! o
  6. 不会解释如何做到这一点-也有文件存在,为
    0 \; Q6 Y7 V2 V
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用4 ^5 p+ {1 x* V# o8 u) Q$ V5 z
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    7 g! ~  e9 o" w6 l! b
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    $ U6 w5 ]2 N# [% h' ^
  10. 本地机器,这是我的MySQL安装。
    ( E, B. \+ D3 f4 C1 \
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    0 D. p) F0 c4 L
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    4 D. a, x& N9 M$ g& Z) T# y
  13. 数据库。
    ( T- d6 R3 V( Y6 R
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    / d* c* c- K7 c" I- f5 ?7 O
  15. 编写本报告的时候,仍然有太多的问题-检查现状6 O* u  p' Z5 ?
  16. 在teamspeak论坛,如果你有兴趣。 4 t, Q& U9 }+ E0 y# z8 q
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    3 n, d1 s  @$ c- Y  c
  18. Borland公司使用。这个司机只能界面与客户端库
    7 O8 F7 s; R- d& J% D
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这$ G) I( q% M+ L+ v; o# o
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ; f7 c/ ]) B+ T! H
  21. " vendorlib " ,并解数据库连接。 - D6 i+ }  n/ r2 j- ^0 M% w
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ( w5 I% F: B, ]

  23. 9 w. O% r9 U- d
  24. # # #做好工作# # # 2 u; x, `5 L2 a, `7 O3 S9 q+ ^
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ) j: o) J2 {# J0 I( t+ x
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    / _3 ^  M) \+ `/ E9 y& ~# G1 W8 K9 S
  27. 结束: $ ?/ D5 ^. l$ D0 P; Y9 G
  28. ---削减这里--- $ Y/ e  m* x9 s! Q- B0 a
  29. [ dbexpress ]
    3 ]  }* A, Y' G: a
  30. sqldir = mysql_sql $ r0 i) Z9 H. _( t: P+ X9 e' B9 i" S8 F
  31. drivername = MySQL中7 s# _+ J! ^* j- Y5 u
  32. 数据库= your_database_name_here
    ( ~. |4 |7 ~: [' U: Q9 t' _9 ?: w
  33. 主机= the_pc_the_mysql - server_is_on
    $ X, w3 Y7 m& U' Z1 I+ F1 F& A1 z
  34. user_name = user_name_on_the_mysql服务器
    - R, u' ], K8 I9 b" @% m- h
  35. 密码= password_to_go_with_above_user_name 4 v- X; i% w) D0 L% E
  36. getdriverfunc = getsqldrivermysql 1 I; S) v3 h5 p6 J* t5 i
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib " J' {! Z' S' s# o: O5 `. U
  38. libraryname = path_to_libsqlmy_libary ( j8 u+ u) ?% o; h4 T. G
  39. 积极= 1
    - p3 Q5 d( p! f4 I/ K9 m" T% Z
  40. ---削减这里--- + m. k+ d8 R# t/ X
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    6 n1 P; `$ P. s" v* x
  42. ---例如--- 2 O$ J+ y8 F8 H9 {# A
  43. [ dbexpress ]
    $ v- z! Y- d! a- D7 H# A3 v1 |  p
  44. sqldir = mysql_sql
    8 B& P3 F1 K( K1 g  l9 K1 W
  45. drivername = MySQL中* [# A1 ?% t9 [' g& M
  46. 数据库=测试
    9 M) p( C4 U) k: H3 |
  47. 主机=本地主机3 q+ g) C4 f. X, P0 `( G7 c5 j
  48. user_name = testuser ) x( B  O: {/ V5 F. Z1 N# Y
  49. 密码= my_password ) E; |0 v! k6 k& I) T* W- z
  50. getdriverfunc = getsqldrivermysql
    ' \. ?1 N. X, B' m4 y: s
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 . @6 {# }+ w* Q' s3 k. T, h; ^2 z
  52. libraryname =. / libsqlmy.so $ u6 K4 o5 A- x/ h3 d! {9 s
  53. 积极= 1 ( }, J$ _3 z% L) k' ?2 N$ z. ?# d' E1 N
  54. ---例如---
    + r8 K& z  j, h1 ?) E- S; [
  55. . m$ T/ c* |! U, P+ `6 c/ ~1 N
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    1 ]* L% ~8 x$ N( O& m' W
  57. ---例如--- $ n2 U" Y* N* B' x- ~( K
  58. [ dbexpress ] & f# c1 r" _; a6 h, h
  59. sqldir = mysql_sql 6 N8 s6 k7 P1 M; k  j; \
  60. drivername = MySQL中' W+ e: v! E0 D7 S# s5 l
  61. 数据库=测试& {! Z7 `: \; _! n
  62. 主机= 127.0.0.1   d$ ~: d4 `% Z! d
  63. user_name = testuser 4 k7 M7 Y- c4 ~; U6 K: F! b
  64. 密码= my_password " s% L- n. X" v' O
  65. getdriverfunc = getsqldrivermysql 4 L9 O: w! P7 [- E( b( L
  66. vendorlib = libmysql.dll在
    ; |' k! _3 V1 B$ h* W
  67. libraryname = dbexpmysql.dll 5 x1 n; i+ i0 b' l
  68. 积极= 1 ! ?: v( T' M' P9 ]
  69. ---例如---- ( H* Q7 h5 Q" R4 w9 G; j9 e5 H
  70. -写在0 2.03.04由p wk.linuxfan7 J6 l  B2 I4 y8 g# b- H. }
复制代码
发表于 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) v8 s" A- d% ]2 F  i

) c7 b* T! a5 U% \. O0 t* a, kbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-30 01:11 , Processed in 0.094255 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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