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

2255 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
5 b, o: Q; ~& L) f# {8 U5 n
0 ]# W& R6 M" H8 ~& ]1 s5 u

  1. * @5 H4 f1 N2 G1 c6 a1 A
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    - z. n+ J( w5 M# _+ C$ E6 G/ i5 j  B

  3. " W6 R% R* v4 B
  4. ### What we need ###
    ! C* @3 E% V! R) g
  5. Naturally, we will need a MySQL server to store the data for us, this document ( H- w; K$ r% H
  6. will not explain how this can be done - there are documents out there for the ! a# P3 C+ ]1 `% ?
  7. interested. The requirements include a (empty) database for TeamSpeak to use# F; a# t6 f0 i2 c+ r% ~) N
  8. and a user account (username + password) that has the permissions to do stuff
    + o1 {; \/ \  P! S) e
  9. with the database. Additionally, you will need a vendor library installed on the  ?1 V9 a3 t6 ~) ?3 k
  10. local machine, this came with my MySQL install., _0 M! {8 D- o
  11. These instructions will not tell you how you might transfer your data from the" I2 D' Z$ q% c$ T, ?
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ( t8 }* h- g. b6 Q: @0 A
  13. database.  O; W* F$ v+ y/ F& v
  14. Some users have reported ways to import a SQLite database into MySQL, but at( r0 C2 a' \" O! V  r8 z
  15. the time of writing, there are still too many issues - check the current status
    2 ^1 m6 i/ Q# O$ X: Y# x( z
  16. in the TeamSpeak forums if you are interested.
    , R' w, n3 `0 U- E$ V
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    $ r: ]: n% n0 n- O/ {
  18. Borland was used. This driver can only interface with the client library that
    4 p, `/ g) l  l$ S" a$ ]4 Q
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    & R  F* q5 T( I7 g/ g0 M- D" m$ E
  20. client library - basically all you have to do is to use a 3.x client library as 8 B$ b; S# p) k% p- c; q8 }. W) n! T
  21. "VendorLib" and a 4.x database to connect to.
    3 ?$ c; r( d, v( Y2 o
  22. If you need more info about dbExpress, you can contact Borland.
    2 x& d$ N( ^$ J. S2 d
  23. 8 s; x0 K0 h; F
  24. ### Doing the work ###5 M$ N8 S3 f# J# j" s( J
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    : J2 P! H$ k; c) y
  26. the perquisites right, just open your server.ini file, and add this section at. u' R1 {0 ?1 e9 b& n% n
  27. the end:, p: N! D* l6 }& M) y$ n
  28. ---cut here---/ C0 z/ t6 n1 \9 i: F" K( R. k
  29. [DBEXPRESS]4 M5 M3 P5 b& K* W
  30. sqldir=mysql_sql
    * w7 x7 o7 E% K+ t# y& R
  31. Drivername=mysql3 Y* n4 C+ X; {
  32. Database=Your_Database_Name_Here
    2 c. M9 |  G6 S$ G$ \0 {0 k
  33. Hostname=The_PC_the_MySQL-Server_is_on
    / o( @8 B, O+ c. s% q: U
  34. User_name=User_name_on_the_MySQL-Server( G. j( B- Z. G, _
  35. Password=Password_to_go_with_above_user_name& C# w' L. F3 E3 T$ ]
  36. GetDriverFunc=getSQLDriverMYSQL3 I3 D* i; h1 N
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib" X! d& P8 T5 R% e& O( {* ^
  38. LibraryName=path_to_libsqlmy_libary
    3 s9 y& [3 M5 Z7 l+ L! k5 _3 A
  39. Active=1
    # V# b  H* m$ \$ J0 j, c
  40. ---cut here---2 v! j% M& O" H" \! b0 H4 j' `" {
  41. In my environment (a linux box with a MySQL server running locally) I have:" W# k0 U/ u9 w0 Y9 R* G( q& T
  42. ---example---+ L6 z6 z6 f; b/ n- l, a  _
  43. [DBEXPRESS]+ J# q6 m. l/ i) M7 S# @) f4 N
  44. sqldir=mysql_sql0 q# L( I9 x* D$ L' _
  45. Drivername=mysql
    ) t1 I: F# M6 Z/ l
  46. Database=test
    9 {; |! S& v) X1 n+ `% b
  47. Hostname=localhost
    , x% E% e/ c/ h, `9 a. @
  48. User_name=testuser8 _! w  [- u: Z8 o( `) G; [
  49. Password=my_password
    7 B9 v2 r7 \& G, l
  50. GetDriverFunc=getSQLDriverMYSQL; j  Z" C4 G( U5 u* o! s5 g9 P( B% }8 }
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    - ^5 }1 U0 u! p, n' ?8 Y5 j3 {
  52. LibraryName=./libsqlmy.so
    * Y, R; Y" A) j! F- _7 x
  53. Active=1( ?+ k" [1 A* F7 i- t  M! B( E
  54. ---example---
    ! P/ C5 l# O; G- I9 F9 H$ N

  55. , q5 C& ~  c) `) V1 E3 @5 q
  56. On a windows box, also running the MySQL server locally, it would be:8 j" b7 k& j$ x" I2 A
  57. ---example---/ p6 V: `2 @; u
  58. [DBEXPRESS]. J1 ]# L* w) a* g' ^$ d; T
  59. sqldir=mysql_sql0 E& B2 T2 j' e* w
  60. Drivername=mysql
    " M3 {$ `  h2 J7 M' p1 O, x
  61. Database=test
    & ^3 {$ u, x; ~
  62. Hostname=127.0.0.13 k" l) }4 K" M. f* R7 @/ i1 s1 |/ }
  63. User_name=testuser
    : i# z& r' ~% ]  H% n
  64. Password=my_password' A' ^% d" H; n- R1 O
  65. GetDriverFunc=getSQLDriverMYSQL4 c7 K% M% ~6 a0 p/ J' R
  66. VendorLib=libmysql.dll
    $ B5 V) Q+ p, R/ z7 b$ M% k
  67. LibraryName=dbexpmysql.dll
    9 `5 Q% x3 g* F& J0 F9 J4 j
  68. Active=13 o6 a  m. J6 I7 ^& Z
  69. ---example----
    1 C0 l6 p0 }" K" I+ G# l8 D4 E
  70. - written 02.03.04 by pwk.linuxfan
    ) v! G' s$ X+ }

  71. ) t8 N. K3 r+ [) |
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看4 K8 x3 P' U0 [
  1. , s1 m. u" L0 R5 |  J
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ( `% D$ y$ C4 f7 i, w. x

  3. 2 G' t9 C" i# i, Y, k
  4. # # #我们所需要# # # & D0 n; ^$ O4 C/ q. q
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    3 {$ b1 Y) U; t; N" D; U
  6. 不会解释如何做到这一点-也有文件存在,为5 W. q3 H6 f3 [8 I+ `
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用) z+ g. k8 {. v0 k7 g8 ]8 ~
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
      V2 i% ]) K# C: I% f
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    9 b$ A( @8 X8 a$ _- J
  10. 本地机器,这是我的MySQL安装。 . u3 M5 s; ^- i0 }: Z% n6 m. U
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从8 e& E$ q) f4 ^, z- ^/ p9 y4 l
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 8 b7 m) Q  i: a% }* ]; V
  13. 数据库。
    + x- z& x; u( r5 |; T. {
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ! F+ k6 i2 M8 m
  15. 编写本报告的时候,仍然有太多的问题-检查现状. r- ^, G+ N6 H; C9 s+ U! P( U
  16. 在teamspeak论坛,如果你有兴趣。 + s2 P% a3 t$ T+ R2 u  R, `6 Z' k
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ; x+ ]3 b/ }2 c; l7 n: p5 J
  18. Borland公司使用。这个司机只能界面与客户端库* z8 {% e# _' v/ s  B
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这  x. H" Q& Z' r; X
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    $ z* O1 L* x3 V- g" ?& _
  21. " vendorlib " ,并解数据库连接。 , \8 M2 N  y( I, z6 S% C; k. p
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    : N% [: ~- d+ O- t% U- Y& g

  23. ) V4 V/ k& R+ I1 T, W; F/ e
  24. # # #做好工作# # # + X4 K; N# ~+ h: u& ~  |
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    " X7 Y* c0 a% [6 \! P1 F4 t
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在9 c9 g, n: k. k/ r7 j9 h
  27. 结束: % a( k( ?8 @- l: ^! U
  28. ---削减这里---
    ( ?0 Q0 y' r3 L/ S; y7 H
  29. [ dbexpress ]
    : p, p8 V0 p3 M$ l8 t; Y
  30. sqldir = mysql_sql
      M$ x; K: [+ K. o$ e+ [
  31. drivername = MySQL中
    * q/ t8 H6 y) ?9 J
  32. 数据库= your_database_name_here
    " t; `0 z2 b1 O0 Z
  33. 主机= the_pc_the_mysql - server_is_on ) W6 m' C6 W" ~
  34. user_name = user_name_on_the_mysql服务器( d$ u& j  `* P: m1 |  p6 E
  35. 密码= password_to_go_with_above_user_name - }$ P/ x  D" Q* Q
  36. getdriverfunc = getsqldrivermysql ( W2 m* d! |4 j$ W9 a
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib & _5 `" g+ m+ ~" d' H0 o; Q5 _2 ?: I6 O
  38. libraryname = path_to_libsqlmy_libary # G, G) I: |  `# h
  39. 积极= 1 + Q2 b8 d5 R% q- B  L  @) w8 t
  40. ---削减这里---
    - {4 {1 [* F6 P7 U
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 3 C! F4 ?) x5 r% G4 @
  42. ---例如---
    , }; L; u% H" g( j+ D1 k
  43. [ dbexpress ] 9 K: X9 ^! d( }2 Q# U9 U+ A, t
  44. sqldir = mysql_sql
    % `9 H0 r$ I. d
  45. drivername = MySQL中
    / I% h( U' D' g( d
  46. 数据库=测试. p$ y4 K; I1 J& U2 l
  47. 主机=本地主机
    ! S; X7 c7 t/ X8 v0 \
  48. user_name = testuser
    # q) W5 v7 b& P, Y0 `0 e/ W8 B, w. q
  49. 密码= my_password
    7 S- @  h: {" k
  50. getdriverfunc = getsqldrivermysql % J. n6 x# a( B  [2 y) [* u
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    , g) z- R- x: ~5 a" c% H9 t
  52. libraryname =. / libsqlmy.so
    0 I* q$ _$ q; \9 ^8 [& k
  53. 积极= 1
    0 m8 V9 _# ]- G
  54. ---例如---
      G5 s+ h% ?& R: e

  55. , ^- r0 i1 \2 h" F# F
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    : @# b" ]. C( f' ]- c
  57. ---例如---
      B* }" z) l3 a0 I5 t
  58. [ dbexpress ] 7 K" }4 t; _, E) U$ ^
  59. sqldir = mysql_sql + D6 g: X) v# @+ q
  60. drivername = MySQL中
    * V- A; F2 l) }/ m
  61. 数据库=测试, l8 J1 H3 s6 M1 J/ C6 Y  N( P
  62. 主机= 127.0.0.1 , Z9 j; I( t# \
  63. user_name = testuser , R5 s" J: m" W: y  O9 N
  64. 密码= my_password 7 u% v% U7 [, Y' c
  65. getdriverfunc = getsqldrivermysql 9 R( a( X; Y; d* U- W, L6 f
  66. vendorlib = libmysql.dll在
    8 f1 w) y. y9 Y0 r
  67. libraryname = dbexpmysql.dll + {7 H) z6 B. O3 S* R/ s; y  v
  68. 积极= 1
    8 {4 G* m7 r  O" W0 u: `
  69. ---例如---- % {: ]5 M& W4 T. D7 }6 s" X: T
  70. -写在0 2.03.04由p wk.linuxfan3 Y3 i4 \9 J+ u9 n/ v
复制代码
发表于 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% Z$ u# l' K" C" I( v

4 a% ]3 K$ L& {( W3 y9 _but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-1 23:55 , Processed in 0.103757 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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