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

2916 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
8 a$ b- k' Q' H9 F7 Y8 O
5 o, S( P7 M6 _# _) C: m
  1. ( k' t. s6 D% w1 e
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######. a: L9 C& m2 G9 E

  3. ( m2 ]2 z5 a* o, i: r' J! H
  4. ### What we need ###
    + _, {8 v3 {0 T% Q
  5. Naturally, we will need a MySQL server to store the data for us, this document
    + t# e! v( |+ k6 T; G! D
  6. will not explain how this can be done - there are documents out there for the
    9 M1 A* q0 M* q9 V
  7. interested. The requirements include a (empty) database for TeamSpeak to use7 E' s8 {& F( m% A
  8. and a user account (username + password) that has the permissions to do stuff; f5 |/ s5 u0 B. j% s
  9. with the database. Additionally, you will need a vendor library installed on the
    3 N* C+ w7 ]/ C* M
  10. local machine, this came with my MySQL install.
    + Q' C" r! o6 P/ \+ W
  11. These instructions will not tell you how you might transfer your data from the* l' l- B" F3 H( o- N! S
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    % p; p1 I, D# r* g+ F: n, \; g
  13. database.
    : Y: T  q8 f( l, x/ X
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    % s2 ^2 t3 \/ T# M
  15. the time of writing, there are still too many issues - check the current status
    9 e, U& Z+ \+ V( `& V+ K
  16. in the TeamSpeak forums if you are interested.
    # u( i7 `9 F% w; G' i+ M$ N
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from- P; t/ t; T' z* f' z' U& l
  18. Borland was used. This driver can only interface with the client library that ' u7 a" P6 K5 _3 G$ G
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this, l: W8 p! N; t5 g
  20. client library - basically all you have to do is to use a 3.x client library as & D1 R# m% p9 e+ J2 ^' q" H; [* g
  21. "VendorLib" and a 4.x database to connect to.
    : S- q  ^. `- X+ I7 R! `
  22. If you need more info about dbExpress, you can contact Borland.+ R9 W. t! u, j

  23. & t. ~, @0 b* O: W
  24. ### Doing the work ###. \- w$ H* `9 m) O
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all: u( _/ n8 j$ {8 W- L2 W% N
  26. the perquisites right, just open your server.ini file, and add this section at
    % g" A% u" w$ y* a! L0 I6 h' U! ^
  27. the end:4 Y* T7 X, c5 ~' Y3 O
  28. ---cut here---6 o! U8 J/ p  g, ?) e% p+ @3 Q- Y
  29. [DBEXPRESS]
    3 q( m* X+ c5 y$ @) a2 H
  30. sqldir=mysql_sql0 n+ k5 D9 x7 ]3 K& x
  31. Drivername=mysql
    $ U( g) ^/ ?5 F6 [- A( W5 _
  32. Database=Your_Database_Name_Here* F0 Y% e7 @  `4 F
  33. Hostname=The_PC_the_MySQL-Server_is_on
    # T. I; D4 C+ I+ _' l0 e6 Z; D. c; n5 w
  34. User_name=User_name_on_the_MySQL-Server- A: J. P0 ]0 ]  i
  35. Password=Password_to_go_with_above_user_name( `# ?, ]/ |9 }: B+ ]
  36. GetDriverFunc=getSQLDriverMYSQL; o2 P# m4 {& |7 C! {9 H! f# [
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib. u( m1 K1 e! o& c  Q. N( n1 i
  38. LibraryName=path_to_libsqlmy_libary9 Z2 O+ l4 }' |# U: m
  39. Active=1
    * p% H+ y' ?, h0 ^9 y; q
  40. ---cut here---
    # X5 k0 O1 ]/ o, b! f5 \& f
  41. In my environment (a linux box with a MySQL server running locally) I have:
    . w' @, Z3 y$ w2 T1 Y" i0 s' f& I
  42. ---example---
    & a2 `& }" I6 v" y- c
  43. [DBEXPRESS]9 I  p* F$ _  a$ S
  44. sqldir=mysql_sql' A" b! W4 H5 q( b: d$ M4 s; o8 C
  45. Drivername=mysql% F; S, u0 S: ?7 S2 u/ p' @" O
  46. Database=test3 Z$ C- S, N' ^" e0 y
  47. Hostname=localhost+ G) q9 F* T# ^
  48. User_name=testuser3 x: M4 s- w' `6 o4 ~
  49. Password=my_password
    ' F$ v  r8 G  Q% A! o
  50. GetDriverFunc=getSQLDriverMYSQL- ^9 F% r$ Z3 G
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0  K' P* ]' ~& I: f* B
  52. LibraryName=./libsqlmy.so5 H- U$ l4 a# j3 g* B+ h
  53. Active=1
    7 ~1 s1 ~* K3 F; F
  54. ---example---8 W9 C; F! z! ?) e
  55. # O' |  l4 Q: N& r( n) Q6 r
  56. On a windows box, also running the MySQL server locally, it would be:
    3 F: F, o& R/ l- Y6 S# a5 F$ k
  57. ---example---) J  [& x8 P9 W; n* e
  58. [DBEXPRESS]4 B0 v+ a0 i2 S. o6 {  h
  59. sqldir=mysql_sql1 z* Y! B2 W" Q) ]& u/ }7 d
  60. Drivername=mysql
    5 S3 C; R; q1 v3 z
  61. Database=test
    , X) g4 }2 g4 }- v2 L$ }) D
  62. Hostname=127.0.0.1
    ! H- Y( j' f( r3 p( U# e
  63. User_name=testuser
    0 I: @) K2 x0 ~- m6 f  p
  64. Password=my_password# D8 ^2 v+ h" m( ~$ m9 H
  65. GetDriverFunc=getSQLDriverMYSQL2 D4 F) T( @. S8 \8 u! S9 r+ A: H
  66. VendorLib=libmysql.dll  G0 z1 L1 y& g7 `
  67. LibraryName=dbexpmysql.dll* y: f* _2 S5 @$ ]& @, e- n4 C
  68. Active=1
    ! q& j! m! S, `% v, c5 M
  69. ---example----
    + s  M$ R, b' D- C2 E
  70. - written 02.03.04 by pwk.linuxfan
    1 p$ I1 o# I  s9 [" Y5 k7 L

  71. ' \0 I, L9 z: A1 t1 _  K2 Q
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
, p  Z6 L; b5 `, n  O! \) U8 L

  1. & l% H, F# z; ?6 D4 z  }
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    , m9 }  F+ n4 Y
  3. 4 U/ k& K2 H8 `% a
  4. # # #我们所需要# # #
    ; n/ N7 [0 ]3 w/ Z' H7 g# f6 C
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件' x$ W' k) m, p0 k4 z
  6. 不会解释如何做到这一点-也有文件存在,为
    7 _" v' u4 b& @) r8 Y3 z4 F7 ~- q
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    4 e. u: h: P# {* V! O" j2 l
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西& ?9 b- R% }/ b( c) I0 |$ E, d/ a1 E& P+ l
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    0 J( N' ]  |* _+ z8 m
  10. 本地机器,这是我的MySQL安装。
    & C2 f  z: v" k! w9 x0 I* Y2 l
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ( e- h# m0 l- q/ J( n5 ~# [
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ; x: x6 V9 }) u. g% i, Y
  13. 数据库。
    7 N8 M. Z5 N# r
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在. Y" t9 U0 w* F: ^- |; E
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    # Y$ w( n: K1 w. i7 A
  16. 在teamspeak论坛,如果你有兴趣。 - X- h% l) n# V1 v- x# \
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    . N7 |5 L5 l# v% @
  18. Borland公司使用。这个司机只能界面与客户端库
    , ~6 I- J0 E% X+ }' }+ r
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ) x) M) i9 B. q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为' L8 J( l- e$ |4 I: Y  @
  21. " vendorlib " ,并解数据库连接。 ! V! X0 }8 [2 a9 X3 n$ v4 f5 `; G
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    7 }7 ~* E! w$ U  R* u7 ~' C) x
  23. 4 o+ S# Z  Y: @; Q# N! d
  24. # # #做好工作# # #
    : p7 A7 Q+ c' B' C
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ! m* G7 E% b) Y# D
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    & g2 {) A  |8 ]
  27. 结束:
    # `: o* W( \" g
  28. ---削减这里---
    / y, m. a2 C9 u& j7 n
  29. [ dbexpress ] 7 g# j7 k$ B0 U/ z
  30. sqldir = mysql_sql ' X# K1 w+ y+ A7 N/ G) {, Y# a
  31. drivername = MySQL中
    % z! Z. V. P4 ~8 M
  32. 数据库= your_database_name_here # h) |2 I" _& N1 ?, P
  33. 主机= the_pc_the_mysql - server_is_on * `! U+ f) E" \5 f" p4 M9 a. u
  34. user_name = user_name_on_the_mysql服务器
    " J2 ]2 C' w; |) U
  35. 密码= password_to_go_with_above_user_name # A& Y  ^. n8 d" j
  36. getdriverfunc = getsqldrivermysql 5 i; v2 g% O3 L8 F- C4 q
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib . i) _  E# k( a; c
  38. libraryname = path_to_libsqlmy_libary , Q! w1 T* A" \! J' s
  39. 积极= 1 % y) n3 v) l6 G: _* H
  40. ---削减这里---
    ; W. w# w* d" x8 e! T# M6 {
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    - P5 V* t% y! U8 ?3 y
  42. ---例如--- 8 \' d3 C" H- J# G6 C/ C% J! I4 O
  43. [ dbexpress ]
    4 f+ b2 M* Z* `+ O4 n' C1 o8 R
  44. sqldir = mysql_sql
    3 y* _5 Q2 a( _$ Y  f
  45. drivername = MySQL中" [  X* h/ e. A  u# m" e
  46. 数据库=测试0 z2 e3 b8 p: ?$ h" v6 y% b1 J4 c
  47. 主机=本地主机5 }( B) b$ [: b6 S9 h
  48. user_name = testuser 3 N( X3 w+ Q9 e5 {
  49. 密码= my_password
    & {/ N2 S; [# y. u
  50. getdriverfunc = getsqldrivermysql + \- l9 ]0 y" |
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    - ^( s& G& ~( t- @0 T& b8 E( p
  52. libraryname =. / libsqlmy.so
    # s% u6 ^5 l! a+ S1 v  g
  53. 积极= 1 9 ?" p7 f) b1 B4 m
  54. ---例如---
    - ?5 R7 i7 B9 V! O' V  X0 R7 S: X* A
  55. & B" j/ g" W% U8 ~* b
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    . ~  Q* J' [. {8 F. O7 E
  57. ---例如---
    , A, N7 W1 H6 U
  58. [ dbexpress ]
    & ^7 E+ \' H/ \  b8 j; K
  59. sqldir = mysql_sql
    $ r0 @1 H- ]# G3 @5 n
  60. drivername = MySQL中
    2 A0 i& `4 D+ _1 D% A
  61. 数据库=测试
    & V$ |& v, e, X" B
  62. 主机= 127.0.0.1
    7 A  a6 N* [& ]; S
  63. user_name = testuser
    5 }# r: P% @  m" [
  64. 密码= my_password / f- G) Q8 {$ }' k: \# o4 F
  65. getdriverfunc = getsqldrivermysql
      J+ a$ A  G8 @
  66. vendorlib = libmysql.dll在
    ' K0 O9 s* \# V+ r% \
  67. libraryname = dbexpmysql.dll
    7 E1 e) F1 E! |7 K1 T+ G
  68. 积极= 1
    6 j, G0 T' a- W) Y# m( J% D* w# X/ R
  69. ---例如----
    7 \( l' ^9 @# q) }8 k
  70. -写在0 2.03.04由p wk.linuxfan
    / \/ D+ z* X, r) ?) y1 w
复制代码
发表于 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$ F5 F% \9 c' y
8 S! i1 g7 g4 hbut, 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 10:40 , Processed in 0.095990 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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