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

2348 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan : u  a. J. L( Z% B$ H3 i- b1 a
+ D/ P( f7 b  H" x8 B* ?, O

  1. 1 a- Q( Z. s0 N' y& H8 R2 O
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    4 [9 h) [6 Q7 L7 X. m. {

  3. $ w2 F- H; R1 s2 c) @* x0 a
  4. ### What we need ###% F4 v. q8 ^7 {: y3 k. |3 Z% J
  5. Naturally, we will need a MySQL server to store the data for us, this document 1 }$ g! [! @& P5 L
  6. will not explain how this can be done - there are documents out there for the 9 V; z" L+ j0 C( @; X- d
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    + L6 d! f- r, M0 f7 w
  8. and a user account (username + password) that has the permissions to do stuff
    9 A# L3 b# p2 ^" g: L1 I( G
  9. with the database. Additionally, you will need a vendor library installed on the
    9 ]# ]3 w# L  h; K7 @
  10. local machine, this came with my MySQL install.
    : k  b, b) G- @) w* h9 x8 Q- Z
  11. These instructions will not tell you how you might transfer your data from the4 L" S) Y% U0 n9 Q! J' ~1 K' _
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL1 |3 c- Q. L6 ~& h/ m
  13. database.0 x' b5 p+ a! N7 E' \4 V
  14. Some users have reported ways to import a SQLite database into MySQL, but at, c* |2 \: w- H4 [% n- n) I$ F$ N& I
  15. the time of writing, there are still too many issues - check the current status! ~1 g0 u0 H3 P# d7 T4 M2 _1 f
  16. in the TeamSpeak forums if you are interested.4 |& [' P! Z8 _3 \6 }/ p( s
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from# f+ y( g* y; i! q
  18. Borland was used. This driver can only interface with the client library that
    1 A/ C9 v8 G6 p# N- P* \
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ! j9 o1 B' m6 e! t& {
  20. client library - basically all you have to do is to use a 3.x client library as # b( F. C% D  T. l0 A- h  d
  21. "VendorLib" and a 4.x database to connect to.
    0 T% j& z. @# n( \; K
  22. If you need more info about dbExpress, you can contact Borland.: w1 g6 D2 p$ I

  23. ' x/ {9 Z. }+ W8 g3 t9 }
  24. ### Doing the work ###
    ) d3 |0 X4 U3 H1 j
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all% a$ e( s$ j, w: C
  26. the perquisites right, just open your server.ini file, and add this section at6 s! |0 \4 t. m. i6 J
  27. the end:! y( _$ t) C$ M7 T4 k5 w, F: ]
  28. ---cut here---
    * t7 q9 d; X+ K, @7 [
  29. [DBEXPRESS]5 [5 c2 D3 A/ e( j
  30. sqldir=mysql_sql
    3 x6 s; d$ W& z$ F& ~' X- h/ j+ }. w
  31. Drivername=mysql. `6 C! u8 k. f4 ]
  32. Database=Your_Database_Name_Here
    ( E' ^) w2 J3 e
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ' d8 i# P$ @, \2 v* F. M
  34. User_name=User_name_on_the_MySQL-Server: g+ b" u! q, L& i
  35. Password=Password_to_go_with_above_user_name
    ' ?4 v, u4 U* V' u. P+ {
  36. GetDriverFunc=getSQLDriverMYSQL. S5 Y- E2 O# M6 v1 K* }
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    . R4 J! B% G9 l# J" r( D7 D
  38. LibraryName=path_to_libsqlmy_libary
    0 q( i: T. f) f0 h7 S$ Q
  39. Active=17 w2 U2 h3 X: `- w! u
  40. ---cut here---7 w5 [3 i( O  I! s$ _! @9 P4 \+ M
  41. In my environment (a linux box with a MySQL server running locally) I have:( d6 I1 t" w. W' N
  42. ---example---" Z; z- P, i) i- K6 J
  43. [DBEXPRESS]) P$ |4 t+ B# h6 W' n
  44. sqldir=mysql_sql
    ; o* v  y9 ?- @/ D: A( q; K
  45. Drivername=mysql1 Q1 [0 H# ^& \
  46. Database=test+ X/ |" J+ t2 u! {, e- `6 j
  47. Hostname=localhost6 R+ o" F% R% L' z
  48. User_name=testuser4 u# K% F2 u0 v' g8 G0 t6 m
  49. Password=my_password; d2 J3 Y* W  x) V
  50. GetDriverFunc=getSQLDriverMYSQL
    . R( Y5 u0 @# J2 P0 J
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    0 n& ~  ]" g7 F
  52. LibraryName=./libsqlmy.so- ]- E2 T8 S1 q8 F1 a1 _( ~
  53. Active=1
    " Z! _5 A/ n0 X: j- v( T# l
  54. ---example---
    9 z* j; L( D) P

  55. 3 X" ^! z/ r+ |6 y
  56. On a windows box, also running the MySQL server locally, it would be:, @3 M+ N% g. C1 K$ ]2 j+ v3 t4 ~' t+ k
  57. ---example---! ]" ~6 ^; L# C! e* o0 R8 O. w
  58. [DBEXPRESS]: x1 W3 A1 k( G
  59. sqldir=mysql_sql. x8 o" R1 x6 {7 W6 T! p% n. [) E& n9 l
  60. Drivername=mysql. F' t# @- l( p) j$ Y, E- X
  61. Database=test8 H6 p7 [( ~$ U2 I9 L) O4 D; C* R& I
  62. Hostname=127.0.0.1
    / v, n6 J+ f! T# r
  63. User_name=testuser
    ! O  |/ T# t3 a3 }4 E! G7 t. c( D
  64. Password=my_password2 t" G8 d$ j, ]% `6 B: Z# N2 u: d
  65. GetDriverFunc=getSQLDriverMYSQL) u8 @; m+ }" a7 |3 e
  66. VendorLib=libmysql.dll/ D) B8 X  g5 h4 e) M0 f2 N
  67. LibraryName=dbexpmysql.dll
    # _1 v/ q% ^6 D/ q; h9 q
  68. Active=1! V( E0 B2 Z1 i) f: I6 U5 V
  69. ---example----5 ]0 u' v. B$ [
  70. - written 02.03.04 by pwk.linuxfan
    ' O5 y- P& r9 u0 |4 s
  71. 2 T$ b: p/ _2 }$ {8 U
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
1 G9 C( V2 Y3 w" W
  1. # q5 i0 W+ d6 T$ E7 l
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ) Y2 ?) |1 [* \& s6 F' X+ }2 @" K

  3. # ]  k" g. {% v( U* ~; N* }1 G
  4. # # #我们所需要# # #
    + w' Z1 Q3 k+ M
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ! W: X5 K  V' l! Y) m9 q
  6. 不会解释如何做到这一点-也有文件存在,为
      d/ S6 n/ M' \$ [: Z
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    & Q% J  O/ _3 _% b% c3 l; M/ W' b
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西# }5 N  q9 y+ _" X
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ! j4 |7 K+ \' k- Z+ i0 ]/ C
  10. 本地机器,这是我的MySQL安装。 " O  j  k" n: Z4 J; w
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    + i: f+ `' R7 {5 q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL : x. B, o" M* r; {
  13. 数据库。 # L! U' }6 C/ H; Y; U1 t5 U
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在! |0 Q$ F1 R# p
  15. 编写本报告的时候,仍然有太多的问题-检查现状! t7 F/ r3 K* c0 r7 A& \' T
  16. 在teamspeak论坛,如果你有兴趣。 5 K$ L2 K0 s0 d) F. l. m
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    3 n) n# B% \( E8 V  l
  18. Borland公司使用。这个司机只能界面与客户端库  N6 L6 d8 ~; ~, J# O  m! p2 P
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ! d7 u& G% l2 }) r
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为& d9 |: a1 @# t. P7 G
  21. " vendorlib " ,并解数据库连接。 ; Y% N) h. L! d
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    % q  Q# @( G+ @: Q6 a- H; n

  23. % |; [, L4 m! N" @7 u
  24. # # #做好工作# # #
    1 L' w- f' H1 ?& y! R% w) z! d$ Q
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都' H4 |) I( o% t6 i3 \, c. p. _7 l* B
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    4 u4 S' z. Q8 q5 {# [3 M8 A, T0 W
  27. 结束:
    0 k) [6 o2 q5 O* C3 X1 b# S
  28. ---削减这里--- & e: L  d8 P% M0 q' |/ S; {! u
  29. [ dbexpress ] 0 f, v, a; u2 F# P8 ~: L1 T$ }6 Y
  30. sqldir = mysql_sql
    ) _& S+ y  L( i& b. [  M: m, m
  31. drivername = MySQL中
    6 c  z0 K, c" b4 Y! \
  32. 数据库= your_database_name_here
    & B1 @+ o+ h$ T. |$ a
  33. 主机= the_pc_the_mysql - server_is_on
    ) a& D. `6 j9 k1 t
  34. user_name = user_name_on_the_mysql服务器* v/ k, _" E5 w* T# M% _1 \
  35. 密码= password_to_go_with_above_user_name # M( Q. ~! ~+ l! m* `  e
  36. getdriverfunc = getsqldrivermysql
    - i) d# e1 ?) r! z* k$ }
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib % F5 [) h) w7 N0 }
  38. libraryname = path_to_libsqlmy_libary   R$ Q0 j& w7 I8 d$ I9 C
  39. 积极= 1
    1 s0 w+ O7 @8 J4 Q/ z# g6 x: F. j
  40. ---削减这里--- 4 q6 c" [) Y/ {  |3 l4 ]
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    + h" ~9 H- C$ O" u8 B" }2 `0 `( e
  42. ---例如---
    3 @- X! b9 I! \7 ~+ M; K
  43. [ dbexpress ] ! l9 ?  I7 J/ i/ n* d2 Q2 g
  44. sqldir = mysql_sql
      S# @6 h8 @+ G: o5 u1 L9 H
  45. drivername = MySQL中
    * `4 ?  o9 s# O$ p- l: h+ a  ~9 {" O
  46. 数据库=测试
    9 t6 k; r9 B2 s) [9 x9 q) b% S
  47. 主机=本地主机
      M4 a+ D8 I! {+ b
  48. user_name = testuser
    . L2 W  Z1 U1 ~' W! \0 V
  49. 密码= my_password 3 l$ w3 ?9 }) _& f
  50. getdriverfunc = getsqldrivermysql
    5 s0 m& o) M$ I+ Z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ! g) D2 Z9 }/ l- r9 j6 c
  52. libraryname =. / libsqlmy.so
    ! v3 f- j' K8 e0 J( @7 M& G: W, s
  53. 积极= 1
    & H% t7 C7 [+ _
  54. ---例如---
    + W7 w, J/ l7 I/ a
  55. 2 R' x- c4 c$ T& M- w3 d& U
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    1 I8 L2 Z- U% _  Z* K0 E
  57. ---例如--- % p& a/ k! S5 f
  58. [ dbexpress ] 1 t; O0 ?  L0 i+ f4 V1 l
  59. sqldir = mysql_sql
    3 S6 q) I2 w7 d& i& j
  60. drivername = MySQL中
    ) ?. S. j# I1 N5 G* C8 |# W/ Z9 ^
  61. 数据库=测试
    ; ]8 y( a; R! ]# p, V9 S7 d, M
  62. 主机= 127.0.0.1
    ) ~, }( Q, y9 a5 y0 H3 F& \
  63. user_name = testuser 4 }0 v; t; C" A; ]
  64. 密码= my_password
    + o+ ]9 {3 m" X0 `
  65. getdriverfunc = getsqldrivermysql ! ^) |. w1 ^* B
  66. vendorlib = libmysql.dll在
    9 D* {8 X3 |7 @0 C
  67. libraryname = dbexpmysql.dll * `/ f  ~2 u0 u9 I' b6 v6 ]6 F
  68. 积极= 1 $ {+ O/ [$ g, _! c) T' x2 X
  69. ---例如----
    0 g# v% ]# H4 H* F# S
  70. -写在0 2.03.04由p wk.linuxfan5 Y, i  f: i4 H! P) y
复制代码
发表于 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
+ U! |- E7 |- \+ w8 @5 i, _: v( P9 b4 v. W$ z7 E3 q: X: ~  Y
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-28 22:32 , Processed in 0.097620 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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