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

3163 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
0 A* y9 l( w. d" d1 ^( L6 b: T5 Y; Z
  1. . E( o* Z2 c5 j  t6 Z3 L3 |
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ! M% {/ z2 t( a+ ]  _7 v

  3. , u$ T- j. }% u, P* Z3 `3 D8 C6 a6 s- }
  4. ### What we need ###
    . @; S* g; b, ]/ y$ G2 U6 u
  5. Naturally, we will need a MySQL server to store the data for us, this document
    8 Y2 |1 c* C& {
  6. will not explain how this can be done - there are documents out there for the
    " _6 D* }+ j' p1 P' Y8 e2 \9 ^+ R
  7. interested. The requirements include a (empty) database for TeamSpeak to use. j$ z1 m5 V: _7 C4 ?% o4 c
  8. and a user account (username + password) that has the permissions to do stuff0 l1 R! z6 Z5 X+ q+ Z" P
  9. with the database. Additionally, you will need a vendor library installed on the) a4 d6 |0 {% V8 ], f
  10. local machine, this came with my MySQL install.
    0 M6 e; s! C+ h# `7 ^; l) D4 D
  11. These instructions will not tell you how you might transfer your data from the7 J4 Y. m: h, K( R7 l
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL+ ?* W( X/ ?2 E1 [
  13. database.
    6 I9 X) [* B) f2 O+ ]# X
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    5 t: _6 V3 d# U. V4 p
  15. the time of writing, there are still too many issues - check the current status# P/ W9 m- Q; g1 z8 c  x
  16. in the TeamSpeak forums if you are interested.- N; q! t' ]9 X3 p
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from5 L% `3 O  {7 ]% x) w
  18. Borland was used. This driver can only interface with the client library that ' A2 `- `% A; z8 ]* I! o  Z" `; Y
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this& X7 x& C3 f/ f: h4 _) G# R7 `
  20. client library - basically all you have to do is to use a 3.x client library as
    - v& q) u1 p3 Y2 V- U& k
  21. "VendorLib" and a 4.x database to connect to.! D( m6 z) Z$ a& u. h/ \- _$ F' p
  22. If you need more info about dbExpress, you can contact Borland.( R. ~: d9 F8 Y5 {. P7 U& F

  23. 5 X9 C1 y( e; I- _
  24. ### Doing the work ###. |: Y' Z" B, @( [1 k- _
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all$ G/ C; x1 F7 Q  p2 s& @. U
  26. the perquisites right, just open your server.ini file, and add this section at7 i! C" n$ G$ U' c2 X6 L9 L
  27. the end:" y. I1 o6 h7 y% H
  28. ---cut here---- w. [9 X0 L' }7 b% q8 }" G, ^% g
  29. [DBEXPRESS]! q9 L5 v$ R, ]! J+ Z: t
  30. sqldir=mysql_sql
    ; z0 ]* ~- o8 G& |% v
  31. Drivername=mysql
    6 Y3 R0 u0 d" d+ f6 D
  32. Database=Your_Database_Name_Here
    : f) G) J: d* o+ b; z8 S
  33. Hostname=The_PC_the_MySQL-Server_is_on
    # e* ~. j) W$ \6 ?$ h2 {0 |! h8 s
  34. User_name=User_name_on_the_MySQL-Server5 X* O( |4 T! [. J# j' q3 a) V
  35. Password=Password_to_go_with_above_user_name% v, z& x; z( `8 |7 r4 O
  36. GetDriverFunc=getSQLDriverMYSQL) {" {! P3 U0 Z, D
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib! m: r+ n% X5 b/ Z, [1 U+ J3 v
  38. LibraryName=path_to_libsqlmy_libary: V' T0 B/ l1 V8 e7 ~
  39. Active=14 x/ C5 a) l3 F& A+ ~3 m! v
  40. ---cut here---
    # i/ I- A; }9 s' T; a6 t) t6 F
  41. In my environment (a linux box with a MySQL server running locally) I have:: H( r" Z* i' N% B# ^# i
  42. ---example---
    9 X" ^& Z4 A' x1 b) J; D9 d" f
  43. [DBEXPRESS]7 J, p/ [5 J- I& w0 |
  44. sqldir=mysql_sql1 b0 T: b" U" p4 J# Q8 v' w
  45. Drivername=mysql
    3 M1 }# p; V$ G. ?( b7 v0 u! \
  46. Database=test
    3 l1 B' {% \+ A
  47. Hostname=localhost. G8 Z1 G7 K  M& `
  48. User_name=testuser
    / D+ W5 \7 f) E# E
  49. Password=my_password
    9 T0 D7 D# c5 p/ }! E* s' G$ r) }
  50. GetDriverFunc=getSQLDriverMYSQL
    7 |: B( @3 q/ ~" F" Q
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.00 m5 x% p) _% N, x  V
  52. LibraryName=./libsqlmy.so
    % p5 n( B' }- X
  53. Active=14 }) B. p( v! Q0 `* C5 f7 Q
  54. ---example---) X- t- a6 k3 R2 C

  55. + o2 m* c: \. I, a) Z) G( q
  56. On a windows box, also running the MySQL server locally, it would be:
    & _3 d/ k' t+ A
  57. ---example---& K3 `0 d( ]/ I' z7 L1 S' m
  58. [DBEXPRESS]% z" I" J1 m/ K, ~9 v$ D/ i
  59. sqldir=mysql_sql0 q. E% k# d/ g) E8 e
  60. Drivername=mysql9 N* }* P- ]) s/ Y( _+ \/ K4 M
  61. Database=test
    # D3 Y, {# c" h: ]6 N
  62. Hostname=127.0.0.1
    1 {5 g  F% t0 v7 n2 q; i2 l( \6 V
  63. User_name=testuser
    9 y  W% G% B; B* {
  64. Password=my_password
    4 q. J1 c& e' m: R+ \5 ^" m
  65. GetDriverFunc=getSQLDriverMYSQL
    6 i' `$ j5 W, o
  66. VendorLib=libmysql.dll
    ' a: c* O1 S. v' g4 r
  67. LibraryName=dbexpmysql.dll
    / E6 b" {$ M* m( p9 h$ s
  68. Active=1% ~( \7 N. W3 Q0 a
  69. ---example----
    " ~& G7 Q! ?4 P& G5 g1 r
  70. - written 02.03.04 by pwk.linuxfan3 i4 A: ~7 k+ R& h% h5 F  p% j

  71. ( i$ c3 }6 ~8 Q' I3 A6 a
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看8 a  Z7 |( ?% O3 D5 Z) y

  1. ; Z  }8 l- \# ]  _/ e8 ^& P1 X8 b
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    6 l' D9 A- k$ A$ Q2 K* _5 [
  3. 0 Z; H+ }/ c9 Y% H, E+ i& {- b
  4. # # #我们所需要# # #
    6 O9 L& F) @* p* V1 M$ E6 J/ [
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ( @$ {7 M" X9 `% t/ C% C9 p6 @- X
  6. 不会解释如何做到这一点-也有文件存在,为3 ~  W9 `4 Y- b, X' c8 O# a
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ! E% ?* B9 I' c( E) V5 D6 h: C
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西7 R3 R( Z/ N3 Z& N+ n
  9. 随着数据库。此外,你需要一个卖方图书馆安装于- R) S+ c( t2 [3 P0 e! ]
  10. 本地机器,这是我的MySQL安装。 + X" z. r, L3 c
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ' C! C. D! _0 v3 \# G- I
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    1 n# E" F0 k7 N: A
  13. 数据库。
    / }. p+ j% s) Q4 i, x" }6 i
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在6 h1 K& {' x, ^+ ~
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    - m; T7 ~0 E6 O/ S& g7 J0 f8 V: ]
  16. 在teamspeak论坛,如果你有兴趣。 ; D6 P" I& Q2 i. i
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机8 R! M- X  I, E& v+ n! Y
  18. Borland公司使用。这个司机只能界面与客户端库9 \! x  o! C- [. Q+ }7 v1 G$ B
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这' C8 F! F  ^$ y! u7 k1 w
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为. r9 z  t. ^$ [4 Q
  21. " vendorlib " ,并解数据库连接。 % y: |6 `" D& A
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ; ^% X& h0 x; I& ?& a! P
  23. 8 a- c2 A& I; U; M( V% e* @' M
  24. # # #做好工作# # #
    , ]: p6 t4 D( P  b
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ( e8 R- _% }# E3 ?- g# h9 D
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在2 K& d$ f/ D2 _' P* k$ ~
  27. 结束: 0 F& P: Y' ~) @' S9 ~9 S
  28. ---削减这里---
    6 Z- h8 W# X8 u' l
  29. [ dbexpress ]
    5 E- ]8 g3 w. Q
  30. sqldir = mysql_sql ; f. r4 A9 G) \! }
  31. drivername = MySQL中
    - B' Z' R1 n" f9 M' [. h
  32. 数据库= your_database_name_here
    2 t- O. f5 {0 ~+ j
  33. 主机= the_pc_the_mysql - server_is_on ; \8 I3 K( Z; m/ u' e8 n: ~) M
  34. user_name = user_name_on_the_mysql服务器
    7 j$ s( Z, O  i1 }- ]# S5 T
  35. 密码= password_to_go_with_above_user_name
    8 ?5 T. s# h6 N9 [/ A. [
  36. getdriverfunc = getsqldrivermysql
    ' ~2 F0 M& z  p" \3 h
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ' e" x/ |& n( [& u; P, l& u) |! q
  38. libraryname = path_to_libsqlmy_libary 3 V+ J" ^9 U$ r8 c/ e/ Y& @
  39. 积极= 1 % L4 o* s  R6 T2 S- K5 J5 z+ k: g
  40. ---削减这里---
    - h! x6 x1 }+ W. S: x* K( m& F$ j
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    8 R( Q- w0 j' G
  42. ---例如---
    ! c. @7 z% y  c' |* H
  43. [ dbexpress ] 8 p" F% O: @/ A3 k
  44. sqldir = mysql_sql 9 m  k. l& q  E0 q! @8 Z* J
  45. drivername = MySQL中% j; {( f8 T/ ^( u4 I: ?0 ~
  46. 数据库=测试
    4 K* j' t& U0 k+ R
  47. 主机=本地主机
    , P1 {5 W3 K+ q- M
  48. user_name = testuser
    6 Z( y3 f$ Q- G3 t" ~: `! M. V
  49. 密码= my_password 0 G6 ]4 ~/ ~5 R. L6 j/ \
  50. getdriverfunc = getsqldrivermysql 0 q9 Z) j0 i1 M( m! Z7 X
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 1 Q9 \' N6 G* U% T$ r$ g6 G
  52. libraryname =. / libsqlmy.so
    4 H/ o- M2 Y) A6 C& h, v) I( f
  53. 积极= 1 8 H# \/ R9 I- `( p9 }6 w
  54. ---例如---
    & c$ h# z; a3 T# \0 u2 x; M' k  ~

  55. 2 J1 w. I4 I: b! ^% R
  56. 对Windows中,也运行MySQL服务器本地的,那就是: % q  J2 x/ `* Q: P8 m$ ]
  57. ---例如--- ; C6 _$ l" K4 j& ^0 v
  58. [ dbexpress ] 2 B5 z; H5 e4 x
  59. sqldir = mysql_sql ( r) ?$ y+ N  u2 l
  60. drivername = MySQL中
    ) `2 R" \. D9 l9 o
  61. 数据库=测试
    5 I  h6 G# H' D$ O8 S
  62. 主机= 127.0.0.1
    5 {* U' D7 l$ R2 d3 Q  ~7 w
  63. user_name = testuser
    . B9 Y( f6 I: Z' f, G) \# h9 o
  64. 密码= my_password 8 O1 N& W5 J: D4 x! T
  65. getdriverfunc = getsqldrivermysql % y! ~( P: v# N! Z; c9 P
  66. vendorlib = libmysql.dll在( y  C8 v' E( }) K3 y6 m' r) [- R
  67. libraryname = dbexpmysql.dll - R9 [" X/ m7 |: {6 s. ]
  68. 积极= 1 : n# h5 M* J6 O, S! s
  69. ---例如---- $ ~7 E, t- R, H: k& G0 N
  70. -写在0 2.03.04由p wk.linuxfan4 m% x$ B* T& 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! z2 |+ d' G8 a! `

+ {  x$ G5 K) M0 Abut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

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

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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