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

2517 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
& d2 s/ [+ }. T6 b. ?7 s0 w
$ R* a& j/ ?# d. O
  1. ( g- ]$ {' O, u$ u
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######: G1 `) o$ K, N) f5 O. b

  3. 3 [& }6 S& V" U: Z* H* `8 a
  4. ### What we need ###
    0 ^! z. F/ Q$ Q! u. z
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ; q! h8 V7 B# R' _6 i; F# r4 u
  6. will not explain how this can be done - there are documents out there for the - v8 m9 {7 _2 @
  7. interested. The requirements include a (empty) database for TeamSpeak to use, ^4 d$ B$ G' _& P( _
  8. and a user account (username + password) that has the permissions to do stuff* g& V5 |" [# M
  9. with the database. Additionally, you will need a vendor library installed on the+ ^5 k  W; e, l7 G! ]4 ~- Z
  10. local machine, this came with my MySQL install.
    2 P+ |* X  Q( n8 D( A
  11. These instructions will not tell you how you might transfer your data from the+ Y8 |1 O* j! G/ }8 q2 F8 \
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL! s* {6 ^8 ~8 Y/ Q  q- T: x
  13. database.
    . V$ G  A, K5 e
  14. Some users have reported ways to import a SQLite database into MySQL, but at! ], T6 O1 Y) G& l
  15. the time of writing, there are still too many issues - check the current status! q0 Q8 J  ^0 _) E, U
  16. in the TeamSpeak forums if you are interested.. g2 P2 M" A: c, E( P
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    + t9 l# ~3 J( L4 E* w
  18. Borland was used. This driver can only interface with the client library that $ C/ J) P8 k; O8 J$ [, Z5 Z% y3 F
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    4 C1 ^4 c& M+ |  c" K4 P
  20. client library - basically all you have to do is to use a 3.x client library as 3 g0 T' a% @/ a. |# S
  21. "VendorLib" and a 4.x database to connect to.+ c" h1 }7 r8 Y" F, Z
  22. If you need more info about dbExpress, you can contact Borland.$ F4 J9 s+ _9 {( c
  23. 9 H% Y3 \) C# a& K3 h, J
  24. ### Doing the work ###  ?9 q6 O5 r2 X1 w( C. Y' Z
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    * {  I) [/ S# ]# n2 d3 N7 F  L
  26. the perquisites right, just open your server.ini file, and add this section at
    3 \9 V+ Q6 h8 G' x
  27. the end:( g& J  c. M( c$ o3 I! _
  28. ---cut here---1 N: f0 s! Y( x( F8 i, X8 j8 k
  29. [DBEXPRESS]
    8 Y( G; o" c# U$ |/ g1 Q
  30. sqldir=mysql_sql
    : w. H& K9 }' A( Y0 c
  31. Drivername=mysql
    ! g* ?- i5 U! V% Y7 \9 @
  32. Database=Your_Database_Name_Here0 j5 T; a. I0 x* `! p. I5 n
  33. Hostname=The_PC_the_MySQL-Server_is_on& h: A9 Z7 J3 x4 t: W& O# b
  34. User_name=User_name_on_the_MySQL-Server
    3 {3 r. U% ]- [/ I# R
  35. Password=Password_to_go_with_above_user_name8 x1 j3 U) m" m  B
  36. GetDriverFunc=getSQLDriverMYSQL
    1 ]7 R) D' R- C  V- t. `
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ; j5 V! X1 s6 J0 U9 L! N
  38. LibraryName=path_to_libsqlmy_libary. n- ^' R9 b" E
  39. Active=1
    " L4 w- T( z3 \! Y% a
  40. ---cut here---
    - m9 o( x  @6 T7 O+ g0 d
  41. In my environment (a linux box with a MySQL server running locally) I have:% k4 O9 ?5 C4 x; i9 K
  42. ---example---
    ) z) f9 Y& {0 [$ T2 p/ B) [' d2 B
  43. [DBEXPRESS]
    : b& I, \2 g. ^1 g: Y! c
  44. sqldir=mysql_sql
      r3 L/ `. L# r0 ~3 J) n8 {2 X
  45. Drivername=mysql9 x! m5 g* v2 j5 z% p2 C
  46. Database=test8 b2 }% B% d* j
  47. Hostname=localhost
    $ d" r& q! ^$ z& }
  48. User_name=testuser1 ?7 Y* N0 x0 J) {: _4 m' r+ z8 s
  49. Password=my_password
    1 T6 }% R. m4 b2 w& x
  50. GetDriverFunc=getSQLDriverMYSQL: r/ _8 p5 _0 E- d: v
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0* E% L, A* @5 n6 G6 E. h2 y
  52. LibraryName=./libsqlmy.so  ~, {4 y* T0 r% X3 ]: Q
  53. Active=16 m8 W/ @- g, u7 g
  54. ---example---2 C7 S/ X+ D8 j% ~! H

  55. ) n& z/ e4 \+ w2 l% C" t' o
  56. On a windows box, also running the MySQL server locally, it would be:3 k5 ^8 O% s, v$ j9 z5 y
  57. ---example---
    8 f4 K4 w, _+ t7 O3 {
  58. [DBEXPRESS]
    % y' h& R- {" e: T0 ^
  59. sqldir=mysql_sql* |" Y: T6 e5 s3 e6 T
  60. Drivername=mysql6 P# k5 p# J/ s; n. e  J  d
  61. Database=test* z- h/ L$ s. _
  62. Hostname=127.0.0.1: T8 v# o) g+ _' ?  J  p
  63. User_name=testuser
    / z0 x# o$ n) L5 c4 e
  64. Password=my_password& F4 \9 W4 e- ]. t! i& |. D
  65. GetDriverFunc=getSQLDriverMYSQL
    8 d8 M  B  ]1 T& z6 ]( {% K" \& o
  66. VendorLib=libmysql.dll' V' j1 [5 U) o* H) [
  67. LibraryName=dbexpmysql.dll$ ]2 }) F; M. U& Y% t
  68. Active=1) g) T8 W1 c- @8 j- L( g! A& C
  69. ---example----
    + F8 q! L% {$ C1 z7 U
  70. - written 02.03.04 by pwk.linuxfan3 w! v: {" [: J7 N* A

  71. 5 X; l; g' W0 d' G7 {6 l6 F2 r3 P9 v/ V
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看" l# r' z* G1 {/ \1 a- F- Q

  1. & T2 n5 ~& r4 m8 p1 K6 ?4 g" o; k
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    1 U- r* e$ n6 l! @4 J
  3. 8 Y9 f/ U7 g( A6 t# h
  4. # # #我们所需要# # #
    2 V+ _, |/ Q) [$ f9 i* T
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ! h  h, Q& d, J0 Q
  6. 不会解释如何做到这一点-也有文件存在,为
    5 L# L$ q" o4 z6 k; t! v: X
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用1 W  r6 S+ W0 _: R
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    4 i8 a: F* e8 D- B+ m& L( l# d
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    & u8 e/ O$ @) {1 d0 h0 v9 o- G# ~2 j
  10. 本地机器,这是我的MySQL安装。
    : `( B9 ^0 L: k  p* p3 X1 Y) q
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从) o( |) e- f8 q0 H. L' n* M
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    7 h& F2 {" s- N. H: ]
  13. 数据库。
    $ l- k( I6 s, z8 ~) s
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在0 I7 x3 Y* ^* ?& F- m' R
  15. 编写本报告的时候,仍然有太多的问题-检查现状) \+ x# H! y" I& B# U% B
  16. 在teamspeak论坛,如果你有兴趣。
    + v# z. x) S, r- a/ w! C- p
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机# n  n' c- W9 L1 I7 d  S
  18. Borland公司使用。这个司机只能界面与客户端库
    0 r  g+ d" M' a( H
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    0 e: |0 }& R# `, x3 v% x" |
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ! i8 s9 W9 ^  c* R, N' r
  21. " vendorlib " ,并解数据库连接。 ! a$ g$ G' n3 f2 h, i+ t
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 , O; N+ \( \/ A# t
  23. - ]0 s* V: l2 N( m1 \# c  K# f' \; Q
  24. # # #做好工作# # #
    4 o" `4 [  g7 q/ ^' m: }0 l
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    1 a$ R, L3 ]2 g. D
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    + N3 b7 r( j) Y* x
  27. 结束:
    5 I8 B- f' ?2 j
  28. ---削减这里--- 5 r2 r6 b7 |9 l* }4 l
  29. [ dbexpress ]
    ( G) Y# B4 h9 |, a' d$ r/ u
  30. sqldir = mysql_sql
    ( d! i( d, b$ S6 a4 x
  31. drivername = MySQL中2 u% g3 B, i: E* x
  32. 数据库= your_database_name_here
    : M( d  t( }" q
  33. 主机= the_pc_the_mysql - server_is_on 1 S; m$ [7 j( c. V% t
  34. user_name = user_name_on_the_mysql服务器/ C: ]( B4 O1 q* \) A
  35. 密码= password_to_go_with_above_user_name 7 c, ?8 r1 x4 l, H3 S* C
  36. getdriverfunc = getsqldrivermysql
    ' ]0 s* f" b6 I/ y0 Z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib " {! X3 }* h. ]2 y0 E
  38. libraryname = path_to_libsqlmy_libary
    / b/ q% O: W3 n# R0 L( N0 w* h0 k
  39. 积极= 1
    & `3 w! q; t% L, e
  40. ---削减这里--- 4 B, g$ W5 z( z
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    9 A. V6 {/ }/ W# b% U
  42. ---例如--- / s' z' w/ m" M4 q2 x* v; T- Q0 c
  43. [ dbexpress ]
    7 v$ r* E: S! H7 j
  44. sqldir = mysql_sql # C+ \; S" I- Q0 x. M5 n  K! E
  45. drivername = MySQL中. l- U* \& s% a! G! |" _; Y( A
  46. 数据库=测试2 x7 u2 _. w) A4 c
  47. 主机=本地主机
    $ H* c5 R% d5 V: m
  48. user_name = testuser 3 l6 F: r% d+ I% e8 W
  49. 密码= my_password 4 n. b& q7 I  w5 e( n2 \
  50. getdriverfunc = getsqldrivermysql
    5 x4 r5 c) L; n6 |0 j4 J* x( T
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    # r% v: l# h$ u0 E, B
  52. libraryname =. / libsqlmy.so 9 A, d5 h- S' ?9 s; N: N
  53. 积极= 1 2 W  ~- H& t2 Y1 \: l/ X8 D6 \$ f
  54. ---例如--- ; z) m4 L/ i6 ]; l7 f. T
  55. " Q0 L8 k8 q! V( r- o; ]
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    4 o: h! b  r' _6 Z( t  ?/ ]+ ^
  57. ---例如--- ! n1 o" T8 Q; L. x; Q2 z1 V
  58. [ dbexpress ]
    4 B6 u. |, t# \# |+ f  t* {) y
  59. sqldir = mysql_sql
    1 j; u4 J$ K! l  E
  60. drivername = MySQL中* z5 ^4 G5 O8 ?" J7 p9 M
  61. 数据库=测试
    $ m* ]! k! o' c+ w, I! H
  62. 主机= 127.0.0.1 % x6 Z- |' H- ]- _  i; a$ t' D# @) n
  63. user_name = testuser 3 b" D: B! ~( k& O- _& P
  64. 密码= my_password
    ' v1 G1 H! W  t( D  T7 b* W
  65. getdriverfunc = getsqldrivermysql 9 N" s7 R6 D( w- E& s
  66. vendorlib = libmysql.dll在
    / O2 K8 V) a6 U/ b
  67. libraryname = dbexpmysql.dll ) M9 e% ~2 h+ c9 @* ?5 v
  68. 积极= 1 % K& z6 w" b/ f! b: B( a
  69. ---例如----
    ' w2 T; V% o4 g' ?
  70. -写在0 2.03.04由p wk.linuxfan
    0 R) M6 o' e* ]
复制代码
发表于 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* `% b% R+ v0 `
( p; H) W/ r; p% w7 x4 j
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-15 10:58 , Processed in 0.100996 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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