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

3623 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan * ^" j) B6 z% j' ?; {
+ ^# k( c! o8 I* {
  1. * _0 Z! H0 C9 G0 x5 V6 c" l
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######8 I0 @+ P- P' j7 r* y, s

  3. ' }$ f- l; B/ e3 P! T, V; G. u9 Y
  4. ### What we need ###
    0 j% j! ]" I  x2 X
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ( H6 G4 X9 P* w/ U
  6. will not explain how this can be done - there are documents out there for the
    0 Y! E+ q+ x0 }" Z1 c
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    1 m9 r/ o4 Y2 @* D$ L! C
  8. and a user account (username + password) that has the permissions to do stuff
    5 t) q2 u( D6 E  @+ v' K& ~- y
  9. with the database. Additionally, you will need a vendor library installed on the9 }* c0 Q7 Z% Z$ ]- ~4 m
  10. local machine, this came with my MySQL install.$ i( @2 ]/ o6 E3 {0 [1 _
  11. These instructions will not tell you how you might transfer your data from the3 b' l% A8 ], @! H, d0 q% \- p
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ! G8 c1 H0 V/ P9 I; i
  13. database.
    7 }2 _8 x1 }2 x3 C$ a
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    , Q( q, l' m% W
  15. the time of writing, there are still too many issues - check the current status
    ( l7 Z6 s. j4 a
  16. in the TeamSpeak forums if you are interested.
      w* h) i! f. [- i# Y) Q% d
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from( t' ]+ {! Y. ^" P' I2 q, e2 N) F% g
  18. Borland was used. This driver can only interface with the client library that % D. v+ _4 z$ `- h& R
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    + H% Y: z8 w- q' o
  20. client library - basically all you have to do is to use a 3.x client library as
    * |  V3 s# x3 ]7 A  M  `. y; c
  21. "VendorLib" and a 4.x database to connect to., a3 d7 B4 K  ~9 {
  22. If you need more info about dbExpress, you can contact Borland.! o( z" L' K. U7 d6 o; J

  23. 1 t7 ~3 V- e5 a8 T) d- g2 Q' t
  24. ### Doing the work ###6 T9 C' W# k$ d, x, X! o
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    7 v$ [: q: t3 \/ I
  26. the perquisites right, just open your server.ini file, and add this section at
    9 f5 C/ r+ S3 f3 k- v/ f) w
  27. the end:1 b) T  d' l: A8 J7 ?
  28. ---cut here---
    0 k- v' [8 c8 y- D/ B1 o
  29. [DBEXPRESS]$ W! x1 o! K, w" E3 M. i7 X
  30. sqldir=mysql_sql
    + M* `, ?5 e/ X" Y1 Y
  31. Drivername=mysql/ o% {( l5 j7 U8 P/ M/ T0 ]
  32. Database=Your_Database_Name_Here
    9 K) ^( r1 }. p% i9 l
  33. Hostname=The_PC_the_MySQL-Server_is_on
    , o  J4 @) v( i* D5 V
  34. User_name=User_name_on_the_MySQL-Server
    8 ]; s3 L& w+ C* `; [$ a2 g  g% M
  35. Password=Password_to_go_with_above_user_name4 h# U# n+ W) j( l  X/ b6 ]
  36. GetDriverFunc=getSQLDriverMYSQL6 F+ A1 E" `* K, t
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    4 ~" I; K8 Q; ]3 ]- x' [0 ~. v9 P/ o
  38. LibraryName=path_to_libsqlmy_libary* u. W8 }% u1 {. p1 e* @8 y- a9 X7 ]( ?
  39. Active=1
    ' t* x+ `2 ?9 t- ~2 E' c
  40. ---cut here---- t: {' y5 Y2 T! |$ [& |
  41. In my environment (a linux box with a MySQL server running locally) I have:" S" q) \# L1 a: I% Z
  42. ---example---
    ) u, e* j* C- m3 Y
  43. [DBEXPRESS]
    + h* f* }- C. y6 P+ v( Z
  44. sqldir=mysql_sql# l3 H$ o4 _# q3 j( M# t! J
  45. Drivername=mysql5 F0 ^( Y: |2 m# g
  46. Database=test9 `$ y" x( Z  x7 U" d5 e) e9 m
  47. Hostname=localhost
    0 ^' q1 d3 y& d+ U( x9 V8 W
  48. User_name=testuser
    3 m8 @# V$ y) z5 B/ G# j1 j' H2 J+ ^
  49. Password=my_password
    5 n" _2 l4 ~3 P, W) M
  50. GetDriverFunc=getSQLDriverMYSQL
    , p! {# t/ W, r0 a" e& ^' X: d
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.02 F5 p& T+ ]- M6 v0 a
  52. LibraryName=./libsqlmy.so
    & U( T7 Y1 T5 G) e$ }9 {& W9 p
  53. Active=1
    * w& I4 g% Y) [5 |
  54. ---example---6 M& B; a' N& w" |2 e: W4 t

  55. / L! e6 g: Z, U+ r2 Q8 n
  56. On a windows box, also running the MySQL server locally, it would be:* F7 W& o, k! |
  57. ---example---
    8 N  G8 ?, ^- |1 y; V
  58. [DBEXPRESS]
    8 A5 A7 K5 C0 B, v% O4 _) ~
  59. sqldir=mysql_sql
    ( U; u" K, j. M* P& R2 G+ i
  60. Drivername=mysql: k: @& t% z( `
  61. Database=test/ \4 b& s* C6 a/ G2 F$ F; i2 O
  62. Hostname=127.0.0.1: \0 @( K, V5 g" h& D5 f  G8 A
  63. User_name=testuser# m% v: M! u1 T1 s9 U
  64. Password=my_password+ V# Q$ `2 J2 \" R/ z; d# G. h. p
  65. GetDriverFunc=getSQLDriverMYSQL6 O8 h! U9 b' j9 u: J! t
  66. VendorLib=libmysql.dll8 H! j- r$ }8 N; v' q. K$ G
  67. LibraryName=dbexpmysql.dll; m# B# [! g3 d, p% L; Q6 B, Q4 |
  68. Active=1
    & s) @4 i; L6 A
  69. ---example----( z4 R! I% U2 x% L5 M
  70. - written 02.03.04 by pwk.linuxfan2 X0 B% m4 _1 R

  71. 8 |' I4 ^3 N! [, W' U
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看; {! Q8 Y0 k* @: G5 t% t4 ~3 {6 w
  1. # g; _( Q0 P, J( R- s
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### / B& X5 v, I/ h- L

  3. 6 D: b' p- [+ A6 b+ \2 H7 e8 _
  4. # # #我们所需要# # #
    4 _% ~$ z$ ]# b/ p% ~# D/ F2 {
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ( K9 Y" W( g; T3 q
  6. 不会解释如何做到这一点-也有文件存在,为
    5 w* c- ]. r: K  O: |
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用5 k+ D1 \% s% E6 q
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西; Q) J) |; `+ y( F0 o+ f2 o- ^9 [
  9. 随着数据库。此外,你需要一个卖方图书馆安装于' U8 I* _! I2 J& y$ L
  10. 本地机器,这是我的MySQL安装。 ! C8 ^* M2 e& ?" s3 G, o
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从. S- d: k0 c. |$ j
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL   I" Y* K  N" B9 k: t8 r
  13. 数据库。 6 n2 P2 F2 x3 b4 u) d( I% v/ H
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在: U5 i: J+ c1 U% V( b. c# K/ z2 _. e
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    . ]8 F# b  B1 Z% Q& [, q
  16. 在teamspeak论坛,如果你有兴趣。
    . p& W8 i- d' N, P& h
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    - a0 o: C' n' l' L9 Z
  18. Borland公司使用。这个司机只能界面与客户端库
    + v5 n" `) f8 ]; |9 e( G. _: Q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这$ ]9 H: ~' y+ Y/ }! H& q4 p
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ) E% K0 o6 ]2 V, ?: ^( e( w
  21. " vendorlib " ,并解数据库连接。 ; t( Y$ l$ j% S: ~) H1 Z: h' l) t/ g
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    8 v* h6 J; Q" k1 `* `: b
  23. ' B, W( Q7 ]& H9 Z! x+ I. |' p0 U. X
  24. # # #做好工作# # # 9 q( M5 e& |' g/ Z" O
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ( r( ~) F! N- `) s( x/ A. Q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在+ Z  o- f: d: w, r
  27. 结束:
    , e# _: _% y3 {  a1 B
  28. ---削减这里---
    ' ^7 X( J. U' a' ~/ }
  29. [ dbexpress ] - d9 o3 M% ?, J% x0 g( s' r0 g
  30. sqldir = mysql_sql
    8 D5 \1 e3 B1 v  J
  31. drivername = MySQL中
    3 |7 V! J5 M7 x6 c4 d/ L
  32. 数据库= your_database_name_here ( T, M( ]0 o4 v
  33. 主机= the_pc_the_mysql - server_is_on 7 g9 P3 C( P/ w
  34. user_name = user_name_on_the_mysql服务器6 h- i5 Y) E: S; |! a
  35. 密码= password_to_go_with_above_user_name
    ' _' _; }5 B" ~$ F  _) {/ v
  36. getdriverfunc = getsqldrivermysql
    2 ^4 _% C8 a& x" L
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib / N3 x( N: Z1 z  Y1 n$ k
  38. libraryname = path_to_libsqlmy_libary   w) i4 Y& ?9 F* o8 F5 U
  39. 积极= 1 - Y! K/ H& p& w
  40. ---削减这里---
    1 g4 {4 ^9 q3 N) f
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 3 p% U) g! K' \
  42. ---例如--- 5 N; V9 }7 R3 G- Q' W. F! F
  43. [ dbexpress ] 7 r+ u8 H! f1 @" Y  Q) F
  44. sqldir = mysql_sql
      o- S+ L+ C/ J, W/ x7 c
  45. drivername = MySQL中
    6 b" A, s! e  z' w5 g* h$ V
  46. 数据库=测试; E# N5 q5 f7 a8 A; b1 A! p2 a
  47. 主机=本地主机! |, f2 v0 R9 w3 K# X
  48. user_name = testuser
    8 R+ N, y+ x6 b
  49. 密码= my_password # @7 `0 V# W$ A/ H- n
  50. getdriverfunc = getsqldrivermysql
    6 V6 l* P! K- S  p
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    3 @* [  l* j7 @* Z) d0 `# }
  52. libraryname =. / libsqlmy.so . U4 J7 A' D6 z0 D
  53. 积极= 1 ' G7 B4 `/ t7 ?2 ^# N
  54. ---例如---
    1 {/ Q8 z; }; d2 F& S+ K% v
  55. - v  Z' W, {. z8 a
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    9 o/ Q! ~5 V; V# B. D% G$ E$ y& a
  57. ---例如--- 7 h, S2 ?3 @' _* R: R6 O: e) F
  58. [ dbexpress ] 3 z1 l% [) B/ I
  59. sqldir = mysql_sql 3 ?& G/ V3 R  M8 g6 q& I8 B2 ~
  60. drivername = MySQL中
    * g. g/ G3 M+ z- S
  61. 数据库=测试/ F- E6 n( S7 k  ?& Y; a% w
  62. 主机= 127.0.0.1
    / r- y& U5 z1 a" a
  63. user_name = testuser
    ! `. H& _2 i$ [2 d$ v5 w7 S7 P8 e
  64. 密码= my_password
    8 y: j3 [7 k! ?5 |% J7 z2 W
  65. getdriverfunc = getsqldrivermysql
    : B# L8 R, P% m7 S3 P
  66. vendorlib = libmysql.dll在
    7 c7 }4 _! @( M: n
  67. libraryname = dbexpmysql.dll
    ; d3 ?; ]3 \- Z) I$ t
  68. 积极= 1 . d8 H: ^7 J' y* |
  69. ---例如----
    4 ]" r) M' ^$ c
  70. -写在0 2.03.04由p wk.linuxfan
    & l9 a3 O5 N+ k. B2 H& R
复制代码
发表于 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
: y# y. R! W/ K; V+ l
! f2 J, j3 W0 }, e' L1 l# i( lbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-12-6 12:35 , Processed in 0.055048 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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