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

2745 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan + K9 i! L* E9 J5 O4 |( \
3 t' `$ T! L8 E& Y; z
  1. * t8 A) [5 g  M  n- `! b4 n8 f+ }
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######$ f* d$ q5 n7 W  Q$ H
  3. $ t' c  k  V  y1 e) b0 |
  4. ### What we need ###
    7 M$ {0 Y- \% _7 Y, D
  5. Naturally, we will need a MySQL server to store the data for us, this document
    % V8 Y; {* O! p% r9 I$ m  A4 i# Y
  6. will not explain how this can be done - there are documents out there for the
    ' o! t  f. z. P" m# B) f
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    6 M* ^& V4 A+ c, J: S8 @
  8. and a user account (username + password) that has the permissions to do stuff
    1 [7 g4 ~7 J  Y6 e$ p
  9. with the database. Additionally, you will need a vendor library installed on the
    $ c  c4 D6 Q+ W- Z& U
  10. local machine, this came with my MySQL install.+ \3 ]( O. K" }' d& p5 `( z
  11. These instructions will not tell you how you might transfer your data from the9 p4 J5 B' r8 y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL  |4 T# ~: |. w' U
  13. database.4 c& n' r% ^1 ]; ]: r# v
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    + N3 i' |! B( ], S2 Y$ q' M( S# T8 ?
  15. the time of writing, there are still too many issues - check the current status# G& j: O. f3 V, h9 S% S; l% V- J, k
  16. in the TeamSpeak forums if you are interested.
    6 l/ [: Y. V. V7 k
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    " R; b% u1 n3 u. W
  18. Borland was used. This driver can only interface with the client library that * z+ c  v  u* L
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this% }  C* r. a( I( k" k
  20. client library - basically all you have to do is to use a 3.x client library as
    + ?' v2 H9 [' g% T, Y8 Y9 P
  21. "VendorLib" and a 4.x database to connect to.! h" X& Q0 z! C. i
  22. If you need more info about dbExpress, you can contact Borland.
    0 X$ ?* e9 q- P& J
  23. 0 f( a; F6 ?% c7 P
  24. ### Doing the work ###5 t) F) n1 w; t  m# c4 b
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ; R" B+ |. x! B, w% f
  26. the perquisites right, just open your server.ini file, and add this section at5 B; j) J1 m; `5 |  Q6 M6 y0 x
  27. the end:- z% V5 n3 Y4 Y: y; Z8 C& v
  28. ---cut here---
    , ~# r  z' N: _
  29. [DBEXPRESS]
    . Y  w* h0 t  [
  30. sqldir=mysql_sql* c- Y+ `3 b% R9 p, e! i8 u/ S( v
  31. Drivername=mysql
    . i5 b0 g1 p& E- e4 L
  32. Database=Your_Database_Name_Here
    ; P1 n* I7 H4 I* n, f. P6 D
  33. Hostname=The_PC_the_MySQL-Server_is_on
    , h! j7 w8 [3 V5 R( ^7 t
  34. User_name=User_name_on_the_MySQL-Server* c- C" c4 B: e6 C5 ?8 p! f
  35. Password=Password_to_go_with_above_user_name
    & @3 k) t- l& ^# M7 ]4 X
  36. GetDriverFunc=getSQLDriverMYSQL. g4 e  q( q, T6 K- l
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ! O6 w0 N9 p! H. x
  38. LibraryName=path_to_libsqlmy_libary
      B8 p# n8 @! g, F; N; {
  39. Active=1
    ' v4 I$ E8 d& j
  40. ---cut here---+ \5 W4 o/ W$ |0 B* u. q0 o
  41. In my environment (a linux box with a MySQL server running locally) I have:) J3 C) I6 n4 Z+ n: C, I
  42. ---example---
    ( ~: o  Q, d% L1 S9 V8 X
  43. [DBEXPRESS]
    # r+ N( {. ~. C) x. v
  44. sqldir=mysql_sql
    : m, k2 c) _; W7 \0 \( O
  45. Drivername=mysql
    % i. q" n5 R) T+ T5 V1 L( \
  46. Database=test
    $ S+ Y, c6 i5 M
  47. Hostname=localhost  ~0 \0 _! q6 s3 H" {* U) c
  48. User_name=testuser
    8 t+ [1 y/ y: v# {
  49. Password=my_password
    3 K9 x4 V2 @! O2 t6 @0 X3 c
  50. GetDriverFunc=getSQLDriverMYSQL
    3 _+ i8 L. @1 A% F; ?  _& @
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.07 A  w4 E; B+ _  T! Q
  52. LibraryName=./libsqlmy.so
    ! c2 Q; l* Q( o+ b5 ?: W) q: F
  53. Active=1
    % K; p5 B* j2 o# \' Y6 L
  54. ---example---! ~) {7 `6 T/ @9 J  |  O

  55. . c; ]1 T& o! Q, _, B! U) t
  56. On a windows box, also running the MySQL server locally, it would be:% c; j: ~6 M7 K" `8 }7 F- |
  57. ---example---' x; d( X: }! z: V
  58. [DBEXPRESS]6 q7 F! Q' y0 O! f
  59. sqldir=mysql_sql1 O5 M7 @- i( ?  l3 }) X5 q. @, h
  60. Drivername=mysql
    ! a9 x- H: p7 E) I) y) i/ W
  61. Database=test
    * a- [; T2 e! i! I3 o( D1 j8 [
  62. Hostname=127.0.0.1. d# r5 Z9 r8 H+ ]9 Z. f- A7 ^
  63. User_name=testuser5 O5 W; _6 r4 _* C* M8 C, U
  64. Password=my_password
    ! G5 t9 q0 s( P' v, Y5 W# y' \& z5 l
  65. GetDriverFunc=getSQLDriverMYSQL' r: T2 G  D. f( h
  66. VendorLib=libmysql.dll% ?- B+ |# R$ U! O. Q% q  |  `1 ]
  67. LibraryName=dbexpmysql.dll
    0 `1 n, z) r% z9 \' w
  68. Active=1
    / \+ P. |% q! U% c: T0 D
  69. ---example----$ p4 C- k8 }( P) \0 E+ L
  70. - written 02.03.04 by pwk.linuxfan
    $ ]9 n5 m0 s% W0 w) r

  71. * C; `9 w" D4 Z' s2 m& ^9 T
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看/ v" e+ w  R) t. J' s
  1. : q+ G% e7 c4 i' o% \5 h
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 2 x& W! T( @5 W4 y

  3. , v. T) R( K( Q9 H
  4. # # #我们所需要# # # 4 ^, e8 d6 i$ ]1 y- y) ^
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    " \3 K" o2 r- z
  6. 不会解释如何做到这一点-也有文件存在,为" K+ d0 p, g" d* d9 v0 b
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    % P1 J( }6 b6 |- C+ r8 L. A
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ' d* @7 d9 I, `5 A: p
  9. 随着数据库。此外,你需要一个卖方图书馆安装于8 i" H- ^: e) Z6 ~
  10. 本地机器,这是我的MySQL安装。
    5 a+ ~& r1 w" E  K
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ; ^' v# |6 r: K) H* u
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    + I( p/ Y3 a. |& I0 `- [$ B7 o
  13. 数据库。   }; l- F8 O+ C2 A2 |
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在; w. H3 n; K' c
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    + v2 r* n0 |# j* k! Y
  16. 在teamspeak论坛,如果你有兴趣。 ( i0 }6 ^( m4 W
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机/ {. U5 y0 h$ n: P* r0 D8 J
  18. Borland公司使用。这个司机只能界面与客户端库) t) s/ m' n1 }' u
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    & M2 `3 C! Y5 B% R  E+ v% c
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为$ ~. s7 l" R# _( C, m/ s
  21. " vendorlib " ,并解数据库连接。 7 d  Z% q! Y# h; ^4 b
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    * W& D3 N6 S0 S8 G

  23. ; q9 F  F% t* ~3 v8 H/ T5 X
  24. # # #做好工作# # #
      c5 V( O4 _" j4 M$ K' x
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ! o! N5 e# u$ X8 E- f5 X7 i
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在# V- T! o5 N0 h! Q1 j4 c: F
  27. 结束:
    / W! w, A- Y, f
  28. ---削减这里---
    # E/ ]2 i& v( d7 @
  29. [ dbexpress ]
    4 `8 w% s$ j- m* P
  30. sqldir = mysql_sql * B2 L7 r( K9 H3 y
  31. drivername = MySQL中
    8 _! \, {2 H* W/ [: I
  32. 数据库= your_database_name_here
    . e! i% i/ l3 p( }$ \5 A
  33. 主机= the_pc_the_mysql - server_is_on
    - n; i# I# y' w+ T. P& m
  34. user_name = user_name_on_the_mysql服务器
      @" s4 P! v5 @/ a8 f
  35. 密码= password_to_go_with_above_user_name
    & ^  y- d& ~, w& `/ L% @! W
  36. getdriverfunc = getsqldrivermysql ( B  Q& ~7 U# x3 h) O
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    - c) O) ^' y% Z. I; N& z
  38. libraryname = path_to_libsqlmy_libary
    5 W3 A/ K* W+ b% \" T
  39. 积极= 1 4 Q4 T8 r9 [4 e& n: W
  40. ---削减这里--- 2 ~( @% P3 V+ d
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: : \8 w2 x$ x" s! S, ^3 y
  42. ---例如--- & l& x4 k1 Y9 o1 C3 {" ?9 H9 k
  43. [ dbexpress ] : }4 n1 H+ P3 f3 H
  44. sqldir = mysql_sql 7 I1 a" r( W; q- _5 E
  45. drivername = MySQL中
    2 S# N7 ~0 H. S' B( F4 v1 b' o+ r9 G
  46. 数据库=测试9 W! y, E! D8 }  P. J$ T
  47. 主机=本地主机3 r( z: _: d# q: @. O3 Z* T
  48. user_name = testuser 1 g8 d" P, S1 B8 }) V0 B* H
  49. 密码= my_password
    % S1 [! C6 b3 D' t
  50. getdriverfunc = getsqldrivermysql
    0 Q# S1 E2 n1 Y$ X
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    2 M/ }& H" ?/ m( c
  52. libraryname =. / libsqlmy.so ) S8 x2 y" h' K9 }" T5 q
  53. 积极= 1 2 `, o7 T; Z: A$ `3 i
  54. ---例如---
    + |% y" d8 v8 Y, S+ F$ S# r6 |- b, @" Z
  55. . u2 A4 D, X# X# c
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    3 \5 Y- m; b% i
  57. ---例如---
    3 s( h4 }. p7 ?% O
  58. [ dbexpress ]
    ( D3 Y' k3 z! u& h# H5 D
  59. sqldir = mysql_sql : w8 |' f+ X7 t8 c% _4 T
  60. drivername = MySQL中
    - O5 a6 c8 A: i0 S" [, M' ~9 x% k
  61. 数据库=测试- k4 j/ @( X5 \' w
  62. 主机= 127.0.0.1
    " f* Y1 Z1 _( ~. C
  63. user_name = testuser
    ; Z" `9 G) o4 ^% ~  ]2 x5 E7 I9 c
  64. 密码= my_password
    1 G3 P8 z& N9 c/ g: M
  65. getdriverfunc = getsqldrivermysql
    7 L) z- Q4 D5 Q, Y
  66. vendorlib = libmysql.dll在
    - l2 S7 R: v( r7 V' b+ q
  67. libraryname = dbexpmysql.dll / N7 s; m- J6 p2 t9 q' b
  68. 积极= 1 + n" H. A$ h' ~0 t+ s  y6 O
  69. ---例如---- 1 T1 Z: H! L: g4 K
  70. -写在0 2.03.04由p wk.linuxfan
    : W+ J3 k. o3 E% f# A7 B7 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
" w) n* H. h! M. E2 v* Z) A* X! i0 D, c+ r7 N8 ~% }( A
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-11 02:03 , Processed in 0.110826 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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