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

3167 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 9 }7 D0 n4 B. Q( W8 b0 L  L
9 A9 W7 L% [" k5 Y

  1. 3 S+ I( [: \5 P' b1 ?, U; C" e: |9 ^" O
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    : y4 m3 F; {% {; N, ]7 E1 {
  3. 4 V1 E, c: v8 }7 c6 y8 {, A
  4. ### What we need ###) U" L7 U' A9 e5 j2 X% _
  5. Naturally, we will need a MySQL server to store the data for us, this document
    * f! [  X9 q* A
  6. will not explain how this can be done - there are documents out there for the ( z3 i/ u& o1 x" N% k
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    1 k. b8 h# B. T3 F
  8. and a user account (username + password) that has the permissions to do stuff
    1 F6 s5 O8 G; t- l- q) U
  9. with the database. Additionally, you will need a vendor library installed on the
    - R/ D) ~, j# e8 O; k6 |( P, ^
  10. local machine, this came with my MySQL install.
    7 ^  N$ \7 j, ~, \0 r  i0 J
  11. These instructions will not tell you how you might transfer your data from the: w2 S3 ]9 f/ e9 u8 _; P
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    / F( U! E, i5 D( d& a
  13. database.
    # N* @; @4 ]6 q" o! ~
  14. Some users have reported ways to import a SQLite database into MySQL, but at3 F& T3 J8 l& _6 ]9 d& e* X
  15. the time of writing, there are still too many issues - check the current status. S4 ]! a3 J5 b
  16. in the TeamSpeak forums if you are interested.
    : ?' p2 j% {, ?0 o; S1 |
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from! v! ]& q0 G& `' W% z) L
  18. Borland was used. This driver can only interface with the client library that
    % a) h1 Q6 c+ _0 v) `" p( y( c, F
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    7 i( R& J3 v$ \- B3 Y
  20. client library - basically all you have to do is to use a 3.x client library as * J0 l2 d0 c2 S8 B
  21. "VendorLib" and a 4.x database to connect to.
    ) |9 m9 F4 F! F9 q. j
  22. If you need more info about dbExpress, you can contact Borland.
    # s6 E- O8 s, D0 B7 m! [2 u) O: V

  23. 5 d8 y1 q/ j' Q* w8 q
  24. ### Doing the work ###
    & t4 V0 ~5 |$ e1 i) v
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    3 q' `7 ?4 a* r, w9 e# J; M# c+ I
  26. the perquisites right, just open your server.ini file, and add this section at8 |$ o. L; E  f8 {* e/ `/ n
  27. the end:
    3 Q3 ~  l. a  i+ }
  28. ---cut here---
      i4 I3 c5 r" l/ t1 e( z0 M1 p1 W
  29. [DBEXPRESS]
    ( }1 S8 N7 B& \8 Z0 E# Q/ q: J
  30. sqldir=mysql_sql
    , N% Q3 _- `  F, C" p1 w( O
  31. Drivername=mysql
    0 Q8 V" ?  M/ v& v: L# M
  32. Database=Your_Database_Name_Here
    ) C" K5 J+ K0 h3 L0 S
  33. Hostname=The_PC_the_MySQL-Server_is_on/ Q$ Y1 u% P1 R6 i/ U( A# r
  34. User_name=User_name_on_the_MySQL-Server
      E" w( Y4 @9 {
  35. Password=Password_to_go_with_above_user_name5 \4 T( ]4 G2 `& w7 y( U
  36. GetDriverFunc=getSQLDriverMYSQL7 N8 I; O* H- d! N
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    4 K& t/ p0 I& c) U1 I
  38. LibraryName=path_to_libsqlmy_libary
    ! x1 w" t7 U: R" S! `" y, r
  39. Active=1
    + |7 m1 W2 z" ?
  40. ---cut here---
    9 s/ i+ ~; `9 U0 c) Y$ Y" p* H9 H
  41. In my environment (a linux box with a MySQL server running locally) I have:
    $ J6 Z  F8 ^0 G
  42. ---example---7 L4 O2 w$ M9 e+ d% A8 T
  43. [DBEXPRESS]+ _( [& U4 K/ w. G, B; b
  44. sqldir=mysql_sql
    5 {' N$ s( k: ]: c8 ]. o" n0 F
  45. Drivername=mysql
    ' z. T* j/ ?( m$ U* @
  46. Database=test# g% j9 u: F, G& |! o9 }* `  i
  47. Hostname=localhost- h9 u& Q% B3 a2 ]4 D, u8 b. h
  48. User_name=testuser3 L! E" K( a# F( ^
  49. Password=my_password6 P4 n) {) y7 R* x
  50. GetDriverFunc=getSQLDriverMYSQL( Q: c( N) Z6 N; G' {# p+ c# t
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    4 O( D, d- [) h! {. O
  52. LibraryName=./libsqlmy.so
    " ?2 X" c0 v' h& l) b' `. ?. A5 b. j, i
  53. Active=1
    ' l: N1 x# l$ z' b  |9 X
  54. ---example---' @5 O. _& O9 j. s
  55. ( x% b! z& A% ]! U% w8 K
  56. On a windows box, also running the MySQL server locally, it would be:
    1 W* U( a* m( z) e! Z: R! o
  57. ---example---3 W, p$ f: y# E  M7 F$ A
  58. [DBEXPRESS]
    ' A2 M1 `1 [' Z8 h5 V
  59. sqldir=mysql_sql
    * Y* J% m1 E% `# L
  60. Drivername=mysql4 X7 n( U/ x' r
  61. Database=test, Y$ ~1 [. {, M: Z6 [# I* B9 I2 B
  62. Hostname=127.0.0.1
    5 a; ]0 ^% h" h' w1 K5 q/ s4 _% n* b
  63. User_name=testuser
    / C. j" b$ ?* Q" k1 c7 Q. _( M
  64. Password=my_password
    * z# q4 p. U* @! z3 F
  65. GetDriverFunc=getSQLDriverMYSQL
    & I9 I' A' c6 A0 `" y* B) T  Y' v
  66. VendorLib=libmysql.dll3 a; Q! O8 A) ^) d7 N! N, |' {
  67. LibraryName=dbexpmysql.dll$ ^* T8 V/ o! t! O0 T) l  Q3 e2 ]
  68. Active=1
    ! b2 P& O! U+ @8 J1 t
  69. ---example----: e" _2 T0 Y6 s% a7 C2 @) P
  70. - written 02.03.04 by pwk.linuxfan7 w/ X* u0 R3 M' ]* D+ b" q
  71. ' L+ m* ]5 @0 t/ u9 t+ s. {: Z- O/ A
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看6 O( s' c% A. S/ H
  1. % ~8 b( L- z2 K* K  M  P
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######   U- _/ i  k( E. o' R
  3. 4 u  B4 [$ F" t. D" A/ B/ l8 k
  4. # # #我们所需要# # # " T- o4 [/ a6 o1 m; ~$ ?5 D9 P
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    - ?+ Z' H1 w8 d+ }
  6. 不会解释如何做到这一点-也有文件存在,为' G8 ^6 t  G1 b* ]: y4 y( G
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    - K5 U2 l! ]9 ^0 E" m  Q
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西' k1 j# E5 }% X4 j" D) q& _
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    8 t. k' L4 Z$ r; A
  10. 本地机器,这是我的MySQL安装。 ( \5 y7 x0 N7 M/ I6 X+ O, ]( d" d
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从! Y9 y4 ?2 x8 w* T+ B7 q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ' D9 ?! @* m; W* U
  13. 数据库。 2 X* e* w! M$ g9 E' |
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在6 M0 R0 x5 X& p. e
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ( k( {( [/ g, G2 X3 ?
  16. 在teamspeak论坛,如果你有兴趣。 9 Y7 ~& C4 N1 t( C5 R& ^
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机' a* ^( U+ L9 n+ y6 U+ W
  18. Borland公司使用。这个司机只能界面与客户端库( X7 W  u8 x) Y9 N: f
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这- m7 ^, C0 o6 b' I0 z$ K; v. h6 m+ }. N
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为8 ^0 G1 W$ @( q! g7 ]4 y( c
  21. " vendorlib " ,并解数据库连接。
    # i. [% k6 z  F; I! Z. d
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    : U. T( n) A  m
  23. ; _% i! Y" B0 T- `/ ?; c" r$ y
  24. # # #做好工作# # # 7 o) Q  W! i( I/ b8 n
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    $ l" A/ m/ ^: h6 }8 A$ L& H
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    " |. W( A* g& S5 E: d
  27. 结束:
    , @  @7 N8 g& }% w8 N
  28. ---削减这里---
    2 l1 }' J7 ~  C
  29. [ dbexpress ]
    6 @9 C, B: f& e2 L! g7 m1 @
  30. sqldir = mysql_sql
    & e6 y, y% Y/ ^: b0 C" ^& z# e
  31. drivername = MySQL中
    & ?# c, A3 u# n( r: P" k4 n
  32. 数据库= your_database_name_here
    ( Q5 {4 I( S' k& R/ K3 D" Q6 T
  33. 主机= the_pc_the_mysql - server_is_on 8 m3 v; w0 t( L/ x
  34. user_name = user_name_on_the_mysql服务器  y' c9 U# [* d+ m' }* G5 B
  35. 密码= password_to_go_with_above_user_name
    - N7 G* q+ k* [5 M. o
  36. getdriverfunc = getsqldrivermysql
    1 [8 N8 e* f/ K/ O7 M. g( \
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 4 q( B& J: a3 v0 `1 G7 H! F8 c& Y& V( t
  38. libraryname = path_to_libsqlmy_libary : @' w2 d3 p! r0 f
  39. 积极= 1 # p: D0 ]/ v' w/ d, c9 \! V
  40. ---削减这里--- 2 S2 s7 ]1 K7 N& f+ x
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ) H/ [* x3 s. z  Z* ]
  42. ---例如---
    1 K' N5 Z; x1 C" S: [( R* S
  43. [ dbexpress ]
    : q: H- L) r' w' j6 i1 d! p  Q
  44. sqldir = mysql_sql ' e: b4 Z( W! K+ h( M$ T* x  Y
  45. drivername = MySQL中
    ) }/ o2 X" X# I; a0 u4 {
  46. 数据库=测试2 k  E8 c& i7 [/ e5 I/ z5 z
  47. 主机=本地主机
    5 j7 s1 K  w* d3 Q" c: i, n8 j
  48. user_name = testuser ( a. i% ]4 K6 N  _( y
  49. 密码= my_password
    & S1 i& N& D' G: ]7 z# k$ G
  50. getdriverfunc = getsqldrivermysql
    6 w2 Z& J; L3 E) D1 i; I
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    $ O- {, E" T6 D& m
  52. libraryname =. / libsqlmy.so " N$ R" m" q# T: l# b
  53. 积极= 1 ) T. H2 q' P% S/ C+ T
  54. ---例如--- 1 x. a+ O' w+ m+ |
  55. 3 ?3 U" }) t( q# P- W3 V
  56. 对Windows中,也运行MySQL服务器本地的,那就是: . Q3 t# Z0 e" A9 a
  57. ---例如---
    8 k$ S4 q& c% z: d! q
  58. [ dbexpress ] : `9 c& {- R) @8 R. i. x6 I
  59. sqldir = mysql_sql 6 i  e+ m, i/ K3 t7 w6 e# d
  60. drivername = MySQL中
    " j& F5 y" T/ Z! q. F
  61. 数据库=测试
    + u7 _3 p6 c$ K7 x: G
  62. 主机= 127.0.0.1
    1 ]1 B$ L. v$ m  z9 @% ^
  63. user_name = testuser
    3 T. s# K9 k5 s+ ^
  64. 密码= my_password 2 X% y4 I2 D5 \9 t9 i
  65. getdriverfunc = getsqldrivermysql ( N. e1 o6 u& a! t* K: z0 D- ^
  66. vendorlib = libmysql.dll在
    # ]; h2 G2 X7 s' j" I% C
  67. libraryname = dbexpmysql.dll
    6 a) ^4 G8 p5 K9 W, D1 s1 D
  68. 积极= 1 . f0 d4 F2 I/ }
  69. ---例如---- 2 d8 x6 G4 ?. [# `4 `+ N
  70. -写在0 2.03.04由p wk.linuxfan/ Z9 n6 t6 S: G) o) N
复制代码
发表于 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 words7 g: A3 J3 B6 T( j1 D6 p
5 `+ R, s; o7 n
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-15 19:02 , Processed in 0.097718 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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