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

3359 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
) @& ?2 v" a  ^' _  `
, ^* \; w" w  i$ Q3 C

  1. 6 J  x1 }, i7 H2 z1 T
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######* L% G6 `( Q5 G: D

  3. 9 A7 `/ `2 _0 w3 B2 \
  4. ### What we need ###
      J, E; Z4 t! A+ C
  5. Naturally, we will need a MySQL server to store the data for us, this document % G: e$ N% w' z. P! e
  6. will not explain how this can be done - there are documents out there for the & V; R, J9 L% R
  7. interested. The requirements include a (empty) database for TeamSpeak to use" T/ p: A+ T: @  s# f1 _) F0 H
  8. and a user account (username + password) that has the permissions to do stuff6 c, L( h! e) y2 f5 g
  9. with the database. Additionally, you will need a vendor library installed on the; ?4 K/ O3 p+ H! `1 k  m
  10. local machine, this came with my MySQL install.# R  Z# H6 R7 H7 h
  11. These instructions will not tell you how you might transfer your data from the
    . w3 b* ~; d8 {' y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL( I% \9 v2 O6 N& m) s2 `
  13. database.' }% P' ?' i) B
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    / Y8 ~$ ^. R, d2 N& m2 B" s
  15. the time of writing, there are still too many issues - check the current status+ E% `  K5 {9 D2 y/ [
  16. in the TeamSpeak forums if you are interested.
    ' {. ?: a! H% A2 ?
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from( P+ q# u- z; V/ o8 p
  18. Borland was used. This driver can only interface with the client library that
    9 v6 g! K1 c6 V3 h! e# V* H5 T, u8 X
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    " i5 s6 _+ T  Y. T6 U' b+ U4 @
  20. client library - basically all you have to do is to use a 3.x client library as
    4 T! F. @9 o9 |1 D- [6 X7 z
  21. "VendorLib" and a 4.x database to connect to.- Y! j1 z1 `9 S) a' D& p, G! D
  22. If you need more info about dbExpress, you can contact Borland." R; q9 n& @0 B
  23. % L9 J0 e5 ?# R6 o2 b9 B
  24. ### Doing the work ###+ H! @" z0 l* s4 F) K7 ~
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all9 v. z9 |- q$ w" A( n  n
  26. the perquisites right, just open your server.ini file, and add this section at
    6 [/ d& N' |3 X" Z" `+ V( {
  27. the end:
    1 s' L6 U* V9 {$ l0 U5 ?
  28. ---cut here---. i+ \) x2 |, q) r. S
  29. [DBEXPRESS]  N6 E& J3 L" `" ?1 o+ C
  30. sqldir=mysql_sql
    1 l1 G4 ~6 N+ {/ [. D4 i3 ~3 F6 Q
  31. Drivername=mysql2 @8 \, Y- K( a% g! g+ t
  32. Database=Your_Database_Name_Here% ?3 T; E" `) j* _* F! @* L
  33. Hostname=The_PC_the_MySQL-Server_is_on
    - D' J; H+ a4 Q. G1 k6 }
  34. User_name=User_name_on_the_MySQL-Server# y1 {  `: Z& i" W2 C" p
  35. Password=Password_to_go_with_above_user_name
    % b& n( v0 D0 ]& Q5 `
  36. GetDriverFunc=getSQLDriverMYSQL
    ! d6 A- t& W( Z3 X
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    4 h7 P7 x/ {: G* F7 s
  38. LibraryName=path_to_libsqlmy_libary
    0 O2 V. a  w5 Z" a
  39. Active=12 ^7 G# g, [& D6 A% h5 l. l  {5 e
  40. ---cut here---
    & J- w5 M8 _% r: t% ]- V9 [+ O
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ' d5 D& i- S7 {: C
  42. ---example---* b. c' t3 |0 y9 E/ ~0 n
  43. [DBEXPRESS]
    2 b: d& W, ^7 O# B* h# N; Y; @( t9 \$ i
  44. sqldir=mysql_sql! t# J& N3 `/ T1 [# Q" t
  45. Drivername=mysql& D. X3 @( }; @
  46. Database=test5 V$ X8 w/ V6 b) n! i0 g. B' f8 A
  47. Hostname=localhost
    & _4 i. e1 D5 w* S) g% O
  48. User_name=testuser# H% A3 |& y' [% u3 x: B6 p7 x; s
  49. Password=my_password/ I  r% V; Q; N! y
  50. GetDriverFunc=getSQLDriverMYSQL
    ) h& Y4 ^+ X0 x2 ^
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    , `$ a7 K: ]( ]' o5 S- ?% t( t6 X
  52. LibraryName=./libsqlmy.so
    # ?# d  h" n8 |+ E. p
  53. Active=1
    ' }6 h6 t- L* o! P, h. C, q, s
  54. ---example---
    ( M1 G/ l" m6 h+ M3 ^

  55. ; a# E, P  ?' @+ p  M" g
  56. On a windows box, also running the MySQL server locally, it would be:
    ) O+ M+ f; }0 M' C: C  L& Q/ m& x
  57. ---example---& ^% q6 V+ t5 i
  58. [DBEXPRESS]
    ) J4 o0 m" ^  `/ n
  59. sqldir=mysql_sql
    ; a5 i: N$ c7 j
  60. Drivername=mysql+ N, G! N7 u" w$ Q
  61. Database=test
    2 B' V1 I6 i; T9 u( L: u
  62. Hostname=127.0.0.1
    / N7 B( J6 Q7 F) v, J
  63. User_name=testuser! p4 I3 F1 q8 T  {% y+ D& O: h
  64. Password=my_password
    / {5 v. K/ Y" b  U; @( [& F
  65. GetDriverFunc=getSQLDriverMYSQL. E- @4 C( ?7 w$ m; h
  66. VendorLib=libmysql.dll( f- i& [' A( Q2 R$ N. p
  67. LibraryName=dbexpmysql.dll( K, g) O3 k" I# M
  68. Active=1, I  Z4 m1 U" x0 [$ k/ S0 z4 H
  69. ---example----
    $ q; Y2 M* v  C
  70. - written 02.03.04 by pwk.linuxfan3 g# J( \6 [& V) @  _
  71. 1 ?$ b7 L' `" _9 @) T- W# T! t4 T
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
" z" Y! c# C7 I

  1. 7 j( s4 b3 h" }
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    + j5 J, u; S( a8 z0 @

  3. . A# r* A0 }( Z- Q
  4. # # #我们所需要# # # 3 \  b/ d6 _( d1 B- m
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    8 {3 f3 n2 Z( \
  6. 不会解释如何做到这一点-也有文件存在,为' x/ n3 b+ z5 `; B
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    8 t8 t/ @9 U7 h/ j* N0 s+ B6 I' I+ N
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    / B$ p% m$ y! t" O
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    . m/ }: F5 R( s3 h( N* Z- K% v
  10. 本地机器,这是我的MySQL安装。 % }+ Q* [8 R% `& f0 M
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从7 @8 S' X& `7 \% C, p5 b
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL & K3 [& w4 T' P: k% o; S! J
  13. 数据库。 9 S: a; y$ A$ h
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ; z; W3 X+ T: c% x, E/ F
  15. 编写本报告的时候,仍然有太多的问题-检查现状; Y- T- j- Q5 q3 j" C+ K
  16. 在teamspeak论坛,如果你有兴趣。
      g$ P1 |4 T* L8 C4 z: c
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机2 B2 {' O* a8 ]. L) E( p+ t+ H
  18. Borland公司使用。这个司机只能界面与客户端库
    + V; j& a+ `9 o  S
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ! q" I% Y0 i( X  b& C$ b5 o
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为; O9 _1 I3 p( y- b& ?: P) q$ l' \7 z
  21. " vendorlib " ,并解数据库连接。 7 q' K: I; P( w7 W. {
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    6 Q- Q2 Q  E& o. I

  23. 6 {; R0 H$ n0 |% L! B' ]
  24. # # #做好工作# # #
    & \/ T4 |5 a2 I% j! O- J- O  J
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    0 J0 C$ S2 v5 d- _; }
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ! l/ a5 D9 Q' x# m5 k9 p
  27. 结束: ' n" Y# C9 i/ h8 R
  28. ---削减这里--- # a. e0 o" Y$ U, R5 r  F
  29. [ dbexpress ]
    * D+ ?# d3 _/ N
  30. sqldir = mysql_sql " P; E+ y1 Z  `2 k2 ^5 q9 {
  31. drivername = MySQL中
    " I4 b* U: j0 l1 l8 P* d
  32. 数据库= your_database_name_here
    0 ], _& Z; X. ?' H; T
  33. 主机= the_pc_the_mysql - server_is_on
    + o" W# p3 o3 A! k& E  Q
  34. user_name = user_name_on_the_mysql服务器
    ! l' J# i( |, b: Y$ T! o: g3 B  h( X
  35. 密码= password_to_go_with_above_user_name
    ( H$ O2 ?. v/ L. F8 s
  36. getdriverfunc = getsqldrivermysql
    6 k! Z/ P3 \1 ^" W& h1 G" K2 ~+ ~
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ( H3 v. ~9 @; `9 \# X
  38. libraryname = path_to_libsqlmy_libary
    $ M6 B6 K+ C( F
  39. 积极= 1 ( @/ E1 M4 W6 e8 e; r. X
  40. ---削减这里---
    " _" P0 j$ ^- a" F) V
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ! `8 r6 r& z' D$ c! N! Y
  42. ---例如--- ' K6 R; f( N; c9 x
  43. [ dbexpress ]
    . r( V9 u: i& R& l
  44. sqldir = mysql_sql
    $ V# f( J" W; z: e
  45. drivername = MySQL中
    / J3 N2 [. J2 T  V- I8 N1 Z0 u
  46. 数据库=测试( ?2 ^3 P# t, o+ m2 |$ c
  47. 主机=本地主机% X' u+ l$ g! R" C& C
  48. user_name = testuser ) Y2 F4 h$ W8 N4 w
  49. 密码= my_password " k& s( Z+ O, }! |$ o: P% h
  50. getdriverfunc = getsqldrivermysql   t& n6 S: C5 }, L0 L0 t9 A+ c
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 8 z3 h# y* E1 `4 A5 K
  52. libraryname =. / libsqlmy.so - V, \2 Y1 k" W
  53. 积极= 1 8 L! g/ G7 s9 a- [5 b* |
  54. ---例如--- : u9 H+ n& x' N2 w% j" e

  55. 6 F) ?1 z+ _9 |# G. Z% e3 d; {8 A
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ' ~' s. c! P) E( _
  57. ---例如--- ' N( |/ k, |! p9 P
  58. [ dbexpress ] 5 n+ ]& P1 @. ~
  59. sqldir = mysql_sql $ K/ b6 D0 _2 U0 b; p; P
  60. drivername = MySQL中
    1 u3 E# w1 [. U$ L, ], H4 ^' |1 b
  61. 数据库=测试  u5 x/ y( p6 h4 {/ I& a% d& v
  62. 主机= 127.0.0.1
    : C$ m/ |0 e$ H$ ]( D
  63. user_name = testuser , L8 I7 ~" N4 Y* u5 @% Y
  64. 密码= my_password
    - {& o1 j/ n0 [+ z4 t* g
  65. getdriverfunc = getsqldrivermysql
    ' E1 d% I* |& `0 H* [$ X" m: _
  66. vendorlib = libmysql.dll在
    4 a! }' D$ r  l2 D8 z
  67. libraryname = dbexpmysql.dll ) E7 U: ?/ F& f- D4 s: i+ G
  68. 积极= 1 ) x1 ~/ \' R# [* R3 X, \
  69. ---例如----
    1 z: ]& m3 J+ [% b0 a3 I: H
  70. -写在0 2.03.04由p wk.linuxfan
    8 }4 h7 V) M- H% z; k, Q4 O% f
复制代码
发表于 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 words3 {1 C0 }8 t! ~2 c
5 \. e  v$ ^0 U# L# @0 m6 d( E! ^
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-19 11:49 , Processed in 0.103652 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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