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

2911 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 7 _: T9 o& s0 r3 H6 c# J& H

: k  x2 t) [2 V: Z  k
  1. ) e+ ]. S0 e2 j2 o
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ( W! C: B& D4 j
  3. + [  V% U" m9 `$ Q7 g
  4. ### What we need ###
      |& a) j" ?: M" h4 k0 W0 I
  5. Naturally, we will need a MySQL server to store the data for us, this document
    5 z) V" c8 j1 W* _/ C- R, j
  6. will not explain how this can be done - there are documents out there for the
    2 W. w* b& q* u0 K6 i
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    # x3 M  K' K" j
  8. and a user account (username + password) that has the permissions to do stuff- |3 y! B7 \: }
  9. with the database. Additionally, you will need a vendor library installed on the
    . Z* v/ _' [3 ^+ Z
  10. local machine, this came with my MySQL install.
    # z2 d/ ^4 N. T, ?) e
  11. These instructions will not tell you how you might transfer your data from the
    ' V$ @) c9 L, h9 R6 W7 V1 U; H8 I  L
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL* k* |( Z+ W  d% s( B% N  N( |
  13. database.
    5 c# b$ \" t* v' V6 }
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    3 c2 Q( M& X/ X- r1 v  S( y) V
  15. the time of writing, there are still too many issues - check the current status
    $ l% E9 G$ R% n7 E. f( S) x2 ~8 Z
  16. in the TeamSpeak forums if you are interested.
      |; X) n4 J7 h  |! d: ^8 e
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    7 l+ w* ?2 X1 Q. T
  18. Borland was used. This driver can only interface with the client library that
    ' \' r- a8 R2 Z8 w
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    6 I- J' `/ [/ e2 i+ W% I
  20. client library - basically all you have to do is to use a 3.x client library as / _: b4 R$ Y4 K1 c+ `4 ^8 m9 m
  21. "VendorLib" and a 4.x database to connect to.
    ' X9 b6 E, @( x1 Y
  22. If you need more info about dbExpress, you can contact Borland.8 J, h, e/ p/ y! R) F; r, [

  23. 9 Q7 H  H3 H; Q5 I& g3 g$ @
  24. ### Doing the work ###
    # t- w2 u' ^0 N. a, V7 Z0 \4 ^$ |: p# N
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all( ], u+ w- c; u0 O( f+ t
  26. the perquisites right, just open your server.ini file, and add this section at
    - u% U2 C- ]: i$ z
  27. the end:" u+ i; a" T; i" l- {
  28. ---cut here---  |& P( N' W7 c" T& y/ @
  29. [DBEXPRESS]
    " F9 ?2 B- v6 C5 @
  30. sqldir=mysql_sql
    2 z5 i1 H1 y" d* u6 `6 l
  31. Drivername=mysql$ p. c" s' J" l9 N
  32. Database=Your_Database_Name_Here! B  K3 G( E# _5 ~1 B2 c0 y, y! G
  33. Hostname=The_PC_the_MySQL-Server_is_on
    $ ^+ {5 ~9 H7 o+ ?+ r. ~! U
  34. User_name=User_name_on_the_MySQL-Server$ s" {! h8 G( W; f
  35. Password=Password_to_go_with_above_user_name; m. J7 M4 r, c% T7 |4 s4 `
  36. GetDriverFunc=getSQLDriverMYSQL
    1 Q  y. Y2 j: F; C! i- _! `. T
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib/ t/ X/ n% a/ P4 d* q
  38. LibraryName=path_to_libsqlmy_libary. Y' u& C3 x7 Q# }7 _
  39. Active=1* N5 M/ I* R; K- s" D* b
  40. ---cut here---- w1 r0 c% W% Y. }( W
  41. In my environment (a linux box with a MySQL server running locally) I have:2 A  m: m% j8 ?6 P
  42. ---example---
    : Y: g( {9 X4 T% f7 T; p7 |
  43. [DBEXPRESS]( c, _& Z- W4 T( O* c
  44. sqldir=mysql_sql- x' s6 N/ V! T. N$ J
  45. Drivername=mysql
    4 E6 e) ^0 t6 c0 C9 E4 Q
  46. Database=test
    0 E3 u* ?8 {# J, Z: L/ h+ P2 d
  47. Hostname=localhost
    % x' }2 ]5 C( G, u- [7 c
  48. User_name=testuser
      o/ b$ C+ l4 i% F
  49. Password=my_password- j( |: [7 r; J7 F7 Y5 Z
  50. GetDriverFunc=getSQLDriverMYSQL
    ( o) ^  k- h: C5 b
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0* \* i/ n7 o* m
  52. LibraryName=./libsqlmy.so' k( G# I& ~* [! ~' H
  53. Active=18 G, Z' v4 n3 U+ G% y4 f7 p
  54. ---example---7 ?0 W0 y  j  n

  55. 8 Y2 G8 A$ N% E) n" ^
  56. On a windows box, also running the MySQL server locally, it would be:: d" Q& [4 \8 Q. a' J( Q' y
  57. ---example---
    3 ~8 M5 V$ e# }% i
  58. [DBEXPRESS]! a& ?$ {* l: B5 E: r: f! y, ~
  59. sqldir=mysql_sql  }7 T  V" c% e
  60. Drivername=mysql* b- P9 m1 ?- |5 }4 u6 m, w1 A
  61. Database=test
    % g! u& F3 j- t) d* j( W# ~
  62. Hostname=127.0.0.1
    ( j, Z4 m  B9 g, h. m; C! `; L
  63. User_name=testuser* a1 X; r# X* ]
  64. Password=my_password8 K6 H  m; b+ a/ Z1 d! h! F
  65. GetDriverFunc=getSQLDriverMYSQL! E% d3 [/ j. K8 ^4 H
  66. VendorLib=libmysql.dll
    " L4 i4 d9 K( s- l4 g! O* F3 Y
  67. LibraryName=dbexpmysql.dll3 G% p2 K1 B% g) s! ^& Q3 L
  68. Active=1
    0 i$ b2 z. `! J3 N
  69. ---example----0 k8 n" D4 G! L* n& x, S7 G
  70. - written 02.03.04 by pwk.linuxfan1 o# Q, S0 I4 g

  71. / k% g* o# B6 m# O* v, F
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
: C0 d" E7 {# s% n$ @( G% l
  1. 8 u+ L# E+ E2 K' e
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    : H5 J. k/ _/ J. n9 {

  3. , [, S: D; r$ n1 O
  4. # # #我们所需要# # #
    ; b: w2 v& b% d3 C. P
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件8 R7 M/ N, x% \$ _$ u: M9 @
  6. 不会解释如何做到这一点-也有文件存在,为4 b* z/ S$ \. a2 d3 z
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用% y; A' a# I  l/ K- I" P' v5 A+ `
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西' D( `( {/ v- |; b' V
  9. 随着数据库。此外,你需要一个卖方图书馆安装于/ l* m, t# d! R4 _1 ], A7 z+ X0 {
  10. 本地机器,这是我的MySQL安装。
    ; W. A% Z4 u; e
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从5 {6 r8 q% v8 D" a( [2 {
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 2 L# v+ F4 Y* j2 I. K$ J
  13. 数据库。 ! S: H: V$ H6 v7 i& g( Z1 R
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在4 k" e2 q/ _* [8 Z; ?
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    : O, l% w" U- w4 e9 b
  16. 在teamspeak论坛,如果你有兴趣。 ( G2 w# G9 z; _& A7 O& e7 E
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    8 }. ]; {, q6 v, f5 P* s, t
  18. Borland公司使用。这个司机只能界面与客户端库9 ?. ?3 A" P/ j* [7 l1 T5 e( U
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    7 T1 T2 g: v6 k; J1 K
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为0 P3 k; ~2 W7 p7 ^
  21. " vendorlib " ,并解数据库连接。
    9 A/ I- x# u# {) S( U, L" q) @
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ; m- p! V5 c: a& G2 F
  23. 0 v9 N" M1 J2 R9 J- l0 r
  24. # # #做好工作# # # 2 c. b3 s$ u% p+ T0 `/ x
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都7 N' i3 y; T/ q  _" [, }
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    4 r8 p* S) B) Q8 `. o; _% z2 H
  27. 结束: 8 \, k! q, N- S, V# x- I0 m
  28. ---削减这里--- 4 M0 u. ]" F7 H7 q; a) [, W( H
  29. [ dbexpress ]
    : p+ F6 Z4 Q% {- u" Q1 P
  30. sqldir = mysql_sql 2 a7 G3 Q* q5 z& _2 f. m5 i
  31. drivername = MySQL中
    : h: n3 {+ g$ g
  32. 数据库= your_database_name_here 2 C  L. H$ Y- [$ [
  33. 主机= the_pc_the_mysql - server_is_on
      K0 H" o1 r) y7 ^3 M& ^" r
  34. user_name = user_name_on_the_mysql服务器
    : j& |/ [4 x3 M' e$ K) u9 r% ~$ A
  35. 密码= password_to_go_with_above_user_name
    ' Q4 n7 D3 H7 Q5 J
  36. getdriverfunc = getsqldrivermysql / u; U% P4 b& Z- d9 T! Z) p' {
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    . O# E5 W! K* G* p
  38. libraryname = path_to_libsqlmy_libary
    7 B7 E1 n3 S: X7 Q( a' w( h
  39. 积极= 1
    5 L& B- j; G! v8 Z- O4 S
  40. ---削减这里---
    & m$ O! W0 N# G+ Z/ M0 g
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ; P, c; Y/ l! `4 x
  42. ---例如---
    ; H: ~6 d+ e& e4 j6 h3 i5 U
  43. [ dbexpress ] ) C, P$ l8 Z% q. i
  44. sqldir = mysql_sql
    3 K5 Z' y+ Z* f# T' w
  45. drivername = MySQL中
    " n/ ~: U/ b" T
  46. 数据库=测试
    : k% ?3 [. u3 d2 j
  47. 主机=本地主机
    - N7 N0 V' {; h) P  `! |. S5 l
  48. user_name = testuser * D* [0 a6 d' e* j
  49. 密码= my_password
    % E6 {" H8 c, D0 i
  50. getdriverfunc = getsqldrivermysql
    2 t! K  d5 g) y5 W
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ) n( `2 j: g  \' d- b, D6 m
  52. libraryname =. / libsqlmy.so
      s( R6 p* I9 c
  53. 积极= 1   X) v" X4 B3 g5 \6 m+ {
  54. ---例如---
    9 D4 S4 [7 _) y( q! q: W
  55. # R- f  x& a+ z5 G) i7 N
  56. 对Windows中,也运行MySQL服务器本地的,那就是: $ y+ Y4 [* m/ t* V; w
  57. ---例如--- # U% C  [, J7 P) V1 ?$ r6 m
  58. [ dbexpress ]
    ! @  z1 e6 @3 k$ [1 X. R
  59. sqldir = mysql_sql
    . b1 q' L; K  O" O
  60. drivername = MySQL中8 `. k/ E3 q0 W! p
  61. 数据库=测试
    7 o3 ^( W7 o5 ]
  62. 主机= 127.0.0.1
    7 k: A& K% [; ]0 T5 e* [: W
  63. user_name = testuser
    ! L, w8 G( i  H- h* k
  64. 密码= my_password # [( t  K5 {) n; X8 U8 I- n* W
  65. getdriverfunc = getsqldrivermysql
    # D9 i' e( H1 ?3 Z5 B' l; S0 Z
  66. vendorlib = libmysql.dll在
    1 e! f( {% d! {! ~* @8 S0 Y
  67. libraryname = dbexpmysql.dll + I: U5 y4 z( p
  68. 积极= 1 3 M4 o' X  t- Q; c3 h; v
  69. ---例如---- ( u1 a) h* k1 i7 X  l) A6 @
  70. -写在0 2.03.04由p wk.linuxfan
    / V/ F4 M# M3 d( o) ?
复制代码
发表于 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
: d4 \- g( f+ M6 ^; R8 ?; l! d" Q/ ~8 D) l) 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-7-19 00:30 , Processed in 0.089857 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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