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

3457 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ( [0 o! T1 [% ?: m

* y) ^' |. E* \4 x$ Y. X& h9 s! F

  1. - Q4 ?' Z/ M0 _" w, X
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    $ Q/ T) p. j7 R) N" F9 T7 ~* {
  3. 7 V5 z$ X6 |! c. g8 _* N
  4. ### What we need ###
    1 U. U$ i+ {  C( N
  5. Naturally, we will need a MySQL server to store the data for us, this document / m- k/ T9 w* H7 l
  6. will not explain how this can be done - there are documents out there for the
    . _7 ]5 w, v& E
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    7 r/ M  F  I5 }! S* B+ e! c
  8. and a user account (username + password) that has the permissions to do stuff
    5 y! f* }6 J& D! e* E3 s
  9. with the database. Additionally, you will need a vendor library installed on the8 I* B& b+ n+ H' `3 }
  10. local machine, this came with my MySQL install.
    5 ?; m% s& `8 v6 J  J5 b; V2 y- @! u
  11. These instructions will not tell you how you might transfer your data from the
    + [4 v4 A, |3 b$ i& g7 T
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL  W3 `8 ?( m% d; N5 A+ V
  13. database.
    9 I' r: M1 I; D" I
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    & O- M" S8 A0 M! G8 z
  15. the time of writing, there are still too many issues - check the current status2 b; L/ k/ z) e+ H  i% L
  16. in the TeamSpeak forums if you are interested.! f; A# C2 [1 Q/ b) z  \) A. x
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from2 s: o3 l) }$ ]3 g; U  r5 G3 H
  18. Borland was used. This driver can only interface with the client library that
    " q% \5 c: \. d- m* P/ {
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this8 `. A  Q3 D; N& J5 `; E
  20. client library - basically all you have to do is to use a 3.x client library as : u/ G! f) o6 s4 D. w  h: |
  21. "VendorLib" and a 4.x database to connect to.5 t- q2 ~1 |4 A0 _3 p% A
  22. If you need more info about dbExpress, you can contact Borland.% _/ [9 k8 w4 P1 x( i6 j+ X

  23. # A2 K# }9 v# q9 [
  24. ### Doing the work ###
    ) [" E. Y/ u* d0 p/ B
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    4 p# _9 x$ j0 G
  26. the perquisites right, just open your server.ini file, and add this section at1 l7 t0 P$ x1 ?4 X& f1 c
  27. the end:
    ( k: a- J! ?9 E5 B3 h( ]* E
  28. ---cut here---! J0 g. o! \5 F" V
  29. [DBEXPRESS]( Y( |+ B4 l/ t, K' q3 p5 ~
  30. sqldir=mysql_sql9 \7 s7 D7 `+ @
  31. Drivername=mysql
    * M9 d: ~% F0 [, G% g$ y
  32. Database=Your_Database_Name_Here
    7 h  A; l4 @$ ?  j  j
  33. Hostname=The_PC_the_MySQL-Server_is_on
    : R" \6 {" @3 T! K; O! Z" V/ f* T
  34. User_name=User_name_on_the_MySQL-Server
    3 |! b, `$ Z2 R3 O! q, ~( \8 _: `
  35. Password=Password_to_go_with_above_user_name+ J/ v, y- ]% B' ~  M
  36. GetDriverFunc=getSQLDriverMYSQL( @' p8 \, o( s$ E# M' r
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    8 \" ~' H8 d  s4 m% e- ]  A/ H$ q
  38. LibraryName=path_to_libsqlmy_libary) s. k! b5 ^1 q4 Y& V
  39. Active=11 q8 Y% Y3 s7 q) t; t5 K* w* T- |
  40. ---cut here---
    " g* s! h! B( J6 m
  41. In my environment (a linux box with a MySQL server running locally) I have:. q7 N8 E( M0 _
  42. ---example---
    % l( v9 I- [! n* G* }8 C; W
  43. [DBEXPRESS]9 x2 p, Z& ?0 x% q$ j$ o5 E
  44. sqldir=mysql_sql
    ( Q& U3 o5 o2 M7 @- R: {4 p6 ]
  45. Drivername=mysql
      I# T' U% Z' i) N" x+ C; F1 x* _1 B  R
  46. Database=test# H5 W8 I1 \6 ^  _
  47. Hostname=localhost3 O  T3 @3 [) P& F. h  g' W" @: T
  48. User_name=testuser3 y6 j( {' ~3 D; b3 m
  49. Password=my_password2 M! S+ q3 e# C8 A
  50. GetDriverFunc=getSQLDriverMYSQL$ o3 \5 k; b1 I) A" i* s; ^$ Q0 e5 G
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    7 J6 r6 ?) N& b- N
  52. LibraryName=./libsqlmy.so
    0 _9 H+ b9 `- u2 L7 S7 C' K
  53. Active=1" D  `8 z) j& T1 \* X! F
  54. ---example---
    ; @& Q- t! p1 f1 N* Z& R2 [

  55. ( e1 Z5 l; `* T( p9 ?  z
  56. On a windows box, also running the MySQL server locally, it would be:
    5 O% u# }+ N0 }7 \; N( ^3 o
  57. ---example---2 f+ U( X3 V4 S3 b: A
  58. [DBEXPRESS]
    9 S# V0 Z! ]* o- i" b
  59. sqldir=mysql_sql% o3 w; D+ p6 n7 m, H! x
  60. Drivername=mysql- g0 J* ?; b: l2 h1 o4 E
  61. Database=test
    ) |: P) j) E$ H: u
  62. Hostname=127.0.0.1# q. d+ P: h* c! e4 m) Z" R# V
  63. User_name=testuser
    & }. d6 y$ ^. j2 U& s& S  H
  64. Password=my_password1 D% f# U2 d& ~1 C+ l
  65. GetDriverFunc=getSQLDriverMYSQL" l2 |& u: }* X* G
  66. VendorLib=libmysql.dll
      l2 j8 Y- N* L
  67. LibraryName=dbexpmysql.dll
    2 |; B& Q5 c+ k  d8 x6 ?
  68. Active=1# L" I/ q0 i, o5 \  O2 d
  69. ---example----/ {; Z0 p9 p. ^4 S7 n
  70. - written 02.03.04 by pwk.linuxfan
    + R) H, _" ~: Y- G5 W' c3 ]& B& r0 M

  71. / o  Y  {: }/ Y) ~! V$ C" b& B7 T
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看9 V, `( L) K! y. Q/ [
  1. 4 g& r( i! U- }( W9 t) @
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### , g7 R& e4 L. @8 z+ K+ v
  3. 0 {* G1 n/ ~7 m5 {+ ?. D
  4. # # #我们所需要# # #
    0 ^% w0 n. z' g5 {) }
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件4 W& J8 r( n7 y2 J
  6. 不会解释如何做到这一点-也有文件存在,为
    / c3 c3 o9 g4 Z. U+ c
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    % ^1 y7 v6 e5 x+ D( N
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西, Z; ^- }3 A  Y: Z+ `+ E
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    + {/ X& l* E- G9 T9 E# \5 z
  10. 本地机器,这是我的MySQL安装。 7 j* V( d, t, f4 I4 ?1 \
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    * {( ^7 U! [. q5 o) V4 w1 F8 z
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    . K% e0 L5 J, W. h7 ~
  13. 数据库。
    : I; k1 k$ R; q8 Q0 B
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    5 ]0 [! d0 i# s7 \$ k0 m  H
  15. 编写本报告的时候,仍然有太多的问题-检查现状8 q" X6 I# L# o9 L% w: t2 n+ Q# b' [
  16. 在teamspeak论坛,如果你有兴趣。
    ; p9 d( s& V+ m! a. K: S: A
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机6 R  e. d, y! s8 P" E( R: x
  18. Borland公司使用。这个司机只能界面与客户端库
    " [; g  E" U" t3 e" j% D% K! a8 P
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    - q, G2 G( N) V6 K) j9 d
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    # o3 j$ E5 {3 y/ T- Q( U1 T
  21. " vendorlib " ,并解数据库连接。
    $ M& W. {# t4 g8 O# {) Q' C! p
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 " i( D" P9 x: g2 S  G9 V: a

  23. 7 u& M# z/ i$ m
  24. # # #做好工作# # #
    0 w$ a" K% l/ v: l  }
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    & Z, ]# w6 o' ?9 T2 t
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在* h4 D& z5 T1 j0 l
  27. 结束: " I% u- Q& B# w
  28. ---削减这里---
    % t8 w/ K- a  N8 J8 L& I
  29. [ dbexpress ] 2 j3 H, Z. Y! h5 m, d
  30. sqldir = mysql_sql
    ! `# L/ n7 E+ j3 R" Y1 ~) |6 `
  31. drivername = MySQL中
    - r  ?- n) r6 Q8 Z; F/ B6 y
  32. 数据库= your_database_name_here
    & S: h, r  M5 ~2 _/ \+ p. [# @2 b
  33. 主机= the_pc_the_mysql - server_is_on
    * G# [$ k3 u  y( x7 `( i/ O! d3 v
  34. user_name = user_name_on_the_mysql服务器  {) Z/ Z5 a+ L: c) w
  35. 密码= password_to_go_with_above_user_name # w0 v5 S* V  s9 m  l% H& {  G8 I
  36. getdriverfunc = getsqldrivermysql ' J" d5 n/ e. i: g  m: D
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib , K/ Z% l$ b; `. H5 q  B
  38. libraryname = path_to_libsqlmy_libary
    2 P& @! F# _1 P' M4 j) F0 U- y% Z
  39. 积极= 1 6 \8 p( |( o5 J0 ?: K2 B0 [% W
  40. ---削减这里---
    * P. x$ ], ^9 Q/ Q' |: m
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ! @" j8 t  a/ M! I
  42. ---例如---
    9 z+ Q. Y9 X: B" M& k) e
  43. [ dbexpress ] - ~' Y! ?8 y& _5 v, M( p9 i
  44. sqldir = mysql_sql
    4 e  r4 e. B" j0 x4 p8 @
  45. drivername = MySQL中
    + j/ Z2 w7 P; m1 q7 J) v
  46. 数据库=测试
    ' H* l) M+ |: u4 k# U! g0 C2 g/ o4 C* K
  47. 主机=本地主机3 }( I7 x. P) p1 b
  48. user_name = testuser + h; \8 g/ ?7 k1 h; f4 A4 Y5 E
  49. 密码= my_password # y7 C+ z3 q- L$ i8 ~: t( J9 B% l
  50. getdriverfunc = getsqldrivermysql
    2 u  ~# z, T' M5 X6 f, m
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    7 Y4 l$ t# Y3 T! D# o5 Z9 @
  52. libraryname =. / libsqlmy.so & b3 \! P. w1 @6 V5 @
  53. 积极= 1 6 n+ c& a8 ~: ~$ J1 S
  54. ---例如--- * n9 I4 Q  x8 h& H/ N5 m+ I
  55. : @% j6 C) |, t' y. B+ A; T
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    : [& e) z) _) }/ ]( w  }
  57. ---例如---   u! I( B3 h1 Q/ H% o4 |: G9 X; n
  58. [ dbexpress ] . |5 v; m+ @6 I
  59. sqldir = mysql_sql ( @3 Z  D: X: [% f( C
  60. drivername = MySQL中3 i9 B' Y* g8 [$ v" C9 K) Q
  61. 数据库=测试
    * q  L  ~  J3 D3 u$ v& B7 ]* m
  62. 主机= 127.0.0.1
    ' v8 v! n7 }- q+ b! M) t; {& m8 v1 e
  63. user_name = testuser
    8 }# j/ O3 X" W* W
  64. 密码= my_password
    $ D6 ]) j! w3 ^* E
  65. getdriverfunc = getsqldrivermysql
    4 `1 j% i4 [) V
  66. vendorlib = libmysql.dll在
    0 J8 t5 ?) `) r9 a! w3 g. S/ @$ e
  67. libraryname = dbexpmysql.dll & V2 O; U' J8 L6 O' v* a; {
  68. 积极= 1
    5 T" u& i% P' E  }- F$ y3 \
  69. ---例如---- 5 h8 Q3 m2 i# j0 E$ x
  70. -写在0 2.03.04由p wk.linuxfan
    1 G+ O: v- R" Y6 C3 o+ l5 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
" Z  f  @& [6 Y# g
  U4 P' N  m1 U5 X$ B- N: k9 ubut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-1 06:04 , Processed in 0.053337 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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