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

2919 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
6 S8 k6 {+ y6 t& L$ _; I/ g5 W
4 h9 m+ p: t! ~/ ~4 ^5 _( b

  1. % L+ v: L& j0 F$ s8 \
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######( h/ n2 k1 C5 X+ G# N! z8 i: ^, A! d

  3. * u) ^( H; s1 a  n' w" v8 G) T
  4. ### What we need ###
    ; U9 M1 x# |. u8 x( k9 s
  5. Naturally, we will need a MySQL server to store the data for us, this document
    9 [) P  a6 `! `7 g. h  @
  6. will not explain how this can be done - there are documents out there for the
    0 K9 N. V7 a: w, v# ]' Q
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    % Y2 U  w3 Q7 `2 l$ n* E
  8. and a user account (username + password) that has the permissions to do stuff$ {* Y: D. `5 l" l  Q
  9. with the database. Additionally, you will need a vendor library installed on the
    ' Y) T6 C7 S4 n' M+ C: [. m1 s! x
  10. local machine, this came with my MySQL install.1 o& f, R  j3 B0 W
  11. These instructions will not tell you how you might transfer your data from the
    + g$ ]( r9 j' E$ \! _1 V
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    6 o  a% E( |6 i8 C
  13. database.
    & i6 f' k& u/ z' [9 |6 y
  14. Some users have reported ways to import a SQLite database into MySQL, but at0 f/ ^; L, Y' x7 @7 ^5 s
  15. the time of writing, there are still too many issues - check the current status) f! n9 v% I  }6 X: g
  16. in the TeamSpeak forums if you are interested.
    ; n8 G1 Q8 n5 W. J8 }4 V
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ! t% f& k& ]9 u1 h# B
  18. Borland was used. This driver can only interface with the client library that 2 N, }. I0 E, P1 Z8 [5 ^
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this, _/ e0 a2 r& z
  20. client library - basically all you have to do is to use a 3.x client library as 2 [5 X  n1 d7 j
  21. "VendorLib" and a 4.x database to connect to.1 E7 U$ L4 ^0 U/ o! A
  22. If you need more info about dbExpress, you can contact Borland.; {3 b3 o; G; H5 [3 ^3 I: p

  23. + Z( G( a: P! n+ N9 b3 @
  24. ### Doing the work ###
    * Y: N/ \  V  w* X% `* N7 }
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
      m+ |/ X4 p7 b9 `, O* [
  26. the perquisites right, just open your server.ini file, and add this section at# H/ z7 z% V& `% x- r- w3 [9 t
  27. the end:
    ! U' B" ?4 n5 U
  28. ---cut here---) A3 X1 V; N* W4 m
  29. [DBEXPRESS]
    , }- h7 h6 h% ^- q  @
  30. sqldir=mysql_sql  H2 U7 D, D7 G6 S- |. Z$ D
  31. Drivername=mysql; h2 h! T6 H  C2 O% v* K8 ~2 T
  32. Database=Your_Database_Name_Here
    ) ]0 W2 P% z- M& ^% F& \. e
  33. Hostname=The_PC_the_MySQL-Server_is_on
    * I4 H7 z9 w5 ~' N8 u" Y
  34. User_name=User_name_on_the_MySQL-Server8 E; ?" f$ H/ M- b! E) d
  35. Password=Password_to_go_with_above_user_name
    . s3 g! y8 s7 v5 h. R6 _* D
  36. GetDriverFunc=getSQLDriverMYSQL
    * w' g# Q  h% t8 g) P  h3 J
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    4 \7 v( y5 Q; B8 ~9 X, Q
  38. LibraryName=path_to_libsqlmy_libary
    , r' ^; N! W/ U6 N7 W6 Y
  39. Active=16 D4 m; B) ?3 [3 C
  40. ---cut here---
    $ V/ T5 c. V* A: e0 M
  41. In my environment (a linux box with a MySQL server running locally) I have:9 X+ Q* @$ n  l$ R7 `/ ?
  42. ---example---( \; Z# A+ j- d- j6 U$ u0 K2 d
  43. [DBEXPRESS]
    & j0 ^; O# j! n2 m; ?
  44. sqldir=mysql_sql; \+ O; T  Z+ a3 i3 N; S! z8 ~
  45. Drivername=mysql. n% c+ c; w5 J/ V, `* b
  46. Database=test- h  _' b" d. f8 ?% t7 ]
  47. Hostname=localhost* {. \  }- |" q& y
  48. User_name=testuser
    ( M" b7 D' Y5 U/ O+ Q" S4 r
  49. Password=my_password
    ( {$ R' O5 D5 L9 k' @9 D2 K( {/ o% X- j( A
  50. GetDriverFunc=getSQLDriverMYSQL' S8 c0 T9 O, p$ b9 v7 X8 w/ J4 ~
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    : D, B4 A3 E0 `- j* H. X1 R
  52. LibraryName=./libsqlmy.so( G% g* s5 @: A. t
  53. Active=15 ?& f. K" L! P' a1 H6 y
  54. ---example---
    ' w9 {$ p3 R' r; L  U0 o) \
  55. : J0 {/ f2 P% A, Y
  56. On a windows box, also running the MySQL server locally, it would be:
    , [) j4 |6 p% I) t
  57. ---example---" m! k6 X# C+ A* T6 w
  58. [DBEXPRESS]
    0 v7 O( x; S" }- ~( w
  59. sqldir=mysql_sql
    4 S7 c- @3 H  o6 c+ Z# E9 ~* j* D
  60. Drivername=mysql
    : |+ y( c( }% G$ l
  61. Database=test
    ' v# S& J/ V* K
  62. Hostname=127.0.0.1
    ! p0 B( h& T  @* N4 W! \- ]5 M5 {
  63. User_name=testuser
    % s; x, [- c. S1 M
  64. Password=my_password
    # O- M$ ?* l3 R  `+ n' Z
  65. GetDriverFunc=getSQLDriverMYSQL; O4 a6 G$ ]' W, f/ H; @* Y, @2 t
  66. VendorLib=libmysql.dll
    / m1 X1 b$ O4 n, @" W
  67. LibraryName=dbexpmysql.dll
    3 C- H9 j' f8 Q% Z& n1 Y
  68. Active=1
    " ?9 y" S; i  e: t% H( ~
  69. ---example----: P! ?1 b* D7 G+ n! }" ^' S
  70. - written 02.03.04 by pwk.linuxfan% ~6 R) S8 `/ B- }" H# i6 c
  71. / n! F3 N# S4 N6 t2 }  b
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
; G- ]6 P$ S+ n- _

  1. 5 Y: a9 U7 ^1 B5 g
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 0 W; d! A+ |- l/ \2 L8 l- y1 f

  3. " Q" A) C6 ?/ N! d+ f$ h2 ?0 s
  4. # # #我们所需要# # # % [$ l9 q( l' T% z6 P( {, @8 y( c6 z
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    % m. ^) o, I1 r
  6. 不会解释如何做到这一点-也有文件存在,为
    3 \! v- `! P8 S; q+ A; }
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用0 W5 s/ v6 F# U. g$ w2 ~" j* ]
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ) Y8 w/ C6 t0 _, W
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    - S, Q  D* ^8 ?
  10. 本地机器,这是我的MySQL安装。
    * u* Y  F2 n/ i* F7 R' u( {
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    - m- i$ o" V' Y& q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 6 I+ a2 j+ v3 r4 v2 I
  13. 数据库。
    9 l) U- d& A9 y5 V8 H) ~/ e8 G" e
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ) I- a: R* k! `: M
  15. 编写本报告的时候,仍然有太多的问题-检查现状. u+ c. R& Z! @6 Y8 A; ^5 _
  16. 在teamspeak论坛,如果你有兴趣。
    # ~2 N' x$ m/ x
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    : X9 @0 z( U4 U# f' a
  18. Borland公司使用。这个司机只能界面与客户端库5 ^; l3 L' i/ v6 X1 o8 |
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这# o# Z9 f5 w+ }, Q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为( b0 Y7 ?" }- a" {* k: N$ l
  21. " vendorlib " ,并解数据库连接。 9 m2 G( `" C8 x3 I/ L$ p9 w- o
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 , D+ G1 P0 {( W3 h& H

  23. 8 x; M+ s; p( v( c8 E- r- i! l1 U6 P
  24. # # #做好工作# # #
    0 N+ g& ^6 a" A& {4 I' Y8 R% J
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    - D, G  n' B: q# E+ v. E, F4 C2 a
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在+ b3 V+ a4 a+ c6 d8 @  z3 f
  27. 结束:
    : @2 s9 [* m/ {" o" [& n9 B
  28. ---削减这里--- - n9 @5 d% Y/ o& R" D1 x
  29. [ dbexpress ] 8 a& U. h) K. G5 |& j
  30. sqldir = mysql_sql , R8 @5 _0 T: b+ }, k, M: R
  31. drivername = MySQL中
    ( B2 v9 |& v* C' Q& r5 m7 g
  32. 数据库= your_database_name_here
    ) W' K, R8 @$ u  \& l  d  P& r
  33. 主机= the_pc_the_mysql - server_is_on
    2 k+ R/ s4 e8 s* U8 G% z  c8 K
  34. user_name = user_name_on_the_mysql服务器
    9 w  M0 b& K* h2 t) e; a
  35. 密码= password_to_go_with_above_user_name / C4 H& U( f6 ?" v
  36. getdriverfunc = getsqldrivermysql
    & V1 P: d+ f5 Z5 K. V  D' Z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib % r( [9 ?. y% {' L6 x+ G5 W! g" D' b
  38. libraryname = path_to_libsqlmy_libary 1 v: Y- u  Y! K8 L: t) f
  39. 积极= 1 , _. a( }$ H+ I2 _% Z6 v
  40. ---削减这里---
    2 G. Z! B* N3 K9 a! g* i( p) _6 D
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 8 J% T+ h! K) @# v3 o$ @
  42. ---例如---
    - \( S' ^6 g5 \4 f- L% s
  43. [ dbexpress ]
    . S  c$ X+ A" ~. h  U1 k
  44. sqldir = mysql_sql
      v6 X- Z% ^& J
  45. drivername = MySQL中
    * I( a) B: v# x* T2 g/ c0 E* p( z
  46. 数据库=测试. ^+ n& g* O; X# P; i$ C
  47. 主机=本地主机
    4 m$ y) @5 j$ l8 c
  48. user_name = testuser 9 n2 W, H2 R7 g) L1 Z( H
  49. 密码= my_password
    ; G* ?4 ^1 h/ ^( Q8 o: L1 y* |
  50. getdriverfunc = getsqldrivermysql % X0 Q* ?& g9 @7 k8 }$ E- a+ M
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 3 [6 R' l- v0 t; L" ?
  52. libraryname =. / libsqlmy.so
    ) _. \: i( c3 _+ N7 n6 A/ S
  53. 积极= 1 3 o. @: y% \) g) x# C7 Q
  54. ---例如--- % |5 n' I" D7 \* ]' \% m

  55. : m/ N$ Y& l3 `+ U1 _) n
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ( |7 z$ ]# l6 p/ k& k8 G
  57. ---例如--- 6 {; K) b, |% e: c, K2 [
  58. [ dbexpress ] + ]% c0 X: N7 t2 Y
  59. sqldir = mysql_sql
    ! C& Q+ b9 v1 T
  60. drivername = MySQL中
    + r0 w# F, {  m9 C4 m9 x
  61. 数据库=测试
    / B% R" X3 M  L5 P" X
  62. 主机= 127.0.0.1
    . u8 w, ]$ h) P: ~0 p4 p
  63. user_name = testuser
    / f9 S$ L$ M% L& p5 g
  64. 密码= my_password 3 i- h! S4 h7 ?# G7 `5 {. `# ]
  65. getdriverfunc = getsqldrivermysql
    , }4 ^8 E7 h; N& g/ T5 O' I) ?
  66. vendorlib = libmysql.dll在
    " F9 N- v1 U9 c" _, p" z3 v
  67. libraryname = dbexpmysql.dll 2 P6 {. K5 D6 D' d
  68. 积极= 1
    + h* y8 U+ U" D/ v& R: |
  69. ---例如---- ( X8 N; i& U' p5 l& c" N/ o2 L
  70. -写在0 2.03.04由p wk.linuxfan4 N+ p0 ]$ l: L# 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
! B7 r9 n% R+ J' `- P/ a' }! l6 `$ R$ N
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-20 22:45 , Processed in 0.110579 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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