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

2827 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 2 i# w+ m% m6 ^! g3 V3 R0 t. W
# ~. I4 w* b" K" {9 V( p
  1.   Q5 T9 `/ G( P6 @) `: p" T
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ; N$ E" c3 \: J- h1 B! a8 _3 x8 P
  3. + n* e1 s8 T  }' u# }4 o3 Z
  4. ### What we need ###6 C- w( I! k  {( a, S
  5. Naturally, we will need a MySQL server to store the data for us, this document , u- `: [& |' X. y9 n# J: ]
  6. will not explain how this can be done - there are documents out there for the ! ^3 i. ~% y+ d( |
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    5 s4 q2 h+ B; T
  8. and a user account (username + password) that has the permissions to do stuff
    ) ]5 s" J8 c) ~. A( ?" k9 O
  9. with the database. Additionally, you will need a vendor library installed on the
    8 P) `# Z; j/ Q3 ~" Z$ w1 z* @
  10. local machine, this came with my MySQL install.: c0 i9 r0 v# g' A2 }: N: o7 Q" j
  11. These instructions will not tell you how you might transfer your data from the
    5 R$ h# s# E& d3 s( E6 r
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ( T* e2 {  y3 |+ `+ M* H: x
  13. database.
    2 c) \: A( S( O; L
  14. Some users have reported ways to import a SQLite database into MySQL, but at1 l( T) r1 \& U: o
  15. the time of writing, there are still too many issues - check the current status- p8 F4 O: ~( Y/ g3 Q$ u
  16. in the TeamSpeak forums if you are interested.
    ; _. u) x- U8 ]* e
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    7 P/ F# t4 \2 V
  18. Borland was used. This driver can only interface with the client library that , U; k5 A2 t: w2 u; `& B
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    9 j! }6 X( g5 q2 h# T; X
  20. client library - basically all you have to do is to use a 3.x client library as 2 _. _# n% ]$ w# r7 d
  21. "VendorLib" and a 4.x database to connect to.7 d$ W- f0 E4 C; y- l1 o7 D6 y8 z' o
  22. If you need more info about dbExpress, you can contact Borland.; j) }! I1 E: f+ `. l. v

  23. . N- S, }6 K$ o) J2 s
  24. ### Doing the work ###( K& E: Z  G5 [
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ( k. l9 a6 \! @/ L. z. \
  26. the perquisites right, just open your server.ini file, and add this section at
    . x, ~6 @' K/ D5 |
  27. the end:9 t- j' o7 C+ K( S  l; a2 x1 T
  28. ---cut here---* V& A) V. p% [& b5 U3 ~' j; U0 m
  29. [DBEXPRESS]9 B' U( C4 J7 `( Y) R
  30. sqldir=mysql_sql1 u+ ^' u1 f7 \$ n( i  i! |1 M0 s0 l' H
  31. Drivername=mysql, B, ?* X1 t) H
  32. Database=Your_Database_Name_Here
    , l+ m# V% Q% D& @& D. E8 o
  33. Hostname=The_PC_the_MySQL-Server_is_on
    & H3 S# b7 q2 ^6 ~# N6 ^8 |9 O* W
  34. User_name=User_name_on_the_MySQL-Server
    6 B& u  Z* E' }0 Z/ q
  35. Password=Password_to_go_with_above_user_name
    9 H" T$ D' X! j, _
  36. GetDriverFunc=getSQLDriverMYSQL/ h1 [; W: _. P
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    % F+ ?! `6 @/ M' U1 }8 ^. A( }
  38. LibraryName=path_to_libsqlmy_libary+ B" Z# `) X8 e1 t* y0 ?6 ]" F
  39. Active=15 ?0 z& j5 E3 u. K% |
  40. ---cut here---
    0 ~7 G, h4 o- E
  41. In my environment (a linux box with a MySQL server running locally) I have:
    + n! I) J2 P. x7 a/ ?
  42. ---example---4 K( i% Q8 S$ w. f# M
  43. [DBEXPRESS]
    5 p: q$ B, R( q# N5 p5 j
  44. sqldir=mysql_sql
    : O$ I. f9 P6 A# F, K5 x
  45. Drivername=mysql
    ) }3 f+ E9 Y3 j( w/ C, m$ Y/ @
  46. Database=test
    8 n( u8 d7 ?# V
  47. Hostname=localhost% ~- h9 V% U0 n- r+ q: P
  48. User_name=testuser6 A+ N( G: p. L& Q* G% J
  49. Password=my_password6 ~- z7 u# a. `' v: g. k! ]
  50. GetDriverFunc=getSQLDriverMYSQL7 Z- W# F8 e$ r( V
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0( n. w6 x7 ]$ V
  52. LibraryName=./libsqlmy.so$ m! L9 j3 G, V6 W, w6 z; W
  53. Active=1% _/ i  t* Z3 _
  54. ---example---
    8 `+ ^/ M+ u1 g0 @9 o& v
  55. & t* R/ K& c( }+ X5 v! g, s
  56. On a windows box, also running the MySQL server locally, it would be:
    6 @7 [$ Z2 z4 ]7 r( _. D& C
  57. ---example---
    8 X: g; Y% O4 z' H
  58. [DBEXPRESS]
    0 v- I  E% h! f2 h
  59. sqldir=mysql_sql
    7 q0 W% ^% U# y4 x" X, K
  60. Drivername=mysql% E! B  _6 _7 M. }
  61. Database=test
    8 D9 U# A* i( d
  62. Hostname=127.0.0.13 f- z2 L  M! L% b: X" n
  63. User_name=testuser" `" p, D5 f2 }) [5 Y7 Y# K4 `
  64. Password=my_password( O& s8 b5 t5 M5 K# @
  65. GetDriverFunc=getSQLDriverMYSQL
    " R: K8 `* I( [/ D3 q
  66. VendorLib=libmysql.dll7 f" z" n8 U: m9 D
  67. LibraryName=dbexpmysql.dll3 Z% a) Q0 h- L8 K2 z( V+ V- f
  68. Active=1
    : r0 n+ k( d0 i) L
  69. ---example----
    & h* w- j$ j8 Y" `: E
  70. - written 02.03.04 by pwk.linuxfan
    0 c6 r/ S, s/ \( H

  71. 1 m( Q3 L9 N- }- S) [0 \6 i7 c
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
( {8 L6 D' f& f' w( o8 _3 v
  1. ' J& k3 O9 c; c
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ! q4 Q" h5 q+ _6 m; V
  3. " t7 `1 \- ^$ H7 o; k+ y, F. ?" {
  4. # # #我们所需要# # #
    , k  w& s8 M& s' ~  y* j
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    9 `# t# C" Z1 r5 Y+ r" w$ x+ U
  6. 不会解释如何做到这一点-也有文件存在,为( _* }" y# ~1 K5 k
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    0 |. [) v5 u$ z/ W
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    + a- U) |7 _: O# H* P" p  G$ o" J
  9. 随着数据库。此外,你需要一个卖方图书馆安装于6 D- K4 B- n- D
  10. 本地机器,这是我的MySQL安装。
      n7 m/ S1 M0 W, [4 m9 @
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从7 }! W! Q5 {' R( b2 `
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ; ]/ n6 T6 [' i
  13. 数据库。
    * ?# `" x8 P" K& F; g( }: `& n. k
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ' s" V8 g/ K# T. A+ X6 r
  15. 编写本报告的时候,仍然有太多的问题-检查现状1 u8 Z1 ?" y8 J
  16. 在teamspeak论坛,如果你有兴趣。 $ W0 f+ u: o: ^& }
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    " X0 f2 l3 ]$ _7 B' c3 ]4 l8 i* W
  18. Borland公司使用。这个司机只能界面与客户端库6 _6 ?- p9 d* S: \5 U9 _
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    8 [1 g: O" ~# w6 @1 b7 D# n
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ) ^$ b/ R- n2 r+ a! {
  21. " vendorlib " ,并解数据库连接。
    ; Z+ B" h' e* e' w) k' P5 R+ ^
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
      I' ^+ S- y& x8 g6 h" Y0 k
  23. " W9 F9 }6 a5 y3 w6 S2 Y0 m
  24. # # #做好工作# # # $ d" B# P7 W6 C! M
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都1 p( v& V% u0 A
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    # X) M" h) L: u
  27. 结束: ! t+ v; V" N) u. q: j8 [" D
  28. ---削减这里---
    2 A: w! n# H! |; E% Z3 m! {# D2 `# v
  29. [ dbexpress ]
    4 [' @2 G; @8 B, r
  30. sqldir = mysql_sql + g1 B2 V' y: O; j
  31. drivername = MySQL中
    4 D; k9 |: {; @" U2 L
  32. 数据库= your_database_name_here 3 `; b: x4 N  K0 s: E5 K1 h+ ]0 l
  33. 主机= the_pc_the_mysql - server_is_on
    ! I6 L; G! t0 C
  34. user_name = user_name_on_the_mysql服务器
    ) d4 q4 R. x0 l# [6 B
  35. 密码= password_to_go_with_above_user_name
    . L8 E- v$ |1 B, G, @
  36. getdriverfunc = getsqldrivermysql
    ; b2 N% N/ D! l2 X2 e( ~/ ^. I
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 0 K  w9 q) O  o0 Z. ]7 b
  38. libraryname = path_to_libsqlmy_libary
    & J9 X! C6 N6 W0 @8 I$ Z
  39. 积极= 1 6 [+ `  P+ @; \
  40. ---削减这里--- & s. J( w, L! v. m) n- X4 Q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 3 e/ O4 G) @) P' W! _
  42. ---例如--- ) e' R$ ]& A. a" c" n: {: C! l
  43. [ dbexpress ]
    ! x" V+ |/ d' w+ D( A
  44. sqldir = mysql_sql 2 e& r; _5 K3 O+ c
  45. drivername = MySQL中5 K$ k' P. R" @- X6 r, ~
  46. 数据库=测试
    ' b$ k+ @) |" N" U4 F8 o
  47. 主机=本地主机/ B& a; B/ l  j. p
  48. user_name = testuser
    * N9 z# F) M6 i1 E7 b- ~
  49. 密码= my_password   y" x8 ~8 C- r: Y# \$ A: q) w
  50. getdriverfunc = getsqldrivermysql
    0 G- ]# }8 z, j! E. Z0 \
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 * f3 u4 S" k' A  J) R% X
  52. libraryname =. / libsqlmy.so
    & f1 }' B9 O/ p0 T' \
  53. 积极= 1
    ( r' j& ]& `0 t1 J& ^$ W
  54. ---例如---
    9 M2 i3 w% _1 i, L* b, m) Q9 N

  55. 9 F  J. w7 v' T/ z0 M3 v0 Q
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ) a( m* f6 l4 Y+ L6 I- n. l. J
  57. ---例如---
    4 X5 g9 E' C( ?" ~/ J8 I4 R
  58. [ dbexpress ] 8 z% H/ C: `! ~" Z) _
  59. sqldir = mysql_sql + e: s+ Y5 R5 ~& C  x' ~
  60. drivername = MySQL中
    - P9 v# U4 y6 Q) E4 i$ w5 J
  61. 数据库=测试
    * u+ C- `5 z1 L" K
  62. 主机= 127.0.0.1 $ _% H8 q' }  I. t$ }
  63. user_name = testuser " V! D* B0 U7 P# W" q. A, @
  64. 密码= my_password
    - {% F+ Q( R# {  Q- m
  65. getdriverfunc = getsqldrivermysql ( ^2 O" ]5 ^  {) I5 R& ^, V
  66. vendorlib = libmysql.dll在+ q" V) ~5 E. o8 |" k- ?
  67. libraryname = dbexpmysql.dll
    2 \+ K- ?5 K% o3 k3 }5 K
  68. 积极= 1
    - M4 |9 Y" i: C6 M3 a
  69. ---例如---- : O0 F" d' N5 }& l/ _
  70. -写在0 2.03.04由p wk.linuxfan. D; U' |( G/ j9 {; g
复制代码
发表于 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 words5 g% P# U/ m" _
9 _2 K! f, K" i% b. c, b& [5 p$ G
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-1 04:25 , Processed in 0.095566 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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