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

3029 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 5 T. I8 ]5 v4 I9 B( b* p, [

: `8 }- D- x3 _  m8 f
  1. ! e* q/ h/ ], n: b
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    " C3 [9 g/ e0 a1 o0 @8 z8 D

  3. 2 t5 f, P3 D2 h. \9 F$ {$ c- {
  4. ### What we need ###2 I2 L# l/ ]8 ^# Z) O  y8 M: F
  5. Naturally, we will need a MySQL server to store the data for us, this document 9 x) I9 k& j  m* B7 l3 f# @% t4 t
  6. will not explain how this can be done - there are documents out there for the
    ' Q, s9 l: ]0 z: W5 b4 e
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    8 T7 R6 S1 p  w; Z
  8. and a user account (username + password) that has the permissions to do stuff( i: r) a, P. h$ U
  9. with the database. Additionally, you will need a vendor library installed on the
    9 _* \. H+ e  n: ~3 L! u$ |/ t$ [9 D
  10. local machine, this came with my MySQL install.% l5 N5 p  I% A( Z8 U7 E) f( g0 O
  11. These instructions will not tell you how you might transfer your data from the6 X1 i# ]- @! N9 Y: O
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL7 Q6 V) X* q" Z. e* C0 A: d
  13. database.( [, {, r% j+ b+ E# W3 J: t1 O
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    , r% Y7 P# m, c5 l8 O8 f' N
  15. the time of writing, there are still too many issues - check the current status/ y, o( \0 P8 s/ o5 T
  16. in the TeamSpeak forums if you are interested.( H: l  E5 L* x/ P) [
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from0 z/ o# h" V3 v
  18. Borland was used. This driver can only interface with the client library that 5 C) ^/ m: f% y5 e0 W
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this; h2 S  [! c% U5 V+ W
  20. client library - basically all you have to do is to use a 3.x client library as
    8 Y' c. n1 d4 Z9 g8 h# t# [
  21. "VendorLib" and a 4.x database to connect to.- i6 J3 Z  V4 @% Q; J4 {& @
  22. If you need more info about dbExpress, you can contact Borland.3 F$ L0 g  k- k# ~

  23. - T; `2 k, [& P2 k4 R9 C
  24. ### Doing the work ###6 h* y) x, X+ j( W/ p
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all; i3 l! n& j3 r
  26. the perquisites right, just open your server.ini file, and add this section at
    - T8 F$ h7 W" C! j& z
  27. the end:2 D" C, N4 ?. D, K
  28. ---cut here---
    ) A1 W0 c9 D% N: z# C
  29. [DBEXPRESS]
    ( F( g8 D, z( E" N: I
  30. sqldir=mysql_sql* |3 [6 d0 R' i8 [
  31. Drivername=mysql1 p) v8 G. W1 q+ d! ^! K
  32. Database=Your_Database_Name_Here
    - f5 v+ d. z7 [" f; r6 h5 B
  33. Hostname=The_PC_the_MySQL-Server_is_on
    & n- ~$ w) ?( {1 n  F) R! M
  34. User_name=User_name_on_the_MySQL-Server& }& B. `+ B8 Q6 S7 W  V# f
  35. Password=Password_to_go_with_above_user_name$ C2 p& u$ }; s; j! e
  36. GetDriverFunc=getSQLDriverMYSQL2 f. B1 c. n  Y7 l/ C7 |
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib  i  Q  |% f7 P4 a
  38. LibraryName=path_to_libsqlmy_libary
    1 w( b9 H8 L+ l  m5 q+ o
  39. Active=1
    / H0 t& ~( |- Q: w7 h% r0 s
  40. ---cut here---6 U2 _4 s9 k! Z+ Z3 w# |
  41. In my environment (a linux box with a MySQL server running locally) I have:
    4 T, e% E3 k% ?5 w
  42. ---example---
    4 c% A0 ^9 Y/ v+ ?3 }
  43. [DBEXPRESS]6 {- }9 F! q" k4 y0 \9 ^# B
  44. sqldir=mysql_sql
    2 I2 V) Y$ B8 D+ g
  45. Drivername=mysql' e! g* N: p2 Y9 S7 P
  46. Database=test8 g2 J5 e! s: U# d7 h
  47. Hostname=localhost. {4 R. c% h1 \6 E% K$ z
  48. User_name=testuser
    , ]" ]' _/ y/ `0 H8 v. h
  49. Password=my_password
    / s3 [. ]) t# }. D1 _
  50. GetDriverFunc=getSQLDriverMYSQL" A, N: H; L+ N& z1 Q
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ' \5 L- s$ `- T8 e+ N
  52. LibraryName=./libsqlmy.so" l3 n# B" _- h% r, F# V
  53. Active=1( D7 X. g* _+ u7 \: |% O" G+ j" o8 O  G
  54. ---example---& a7 O# E# e' y' L7 D
  55. 7 r9 t- I( Q# d. B% b
  56. On a windows box, also running the MySQL server locally, it would be:
    0 F4 n+ h$ u. O+ h" q( m, B: X
  57. ---example---
    1 I' A+ T; j# T3 ]
  58. [DBEXPRESS]5 L, b5 B7 Z% }- O% w
  59. sqldir=mysql_sql- }1 ]% |- V$ Z+ P& v8 L
  60. Drivername=mysql/ H) K% Z8 S4 e2 `, ?
  61. Database=test6 q0 _, a; C+ r) J# M- Z4 a
  62. Hostname=127.0.0.11 ^9 K& E8 F1 C8 i4 g# Z# z1 T( o7 N
  63. User_name=testuser
    " ]# O9 }! R  Q; w% w
  64. Password=my_password
    0 }' K( O( S8 Y4 q' X2 Y3 x
  65. GetDriverFunc=getSQLDriverMYSQL
      E0 S# [( X* ^; n! y' @& A
  66. VendorLib=libmysql.dll4 i( O/ O$ c4 U# ~
  67. LibraryName=dbexpmysql.dll; l& \3 X7 ?1 [. \
  68. Active=1
    ! D5 _0 \. ^" b
  69. ---example----, e. f2 a9 j+ b' G1 E( [9 r! S  m
  70. - written 02.03.04 by pwk.linuxfan# C2 b3 x0 O# s- S8 B4 z
  71. 2 Z8 G, N$ Z- ?2 X
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看& f2 w' c. A0 N1 m

  1. 0 h; m' y% [% b+ |1 J5 X
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 7 L/ J; G6 F. O! T8 {* B: V$ L

  3. - m5 m9 K' N! u4 T* D
  4. # # #我们所需要# # # - s# g% }% ^1 r4 Q: T
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ! [' H+ E2 o1 g
  6. 不会解释如何做到这一点-也有文件存在,为
    6 M5 J3 i+ y. f  Z
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    9 s7 T& ^6 K" L; O- Z
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西# p) P) {" I+ C$ R& P
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    5 |/ \8 ?. Z4 l/ }1 ]
  10. 本地机器,这是我的MySQL安装。 & L, g& `( e9 U" z0 i& j
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    5 T+ |2 _* D$ i6 X! t1 s
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ; ?% Z8 y7 c: d
  13. 数据库。
    ( c- K( n; @* o0 x- v9 A0 R3 x; g
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    % R' K( S( Y+ V; X' B* l+ c% A2 _
  15. 编写本报告的时候,仍然有太多的问题-检查现状3 r4 t3 T4 F( }4 Q% b* F
  16. 在teamspeak论坛,如果你有兴趣。 1 x! n& [* ^- `( W; Y: l6 r
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    / w3 G4 J6 E# g0 I- U+ y/ @
  18. Borland公司使用。这个司机只能界面与客户端库
    " i; d1 O' R0 k2 U5 w, ~
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这8 {& L( F. e1 Y
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ' R9 V! J+ s; v% [/ D
  21. " vendorlib " ,并解数据库连接。 % z5 ~. c- C7 ]4 a2 d" j
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    , ?7 t, j0 v& H3 \- [; h4 w  I
  23. , ~* ]; [5 p% Q; @$ e  Z
  24. # # #做好工作# # #
    2 {3 ], X; e! U3 I
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    1 J+ k, `, C& ]3 |% w
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在+ E, K5 b3 ^( c4 H
  27. 结束: 8 r, M: e( @6 w, ]& \, s; m
  28. ---削减这里---
    " z. ?& ~' E3 k, `6 d
  29. [ dbexpress ] % J2 u7 j1 }: f) x8 @- T7 w! U! A
  30. sqldir = mysql_sql
    % Y) Z+ J& S3 T2 D+ h
  31. drivername = MySQL中- `" Z0 G7 F! k$ [( ]
  32. 数据库= your_database_name_here
    9 F; |0 [% T+ j1 p
  33. 主机= the_pc_the_mysql - server_is_on
    4 o* _' o9 O' T/ L
  34. user_name = user_name_on_the_mysql服务器
      F% l* }' J" j! l
  35. 密码= password_to_go_with_above_user_name
    8 B" C& H- X/ v& N7 K% C
  36. getdriverfunc = getsqldrivermysql
    5 D6 g: A' J: |6 a9 ^
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 6 Z. X; |  z7 q4 g! u3 O1 n3 S6 g
  38. libraryname = path_to_libsqlmy_libary
    7 F& ^" `. P1 f( r6 W+ u
  39. 积极= 1 2 g) C) U8 I9 v
  40. ---削减这里---
    % I; F: H8 U# L* o
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    1 ?4 N# _1 P" g) N6 o% m& }0 S
  42. ---例如--- 2 A  E' r( l6 i. W; |' d
  43. [ dbexpress ] 5 I+ F: R1 D0 Y5 W1 w; ]9 X
  44. sqldir = mysql_sql ! V8 P% U# \0 \& _/ e
  45. drivername = MySQL中( E4 H0 [- d2 L2 ~' p
  46. 数据库=测试4 ~+ \1 C9 V; F( t  S/ x
  47. 主机=本地主机0 R, K* O; p# Z6 ^6 K
  48. user_name = testuser   z! F' }" i: z2 v: z
  49. 密码= my_password
    ; A. Y" c) D6 N
  50. getdriverfunc = getsqldrivermysql
    8 u; l7 }/ ~9 v/ w+ R) J
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ; r" m) N! u( p7 s8 e4 D6 G
  52. libraryname =. / libsqlmy.so - Z1 N/ }& |4 S% F; n
  53. 积极= 1 % |+ v% ^6 @3 |9 G2 x
  54. ---例如---
    , D3 O- r, q2 n4 N$ \6 q9 }

  55.   V1 Q8 E3 C2 r
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ; |# i) f, k  [- b
  57. ---例如--- ; \% s6 {  x* N1 J  P, o' W- P- ~/ H
  58. [ dbexpress ]
    - p3 O" P# ^9 E" D
  59. sqldir = mysql_sql
      J5 d% h& _8 w
  60. drivername = MySQL中
    " r) l% p3 I# p2 y. C
  61. 数据库=测试
    , k% l+ N* O3 n8 \
  62. 主机= 127.0.0.1
    0 @2 D) g* J; Y. |' |0 {
  63. user_name = testuser
    ( [: v7 `4 i% z
  64. 密码= my_password & Q( R; \7 ]$ Z* m$ \( i
  65. getdriverfunc = getsqldrivermysql ) `, M3 A/ ^! q9 a) O- L' v1 k& ?2 l
  66. vendorlib = libmysql.dll在
    % s5 D0 C" I: b* E1 O
  67. libraryname = dbexpmysql.dll
    / s2 P# [  w( a; E$ t6 J1 }8 B% f  h
  68. 积极= 1
    : q9 T4 b. D5 i  z4 L0 ]  k
  69. ---例如---- $ c  ]+ l% j; R. M: T
  70. -写在0 2.03.04由p wk.linuxfan
    ( G# o! S; V6 W2 @! c' b( g3 f9 p
复制代码
发表于 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+ c7 C! I7 h1 p. A6 Y

4 }: @$ Y- y+ N  B% zbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-16 06:35 , Processed in 0.099929 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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