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

2535 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 4 j" g8 \' t; M. }
3 n3 P+ b& C! G+ \/ i' C$ i

  1. ! m  M" _& m& ~5 U3 W% `0 ]" q
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######8 M/ G! T& g- b9 x8 {3 }: w0 E% s
  3. " Q2 i& a9 E8 g* L" [$ ^( j8 I4 y
  4. ### What we need ###
    ) ~! |/ O/ A6 l5 |. N7 ?3 J/ R' K7 W
  5. Naturally, we will need a MySQL server to store the data for us, this document
    5 I8 k' R6 G3 t. _: ^6 A) z
  6. will not explain how this can be done - there are documents out there for the
    ! g+ C& T( V" k  B! Y
  7. interested. The requirements include a (empty) database for TeamSpeak to use6 G3 s$ x) G2 i9 Z+ j6 m- S
  8. and a user account (username + password) that has the permissions to do stuff
    + }7 y: q$ v: b! m0 F
  9. with the database. Additionally, you will need a vendor library installed on the  U, [0 @- g% |* D& n1 b( |
  10. local machine, this came with my MySQL install." S- w: {. o0 L4 J- L" H
  11. These instructions will not tell you how you might transfer your data from the
    7 Z1 I4 f) j5 N) x5 u7 B% M7 D6 T& A
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL  t! h  f8 {* k9 \
  13. database.
    . d' L( S" g  P+ P: m, q1 ]
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    3 Q- j9 ?# J7 H
  15. the time of writing, there are still too many issues - check the current status) O/ N% ?  u4 Z5 m5 t3 d4 O
  16. in the TeamSpeak forums if you are interested.
    $ G/ l% u' u0 v5 g1 C6 ~* D
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    0 d& j) ^* k9 f; Y& Y6 K4 O+ ]
  18. Borland was used. This driver can only interface with the client library that
    1 K5 _+ c' S0 Z8 t/ d8 y6 f* N
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    * [; M& D2 W8 ?8 `7 z
  20. client library - basically all you have to do is to use a 3.x client library as 1 V% b& D' N3 S- D4 ?5 E0 I8 c
  21. "VendorLib" and a 4.x database to connect to.
      |" v" x* f9 T, a; ^! j9 P
  22. If you need more info about dbExpress, you can contact Borland.
    7 @  i9 A8 h/ U3 \. D: ~* N
  23. 9 A2 q8 e( y4 r! Z+ @3 B" F% T: J1 @
  24. ### Doing the work ###+ c- i  k( b% H  _/ f
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    5 ]( c- V5 y* L
  26. the perquisites right, just open your server.ini file, and add this section at2 X; X8 J" V  T% Q9 q
  27. the end:8 O9 H: I5 f# t1 ~- `3 g8 B
  28. ---cut here---
    : u& s; c/ u5 p' x& O# A: p
  29. [DBEXPRESS]
    $ z3 P  J& t: |
  30. sqldir=mysql_sql7 {( f, F0 B2 E; P0 r
  31. Drivername=mysql% Y% G1 E6 O+ e( I: w
  32. Database=Your_Database_Name_Here
    7 D% H' q) L! n% W
  33. Hostname=The_PC_the_MySQL-Server_is_on6 x. m' v& x# `) M5 X
  34. User_name=User_name_on_the_MySQL-Server
    , E8 A/ I" y1 o+ }4 [% }( L* k7 K' L
  35. Password=Password_to_go_with_above_user_name
    9 ?! \* p% b# D) H/ P& \2 ~8 ?2 ~! y
  36. GetDriverFunc=getSQLDriverMYSQL
    - S) g: o  y0 @
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib  J" F( q. s5 r8 t0 ~2 H: p. [
  38. LibraryName=path_to_libsqlmy_libary
    6 N  p3 s$ }. G  b
  39. Active=1
    ; m  b% o, r: J8 `
  40. ---cut here---
    2 `# v- V. U$ F9 M/ P
  41. In my environment (a linux box with a MySQL server running locally) I have:
    & a0 a- Y" X) M% h$ ]
  42. ---example---
    * k4 t; t# E: k$ {& C% y
  43. [DBEXPRESS]% Y* u4 ^7 V4 a, c
  44. sqldir=mysql_sql: G; H3 R6 q* D+ E/ k
  45. Drivername=mysql! t4 ~9 J! Y9 k: ]; ~$ T
  46. Database=test
      u, G1 I; G5 G$ e+ V, @: s
  47. Hostname=localhost  l0 L& l& W/ l' @1 e- h
  48. User_name=testuser9 B; y/ B8 v5 h% u* q6 C
  49. Password=my_password
    # t6 r5 Z% P$ r6 H
  50. GetDriverFunc=getSQLDriverMYSQL
    # z: C. n) m1 w# a1 }) s1 a" h/ o
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.06 c! g7 ^: q5 N  Q
  52. LibraryName=./libsqlmy.so; ]' j& K4 n' X; B1 Y) ^8 U
  53. Active=13 O0 Q8 J) Y' ^& T' f  q, o" B
  54. ---example---/ T/ Y, V& p8 @9 U5 e5 N
  55. 8 I+ z( e( B' ~& t/ ~1 b, a- m
  56. On a windows box, also running the MySQL server locally, it would be:
    . ?. q! m% U. j
  57. ---example---
    7 e- |7 c. C" @# x
  58. [DBEXPRESS]) P* G) S* j' n2 E* G
  59. sqldir=mysql_sql
    5 v9 c0 G3 o' R; r1 P
  60. Drivername=mysql
      `2 f& g; U- {* p: p
  61. Database=test
    ! J( o9 e$ w  T( H- B
  62. Hostname=127.0.0.13 H9 A( {! t' D$ {
  63. User_name=testuser% F' Y  C. _7 u/ }
  64. Password=my_password* V! R' u8 z  H; C4 Z
  65. GetDriverFunc=getSQLDriverMYSQL: k- ?( O# D' ~$ ]1 }! Z& `6 z
  66. VendorLib=libmysql.dll
    4 S2 Q, A: |( h+ I2 B# d; J- u0 _
  67. LibraryName=dbexpmysql.dll5 P9 M& ^2 \) m. G* h
  68. Active=1
    8 \: G3 S5 ?4 {& V
  69. ---example----2 x8 q. o/ M% x# T: W& o
  70. - written 02.03.04 by pwk.linuxfan& t* i: J6 l+ F5 t

  71. 0 b4 m* h% L; `7 v( M. M* K  g
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看+ C- l9 T% s, h/ {0 }( w. D% D( y4 p
  1. 0 |: N2 ]4 l- x3 _$ _1 U1 N
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 2 ]# P; y) E. z) y6 j

  3. ! t. M" d; l! x; O( d% f
  4. # # #我们所需要# # #   e2 D1 a3 A1 S8 L3 ?9 i
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    6 e* C( K$ k% j+ ~
  6. 不会解释如何做到这一点-也有文件存在,为: l; M& `. U5 u' d9 ^
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    1 T2 ^- y3 Y0 J
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    & d+ m0 g) X0 F6 N. V4 \
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    1 d9 ~; I! P6 i4 R: V6 d
  10. 本地机器,这是我的MySQL安装。
    * U7 F$ Q+ Y( c1 D) k* }% e
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    # C8 h4 v, X* G  j4 E
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ! w! ~+ Z/ W  f) E1 y' P3 d6 u
  13. 数据库。
    " k: Y9 B  }+ x2 \
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在$ t* \* G. W1 v8 ~
  15. 编写本报告的时候,仍然有太多的问题-检查现状* J0 |# W8 w  ~- e
  16. 在teamspeak论坛,如果你有兴趣。
    ! V9 \7 Q3 @1 ~  E
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    & F- Q- ]8 ~/ e; S% W& h
  18. Borland公司使用。这个司机只能界面与客户端库2 c3 v4 R2 u  \9 s( D8 }
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    # H% d- q' r7 }& `7 W2 k$ g9 }
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为1 X6 |5 Q7 M9 Z
  21. " vendorlib " ,并解数据库连接。
    0 C& w. h3 F( ?+ ~- e
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    3 y$ O) r% ~/ @  s0 M7 h1 B
  23. & A- `4 J4 |8 O8 R* B
  24. # # #做好工作# # #
    2 l* k1 f2 R# ]  {
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都! u8 ^# c8 _4 }: v& n' p
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在* p8 q6 P* o8 M5 v2 l
  27. 结束:
    # F) U  s1 {5 A; p% I) m% T
  28. ---削减这里--- 7 @1 x. [! o$ y$ t8 F3 O
  29. [ dbexpress ]
    2 I8 s" m% \, h: \
  30. sqldir = mysql_sql : q3 P  T" j8 }3 ]* v
  31. drivername = MySQL中. q+ O/ H0 |) C7 _; P
  32. 数据库= your_database_name_here
    # i" H% M6 U! q" n3 B& B
  33. 主机= the_pc_the_mysql - server_is_on
    $ _' f+ t' S( C
  34. user_name = user_name_on_the_mysql服务器) B# F& {$ @5 Z4 I
  35. 密码= password_to_go_with_above_user_name
    3 `/ B9 i+ F& Q$ t/ W4 u) X) A
  36. getdriverfunc = getsqldrivermysql
    ; O0 ^5 x9 f/ B$ _5 E8 q
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ( B, B0 w# F# u+ |: Z& D3 Z6 ^1 m
  38. libraryname = path_to_libsqlmy_libary # K9 {: Y6 b! l5 l
  39. 积极= 1
    . T7 p& j+ [! L+ R6 F
  40. ---削减这里--- " V" o% J" b+ N- f( N3 x5 F  r/ T
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ' o5 L/ w* r9 E  L" B" N1 }; _
  42. ---例如--- , j! J* W& N: n! ~0 E
  43. [ dbexpress ] # |. j9 z$ _; i/ }' {2 ?* _0 i7 @( ~
  44. sqldir = mysql_sql
    : L- u; ?5 H5 i
  45. drivername = MySQL中
    4 D( k+ @7 C" s; L
  46. 数据库=测试0 z0 D6 j% u/ O# U5 v& C8 g# u+ [
  47. 主机=本地主机
    + ^8 u0 ?. [& N0 r( G6 r! H
  48. user_name = testuser
    ( t7 f5 x; S7 H4 V' M3 s, x- O
  49. 密码= my_password
    8 m# f& A0 v. G. _
  50. getdriverfunc = getsqldrivermysql " H6 b5 `4 R& C+ l1 Z! x. l, {
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 - C5 q; }3 v- i
  52. libraryname =. / libsqlmy.so
    . c8 X; F* C% F  r. u. @: y  X$ w
  53. 积极= 1
    1 V9 f' h( N* I# V
  54. ---例如---
    6 J! x$ z1 F- v+ f7 s2 [* T

  55. " |& B3 l+ ?5 o2 I; J
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    $ `8 C, @9 G1 Z
  57. ---例如---
    5 m4 Y& q8 Q9 k7 F
  58. [ dbexpress ]
    6 Z, s: n5 a$ N0 w8 m$ ^1 _& L7 B0 t
  59. sqldir = mysql_sql 6 C) e; o& F9 {* v4 q3 c9 J9 ]7 B
  60. drivername = MySQL中. J. y, Y4 b2 \, Y, F5 |
  61. 数据库=测试
    , J/ h+ a% G  h: o+ B0 ~" W4 R
  62. 主机= 127.0.0.1
    " |9 d; A6 y3 M+ p; A9 C* E- H0 X
  63. user_name = testuser
    * o/ V) @! j1 M" N! @
  64. 密码= my_password
    $ c1 t: w3 p) \1 b' b1 G; E, L" @
  65. getdriverfunc = getsqldrivermysql ) |6 X, @& n+ X6 p
  66. vendorlib = libmysql.dll在
    6 V; U+ u- F: Y7 d) `/ S
  67. libraryname = dbexpmysql.dll , Q( h- f$ |, l6 f, e
  68. 积极= 1 2 ~8 |# w5 x/ g! h
  69. ---例如---- 7 n" c0 N* B: g+ e0 D( r
  70. -写在0 2.03.04由p wk.linuxfan
    : m/ g3 I' t. i# }+ s
复制代码
发表于 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+ i9 x9 S" T/ v5 ^! f! j$ O

. I9 m2 L/ E% \& q3 x5 `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-19 22:24 , Processed in 0.105781 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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