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

2459 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ( v" @. b( O* q, G8 J0 R

' s- o0 j& N5 R- K
  1. 0 Q$ \5 E# q5 V8 X* s
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    8 u* j7 ?* g; |& l% {4 G
  3. 1 J. o# M6 X, c6 ]
  4. ### What we need ###
    " {! T3 `* F5 V4 O' r# j7 @# L% Q
  5. Naturally, we will need a MySQL server to store the data for us, this document
    2 E: A! |7 U! B
  6. will not explain how this can be done - there are documents out there for the : s( J/ a( |7 i3 s
  7. interested. The requirements include a (empty) database for TeamSpeak to use  x) {2 G0 Y$ h( k: J# F7 e
  8. and a user account (username + password) that has the permissions to do stuff$ r( S+ X# }# d. `7 x
  9. with the database. Additionally, you will need a vendor library installed on the
    , y2 o/ I; e: F3 d
  10. local machine, this came with my MySQL install.1 K# T* @9 r4 G( d
  11. These instructions will not tell you how you might transfer your data from the6 A1 D. G- [1 s) b
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL6 b; i* }  p& q# B  o0 N
  13. database.8 A3 F6 W* C% h9 b
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    5 p8 j- N6 A$ r9 d6 V- s
  15. the time of writing, there are still too many issues - check the current status6 j2 K' Y( w2 ]+ K
  16. in the TeamSpeak forums if you are interested.
    1 K- q5 m" c, H/ V  s
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    4 L* M2 ^8 l' g" Z: z+ {# h! {
  18. Borland was used. This driver can only interface with the client library that 9 Z) w7 v. K* N4 C( ]1 b
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    5 [" V7 k+ E  ?7 j% p3 s/ J4 R
  20. client library - basically all you have to do is to use a 3.x client library as
    3 T9 V% L0 B0 t) m
  21. "VendorLib" and a 4.x database to connect to.: T2 t, b* S# H( F
  22. If you need more info about dbExpress, you can contact Borland.4 r% C& K3 o) S/ e0 N
  23. ; {; z( @* H1 _0 V2 ]; j8 g# z, o
  24. ### Doing the work ###0 ?) d( U8 F5 P) K8 `/ }3 C
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all" r6 A. C+ P+ O& z# v7 n9 |
  26. the perquisites right, just open your server.ini file, and add this section at# ^2 ]* K4 X6 g
  27. the end:) }* ~. w" o# Z2 N! {: u0 }
  28. ---cut here---
    $ ^  {1 @: q* c3 s1 u. N+ k
  29. [DBEXPRESS]
    7 {' ~0 x2 o4 f+ b2 {  ~
  30. sqldir=mysql_sql
    % A7 R/ q/ [5 h# r
  31. Drivername=mysql' z8 T/ A( c! {( C1 t# q$ c! B
  32. Database=Your_Database_Name_Here
    ' E& E, S! ^* ]& x) S$ }
  33. Hostname=The_PC_the_MySQL-Server_is_on
    # p6 p5 P1 n+ a, j4 O/ }
  34. User_name=User_name_on_the_MySQL-Server
    1 u5 d5 T: H# ~( h- E
  35. Password=Password_to_go_with_above_user_name5 j' \4 X6 Z7 Q( W  \  M) h( R
  36. GetDriverFunc=getSQLDriverMYSQL7 A% M; b9 E9 B) n. @) X
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib! z) G5 C) ~% N; u: i
  38. LibraryName=path_to_libsqlmy_libary! o9 |8 y( ~3 q& ?+ S
  39. Active=1
    0 R2 `9 V/ V! F8 y8 \
  40. ---cut here---
    2 V* e3 _2 k/ D+ r7 z# z6 _
  41. In my environment (a linux box with a MySQL server running locally) I have:( x; F9 @( _* n& z; j
  42. ---example---6 q# g. O" U9 E$ L
  43. [DBEXPRESS]' p9 e7 A. d, c$ J
  44. sqldir=mysql_sql
    9 j/ q1 X4 \9 G" P3 N
  45. Drivername=mysql
    6 F+ Z( }! W3 R' e1 @
  46. Database=test" K' K4 q8 C: t/ R% e
  47. Hostname=localhost
    + a& U2 _) {! O$ m( S$ I4 b
  48. User_name=testuser
    * I# @* y( ^9 `3 w: Q) O
  49. Password=my_password
    " Z+ ^! w. r6 W% t
  50. GetDriverFunc=getSQLDriverMYSQL  `6 C! B3 \5 R% X
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    2 m3 p/ s3 ~3 w
  52. LibraryName=./libsqlmy.so0 F" f+ L- K# d- D7 T' |; W
  53. Active=1
    8 m- z- s% U, U6 {& R4 K
  54. ---example---9 C& x1 k/ j9 ]: [
  55. 7 u* ~4 d8 M5 R  A6 o
  56. On a windows box, also running the MySQL server locally, it would be:  S6 P3 g6 \: i# y0 a: z
  57. ---example---& y* p- j; y/ Y, z0 q+ c
  58. [DBEXPRESS]
    , ]5 I- Y' C3 j- |# O
  59. sqldir=mysql_sql
    2 {% z6 h6 S/ |+ @
  60. Drivername=mysql- [& t/ A: ?5 k3 s
  61. Database=test, h, T& Y# R& C( X: L" D
  62. Hostname=127.0.0.1
    4 R9 y+ Q! L8 q6 H$ `
  63. User_name=testuser9 C' {# B6 Q4 B9 C# o, \/ g
  64. Password=my_password+ b' V* S# q8 F" k' h) M/ R, K
  65. GetDriverFunc=getSQLDriverMYSQL
    6 l2 f9 C/ e) I7 g$ O; ?
  66. VendorLib=libmysql.dll" l' ~; a; `; [- I
  67. LibraryName=dbexpmysql.dll+ [5 V* t4 o; q- @
  68. Active=1
    2 e# p) C9 f7 G) A5 s% b$ M- w4 a4 L
  69. ---example----
    # \+ H8 T$ Y" m' Q
  70. - written 02.03.04 by pwk.linuxfan" ?+ O" N4 y" p+ c0 ^
  71. # O, y3 k5 i& e8 e2 d, Y9 O+ I
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看0 j9 A# P4 y2 e+ Y9 d, y: v1 ^# n
  1. 3 t" Y: p3 R9 G; \* \# r  J
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### " p6 l! C; R. d5 g! F" F, n0 C- N

  3. / s: J; \/ z2 t) }
  4. # # #我们所需要# # # ' _+ d9 ]/ r& z1 Z2 G, l) Y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    , _6 i* g; ?4 l% L3 G0 G
  6. 不会解释如何做到这一点-也有文件存在,为
    ; _, H0 ~' K& w2 h3 w  k, a
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    3 R4 n9 K! h0 u9 K: ~% t
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    & V& N4 T2 A# l; v& Q5 b: t
  9. 随着数据库。此外,你需要一个卖方图书馆安装于; b4 b5 w9 }4 i! x$ N* P
  10. 本地机器,这是我的MySQL安装。 & }: C! {& M( M# Z
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    2 T1 y' T5 j* f0 g6 |- Q+ K: y* x
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 1 M. J; D. O  G" R0 v4 U
  13. 数据库。 ' z, ?9 Z* I5 u
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在# O5 p) q7 l8 P" a6 ~2 D# q7 Q: G9 y
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ( O1 X" J) G, K
  16. 在teamspeak论坛,如果你有兴趣。 " [' I5 C8 `3 c9 M7 Z
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    * j& J9 Z% T. a! \# t' _
  18. Borland公司使用。这个司机只能界面与客户端库
    " {& p+ z. s/ \0 x1 j, N
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这8 F% p7 l& d( H# n& t
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    " O2 N: i" V! I7 C+ ]
  21. " vendorlib " ,并解数据库连接。
    , c) K6 y) q0 b7 e# o
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ) j# ~2 ~+ x- ?6 y+ z, l

  23. 7 G3 s* {2 o3 {7 _6 h; R% f+ Z7 q
  24. # # #做好工作# # #
    $ {8 B. L% i* v
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    3 `) S7 A- P2 ^; [7 Q! @2 s9 {
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在% c, i; P+ y5 |/ b2 i
  27. 结束: - k2 z3 G! o4 V! ?/ e
  28. ---削减这里--- % ~4 Y' e, i/ U5 k: ?  [* k( f
  29. [ dbexpress ]
    8 z1 ^: @- `/ x! G2 I) U+ _5 ?
  30. sqldir = mysql_sql
    / V; y& f  q# y, Z) T
  31. drivername = MySQL中# v7 G- h$ X' i  Y4 K, j" U; {( W
  32. 数据库= your_database_name_here
    2 E5 y$ A  W4 k/ }, p0 {! g
  33. 主机= the_pc_the_mysql - server_is_on 1 e8 c. A; t4 k* ]8 o. R; X
  34. user_name = user_name_on_the_mysql服务器% p# ]* x$ B6 G+ Q
  35. 密码= password_to_go_with_above_user_name
    + Z8 b. W* u1 b
  36. getdriverfunc = getsqldrivermysql
    ' `" f) S# y2 q5 U' x
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib # G0 K0 O/ L  p0 F
  38. libraryname = path_to_libsqlmy_libary
    7 L  w# {* U4 U  T
  39. 积极= 1 ; w$ X) B& Q' L
  40. ---削减这里---
    , t2 i& k, q6 H" U# u/ J( Y) v( R
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 3 s1 F" i7 z* |; ~4 d8 [4 m2 R' Y
  42. ---例如--- 3 }6 M- _4 h! s$ z3 B4 P
  43. [ dbexpress ]
    8 R4 r' \6 l0 _! J6 M# P
  44. sqldir = mysql_sql ' }2 p2 u$ [( V( y7 d. O2 j! ]
  45. drivername = MySQL中
    2 K0 [1 }2 s" L
  46. 数据库=测试: z1 N* [& q. E; @+ T2 v
  47. 主机=本地主机
    # I9 k4 q7 q, f0 S/ E/ w& J" `7 v
  48. user_name = testuser
    0 u/ }, W4 E- B: G7 C; b
  49. 密码= my_password
    & X- p' D& R3 J8 K. r5 Q$ J
  50. getdriverfunc = getsqldrivermysql 0 ^. a  ^" M; C" l' C* r
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    0 [& ^- t  D5 f) [, i$ y8 o* R/ ~
  52. libraryname =. / libsqlmy.so 2 W, N- D2 ^6 _/ @8 }
  53. 积极= 1
    7 C/ h2 q6 R6 R/ o; u3 i
  54. ---例如---
    " `# O/ L, x* e# G4 d: W

  55. & y0 @! x6 V! c  c) W/ M
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    9 I# p' H& d. s9 q# x0 B
  57. ---例如--- * K4 H8 [: \9 ]1 r  Q
  58. [ dbexpress ]
    ) H4 t/ I# o) |( U
  59. sqldir = mysql_sql
    ) l- V& s" E2 X* ]3 \7 g( g) y
  60. drivername = MySQL中
      |4 `+ b% h# `- {
  61. 数据库=测试
    ( ^( n5 m* ]' E) Y3 R
  62. 主机= 127.0.0.1
    0 p$ I6 E+ p8 e
  63. user_name = testuser   N) Z3 l% C% k3 Z
  64. 密码= my_password
    : G+ v" z# D4 W4 {( l
  65. getdriverfunc = getsqldrivermysql , p: y( M3 b, |9 z& E1 A
  66. vendorlib = libmysql.dll在
    ! n( A  {" E9 W6 K* T5 A# ?
  67. libraryname = dbexpmysql.dll . M) o4 d5 J0 G: q
  68. 积极= 1 $ p9 z7 R/ `$ y$ D0 d. R. Q$ r5 ?
  69. ---例如---- : h. {$ y& W6 |1 T" `
  70. -写在0 2.03.04由p wk.linuxfan) `$ _+ K8 o' R& }! x
复制代码
发表于 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 T+ l: v: j, K
) G" X2 I. A* D, x" }4 W8 o( v
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-8 10:17 , Processed in 0.127346 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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