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

2780 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
; P' V! x! R+ C7 x8 U) f
3 _- w! b" c6 u% l* V! W! X

  1. # I! L3 ^# V+ n; ^
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######( `$ C& P  }$ Y6 ~$ I
  3. * a$ J* ], c+ Q) L3 l. F
  4. ### What we need ###/ `0 k: D" h- l
  5. Naturally, we will need a MySQL server to store the data for us, this document ; [3 B. v, A2 X2 \. u, b" q0 x) Z% Y
  6. will not explain how this can be done - there are documents out there for the 6 W* l2 A- {7 C6 Z, s
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ' d& u+ O0 ^& t9 z2 m  F1 C
  8. and a user account (username + password) that has the permissions to do stuff
    0 x) P* Q& l0 C
  9. with the database. Additionally, you will need a vendor library installed on the2 O1 L' q( ~* C" G- R) Q; u. k
  10. local machine, this came with my MySQL install.; o$ n' u4 a1 Y6 l! P. y9 o6 I
  11. These instructions will not tell you how you might transfer your data from the
    & ^& T/ t0 L% l3 X& C. M+ ^) f
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    " ^0 B1 @( q0 ^: B. C* q  q0 O3 x
  13. database.
    5 A- r8 D6 K+ _; P6 Y0 F0 K: N+ J
  14. Some users have reported ways to import a SQLite database into MySQL, but at7 ^* [. e) z# N' \+ y9 S9 o6 r
  15. the time of writing, there are still too many issues - check the current status! U9 ~8 p6 [( O* U( S
  16. in the TeamSpeak forums if you are interested.
    ' l, G, m* `: l
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    5 }2 R+ I( U/ ?3 R5 `
  18. Borland was used. This driver can only interface with the client library that
    4 z* Q  C( I- k/ G; V& Q5 e- T
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    / }  P* r. `% \2 d& @, M
  20. client library - basically all you have to do is to use a 3.x client library as
    0 U; W% M, }5 y  {+ A  Z
  21. "VendorLib" and a 4.x database to connect to.) h& Q& f/ k) F/ w# \
  22. If you need more info about dbExpress, you can contact Borland.
    + l' @! L5 k2 x" h% l. U. ~

  23. : o8 {$ Y9 _7 k7 A* E# q4 t4 [" ?
  24. ### Doing the work ###
    3 a- R4 P, ?+ \$ h( E: E& @$ _1 B7 }
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    : S* S+ w+ b) k, v: f) w4 h; ?) I
  26. the perquisites right, just open your server.ini file, and add this section at. l8 L: |: k! e' S8 u
  27. the end:
    - i5 Y- |4 E+ l& V' q
  28. ---cut here---' `* A2 k5 s8 m  f- m
  29. [DBEXPRESS]
    0 C  T  @' X, \; B& c  I3 K0 V
  30. sqldir=mysql_sql
      ~! S7 V; ~% q  {6 J
  31. Drivername=mysql
    ! T4 e8 P, W5 O# J% A# `
  32. Database=Your_Database_Name_Here
    % I: s, C. k  p: \
  33. Hostname=The_PC_the_MySQL-Server_is_on
    3 l' T* G- w5 ^9 w5 J% \
  34. User_name=User_name_on_the_MySQL-Server# x, a' ~; l0 x* g
  35. Password=Password_to_go_with_above_user_name- E; v6 Q& A6 X/ ]) o
  36. GetDriverFunc=getSQLDriverMYSQL$ Z3 H! m2 g9 U" s) V
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib* T- p0 \) A9 x# Y2 X
  38. LibraryName=path_to_libsqlmy_libary
    ' N" c2 n6 U/ h" N3 s7 E
  39. Active=15 G& h2 j) P6 A
  40. ---cut here---4 g7 A) W2 o. ?' w: r0 {
  41. In my environment (a linux box with a MySQL server running locally) I have:% x) m0 R* j3 T: d  |
  42. ---example---
    : `2 x0 M3 l* J4 d, b9 z
  43. [DBEXPRESS]6 s4 _' {: H, e
  44. sqldir=mysql_sql
    # `* [- S5 f) ?/ k
  45. Drivername=mysql$ o  m( s* S; s3 c% G9 j2 Z% I
  46. Database=test
    % c7 k- _: o& N+ M' t/ o
  47. Hostname=localhost
    + I& O4 R! C; u2 c1 i$ c: e4 Y8 t
  48. User_name=testuser2 I* L" f! Z8 G# V# t
  49. Password=my_password8 f, j! O# N; a5 N- R7 c& o" y
  50. GetDriverFunc=getSQLDriverMYSQL
    - W, s  c% o  h& g! w  y
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ( j3 E, s  J- _4 h0 E/ B% Y
  52. LibraryName=./libsqlmy.so% |. I7 x$ l" o: R4 j3 G2 J6 I" a8 p5 G
  53. Active=1
    ! j; D0 `2 [+ H/ I( y
  54. ---example---
    : C; t5 d2 b7 `% w& K

  55. 6 a$ \  a! r9 N7 W, l4 f# O" {; {
  56. On a windows box, also running the MySQL server locally, it would be:6 B$ R- M! _" \1 h7 }9 y
  57. ---example---1 {: _* Y  ?6 ^- x$ c0 ~  t
  58. [DBEXPRESS]% q6 \5 P6 t2 z! Z' o# i" n; w. h
  59. sqldir=mysql_sql
    % H; s- m& P' U3 f6 A, m1 U% f/ [
  60. Drivername=mysql8 `* D0 w. v4 G; z: o# }
  61. Database=test) k+ ^/ H/ i% J
  62. Hostname=127.0.0.16 `; h! O8 G+ @8 y
  63. User_name=testuser
    & j; h: w% b+ ]1 t
  64. Password=my_password& M% ^/ a0 f- Z) C3 Y0 W
  65. GetDriverFunc=getSQLDriverMYSQL
    " l; j# b+ _  f" N( O
  66. VendorLib=libmysql.dll% g4 c) q8 B, V3 g! {0 {7 p/ z
  67. LibraryName=dbexpmysql.dll
    ( e2 }% }0 u6 C+ T
  68. Active=1
    7 }% f1 \; B7 A+ {' d; j. t, [6 \
  69. ---example----: z: [5 B+ U. P( t, H( P
  70. - written 02.03.04 by pwk.linuxfan
    . h  M& s$ I7 _# ^$ g
  71. / Q# M# R* L5 |$ ?8 }
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
: d$ S: f1 v  }7 e' f: u  e  I: |

  1. & `' l( `  {- d
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ) }  d: N/ z; n4 Y
  3. ; f% P3 s  n  u2 E
  4. # # #我们所需要# # # ; _& N: b8 k4 m; q9 d( |1 x& e$ @
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件5 U% H. N* d0 |! Y  t5 f2 u
  6. 不会解释如何做到这一点-也有文件存在,为
    ' g% D$ b9 B& i/ U
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用2 d  g  b6 g" l/ n! `
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西. l& z  j$ j# b- J) p
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    # `& Q$ Q% N1 A! n! U5 b
  10. 本地机器,这是我的MySQL安装。
    7 Q) O7 S% O( ]1 X& ^0 a4 B4 q+ w
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从4 v8 f4 N2 |+ j+ }
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL + `1 t+ e* h5 H0 w% k! z( M8 f  o: I
  13. 数据库。 # G" m1 i- z4 t5 Z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    0 e  o/ @" k) `- u- r/ g- b
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ; {$ @+ Z' F" d7 s
  16. 在teamspeak论坛,如果你有兴趣。
    : A- a3 [! ~9 C
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机$ G4 M& W% a) ^; ]1 z9 V8 e
  18. Borland公司使用。这个司机只能界面与客户端库; x  l4 u0 L3 S7 ?
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这8 @: K# \- n$ _
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    $ U. u' c1 G# J( H$ V
  21. " vendorlib " ,并解数据库连接。   ]" [2 |! |5 q9 W# d
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    , K1 q/ O2 V* ~2 O+ g' H3 ^

  23. 4 l' D6 P. d; Z
  24. # # #做好工作# # #
    3 w2 S8 \; v& U% p3 O. `2 p
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都$ K# V" F, ?% f( H8 s
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在( h3 ?: |! `% r5 |+ m# Z
  27. 结束:
    8 b0 L4 b/ p  \4 ~0 a+ `! C2 j
  28. ---削减这里--- # l$ k& U1 f6 I: v  K
  29. [ dbexpress ] 9 ?1 S- V2 f4 `5 v
  30. sqldir = mysql_sql   P0 ~5 F& [# f( U
  31. drivername = MySQL中
    : I( t5 p! y( L) a
  32. 数据库= your_database_name_here 6 C' y' g( `1 |% i9 L( D
  33. 主机= the_pc_the_mysql - server_is_on
    5 o' D5 w" K! ]; b" F6 F+ j
  34. user_name = user_name_on_the_mysql服务器0 l/ o( U4 I# H: M7 A
  35. 密码= password_to_go_with_above_user_name 7 m& f( }1 d0 H5 k4 s7 P! y
  36. getdriverfunc = getsqldrivermysql
    4 U7 P0 F1 {+ N. T) B
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    " a& u* v. p: E4 ?8 Y2 d, \+ w
  38. libraryname = path_to_libsqlmy_libary
    ! i/ u$ k( v% A( ~  `
  39. 积极= 1 0 \5 x8 i* r/ L4 H- L( Q0 d* M
  40. ---削减这里--- / ^; n7 C* t; W9 k- W) f& W! U- Q+ `
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    9 D4 b9 C, j: {- L
  42. ---例如---
    * b( A* p: f$ F6 l' D; }3 y: Y  {
  43. [ dbexpress ]
    + s$ ]: g! l2 S9 O! g4 b$ j
  44. sqldir = mysql_sql
    ' @# W4 @" S5 G6 v  R
  45. drivername = MySQL中
      D  b( I! B5 P' `3 p
  46. 数据库=测试! f% T7 g* n0 ~$ R- s8 ^0 B
  47. 主机=本地主机
    ) _" e* A; p1 G1 ^6 i
  48. user_name = testuser , A' ?, m: h1 P! ~* e0 \9 m% r
  49. 密码= my_password # ~' D0 k" S/ S, u' {& r
  50. getdriverfunc = getsqldrivermysql
    ! R. x. b. e2 s' H% e
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ' z( q* Y) n& K
  52. libraryname =. / libsqlmy.so
    ) R5 u, e& I, R2 c# _( K
  53. 积极= 1
    % [5 H$ F- H. c3 k
  54. ---例如--- + p' s/ j2 \) c. x1 d, E, m. [7 |0 h( k

  55. ) C' }8 F3 [$ E; @$ q6 \
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    * p: Q; X" h. s- O! B! k5 w
  57. ---例如--- + |2 C$ \0 [# ~6 B+ m
  58. [ dbexpress ] + _) }& t+ ~: N: i! A
  59. sqldir = mysql_sql ) A5 D; C2 m1 ?4 Q: l2 e! i
  60. drivername = MySQL中0 `% U4 B- ~( g: [# k
  61. 数据库=测试; g0 k3 {8 u# A% v; C9 k
  62. 主机= 127.0.0.1 # L0 R5 D" K  b: _* L
  63. user_name = testuser
    " K4 x* v& l( W. O( e
  64. 密码= my_password , o$ f! L& P+ Y: x. o: W
  65. getdriverfunc = getsqldrivermysql , c9 j; B' {, W3 o
  66. vendorlib = libmysql.dll在
    8 X( D( L3 N. b
  67. libraryname = dbexpmysql.dll 6 `2 H6 H6 P2 _6 R8 _! g
  68. 积极= 1 ! [7 q" Q' l& y% T8 w4 C
  69. ---例如---- ' I4 U% n( Y1 D! ^' H: L4 C* F
  70. -写在0 2.03.04由p wk.linuxfan' a7 e/ T& O+ ~6 s
复制代码
发表于 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
5 [# A" L8 H9 g& N" j& i
3 f! d- R4 a6 L. S  d* j' R, Xbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-19 23:40 , Processed in 0.093283 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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