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

2216 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
: B0 j3 d! w+ o7 B: m7 K
* }/ `/ z/ F0 \0 |
  1. ' G' _7 j, Y( J* U
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######6 C1 c; s9 q5 N8 ?% [
  3. " k) E+ n$ n7 c3 V0 n, e1 q9 ^1 I
  4. ### What we need ###" m/ R$ E4 t4 X# L$ [
  5. Naturally, we will need a MySQL server to store the data for us, this document
    & \( n6 n$ O4 ]; K9 ]) C  t5 c3 j
  6. will not explain how this can be done - there are documents out there for the
    " @' t6 f8 E$ z* {$ [3 `
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ( \0 ~2 C1 J. c3 h# Z
  8. and a user account (username + password) that has the permissions to do stuff
    4 D" B! \. `, y0 ~+ d
  9. with the database. Additionally, you will need a vendor library installed on the7 Z9 S' f( r4 i  l3 _, g
  10. local machine, this came with my MySQL install.: \; \( O2 }6 y; i5 l  s
  11. These instructions will not tell you how you might transfer your data from the
    % H; h0 E1 ?5 o" U7 B- Y1 Q  r
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    , j) V7 |2 y3 |; H4 P! n% p" c
  13. database.2 l) c9 |+ n+ `. P  O* f* G
  14. Some users have reported ways to import a SQLite database into MySQL, but at' y+ c  p# E9 e0 y4 Z& b
  15. the time of writing, there are still too many issues - check the current status
    , H. D. \& ~% m0 f$ c) I, ]9 N8 l
  16. in the TeamSpeak forums if you are interested.
    & u: k. Y- w; t+ X/ X! k- @  _& F
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from  r% B( K0 G" i! K: [
  18. Borland was used. This driver can only interface with the client library that
    4 Q( C4 _" l9 t6 Y5 y6 I, O; F
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this# f" U' ]3 t# V( s1 ^3 _" P: X
  20. client library - basically all you have to do is to use a 3.x client library as
    1 b' t* U8 x2 s  w  X  A+ r
  21. "VendorLib" and a 4.x database to connect to.
    + {, L! q2 |: W1 }" E" H
  22. If you need more info about dbExpress, you can contact Borland.
    ' n0 v4 C4 [( K* I( V
  23. # `# ~; F1 m: ?9 O( l
  24. ### Doing the work ###
    ; g# x5 V; m7 }
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all3 D( K3 ~1 u  q; j, A
  26. the perquisites right, just open your server.ini file, and add this section at
      v! a5 i$ d4 W1 h
  27. the end:
    4 I+ [! C* y/ p  j5 ~
  28. ---cut here---7 ~# C+ \  I& |! R* l4 k  x; I
  29. [DBEXPRESS]
    8 i  k$ T& K% F* d4 o) N
  30. sqldir=mysql_sql
    ' Y4 z2 G$ q( `- l& D+ z
  31. Drivername=mysql4 ^$ D8 P% H3 {9 O
  32. Database=Your_Database_Name_Here
    1 _) m1 l0 L( k
  33. Hostname=The_PC_the_MySQL-Server_is_on8 _1 v: r5 C) }2 A# L9 Q
  34. User_name=User_name_on_the_MySQL-Server# Q! S7 i% Y5 Y' Q( w- }
  35. Password=Password_to_go_with_above_user_name
    & j, w' e( Y" J6 C  s
  36. GetDriverFunc=getSQLDriverMYSQL3 f# j: V! i4 b9 {
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib, M9 r4 B8 p( X' Y7 u  A" T) `( n
  38. LibraryName=path_to_libsqlmy_libary3 a$ u0 O% o- _6 p3 J; X
  39. Active=1" V# Q7 C: O/ I4 T& B
  40. ---cut here---
    $ N  M9 R5 M( h: }5 a, v
  41. In my environment (a linux box with a MySQL server running locally) I have:* s; `& ]0 a* K6 r* |4 A
  42. ---example---6 L+ v# s  u# |; X/ \
  43. [DBEXPRESS]
    : `6 S) h0 H. q7 Q" _  t0 o
  44. sqldir=mysql_sql
    3 I. i+ y  w/ i4 c
  45. Drivername=mysql) D4 O6 [/ B% u3 p& I
  46. Database=test. V4 }; d+ p7 H
  47. Hostname=localhost
    & q. R# g7 M* W. m, d* o9 G
  48. User_name=testuser
    3 s" G" m2 K' P8 k' q3 I  q5 F
  49. Password=my_password
    5 U' A& m5 g. h4 N; v7 n  t1 C6 l
  50. GetDriverFunc=getSQLDriverMYSQL
    ' m4 X3 a4 ]5 i+ u. r( G+ W
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0! f0 G6 o" z6 L  B5 Y* R$ a( W  n  [& J! M' j
  52. LibraryName=./libsqlmy.so! N/ t) [# N& F  l9 ?
  53. Active=1
    & h6 E% q: }. g
  54. ---example---
    8 [9 }. G  s) n- V* V" M/ W6 Z. m

  55. $ `  i) j3 i& V/ ~2 K
  56. On a windows box, also running the MySQL server locally, it would be:2 i" c3 Y/ F$ z8 a% z
  57. ---example---
    ( \  L1 H6 g4 ]4 h: N8 S  J% T
  58. [DBEXPRESS]$ U( N0 B+ g+ _; T; }
  59. sqldir=mysql_sql8 Y$ z/ k" p( f' K# `
  60. Drivername=mysql
    ! m. s- l; y! f: _
  61. Database=test
    # c0 _2 h7 N9 m6 q/ c
  62. Hostname=127.0.0.1
    . `) D& P% t' H' y
  63. User_name=testuser5 w* ~( M9 \7 J: h' @' i) k: Y7 S
  64. Password=my_password
    9 r+ [) Q1 Q/ ]+ }* \$ y! d  V* W' ^
  65. GetDriverFunc=getSQLDriverMYSQL
    9 b) L# x% a9 w/ p5 i/ l$ s; M
  66. VendorLib=libmysql.dll
    $ I9 S6 [! E# q! \; G. Y/ V
  67. LibraryName=dbexpmysql.dll
    - o* Q+ Q. h! x, R! c- U
  68. Active=1( f  o2 @, F; _8 U6 S
  69. ---example----; Z8 D# J  m0 J, u
  70. - written 02.03.04 by pwk.linuxfan/ [4 e$ t7 D. `* ^5 n
  71. + D+ X* d* w' Y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看& U9 m# |/ F: [+ x. i
  1. % ~+ U# a9 l+ [( j; \1 ~2 S4 G5 q
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 8 ]6 `7 Y; ~; M& T1 U3 N1 D
  3. , h; F3 |; Y4 B# T! H# j
  4. # # #我们所需要# # #
    8 y8 o9 k) X& K% V; Y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ' a0 @" q. J( F/ u/ ^1 t. t- C" F3 Y
  6. 不会解释如何做到这一点-也有文件存在,为) K: T+ b1 |" q
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用/ h$ D% v% [; L  S0 M* X
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    6 T. I! h+ J' X" Q6 Y0 f+ m
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    % u( K7 l3 ]* U  G+ b) }5 o5 F
  10. 本地机器,这是我的MySQL安装。
    * Q5 M4 v8 D6 s  O0 l
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从5 |+ X) X, W& j
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    % W( k4 T2 @4 J- r) a
  13. 数据库。
    8 v, W5 U  v" O- s1 f; i9 M
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在* M+ O3 |( ^, ~* L
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ( f' B1 D/ i1 H6 _5 T: {) H
  16. 在teamspeak论坛,如果你有兴趣。
    4 N$ u1 V% u$ P% s
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机1 Y6 B/ e) Y( L' Q  a) S
  18. Borland公司使用。这个司机只能界面与客户端库
    1 c+ p8 C- p; s& f) K( T
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
      D. w8 q1 y, G* ?! u, m, o# I
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    1 e; \9 ]7 K# F) I* K
  21. " vendorlib " ,并解数据库连接。
    4 ~# H: t4 W! u. N4 a1 O6 i' G
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    $ Q# q& C# e, ]6 d, ]
  23. % `" H) C. b& \9 k
  24. # # #做好工作# # #
    6 g% w5 |5 F$ S/ I
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    # F! H. f- ^: g' R3 ?2 {
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    2 l, J8 l% C2 A9 D% q
  27. 结束: 5 W6 H( i$ X) q4 g8 D
  28. ---削减这里---
    & b+ t0 Q% i4 r9 k
  29. [ dbexpress ] ) |, Y  A! ?. m1 z; J# J' @
  30. sqldir = mysql_sql 3 i  f( g5 q- Q2 j
  31. drivername = MySQL中- ~8 R# @( O8 s3 h# |2 L& I3 U6 f
  32. 数据库= your_database_name_here
    5 q2 m1 ^5 [% c8 N$ H' _
  33. 主机= the_pc_the_mysql - server_is_on
    9 a3 A' e# z" j7 Y8 l
  34. user_name = user_name_on_the_mysql服务器, I* Y7 |: s6 m+ }# M
  35. 密码= password_to_go_with_above_user_name 4 N  @& ]/ P4 {/ N6 L9 y
  36. getdriverfunc = getsqldrivermysql
    ) E! I! W+ h: D
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 8 z$ J# m/ ~3 U, J
  38. libraryname = path_to_libsqlmy_libary 1 a3 }, v2 b* n4 @) z/ T6 y
  39. 积极= 1 $ W+ q3 m6 E+ ~  V4 `& Y
  40. ---削减这里---
    " V  L( U1 k& W( s) U  a- h" E
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    : Y+ u: R' `/ N
  42. ---例如---
    / f+ _. E6 N8 J7 W, s& ^
  43. [ dbexpress ]
    * ?2 I& M% ]# E
  44. sqldir = mysql_sql
    # G9 X7 T/ c7 F  r
  45. drivername = MySQL中
    5 E/ k9 k  v8 @/ x7 Q( L
  46. 数据库=测试
    & s( n1 w5 z( Q4 ^+ D% [
  47. 主机=本地主机
    - O1 r. v3 i2 W' j) ~; X
  48. user_name = testuser
    9 V) l! v4 q7 q/ J4 m
  49. 密码= my_password 3 n1 e& L( u$ v4 X) Q: {( i" P
  50. getdriverfunc = getsqldrivermysql 5 r1 Q' d9 N: J8 N: W# q5 X
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 4 s0 _! z, e5 Q6 u; @
  52. libraryname =. / libsqlmy.so : }: {- F' J$ v% w! p. c
  53. 积极= 1 ! m' d# O2 I1 }
  54. ---例如--- + O- t3 _3 q" Q) `- N

  55. ' C( c% t+ L) n& }
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    2 v6 R3 e1 ^. B* d9 w- W" q- p0 j5 X1 d
  57. ---例如--- 4 Y8 Q' @( P+ u3 M
  58. [ dbexpress ] ' P6 [5 T, ]; b6 Y# a3 J2 }
  59. sqldir = mysql_sql
    2 N3 F8 m- F$ {! _# h( G5 G
  60. drivername = MySQL中
    # ~! r( _0 O% @% f1 I: _0 M
  61. 数据库=测试6 E! ]: `% S8 n+ W9 Y
  62. 主机= 127.0.0.1 1 v" t6 U. z9 t! z6 J0 F# Q
  63. user_name = testuser
    5 T% ~6 K5 D, ?4 s! W' k3 ?2 H
  64. 密码= my_password ) D5 c- a* ]0 p1 a% V$ K' B+ O  W
  65. getdriverfunc = getsqldrivermysql
      Q4 b0 B5 U; o" b$ ]
  66. vendorlib = libmysql.dll在, S6 ?* T2 a7 O+ g  Q$ k
  67. libraryname = dbexpmysql.dll # y7 c- [# a3 O4 b
  68. 积极= 1 * p& z# Y9 h' f5 K
  69. ---例如----
    ' S8 ?! E+ }3 x2 \$ a+ O2 a
  70. -写在0 2.03.04由p wk.linuxfan5 U, b4 Q! T( P$ _
复制代码
发表于 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 B- D2 l7 u! H1 ^( Q2 {) ^  R8 L
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-21 02:06 , Processed in 0.111803 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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