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

3456 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
+ T% L, W: l8 U' Q( a4 h
( m  q% Y( w9 E3 \6 N) D
  1. 2 a: j- c4 c( ~8 n4 K
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######3 K  `3 ~0 |. Y  T

  3. " \* G+ K6 [+ t
  4. ### What we need ###
    2 y; v9 {' K; y8 m% J2 U+ g- E
  5. Naturally, we will need a MySQL server to store the data for us, this document
    2 }" G# ]! p! I7 S% R  _. a
  6. will not explain how this can be done - there are documents out there for the . K; K0 C7 m9 }- D* W
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ! L) W4 e3 I# ?8 O# a+ ?
  8. and a user account (username + password) that has the permissions to do stuff; G3 l/ o) q# q2 H
  9. with the database. Additionally, you will need a vendor library installed on the
    $ F5 q: L; Y; V; d' C  J
  10. local machine, this came with my MySQL install.. m  n  i1 e+ _; T1 b2 n: r$ X; n( d
  11. These instructions will not tell you how you might transfer your data from the! W. [' p4 x# f! s' {: t+ f
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    & u' `" T( c5 ]9 f
  13. database.
    ' ~' u/ Q! ?6 b" ~- R5 M
  14. Some users have reported ways to import a SQLite database into MySQL, but at. @) t8 o0 A3 Z- X$ C, M
  15. the time of writing, there are still too many issues - check the current status
    1 J0 O8 t! q4 p1 U" P
  16. in the TeamSpeak forums if you are interested.2 k, J) v2 I1 d; X
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    8 {9 N& m  P7 ^6 I9 D/ L3 e* X3 e. |, X
  18. Borland was used. This driver can only interface with the client library that ! K: T" Q& t; U6 q
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this, J& s$ ~+ v1 |+ t- @7 @* Z# W
  20. client library - basically all you have to do is to use a 3.x client library as
    ; y' J1 {: I2 t7 l
  21. "VendorLib" and a 4.x database to connect to.
    1 q9 h* f+ P0 W$ M+ k* B, L
  22. If you need more info about dbExpress, you can contact Borland.; y! F! X5 Z. L* m! g3 z: `
  23. + p) G( b* i& G% J. U& ~* k
  24. ### Doing the work ###2 m! A; ~" e* W, j
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all8 _0 f; T; H4 g0 s; L$ h2 s, c
  26. the perquisites right, just open your server.ini file, and add this section at$ q1 ~0 t, |" G& u& B& [7 f
  27. the end:
    / [3 R4 q' |$ P; s" D
  28. ---cut here---; c# _$ D. Y' K" ?0 \4 K5 v
  29. [DBEXPRESS]
    ' r9 y: \# X+ z- Z
  30. sqldir=mysql_sql
    5 N) S1 ?6 K) |$ j
  31. Drivername=mysql1 _- {) _) v. r2 x8 B- j; u8 P
  32. Database=Your_Database_Name_Here8 E) [( R: ~  L% w4 i! l: |! Q
  33. Hostname=The_PC_the_MySQL-Server_is_on; G2 o2 S) J6 r4 k' Y  u
  34. User_name=User_name_on_the_MySQL-Server
    4 Z: q* h# R' [+ @$ K0 {
  35. Password=Password_to_go_with_above_user_name
    ( p* e/ G2 T; K2 l' c
  36. GetDriverFunc=getSQLDriverMYSQL
    # j2 b; O/ q6 g" |
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    8 P% n# R- Y' l
  38. LibraryName=path_to_libsqlmy_libary( d( C" L% O  ]2 Z5 }
  39. Active=12 D6 J( u% v9 @% C! Q2 X9 B
  40. ---cut here---
    7 l5 |7 M# N5 z7 b+ v- z
  41. In my environment (a linux box with a MySQL server running locally) I have:
    & E# e' H: h% O& B, V- y1 t
  42. ---example---. R7 E) P8 z4 q& t1 t
  43. [DBEXPRESS]
    5 G7 n3 b7 B- Z' \; y* C5 d$ H& y
  44. sqldir=mysql_sql3 X* l; ^4 x, ]- N8 t3 r
  45. Drivername=mysql  J" y; C2 m+ [- u* F7 w8 d+ {
  46. Database=test3 s: {" g/ h- w+ v
  47. Hostname=localhost
    . d7 D% Q+ y! K7 m
  48. User_name=testuser
    5 M1 t% Y! [- ^
  49. Password=my_password
    & b/ [$ |- i) Y0 Z" _
  50. GetDriverFunc=getSQLDriverMYSQL8 j' r. |- l. L7 M7 j' \
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.08 `7 P9 v3 a+ X) |7 A: u
  52. LibraryName=./libsqlmy.so2 E8 Y  H2 L- k% E
  53. Active=1
    9 X2 U. g! n( z0 p# X- m) r0 u1 _6 x
  54. ---example---+ |& a' Y; R: b+ y
  55. . q$ n( R/ ]" Y5 l! V$ t
  56. On a windows box, also running the MySQL server locally, it would be:8 B* R5 U3 O8 x/ Q% ^
  57. ---example---
    # s1 E6 ^! ^" |! q$ T7 j$ J2 C
  58. [DBEXPRESS]5 i2 l; q3 f: t; u2 q  z* }
  59. sqldir=mysql_sql
    $ o7 P: H* x9 ^2 O
  60. Drivername=mysql. s9 y" P2 R! {7 z
  61. Database=test
    8 E% e; g" }, p0 v! r4 V( O5 }6 v
  62. Hostname=127.0.0.1) c/ W! _* q$ f# o& m( C
  63. User_name=testuser5 D7 ?1 v3 n, h0 k# G; p
  64. Password=my_password+ {' s( n1 v. J$ I
  65. GetDriverFunc=getSQLDriverMYSQL; }( E& f& a4 Z- Z; x
  66. VendorLib=libmysql.dll
    , ]) V$ d0 J  V$ y4 w
  67. LibraryName=dbexpmysql.dll
    " X+ k+ y: \$ w1 n3 |  z1 x
  68. Active=1$ ]- y% D: w7 ^2 o6 Z
  69. ---example----
    - Y! k: r# ?& I+ M! K& a; B
  70. - written 02.03.04 by pwk.linuxfan0 b2 W" F7 r' C
  71. ) P! _: ^% i/ j1 a# b
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看% A- x: u6 r) w) r

  1. 3 D) a0 D- ]: z
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### - z5 v3 U$ `& F; d- X/ c

  3. , a/ M4 M5 Z( ?) T  n% ~  _- o. g& O
  4. # # #我们所需要# # #
    " s# E. @7 b% A! n% X5 P
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件8 P- s2 i& X' N4 |/ |" D
  6. 不会解释如何做到这一点-也有文件存在,为3 A' _# n0 K( g1 y# f5 e
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ; ~7 o4 G( \) J, `/ O, o
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    7 B3 N) E7 h9 X! M4 v' N
  9. 随着数据库。此外,你需要一个卖方图书馆安装于6 |- M; b7 p  m, q' M
  10. 本地机器,这是我的MySQL安装。
    - E5 r# r  X% f: O' ^# a4 n7 [
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从: o2 w/ O) ~  o: [# O9 Q5 ~9 _6 h
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    , a* W8 g8 F3 R1 Z
  13. 数据库。 0 _$ D! k" K0 r: F, u/ e
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    , k" x$ r/ L) x' k; e0 E5 X
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    1 s/ Q1 X8 v1 j' l/ ]
  16. 在teamspeak论坛,如果你有兴趣。 $ m! l1 H3 h' ^* J6 o8 ]" M. f
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机9 E* ^, x6 `5 Q# P; W" q' p
  18. Borland公司使用。这个司机只能界面与客户端库2 [  ~2 T6 m9 u2 d- U
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这( z9 V. b1 U/ g. o  C9 f6 }
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为. ?/ M' T( @* O0 @, y0 o
  21. " vendorlib " ,并解数据库连接。
    " B' x& I" e1 n
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 - d( c, ~- q4 l% A
  23. - Q& n; {* N" H( W7 K
  24. # # #做好工作# # #
    # E. r, g% \+ O( k6 e/ W* G( c
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ( P+ D9 M* ^( N* c% ?
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ( y2 g; X& y, i5 l) R. T6 i$ J7 P
  27. 结束:
    : B  n7 l3 u/ w, M  ?: O
  28. ---削减这里---
    5 O- u% c, _0 p( Y, L# f  H
  29. [ dbexpress ]
      ]- d6 S# l- o2 ]- e3 K; \
  30. sqldir = mysql_sql
    6 o4 n/ q" \  F2 l4 Z1 x
  31. drivername = MySQL中& l& I) Z1 q+ o: H( C2 J4 s
  32. 数据库= your_database_name_here ) x! |& n/ k. ^5 v( M
  33. 主机= the_pc_the_mysql - server_is_on 3 Y, q' [9 J6 b  c) n# N
  34. user_name = user_name_on_the_mysql服务器* V4 R8 x, Y. ?' Z
  35. 密码= password_to_go_with_above_user_name / D4 I: c% }$ p6 W, [7 B
  36. getdriverfunc = getsqldrivermysql
    6 ]( g- R; Y/ p! T- l$ {+ `
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 1 v% S, o* S0 E" R
  38. libraryname = path_to_libsqlmy_libary ! k7 c4 ~' Y! A& q6 I0 T! ^
  39. 积极= 1
    * C2 k! e# _  W/ O
  40. ---削减这里--- , {6 A* n: B! s& _
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: * O4 U9 N0 ^# t; D4 H
  42. ---例如--- ! {$ [' ]9 I5 h- z
  43. [ dbexpress ] 3 N1 i' d; i4 i; ?! z4 S0 a* k5 j6 N
  44. sqldir = mysql_sql & ?% H/ p1 b( l) M
  45. drivername = MySQL中! D1 E( z! ~! x! K% `8 m& J9 h
  46. 数据库=测试
    , ?6 e1 i. p' Q" Z8 V% i
  47. 主机=本地主机
    9 N2 R" j. o" z# r: F, h
  48. user_name = testuser
    9 k# i  E/ y2 j2 r
  49. 密码= my_password
    0 E+ x3 t, a% l9 {
  50. getdriverfunc = getsqldrivermysql 7 ]; K) t7 X) \% J* X  b. \1 r
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 1 F* |! b: t" g- r; ], e
  52. libraryname =. / libsqlmy.so 1 H- r; D; H+ Z1 _" u
  53. 积极= 1
    2 s' f0 S! r; y& P8 l2 C" n* E
  54. ---例如--- 4 H: h2 o1 g2 q$ R8 k8 Y9 d. ?
  55. : N5 m# S- [0 u/ {# j( t
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    / Y4 D/ _) }! n+ K6 w  A
  57. ---例如--- 6 L7 M/ J' ]5 J' Q7 `
  58. [ dbexpress ]
    ( c# a8 n% k) I1 H
  59. sqldir = mysql_sql ! X6 L) K% l. [' n& e  K. m
  60. drivername = MySQL中+ w. r) u* ^  e. l' z$ b+ U
  61. 数据库=测试/ N) u9 t7 p: p# X
  62. 主机= 127.0.0.1 / Z: J- F" N! F0 u( O! E- ^7 r( y
  63. user_name = testuser
    - S$ k- s* @' ]9 Y8 [
  64. 密码= my_password 2 m% @3 |$ I5 d# r* v  B
  65. getdriverfunc = getsqldrivermysql
    * n% ]( {" H( {$ |- t
  66. vendorlib = libmysql.dll在  O( e: e$ N5 G! B3 X3 l6 K
  67. libraryname = dbexpmysql.dll
    ( S) L9 H  j! m  n
  68. 积极= 1
    4 F1 r1 @' D& R% O4 A
  69. ---例如---- 9 A. Z, \. Q+ Q; _% |. u0 i/ f% ~
  70. -写在0 2.03.04由p wk.linuxfan+ j" l+ {( N, \' j  [, 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 words1 X7 a( v: @3 y# A: y3 H6 \6 J
/ C5 f6 h) o% t
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-31 22:07 , Processed in 0.060138 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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