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

3131 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan - `5 d! H8 K# Q. w/ [

  E/ \$ t$ Q# {/ O# C4 s0 T
  1. 4 a, V+ I$ [& B: w! u- b& f
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    4 P6 i* A* v7 }. P& D# J4 _
  3. 3 f- l2 {9 G+ W3 H
  4. ### What we need ###) \4 d  g- D( V& p1 q( O! t8 e
  5. Naturally, we will need a MySQL server to store the data for us, this document
      q7 b) E+ N( r: A  q5 Z8 I
  6. will not explain how this can be done - there are documents out there for the
    , r+ z& Z+ f- _2 Y
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    3 a0 C* \$ b3 d4 R3 P$ [- H6 O
  8. and a user account (username + password) that has the permissions to do stuff6 p; L8 P0 i" R. |7 q4 A( v
  9. with the database. Additionally, you will need a vendor library installed on the( M$ }" r+ F, x- J$ u8 w
  10. local machine, this came with my MySQL install.
    - ~5 P% ]- o) _4 {/ O
  11. These instructions will not tell you how you might transfer your data from the
      W4 ]) [/ Z" V4 x/ B4 t, {
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    3 e' h: R9 U$ P& t; F# [2 d
  13. database.+ n/ Q/ g9 S9 Y# Z" h
  14. Some users have reported ways to import a SQLite database into MySQL, but at9 g( T# n! C+ c6 P
  15. the time of writing, there are still too many issues - check the current status
    * G: i' x. s; r( t: w7 L6 J$ J
  16. in the TeamSpeak forums if you are interested.
    1 |. w5 ~, ?  P0 o8 o
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ; t+ @* _6 N& H( R' I
  18. Borland was used. This driver can only interface with the client library that
    8 l, X/ G: X9 }0 L. w) U
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this/ f1 s. F5 Y2 a
  20. client library - basically all you have to do is to use a 3.x client library as ! V. {# o) c! F" g/ e; ~+ v; T0 S  r
  21. "VendorLib" and a 4.x database to connect to.
    # p) e+ `. e) I$ D2 w$ m
  22. If you need more info about dbExpress, you can contact Borland.4 L+ T8 |* C2 c2 j8 \
  23. ! ?4 n, S6 l/ d& g9 K% l$ `- Y
  24. ### Doing the work ###0 [' |7 g; T: I+ L" E
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    , z: k, B, B4 i. y1 w: P
  26. the perquisites right, just open your server.ini file, and add this section at
    , r0 F2 }% d5 a  e( t
  27. the end:5 ?& \; b3 ~1 W9 u9 e1 s3 Z$ L
  28. ---cut here---
    1 d% A$ S' V6 P- \1 J
  29. [DBEXPRESS]: n. f( \+ h1 U. N" v+ f' y6 Q. M
  30. sqldir=mysql_sql3 u0 h$ N+ w5 E/ M  {+ V7 D
  31. Drivername=mysql
    " ?2 m+ a" {# s; J- C( @0 P
  32. Database=Your_Database_Name_Here
    9 v& d0 u( t3 L1 W; K- m# U
  33. Hostname=The_PC_the_MySQL-Server_is_on+ [- M. _, g) A. D$ }2 K
  34. User_name=User_name_on_the_MySQL-Server
    1 T( s, S% [6 r, j* N5 C& _
  35. Password=Password_to_go_with_above_user_name$ Q5 L) ]+ Y  ?( ]- W
  36. GetDriverFunc=getSQLDriverMYSQL
    - \- u  p+ s/ p( f. @7 p
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    5 D  k  N+ l( ~
  38. LibraryName=path_to_libsqlmy_libary
    9 Z7 w3 m( ~7 v' {. q* o, y
  39. Active=1$ V4 F% V. K8 }8 N
  40. ---cut here---
    7 ^/ q+ q6 f' A: P+ q* y
  41. In my environment (a linux box with a MySQL server running locally) I have:
    / L$ f2 G, t+ |/ _# _3 N) ^
  42. ---example---
    + n% J0 x+ S  E2 X; b- z) K. m
  43. [DBEXPRESS]' o1 G- d4 U) t
  44. sqldir=mysql_sql1 h% d( V- u/ S8 c& K- O
  45. Drivername=mysql
    7 P1 D2 r4 Y5 {1 i8 U9 X' ]
  46. Database=test5 \4 }8 D& U( S! [
  47. Hostname=localhost
    # w, I" O9 L& E/ b6 E! q) c1 J: H
  48. User_name=testuser; Q( p$ @1 ]( @. P) I5 _2 N4 ^/ {0 n* J
  49. Password=my_password$ q9 C. \  d& g, k, D3 E( [
  50. GetDriverFunc=getSQLDriverMYSQL5 r+ L# ?: p. Q% q
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.08 @0 ?# r# a2 n) v/ G* q- U1 D
  52. LibraryName=./libsqlmy.so9 b+ g. X% z/ x  B1 m! b& K
  53. Active=1( T8 z0 s6 A+ T* x3 Z; J
  54. ---example---
    , `/ i% l% ~  i$ L0 g3 C; H
  55. % c, S0 ~0 U" l; d
  56. On a windows box, also running the MySQL server locally, it would be:
    3 v1 C3 ]/ K4 a* d# Y
  57. ---example---
    6 `0 f% o7 V+ C) y/ S
  58. [DBEXPRESS]
    8 Z$ A+ r5 F" _' W. D
  59. sqldir=mysql_sql
    & P3 Q1 a7 O& x/ o
  60. Drivername=mysql# D( q! ?4 w& Z8 C8 K4 X
  61. Database=test
    1 z3 g2 @- b* x2 q2 B3 u8 \
  62. Hostname=127.0.0.1
    6 K1 `1 M$ b$ i$ f
  63. User_name=testuser8 f: x0 r( _7 |2 ~6 T. e
  64. Password=my_password
    ) u7 E0 j$ a/ n& ?; T7 ]: T6 E  v
  65. GetDriverFunc=getSQLDriverMYSQL
    3 D/ C; K( W$ }' y
  66. VendorLib=libmysql.dll, @7 P. z, s6 i6 K" O3 }8 h
  67. LibraryName=dbexpmysql.dll
    3 K! @$ l+ P) r: U% N6 l. N
  68. Active=1" z. `0 f% e( T
  69. ---example----5 c+ Q& \2 Y5 P- v9 E
  70. - written 02.03.04 by pwk.linuxfan8 U- Y- k! E- ~" h
  71. ' f4 g. I0 m6 b) i
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看. C  Y' F2 j7 d6 @# f# p) d

  1. # g' C) x0 g, k" F/ \: {; F
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
      |$ h/ I7 a4 r
  3. + c+ G' n( e) @2 U, C
  4. # # #我们所需要# # #
    6 D0 z3 J/ w6 N) Q
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    8 L' d3 Q( q& l
  6. 不会解释如何做到这一点-也有文件存在,为
    4 G" G" q# I; D; ]# T0 x9 m6 ?
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    + H: a: c( `3 p9 \) r0 r1 _$ H3 d
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西* L$ ~7 Z# E' ?" ~& S2 u# j+ s
  9. 随着数据库。此外,你需要一个卖方图书馆安装于8 b+ ?: ^( r* Z" G) X8 u
  10. 本地机器,这是我的MySQL安装。 5 k+ i2 P5 g3 i6 f
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从8 K% W& i4 u3 W2 o  v# e. Z( k% I
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    4 p: k: F) _0 v2 L, z( s
  13. 数据库。
    1 ]3 A1 b$ G: f. ~4 @$ p
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在3 G0 E; p, f$ i7 _1 W0 i) l8 L$ \
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ; x6 ^* Y+ m3 U: n
  16. 在teamspeak论坛,如果你有兴趣。 6 R  s5 Y8 h, S0 z7 f' F: F+ t8 x3 K
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    7 q1 W1 ^# j6 Z+ K) W
  18. Borland公司使用。这个司机只能界面与客户端库
    - J+ T/ _' R0 ~3 p' ?6 Q) Y
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这4 d7 t! W  m! i# u6 H# k, ]
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为3 a, {, S0 _+ g" n; m" X. N
  21. " vendorlib " ,并解数据库连接。 ' G# e% i) ~, s, s4 a
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 3 T, G6 S2 E! V7 q$ X* j$ ~

  23. ! r. S  j/ D. _9 U9 d2 l
  24. # # #做好工作# # # " C% t, M/ ^1 m0 ^4 K
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都1 b' ?. U# R/ P* C
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在! \, f) W6 H+ c0 ?( O
  27. 结束:
    2 M% Z, ]) s" s
  28. ---削减这里---
    & ?, r/ r  k1 W
  29. [ dbexpress ]
    ' }0 a- S' Y, e
  30. sqldir = mysql_sql
    6 U6 I) P3 a* k9 X
  31. drivername = MySQL中. S; o, @) A: E9 j
  32. 数据库= your_database_name_here
    8 A: c4 M; Y, }
  33. 主机= the_pc_the_mysql - server_is_on 8 D: Z) B# I( z' v4 C: l
  34. user_name = user_name_on_the_mysql服务器
    5 H' F2 j; |1 E5 j( D' R, E
  35. 密码= password_to_go_with_above_user_name 5 N$ o: m# M3 T7 w3 h. t5 B
  36. getdriverfunc = getsqldrivermysql
      n0 Y8 u: [. t. U; B* B
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ; Z) b5 z* E" V% l. {1 K
  38. libraryname = path_to_libsqlmy_libary / I1 t+ h0 k2 B* \/ S# d! L9 _
  39. 积极= 1
    1 Z: w. Q% w. f. e  j) y4 H7 u
  40. ---削减这里---
    6 Z& b  }) ]' [3 x  ?, b
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    $ x: W$ x5 b6 V4 {3 z7 i
  42. ---例如--- 0 Y; x, z/ v4 x, W2 S: F
  43. [ dbexpress ] 6 o& D2 k2 T# a& b1 |6 j, L$ z
  44. sqldir = mysql_sql . P" S6 m) N# V8 _* }
  45. drivername = MySQL中
    , _; B7 q5 Y) _8 S
  46. 数据库=测试
    0 o7 y) H" E: z) Y5 f/ m
  47. 主机=本地主机
    3 d, g9 G. d, A, a4 |4 A  \1 b
  48. user_name = testuser 1 c7 J4 m4 b( _
  49. 密码= my_password 4 [& y! g. _4 H% F0 ?8 k# |' F
  50. getdriverfunc = getsqldrivermysql + U" A4 K( m% p' R
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 " T3 l4 A) l) [; |0 [' J
  52. libraryname =. / libsqlmy.so + B" e. ]& B- i; M: W: W5 t( v
  53. 积极= 1 ) q! p1 R$ e$ e5 [
  54. ---例如--- 2 g% [1 D: m2 K2 L/ V4 F
  55. : q2 c5 W# Z; G: |. N
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    : L$ w0 J8 R8 r2 z
  57. ---例如---
    5 ?0 D* z: \& O; b, F/ ~# B  [
  58. [ dbexpress ] # O7 `- _$ |% J) g: w
  59. sqldir = mysql_sql ) C% Z- d; e/ z3 H* M, I3 W
  60. drivername = MySQL中
    % P4 T- F' e1 Q1 K
  61. 数据库=测试
    : E, D) L: ~# Z1 O* g- I
  62. 主机= 127.0.0.1 : K6 `$ q+ g- l7 ^
  63. user_name = testuser * C  K3 P8 e* o+ D- t0 N1 w2 m- T7 O
  64. 密码= my_password ) v( S. [/ z) I/ r: k1 P; c
  65. getdriverfunc = getsqldrivermysql
    - N) f  `! V- l3 S  K0 |/ h
  66. vendorlib = libmysql.dll在
    4 h) [: o* g9 u1 ]
  67. libraryname = dbexpmysql.dll 1 ^8 P" S( z7 P4 e# h! _9 q6 R
  68. 积极= 1 ( f$ k7 c: j) r# v; ^" o
  69. ---例如---- 1 b+ h/ y' h0 i7 b- ^
  70. -写在0 2.03.04由p wk.linuxfan2 z' m9 Q+ c. v+ Y. t( C
复制代码
发表于 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
6 O# }& a: f. {7 t
5 a, Q  c' v9 o) I0 o3 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-7 10:47 , Processed in 0.109572 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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