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

2649 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan / w# Y( _$ ?$ I* c9 t1 H

' \0 E5 C8 S% V% ^3 V, E

  1. ; P5 I/ q# f( h" U$ }
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######: K) z' x$ r: {+ D7 x% O$ |. a
  3. ! o7 v3 c1 d# l
  4. ### What we need ###( y' K9 Q7 B, X6 |
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ) m3 S% A% R4 i% E. p
  6. will not explain how this can be done - there are documents out there for the
    & a4 m9 o5 R4 v
  7. interested. The requirements include a (empty) database for TeamSpeak to use& f) p& d  b3 z6 N/ z
  8. and a user account (username + password) that has the permissions to do stuff2 l% H) {8 `, E3 S& U
  9. with the database. Additionally, you will need a vendor library installed on the
    7 _4 w; \* ]: t- X% V: N
  10. local machine, this came with my MySQL install.
    7 f6 o8 E  ]  y% Z: Q
  11. These instructions will not tell you how you might transfer your data from the
    * D0 m, Q+ L$ s! J: ^
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL  }8 s  |: A9 W1 G. V% V! s
  13. database.
    $ d+ m1 c5 U8 f/ R
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    1 d7 e& k, Y  c( B$ R
  15. the time of writing, there are still too many issues - check the current status) a" M9 q2 Z/ A- R/ h- V* W; Z3 E
  16. in the TeamSpeak forums if you are interested.4 W7 [; a4 {2 T. m
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    6 {# X* a6 g" W
  18. Borland was used. This driver can only interface with the client library that 2 j- c: L( l  j7 v3 G" }; M
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    4 Q1 C' b' j) j* O) |" h! O, k
  20. client library - basically all you have to do is to use a 3.x client library as 1 V! |8 F% f4 u% R1 c$ O4 O
  21. "VendorLib" and a 4.x database to connect to.. q: G( R" R8 C# k3 T* a% o9 E3 k
  22. If you need more info about dbExpress, you can contact Borland.  _" w' j' P, I+ g% a9 f
  23. $ w, i  P: ]6 D6 }0 t
  24. ### Doing the work ###
    $ E1 F0 @) H; h1 s, C4 e) b
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all- j/ i9 n4 b( S4 }
  26. the perquisites right, just open your server.ini file, and add this section at
    + H% i3 {  A0 v1 ~6 @
  27. the end:
    ' N3 a0 A* ^6 r9 O! x7 u
  28. ---cut here---! Q$ a, a" _" U; W5 @% o
  29. [DBEXPRESS]
    ; W7 l# I5 O# J6 W9 Z
  30. sqldir=mysql_sql
    8 Z6 ^; [  R, I3 C& Q1 Z, D
  31. Drivername=mysql3 p$ |" y& t- n' l- H0 j3 ~! V
  32. Database=Your_Database_Name_Here
    : d2 A9 M, a4 c2 Q) L
  33. Hostname=The_PC_the_MySQL-Server_is_on
    , f* e. T/ F7 j* N
  34. User_name=User_name_on_the_MySQL-Server: U; D) M4 S* y/ r$ f1 L
  35. Password=Password_to_go_with_above_user_name  h0 m4 q4 q5 a4 k
  36. GetDriverFunc=getSQLDriverMYSQL
    6 F) p) V+ }6 F1 c- p( v* I; r
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    : h2 X% o% k5 P1 l# o# m/ Y/ ]' |+ w. P
  38. LibraryName=path_to_libsqlmy_libary1 Y- K7 U$ c3 J0 z: I  v
  39. Active=19 ]% W5 `  a* m/ A% e( Q! f
  40. ---cut here---6 X# Q8 U) n% B8 w0 l& I" d: H8 `- z
  41. In my environment (a linux box with a MySQL server running locally) I have:
    , A$ ^/ k6 c# v  d5 c
  42. ---example---
    - K: Y0 b7 W. o& q# k! U
  43. [DBEXPRESS]7 ]8 [- G" G, X+ b( J6 b2 w  |
  44. sqldir=mysql_sql, ~2 l2 w0 q$ |# X
  45. Drivername=mysql
    8 \! s2 T& z* R+ }2 v: |
  46. Database=test
    1 W6 a8 T# a" T6 q) g+ K
  47. Hostname=localhost
    - O  ~  n4 ^0 B4 i
  48. User_name=testuser% [% A8 U; C$ q6 {% R, L7 V2 u
  49. Password=my_password4 O9 p0 }/ J. H
  50. GetDriverFunc=getSQLDriverMYSQL
    $ h4 ]# B7 G3 w' J# z9 x% G
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ! d' s, Q1 B0 Q& F
  52. LibraryName=./libsqlmy.so8 T; W2 j  ?0 f
  53. Active=16 x, i; o* G2 a; Q/ ?
  54. ---example---
    ( H0 H$ R* d4 q2 W' I0 h

  55. 2 Z9 {4 Q1 [2 L+ T' s5 G( p. {
  56. On a windows box, also running the MySQL server locally, it would be:8 v% t7 Y6 w$ l/ |# s/ L  h. K7 B
  57. ---example---
    & {' W# g( V: x2 L! C" `/ r' w
  58. [DBEXPRESS]' D5 [6 f1 p9 K8 u; d7 C
  59. sqldir=mysql_sql; X' O0 h4 x# @% ~8 W! N% P  j% `
  60. Drivername=mysql
    , e* V3 v% `: S' ]# r# I
  61. Database=test" ~% g" S- c& f6 T( q3 X
  62. Hostname=127.0.0.1
    0 x! s9 W2 ?% i8 u* c' @( b6 k
  63. User_name=testuser
    , ^0 w+ x9 O' {0 W/ D$ s
  64. Password=my_password8 W# P1 N5 M0 t5 c, l
  65. GetDriverFunc=getSQLDriverMYSQL+ {% m2 }9 ^4 q9 @& N3 G7 ~' {
  66. VendorLib=libmysql.dll
    3 k' V: R) x; K
  67. LibraryName=dbexpmysql.dll
    ' t( y3 `7 c& m* c+ C7 r
  68. Active=1+ p* b1 L6 k! u/ w; g
  69. ---example----+ ]" m" P" ?8 F4 Q% I& J# z
  70. - written 02.03.04 by pwk.linuxfan
    0 M5 r" }: }6 B7 J" a) M
  71. 5 E" y  j" ^2 R
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
' p% X) [" h1 H/ P, z9 ]$ P

  1. 2 o! q* Z  c. ]9 x7 T) h
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    8 Z$ y. w% P+ {( {2 m

  3. $ z0 g- v7 U$ Z' b
  4. # # #我们所需要# # # : z) |; v; u5 F! ?) O% G2 P
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    - B. a3 K. E$ l4 m' Y* `: D
  6. 不会解释如何做到这一点-也有文件存在,为
    # j1 R" j" _9 Y! N: }6 D3 u
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用' B6 ~4 F0 [  p3 |4 X+ K" _% P
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西& {7 T: p; l5 y; Y& c
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    & m9 E7 D! H+ k
  10. 本地机器,这是我的MySQL安装。 0 c9 c, p! J: Z/ X( P
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    " u; @1 S0 F% `) [% L' r
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL * V( v) z4 U( M: d# x3 M
  13. 数据库。 2 u7 d  X$ d* I
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在. T' s. H& S& s; D
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    . A0 J7 p& W$ M" S
  16. 在teamspeak论坛,如果你有兴趣。 , n8 z0 e9 c+ d
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    $ r$ U  j# L8 k* z/ _1 b( Y4 ^6 r; W! r* ~
  18. Borland公司使用。这个司机只能界面与客户端库& P$ Z& Y  G7 T
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    5 z; U  d9 X4 @. Y5 C9 r8 p+ N
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    " c9 ?3 t. ]; @1 X& o- w
  21. " vendorlib " ,并解数据库连接。 # C! [, k- X% J( P6 g' c- h! f
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    2 ?0 Y3 {. k; B( S

  23. % w; d- i6 b( p* U1 t0 e
  24. # # #做好工作# # #
    7 u# E  g* L" j% @
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都- S7 o( z+ Y8 ~2 @9 n6 v- ~+ I
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    0 X: Y9 |/ E4 v
  27. 结束: - W% U, Y& _3 E. i
  28. ---削减这里--- 2 W- f$ S4 [5 Z. x: u1 f
  29. [ dbexpress ]
    # b2 {4 {2 @3 a9 h3 B' y/ U
  30. sqldir = mysql_sql 7 O( f& O. b$ d; |- C. I1 _* x
  31. drivername = MySQL中* y8 \* u8 x( b9 U
  32. 数据库= your_database_name_here
    7 M& N6 Q8 A! @4 u2 ?
  33. 主机= the_pc_the_mysql - server_is_on 1 b4 T: t1 |9 U6 K9 L0 R
  34. user_name = user_name_on_the_mysql服务器
    % ^: c+ m& N1 U7 B2 |$ l0 M
  35. 密码= password_to_go_with_above_user_name
    ) m8 C0 W8 k% _) U: M
  36. getdriverfunc = getsqldrivermysql % o! e4 C  }" L: M0 O5 H
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib * }7 K$ b/ B0 U# d  V2 N
  38. libraryname = path_to_libsqlmy_libary : y* M1 y' e: S/ U4 ?. n) U
  39. 积极= 1
      L8 Y( y' A+ l6 P+ m
  40. ---削减这里--- ' P8 ~* O% i5 ^0 v, B
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: , D9 i" Q/ _) U) o2 R: e& p) q' [+ }
  42. ---例如--- 5 l8 R4 R% W. I$ J
  43. [ dbexpress ]
    , e$ U9 u) |* q4 @3 d
  44. sqldir = mysql_sql   L1 h8 z1 }( L, X5 Q8 l, ~' c1 q$ e
  45. drivername = MySQL中( E! E2 ]/ n$ s' }
  46. 数据库=测试
    3 d4 y, P# }6 S# S* S, [9 \
  47. 主机=本地主机* K0 U/ ], M8 H
  48. user_name = testuser # g, j0 z* c2 E$ E* i
  49. 密码= my_password ; R# s3 n9 ^, y: Q7 t. D
  50. getdriverfunc = getsqldrivermysql ( ~5 S0 F& T4 z# z! y( e- i+ ^8 E
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    * b0 ^# l7 ^7 S0 \5 k0 R$ Q" V  I
  52. libraryname =. / libsqlmy.so
    $ I( y/ I9 [1 h" L( |$ `0 `- w
  53. 积极= 1 + w# g6 z) A$ m# r) s
  54. ---例如--- / A4 I+ S- F7 a
  55. # Z9 C# E/ @6 S$ L
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    # Y# A# N( X0 D- t" I
  57. ---例如--- ) J4 G  P5 D+ l" l) S
  58. [ dbexpress ]
    ( o- E  Q4 s3 H0 I5 x
  59. sqldir = mysql_sql 9 _) m, n/ \# |0 |; Y) J
  60. drivername = MySQL中
    ' E( W% W7 `7 `$ x+ J
  61. 数据库=测试8 P, \' K0 X2 R. b% c: f
  62. 主机= 127.0.0.1 $ U3 e5 ^/ g/ F( ^
  63. user_name = testuser + J0 b0 T5 R5 W6 A- d; x% ]; f
  64. 密码= my_password
    0 w9 S# j8 @% Z" B! Z
  65. getdriverfunc = getsqldrivermysql
    : i9 b/ E+ g4 n4 s  v" l5 E
  66. vendorlib = libmysql.dll在$ b2 I4 X0 ^( X" |. }; D7 ^
  67. libraryname = dbexpmysql.dll . ^3 X; l. C& c* R8 Y
  68. 积极= 1
    / R8 f1 e" k8 o# u. K  _+ q  V
  69. ---例如----
    9 p" N1 W, ]- V' Q: P1 `* k) n; B+ A
  70. -写在0 2.03.04由p wk.linuxfan
    ; A" p, a" ~( ~, p4 \
复制代码
发表于 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
4 ]' x$ a3 g, g  q- f8 H. n$ h
$ Y  Q$ \, o' U& D, w) B' B2 Vbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-22 13:17 , Processed in 0.113344 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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