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

2320 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
7 v* }7 [% Z; }+ @, P
3 d. I8 [5 b6 `' y5 Q
  1. 4 l/ F9 J8 Q( E
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ' D1 N+ S6 |" A

  3. " i5 W4 Y4 E0 {( h9 u
  4. ### What we need ###7 M& \5 h1 ~# Q
  5. Naturally, we will need a MySQL server to store the data for us, this document 1 J5 O0 u1 @  K3 b
  6. will not explain how this can be done - there are documents out there for the & M) H; D) }: ?1 b1 v$ k  A$ k
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    # `( p6 t  H) x) ^% P, g
  8. and a user account (username + password) that has the permissions to do stuff
    ; O8 R: P$ j0 Y; @0 U3 v
  9. with the database. Additionally, you will need a vendor library installed on the
    * V- h+ M+ p7 W) |3 e4 `' ~+ c
  10. local machine, this came with my MySQL install.
    ) Y4 [* y# Q; l# }: R
  11. These instructions will not tell you how you might transfer your data from the
    , |" O, s1 W, Z% v
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    " }# i9 H) F, m. s7 G
  13. database.
    ! I  J0 m" @: v: J/ ~% M2 T
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ! ~. C( M, B7 ^* K- ?
  15. the time of writing, there are still too many issues - check the current status
    1 t/ y7 ], o' q! h6 L& f
  16. in the TeamSpeak forums if you are interested.: z+ ^( L4 d# }, o  H! i& P4 P
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    9 c& G6 p5 G- F) n7 q' I6 i& ^
  18. Borland was used. This driver can only interface with the client library that 6 p) h( n! t" H
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    7 y, I+ k0 n: G) I: j
  20. client library - basically all you have to do is to use a 3.x client library as
    ; C4 H, p: \9 \( {+ n# q2 B# }; e
  21. "VendorLib" and a 4.x database to connect to.
    % T- w0 u2 Q/ Y: |
  22. If you need more info about dbExpress, you can contact Borland./ Q6 [) O' R. [$ b
  23. : h! B/ t& ^/ G; J
  24. ### Doing the work ###' ?2 L* F* y* J. e+ @- q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all3 O% W* o* C" @  p( M9 j1 O
  26. the perquisites right, just open your server.ini file, and add this section at
    5 @2 t- O6 ?, H6 x
  27. the end:
    3 z3 {; R* Q; O7 m0 V4 T
  28. ---cut here---
    2 ~8 q, G' _! b- x/ R% a, `
  29. [DBEXPRESS]! W  w. d9 w/ u( M# X! k( G! t+ A! C
  30. sqldir=mysql_sql9 W4 E" z" E9 u; h* E7 S
  31. Drivername=mysql) \2 F9 j2 f9 }! [
  32. Database=Your_Database_Name_Here
    3 ?& N% I& a' h  B' n6 q
  33. Hostname=The_PC_the_MySQL-Server_is_on
    4 s; g) |- P" F. ]6 i
  34. User_name=User_name_on_the_MySQL-Server0 `- H& N) T' H  G0 I- s& z3 y$ d7 F
  35. Password=Password_to_go_with_above_user_name
    $ B7 Q( a, m) D$ x# V1 {
  36. GetDriverFunc=getSQLDriverMYSQL
    ) k) G& Q! @0 v! W
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib0 i" y0 ]1 Y4 D
  38. LibraryName=path_to_libsqlmy_libary
    # Y+ W0 S6 v# r+ R/ C( X" M
  39. Active=1; z* k1 x# t& u" Y6 M% @; R' D
  40. ---cut here---9 i# e7 A: V8 a( F( B
  41. In my environment (a linux box with a MySQL server running locally) I have:# c# L7 k2 U3 \3 y8 X! n+ A0 S
  42. ---example---, P- ?' @8 A' Z) C* S# b
  43. [DBEXPRESS]
    : M0 k% |) ]) M3 Q* Y' y
  44. sqldir=mysql_sql
    - m/ d  H2 G) u
  45. Drivername=mysql& V- {# b6 M0 T: D" I
  46. Database=test
    ' X9 I+ y( \' V( D- N
  47. Hostname=localhost
    9 x. T4 Y0 \6 K5 X8 E
  48. User_name=testuser
    / @( e$ h+ T* L$ n
  49. Password=my_password4 T; I: ~  V4 j9 ]" r4 f) G# C5 ~
  50. GetDriverFunc=getSQLDriverMYSQL
    , q3 W, q: o" ~- E" n$ L8 L: O- {
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.00 F; `6 d: f/ o% b$ I: ]# R+ m
  52. LibraryName=./libsqlmy.so
    % P1 H& i( c9 r- N7 A: u0 h
  53. Active=1
    # x$ h# \4 p+ ^7 m
  54. ---example---1 o( B2 s" u& v0 S1 A# @
  55. , h- m- a( K0 m  ^/ e* a
  56. On a windows box, also running the MySQL server locally, it would be:* h# R9 N" ?/ I* [8 g
  57. ---example---0 R6 ]6 u7 u5 a# E
  58. [DBEXPRESS]
    3 m2 G% a0 z- I, @; y
  59. sqldir=mysql_sql$ m$ q' |0 {1 Z+ Q# m! g
  60. Drivername=mysql
    % @6 ^  a! G) m) R
  61. Database=test' u2 d  q  q9 S8 k, i7 q- \
  62. Hostname=127.0.0.16 u6 \; l; A, i7 i0 X! R6 |- |8 ~
  63. User_name=testuser) w/ ~6 g7 b! B" [1 W
  64. Password=my_password" U! \: s( l' [- p( d/ G' |" X
  65. GetDriverFunc=getSQLDriverMYSQL
    $ v( q& k4 s5 @
  66. VendorLib=libmysql.dll
    3 e' ~% h. ]& G/ k
  67. LibraryName=dbexpmysql.dll/ l4 G5 j- A& J% h- P
  68. Active=1) ?& `- s5 x  o4 I
  69. ---example----8 F7 F! l% z0 C# V
  70. - written 02.03.04 by pwk.linuxfan5 U7 u9 L5 Z4 Q; E3 v) l

  71. % P  v! s/ _! R, `) W: e
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看' a8 r+ W  j- y
  1. ) }1 {5 z) K, ?4 `* n+ t6 C4 f
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    " \" A" K; |1 K; O

  3. 4 u) [9 R, v3 T8 t6 E' R( F
  4. # # #我们所需要# # # & x: z& i# p9 O) X4 w4 h
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    # H: E; r6 F4 S6 X* T
  6. 不会解释如何做到这一点-也有文件存在,为9 S2 g; ?+ Y( [1 E8 L) n) I
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    / _6 j+ o5 N2 \. ~& O: j
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西& c' E5 {3 d2 ~5 w
  9. 随着数据库。此外,你需要一个卖方图书馆安装于. n6 t/ {9 S( l8 i* |. d1 v
  10. 本地机器,这是我的MySQL安装。 # f  b5 X1 K1 x6 o" Y" m
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ; X) d9 B- H- u0 l# f8 ]4 ?
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 6 b5 s5 n  `$ O& Y! c
  13. 数据库。
    7 N0 z3 E/ W9 T+ W5 b- e* V
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    3 v4 g/ z# G" ^, d8 e
  15. 编写本报告的时候,仍然有太多的问题-检查现状! P5 x& h1 ]; H
  16. 在teamspeak论坛,如果你有兴趣。 + Q' l% T: C# [3 b( ~% b) {
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机& `: `- c5 l5 X
  18. Borland公司使用。这个司机只能界面与客户端库6 t$ F  [( O5 y0 x! Q& Z, w# F, C) b
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    3 ~" m, C, @  m: [0 f* m
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    1 r* C4 q9 Y: e$ _' ~2 E1 J
  21. " vendorlib " ,并解数据库连接。
    0 {& e# E9 U6 P6 t: @# N, Y
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ! c" v% j, I, ^3 o
  23. , J$ I: j, o8 U
  24. # # #做好工作# # #
    * N/ U* O& u0 Z! R% }
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都) N. h* p' `# _! M$ U7 V3 _
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在% M. [% U3 w2 \0 Q2 J3 e
  27. 结束:
    * }3 M7 ~) z0 N( `* j  Q
  28. ---削减这里--- 1 Y+ U3 U8 u3 ?2 N- D
  29. [ dbexpress ] / c( E3 w. m+ S4 a
  30. sqldir = mysql_sql
    ' ]: P3 S& Q3 h! w' K1 G
  31. drivername = MySQL中
    + Q5 \% e; A$ z2 V5 Q8 ^
  32. 数据库= your_database_name_here
    ! H$ |8 p% q( Y3 T5 Z3 T
  33. 主机= the_pc_the_mysql - server_is_on
    + J- I5 a9 M0 `* z' I7 @/ _" u
  34. user_name = user_name_on_the_mysql服务器. B5 ~/ c- }* `9 z* l
  35. 密码= password_to_go_with_above_user_name 9 U- {3 ?# l8 @: g5 K/ z6 h0 x: R% R5 |
  36. getdriverfunc = getsqldrivermysql . I: U1 }4 \0 l0 s
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    3 X. S, q: u$ {2 O, t2 |" G3 l+ r
  38. libraryname = path_to_libsqlmy_libary
    " c$ }! p- Z0 }* \0 L( F
  39. 积极= 1
    5 n# U+ d& U6 E! g$ U
  40. ---削减这里--- + q9 D- f' ^$ q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ( _& \( B6 Y2 Z$ m0 f& K
  42. ---例如--- ( [- B: N4 F% ]5 N
  43. [ dbexpress ] 2 R5 _4 O8 e: X, C1 }
  44. sqldir = mysql_sql
    - ]8 N: W) b4 I- r! E. M. P7 ]
  45. drivername = MySQL中
    . u) S; h5 U- o5 g9 w( r
  46. 数据库=测试- `* O0 z( W! ~7 _" j# \$ D/ ]
  47. 主机=本地主机# I/ C: j7 @0 Y
  48. user_name = testuser
    + w9 P  X9 O: D! M  ]  i7 i) u
  49. 密码= my_password 4 K3 S9 f( k1 m: [  i
  50. getdriverfunc = getsqldrivermysql
    : n" Z% q1 n. r; P4 p% P! ]6 g8 e
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ' q( c( k% ?/ B2 I5 z0 m
  52. libraryname =. / libsqlmy.so
    / F, G; |& O7 i! i* E" ?" E) ^
  53. 积极= 1 7 Z: ]! j, |. Y: ?0 ?, g8 D0 Z6 W
  54. ---例如--- & g. P# o0 l* |/ w- Z  m
  55. 2 x; A/ E/ f- a. Q
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 8 U; N( N5 n0 v4 F5 v* a' `$ z
  57. ---例如--- + ]; a- ]) U# M/ _' Y4 U3 Q
  58. [ dbexpress ] ' X) u' m" a7 [0 ~  c
  59. sqldir = mysql_sql - l( L0 |' y2 u1 X2 d
  60. drivername = MySQL中
    $ _" {1 _9 ]6 A" b* `4 I3 w% V/ r
  61. 数据库=测试
    ( A: q! k7 {: k, r* N9 d0 A
  62. 主机= 127.0.0.1 3 W# {# k& e' Z6 b% ], ~
  63. user_name = testuser # n/ x) v7 C" \8 ]9 A0 H7 F0 B: N
  64. 密码= my_password ( Y  F: E0 J( e# L6 P
  65. getdriverfunc = getsqldrivermysql
    " {$ C& `0 X. t
  66. vendorlib = libmysql.dll在
    9 N, f8 A( N7 i
  67. libraryname = dbexpmysql.dll
    & c, J. H, a7 ~. c, @
  68. 积极= 1 . q5 u  R6 f1 a' f! A6 e# d8 I6 l
  69. ---例如----
    / x' L7 n% h$ c$ O. t
  70. -写在0 2.03.04由p wk.linuxfan
    + @7 u: K* l$ A8 Q+ v: A( l4 z
复制代码
发表于 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 words6 T, t, H% s* T4 r
5 i/ E( Q5 f& A* Y- ]' K& n2 K
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-20 08:38 , Processed in 0.095557 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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