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

3257 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan $ o9 v( C2 u5 u5 _  h7 _' O' ^& X
: B6 j3 u& ~8 u  j0 U3 U
  1. * [& J' T, F5 }- x. X# `6 o$ P
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    % Q$ X* i% d0 p0 p7 l

  3. + `2 \0 B& H/ g
  4. ### What we need ###
    + L. L* g0 p" a# y8 d) F
  5. Naturally, we will need a MySQL server to store the data for us, this document
    : I$ B* ~5 e! |7 B- N# f
  6. will not explain how this can be done - there are documents out there for the $ T  v4 f* _2 N" h! N# `3 R) D
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    0 Q. [) M% `6 ~/ s- J# p
  8. and a user account (username + password) that has the permissions to do stuff7 X! |/ l5 _0 v& p9 P4 S! W
  9. with the database. Additionally, you will need a vendor library installed on the% N7 ^6 b- O- ]6 \3 t& [
  10. local machine, this came with my MySQL install.
    8 g1 U" o6 F% @% C5 t3 Z% C
  11. These instructions will not tell you how you might transfer your data from the
    : Q: j  c; H9 }6 ?# h* j6 }
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL! o1 b" {. |( f  B5 e, l7 E
  13. database.
      d1 R6 G/ ^9 `* s* T' L
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    : w+ b% [  F: }5 d
  15. the time of writing, there are still too many issues - check the current status
    : A$ U0 }) E( w- @6 P
  16. in the TeamSpeak forums if you are interested.
    - V2 z+ ?# t- X+ {
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    " h* \8 P. Y' t+ t
  18. Borland was used. This driver can only interface with the client library that
    1 W/ h/ Q5 c6 I0 a5 g
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this" k5 D. {- M; r
  20. client library - basically all you have to do is to use a 3.x client library as
    9 c4 J/ {& F5 g2 r1 S
  21. "VendorLib" and a 4.x database to connect to.+ n. ?4 ~4 ~% b
  22. If you need more info about dbExpress, you can contact Borland.
    ) ?* y- o0 J1 @# r2 I0 t

  23. 2 Q0 [' o. i1 @* x+ `
  24. ### Doing the work ###
    : o+ j) V# z  S' q7 b4 [
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all6 s8 f2 l1 e8 o& w) W3 N6 b8 d6 `+ V
  26. the perquisites right, just open your server.ini file, and add this section at
    ; F4 E9 e/ t: M# Y! A: u
  27. the end:% N0 o5 A5 f7 }" ^, m9 C
  28. ---cut here---0 `2 \7 r3 U$ |# z0 f+ y
  29. [DBEXPRESS]
    + Q! r& n. x" N2 L$ O8 G7 o3 E3 k
  30. sqldir=mysql_sql" U7 c  M; P! g0 D8 G8 A
  31. Drivername=mysql
    7 ]2 I$ W6 X( a& e  ^8 M- k5 T
  32. Database=Your_Database_Name_Here
    2 L- m, q1 S& h4 r
  33. Hostname=The_PC_the_MySQL-Server_is_on
    / Y5 x* p, O2 o& M/ W- g/ d$ ]
  34. User_name=User_name_on_the_MySQL-Server' r% Y9 N$ ~$ G8 ]" N
  35. Password=Password_to_go_with_above_user_name! e1 g3 P3 R$ A3 {' V* z, g  {
  36. GetDriverFunc=getSQLDriverMYSQL
    + `/ ^3 G$ Y; Z4 c9 i
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    * [# U! V0 x8 J. ~7 J; k
  38. LibraryName=path_to_libsqlmy_libary
    ( N5 e& N; _) Z3 _5 D' x
  39. Active=1
    / O  B& k- C2 n
  40. ---cut here---' p& z9 H' y) R5 d
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ) [2 I! l" H. Z3 f3 G% C, t; s
  42. ---example---
    3 d% C: V- b6 \
  43. [DBEXPRESS]8 x6 @5 [0 m) j( X: Q7 l/ k9 y
  44. sqldir=mysql_sql- N$ M. B) a& @( ~- s; \
  45. Drivername=mysql; j8 `* p' G) m% u
  46. Database=test
    ( P6 g. z8 r+ i5 b# @, e5 Y
  47. Hostname=localhost" Z& w, r* `+ p' }" d
  48. User_name=testuser8 t4 n6 R3 R  K
  49. Password=my_password0 k3 u# `* L2 |3 R3 d
  50. GetDriverFunc=getSQLDriverMYSQL
    * l9 B) i! g/ K$ {, i
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    " e6 H$ J4 k  X6 L8 h- v
  52. LibraryName=./libsqlmy.so# ]* d( h% V4 l6 g
  53. Active=1: O. T/ U! b5 m6 Q* C( I( ^
  54. ---example---  `+ o( n$ H% e1 O
  55. 5 J3 \: n! v8 a5 X
  56. On a windows box, also running the MySQL server locally, it would be:% b1 ]0 x% Z, l6 @+ `0 j
  57. ---example---; E6 }3 P) w3 |5 ^& b
  58. [DBEXPRESS]
    , r' s- V2 ?& _" @: p( B7 g
  59. sqldir=mysql_sql
    6 @8 J# ~6 A, g
  60. Drivername=mysql
    " Z3 S3 o7 H8 u$ m; I
  61. Database=test( f% H9 P  G) F( g/ s  b- D
  62. Hostname=127.0.0.1
    8 l/ b% o0 \4 a' [8 [, X" P
  63. User_name=testuser5 k5 Y9 G0 K9 ~/ G% s" {
  64. Password=my_password% X+ K& j  \& d6 b1 ?& N/ ?
  65. GetDriverFunc=getSQLDriverMYSQL
    - y4 d0 R% e# Y; z2 |' z- p
  66. VendorLib=libmysql.dll7 j  g+ ?' R' P( N
  67. LibraryName=dbexpmysql.dll6 w8 [: C7 H- P0 W- O4 e7 y
  68. Active=1
    & Y" C  f0 J1 a9 o8 N
  69. ---example----  n7 ^% R6 }, S9 F. m
  70. - written 02.03.04 by pwk.linuxfan0 `* d1 q6 }* t3 u, _$ U
  71. $ v  D5 }" j; W1 j6 B& }0 w& y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
. W; z- E* g8 L) j+ t1 s# Y9 o/ x6 r

  1. $ y0 j/ D8 L/ D0 E
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    6 A# S, j; n/ S, h1 H1 c

  3.   F1 H) P; w3 w
  4. # # #我们所需要# # # . }7 \( v' ?5 X+ a4 K- E5 I
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ) x; O0 Z# a& N! X+ u6 i
  6. 不会解释如何做到这一点-也有文件存在,为
    2 ?& D7 }5 ?) ]8 ^! Z" X, y
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用! n* w  [" O" S4 {5 g
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    * M# n6 m+ n! F9 f  }
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    4 M$ x% g2 y* e, _1 u. ?& P
  10. 本地机器,这是我的MySQL安装。 * H. o2 u4 i6 S, ?  \0 y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ! d5 K  d; T4 w) e
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ) o, j) X. L# m+ J* |: f: p; N
  13. 数据库。
    % Y7 _+ I( N1 q
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在: i* B9 b9 V7 G  g) U
  15. 编写本报告的时候,仍然有太多的问题-检查现状  r- }7 Q  D8 p# f# D% C
  16. 在teamspeak论坛,如果你有兴趣。 ) [+ m  m; F! Y) T5 V- K- O1 ~
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ' O7 ?" a1 D; w
  18. Borland公司使用。这个司机只能界面与客户端库
      U. I% B) h# C/ A
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这; `& p1 ^. A) c* y
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为, n2 h8 {* w2 G  T3 P  F
  21. " vendorlib " ,并解数据库连接。
    ( P5 X" p) \$ d2 I- ~
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    4 x& `6 q) \- E; {/ X5 q

  23. % H, A- C! C& v* W& d7 O
  24. # # #做好工作# # # 8 n! x/ S7 Q) b* Y: y6 a; o2 f' ^- Z
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都" G# X5 d5 H* r8 {
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    5 f4 @0 f+ E/ \  x) i
  27. 结束: 0 T6 Y" X0 R, Q. m7 Z+ _" F
  28. ---削减这里---
    6 e9 ~  O6 m- Z3 w: |
  29. [ dbexpress ]
      C5 V# p( |, d( m% m
  30. sqldir = mysql_sql
    7 J$ M% W" }& t% T
  31. drivername = MySQL中
    + |( v, ~  x5 ^2 j8 x! N
  32. 数据库= your_database_name_here 0 Q8 [# B/ Z( `' r+ w
  33. 主机= the_pc_the_mysql - server_is_on 1 u* ^! C* W& [. V
  34. user_name = user_name_on_the_mysql服务器6 e/ w$ g/ J2 Z  S% f
  35. 密码= password_to_go_with_above_user_name 2 i' w# _3 |* r9 m) _2 }
  36. getdriverfunc = getsqldrivermysql
    ! h! Z; y3 x/ r: I( S
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    4 q; O; h+ K) S# r9 g
  38. libraryname = path_to_libsqlmy_libary + m8 `" y+ _6 |2 E4 m) |5 z9 ~) I
  39. 积极= 1
    ' j) `& U# n7 c( n9 l  B
  40. ---削减这里--- $ t# w5 \; h. Z9 u2 e
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    & t& d. y! ]  I: ~6 o0 o; D
  42. ---例如--- : ~) {8 l$ n2 m' v  r
  43. [ dbexpress ] ) D. K2 a8 q( d" S* f% K5 ]
  44. sqldir = mysql_sql % G3 `9 s; L2 i% C- G5 k  S
  45. drivername = MySQL中
    # ^2 w7 |- b' K. j
  46. 数据库=测试
    6 Z# X) @; R( N5 c! g2 w( f
  47. 主机=本地主机
    ) `, R5 c6 s' {8 x* s4 {3 g0 b! c
  48. user_name = testuser / w# z7 H* g# f. e/ w+ ]
  49. 密码= my_password
    8 F3 I. T  |7 z, w; N4 }9 }# ?
  50. getdriverfunc = getsqldrivermysql % y0 _8 ?% Y" h  \
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 & t' [9 c9 X; Y9 ]9 s& G  w
  52. libraryname =. / libsqlmy.so
    ! e. U* d: s; t& V5 d/ O: e! P  O
  53. 积极= 1
    9 b, u: o! I8 f) S# ]. j
  54. ---例如--- $ [+ p9 `. k2 Y8 b
  55. 6 J4 }& C) [5 E6 N2 W
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    * W; n: c, e) A# q% a) w
  57. ---例如---
    ( D# |* x+ [5 z( ], w
  58. [ dbexpress ] 8 S8 P4 h9 A0 z. _
  59. sqldir = mysql_sql + a4 e0 d2 _  T' g2 {
  60. drivername = MySQL中* N) d0 E* j7 C2 v( N# G$ O6 F
  61. 数据库=测试% A* G: {* ~( ?; a: p8 F" i. P
  62. 主机= 127.0.0.1 ! Y& w& _9 A2 t8 |, Z
  63. user_name = testuser
    * V1 i# \" j/ v
  64. 密码= my_password   E; [( n0 p9 }5 Y
  65. getdriverfunc = getsqldrivermysql
    1 t4 j$ l+ I  P1 ^
  66. vendorlib = libmysql.dll在( V# L$ {8 w5 Q/ r' J+ ?: n7 B/ T
  67. libraryname = dbexpmysql.dll ; n; r0 I) j7 ~( q0 z
  68. 积极= 1 / X% _% b/ E6 L. |4 b# ]+ h
  69. ---例如----
    ' u) U2 q& V; s1 h1 c" d: q
  70. -写在0 2.03.04由p wk.linuxfan
    # P2 g$ t  `: j" ]# O  q" c* Q6 [
复制代码
发表于 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: Q6 X; l% B( ]' ~
" z9 A9 c8 @* W! K4 b
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-29 18:36 , Processed in 0.092323 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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