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

3549 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
7 q$ L: P' Z1 x! u; V% h
& N: R0 O0 ^7 F! i, c# ]

  1. * n6 Z( L% P1 n/ q
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    # Z# s: C3 D$ p" U
  3. : N7 p! L$ T" ]0 P; R# }8 a2 ?
  4. ### What we need ###  _9 Z1 `- k) C; c/ b6 U) ?
  5. Naturally, we will need a MySQL server to store the data for us, this document
    1 w4 `8 g+ j: l2 y
  6. will not explain how this can be done - there are documents out there for the 5 Z. S- s, u0 e# z
  7. interested. The requirements include a (empty) database for TeamSpeak to use  g4 u. T* ^' u. \, s- n0 [: J/ K
  8. and a user account (username + password) that has the permissions to do stuff9 G# Z. t( b: O, Z
  9. with the database. Additionally, you will need a vendor library installed on the
    , T, [5 q( w+ y/ B) s% v4 B
  10. local machine, this came with my MySQL install.
    , _& U: M6 O% D1 D+ a9 D& y6 I
  11. These instructions will not tell you how you might transfer your data from the
    6 @" {/ I- J/ y7 z4 w
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    * J: g# O( ?  f5 Y" ]* D2 r8 Y
  13. database.3 \  U+ R3 J/ ]& _
  14. Some users have reported ways to import a SQLite database into MySQL, but at% B$ y% {9 [: q% g4 w( f( X
  15. the time of writing, there are still too many issues - check the current status
      U+ a* C5 J7 A$ v' K
  16. in the TeamSpeak forums if you are interested.$ v3 w0 B6 E: l7 n- }* `# |
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from( M! W  `- U$ T6 V. B
  18. Borland was used. This driver can only interface with the client library that ; i$ P3 a/ \5 |; _/ D( j- O
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    & Q! M+ N. ]+ R, N# M* ?
  20. client library - basically all you have to do is to use a 3.x client library as " m. q* t" g0 }* |" C6 F$ B
  21. "VendorLib" and a 4.x database to connect to.
    9 H! x9 _' b1 a' J" M. i  u! D
  22. If you need more info about dbExpress, you can contact Borland.& Z% g5 C  t0 G

  23. - }; k9 T1 {6 b# J& b$ L! \0 K+ m' y
  24. ### Doing the work ###
    * r' G* o% @+ S$ }# p
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all/ m- y1 C% g, J4 |, P. `# b! [- \
  26. the perquisites right, just open your server.ini file, and add this section at6 L) `8 y5 a! q0 v& N" b3 z0 J3 ~6 m$ j
  27. the end:0 K8 b5 c  G3 {& ^
  28. ---cut here---  |- h& u+ c7 V8 A6 Q! T
  29. [DBEXPRESS]4 P& z7 O, y+ d$ j8 ]* z" G) s, E, Q
  30. sqldir=mysql_sql1 d$ d" y0 O3 b0 H) n( ?
  31. Drivername=mysql9 X6 {% \, r% ^
  32. Database=Your_Database_Name_Here
    . [' ?8 T9 w# O
  33. Hostname=The_PC_the_MySQL-Server_is_on
    4 X6 `/ Q- B8 n- x9 @
  34. User_name=User_name_on_the_MySQL-Server
    3 J6 g$ s. s1 ?3 P6 {
  35. Password=Password_to_go_with_above_user_name: A; I% m/ O- O* U+ _1 C- e: h% c
  36. GetDriverFunc=getSQLDriverMYSQL% I9 S' v; ~8 h: g- G
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    9 l: Q- C; w6 p5 [3 y4 @
  38. LibraryName=path_to_libsqlmy_libary4 a; G5 H( t* }- s
  39. Active=1
    - @( I: C( A$ z3 G" |! E9 n; I
  40. ---cut here---
    * c0 P0 j4 ?* A* i# ]: o
  41. In my environment (a linux box with a MySQL server running locally) I have:
    2 f) ?  p% f# V
  42. ---example---2 J: J7 F( J, D/ T
  43. [DBEXPRESS]
    # b' k. ?) {- @9 n! ~, t% k
  44. sqldir=mysql_sql
    ' m" H7 C+ Y% Q: r/ T( Y
  45. Drivername=mysql
    5 k% u  P. k- i# w
  46. Database=test6 H+ {3 E7 x0 t8 b% O7 d! h1 |
  47. Hostname=localhost
    & u* Z5 r! L3 E3 z5 Y3 m4 _. B9 e
  48. User_name=testuser# A. ^$ M# u  K' k# V
  49. Password=my_password
    . }8 i7 y, h% F3 W9 e6 j* P
  50. GetDriverFunc=getSQLDriverMYSQL3 A. L  h) P( g1 J& x* |3 j
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.01 u) W7 N( I5 Z- k
  52. LibraryName=./libsqlmy.so
    & ?1 r  U/ u3 V  i* O! T  [2 T0 o
  53. Active=1
    % q7 w. l, a( [4 L2 a  K
  54. ---example---% a2 a8 w, X9 {) n6 z

  55. 9 I( Q: Q' o) u2 a/ g! `9 Q
  56. On a windows box, also running the MySQL server locally, it would be:
    # [0 n8 ^* M& F* \6 O* d; p9 t
  57. ---example---0 k% |9 v" Z" T+ c( p
  58. [DBEXPRESS]
    ( P3 E! }. R4 e+ w8 e" {; K/ I, x
  59. sqldir=mysql_sql/ I; W: R# U/ U. a! A5 Z& o4 W! V
  60. Drivername=mysql$ B! l8 l' Z7 @
  61. Database=test
    3 ~1 B! f8 _1 {4 A3 `6 I+ W0 o
  62. Hostname=127.0.0.1
    $ g5 D' g1 {3 ?& }
  63. User_name=testuser3 Z  m* j; V( t4 \
  64. Password=my_password" ]' v- y9 U. Q+ v
  65. GetDriverFunc=getSQLDriverMYSQL5 D+ p* A# v/ c' e
  66. VendorLib=libmysql.dll
    1 ]5 n1 K4 X! m
  67. LibraryName=dbexpmysql.dll# G0 Y, ~, L5 I$ e: b
  68. Active=1
    $ l6 ~/ T, I" U6 s2 u# [; v
  69. ---example----
    . x* C( h# R. Y$ s
  70. - written 02.03.04 by pwk.linuxfan( l$ @9 a9 w! H5 h3 R. |% r. L+ l9 N
  71. 1 K4 L4 I! i# Z* @! Y9 l5 u. N
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
4 D( s9 z" y/ `8 n! k' Y& Q" R) o
  1. 6 `  b; S- P) Q' ?$ X4 h+ U
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    % _9 C* V! p; N: ]* t% u, l! r+ ^
  3. 1 A5 i9 w4 z9 L4 y- {9 g
  4. # # #我们所需要# # # 7 ~' k% |( f  d; M$ J
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件) J. w4 n6 r( Q& `
  6. 不会解释如何做到这一点-也有文件存在,为! j% o: q* |# B% W
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用" z- F" X  h2 T0 v9 j# P6 |* w
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西4 T: \* X0 f$ Z9 \
  9. 随着数据库。此外,你需要一个卖方图书馆安装于9 M/ q4 y" g3 q! e
  10. 本地机器,这是我的MySQL安装。
    " S. K1 o+ I; w- }( T( k
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从& V% x. B6 \. g. J3 E0 V" |
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    . ^5 t% S% Y+ u8 ]% R# h# Y( Q5 b
  13. 数据库。 $ i9 O) |* [9 ]; ]" u% _
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ! a4 ^# A9 @/ ]0 A& X
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    . j1 m5 f4 ?7 g  X/ `8 d4 x( p
  16. 在teamspeak论坛,如果你有兴趣。
    * Y7 l# |3 d, c# s
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ! v8 b8 s+ v& O: W
  18. Borland公司使用。这个司机只能界面与客户端库
    2 ~3 U0 j& l4 x+ R2 B# j: W% T
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    , {2 |4 s: v  D, U; s. L7 i7 E/ C2 f
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为! Q% R9 W' {+ a* y! B
  21. " vendorlib " ,并解数据库连接。
    . o- p  w5 Q" T8 ?: T+ I
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    0 @" P4 P; r) {7 f4 z, g

  23. ! _: i8 a$ l- N9 e6 l( U8 `" ^
  24. # # #做好工作# # # ' V5 P5 R8 `: ^2 ^- _6 z
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    8 Y  x- p# [% t4 h) h. e- x: m
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在5 f) Q* M- P1 @4 @
  27. 结束: " P, s- k8 y* i6 W( f
  28. ---削减这里--- % P: p1 X3 F2 G; z3 B
  29. [ dbexpress ] 0 N3 L" G) ^' O4 \; o4 d
  30. sqldir = mysql_sql
    7 L" u9 T, Z& }( d7 I# B' N; A
  31. drivername = MySQL中7 n" J0 _/ W4 ^, ~7 Z
  32. 数据库= your_database_name_here . f2 Y7 \% V) {8 Y$ x# w+ t; p% o
  33. 主机= the_pc_the_mysql - server_is_on
    6 T1 n, [% v+ q$ {7 w7 N
  34. user_name = user_name_on_the_mysql服务器
    ) b0 o) @0 w" n) H+ o
  35. 密码= password_to_go_with_above_user_name 5 A& @$ Q0 X3 f9 d- o1 P1 J$ C
  36. getdriverfunc = getsqldrivermysql
    ) M% g3 s/ O3 |( }4 H' a) o7 ]. _
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib & \5 G! ~- u2 w4 k
  38. libraryname = path_to_libsqlmy_libary
    9 R, ^" P2 r  X( ^4 ]$ d
  39. 积极= 1
    3 _4 H4 k7 v) k3 G! N8 [$ C
  40. ---削减这里---
    / |) X8 L1 u' J" E& i
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    $ }' Y" f  [  f& q* x: G# T
  42. ---例如---
      Q$ B; _  }9 g) X: [
  43. [ dbexpress ] # d7 J: H, l7 I
  44. sqldir = mysql_sql & e9 P) M" k" d" K) h
  45. drivername = MySQL中1 h+ P' P' Q( Y  \' y
  46. 数据库=测试
    5 s- y: b+ D" }7 `4 r  m( F
  47. 主机=本地主机
    0 B) t% x  P8 q1 U+ ~# w7 z# N2 k' g8 I
  48. user_name = testuser
    * d5 d9 @+ _* |. U: W0 f
  49. 密码= my_password , G7 v* o- F# r/ U. w3 P
  50. getdriverfunc = getsqldrivermysql
    1 g  k; F+ }  Z# a4 C$ D% b. ], \1 y
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ( E" y) ~) _1 L5 K! J, `
  52. libraryname =. / libsqlmy.so
    0 M" L, H2 T8 t. ^6 B' E* b( r
  53. 积极= 1 9 h/ M# q9 t; Z
  54. ---例如---
    * G" N" U- |$ A, _7 U
  55. 2 l" ~1 }+ C- k* M+ _/ H1 G7 ~
  56. 对Windows中,也运行MySQL服务器本地的,那就是: : @6 h2 @- k( o: p6 }
  57. ---例如--- 2 L+ W9 u4 ~' x# d' h
  58. [ dbexpress ] . [; c% T/ c; q
  59. sqldir = mysql_sql . g6 J$ r7 F3 O
  60. drivername = MySQL中
    $ V2 l. C" T+ s4 U$ G2 C
  61. 数据库=测试
    ; j. q# K# w3 g6 C, c. r- H, X
  62. 主机= 127.0.0.1
    ) W$ W0 z$ c3 B- W3 R
  63. user_name = testuser
    # f/ G/ L1 @+ C$ d
  64. 密码= my_password   j6 g5 @* ^* |  M- q/ t
  65. getdriverfunc = getsqldrivermysql
    + K9 v" i7 s8 f: b- b3 `' c6 y0 s
  66. vendorlib = libmysql.dll在$ M% z4 U4 m( e# h2 Y* A( V
  67. libraryname = dbexpmysql.dll 4 [3 V4 Z  h& O0 r
  68. 积极= 1
    * ?) `/ Z+ K+ k* X. u( }/ @
  69. ---例如----
    : W0 f8 e4 C! X6 Y) \
  70. -写在0 2.03.04由p wk.linuxfan# r9 _( L7 s' @) s9 R/ [- i! h) y0 _  ^
复制代码
发表于 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, M* H0 A' g1 r2 B3 M: i
8 p' @: w+ E& ^( I# D2 k
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-22 05:35 , Processed in 0.069421 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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