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

2786 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan # T( g  Q5 U8 \0 l/ w" n( Z% K, H2 ^
8 b7 _  O; ^+ M; J7 m5 ~/ Z' Z, \

  1. 8 C2 v" x. B. L( s) c
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    5 X' L% u0 R; T' ]/ O1 c

  3. ; h# A$ B# X3 l
  4. ### What we need ###
    8 C+ e( `% b" [' `) r
  5. Naturally, we will need a MySQL server to store the data for us, this document * B. a  c( h  {0 q
  6. will not explain how this can be done - there are documents out there for the 8 s4 S: B  G; Y# X! i" f2 Z# v' Y
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    $ f5 S  n9 P1 R) b1 I* ]" ~8 ?
  8. and a user account (username + password) that has the permissions to do stuff
    2 O. S7 D/ x5 c; n. s
  9. with the database. Additionally, you will need a vendor library installed on the, i# [4 L. J1 r2 w8 U! n+ Y' N
  10. local machine, this came with my MySQL install.. B  |2 ]$ K) l. r! [! G$ e
  11. These instructions will not tell you how you might transfer your data from the. ~4 c; Y+ q; U2 @4 \8 K
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ! w6 q: H, b) L( D! L( y
  13. database.
    & f3 d9 M7 W/ }# c2 e% C
  14. Some users have reported ways to import a SQLite database into MySQL, but at" t, h" A- p% i
  15. the time of writing, there are still too many issues - check the current status6 g2 D3 M" j7 Z
  16. in the TeamSpeak forums if you are interested.! u$ g, w; E6 ^4 v0 J: J1 T
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    / I8 o$ S- f& O. P1 {- H
  18. Borland was used. This driver can only interface with the client library that , R9 |1 J0 S& U% m" t& u
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this. a8 a/ {( n' J2 e
  20. client library - basically all you have to do is to use a 3.x client library as
    / R$ i* `! e9 `& _0 Y3 ?
  21. "VendorLib" and a 4.x database to connect to.
    ' H* r! ]0 I4 D# h( `
  22. If you need more info about dbExpress, you can contact Borland.
    / ~9 c* s  {+ ?& e1 C; e
  23. 4 Y( T# h5 w2 ^; c3 b
  24. ### Doing the work ###3 |. G( Y0 C. C7 ]; `/ \
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    # B0 U/ d7 @: |$ b- S" b* ~
  26. the perquisites right, just open your server.ini file, and add this section at, J/ B; F: g6 o" |
  27. the end:
    ! s/ _* N6 k% l
  28. ---cut here---0 j0 j- w6 m: q) x9 @/ U4 O
  29. [DBEXPRESS]. l2 X+ T* h! Q
  30. sqldir=mysql_sql
    3 Z* q3 w8 k" Y6 @
  31. Drivername=mysql
    ; L% E) P# I5 Y* s/ Q
  32. Database=Your_Database_Name_Here
    : p$ y2 B" i4 s
  33. Hostname=The_PC_the_MySQL-Server_is_on
    , x3 r) p' E3 J8 ]; H( s
  34. User_name=User_name_on_the_MySQL-Server) i( ^  L' x! y! e" h
  35. Password=Password_to_go_with_above_user_name' }4 ~( M( {  {* W
  36. GetDriverFunc=getSQLDriverMYSQL/ O* F! ^2 S5 F
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    7 z8 Z9 M" W) Y, W
  38. LibraryName=path_to_libsqlmy_libary
    - r: q$ r* W- b0 l4 Z8 o
  39. Active=1; S. t. d' \6 ^0 B) S
  40. ---cut here---9 w$ c: i! R; P0 @/ U
  41. In my environment (a linux box with a MySQL server running locally) I have:
      x; _2 s1 a" r2 e) J8 [1 ^7 q
  42. ---example---- K* y8 r+ v2 ^6 ~2 ]
  43. [DBEXPRESS]
    6 J- c5 ~. a4 q; T" R3 r
  44. sqldir=mysql_sql
    9 j8 n) Y' \. d7 x" \' S
  45. Drivername=mysql# J! [: z  k6 i4 K: _
  46. Database=test
    + d& o" N6 M5 }; U& O4 A7 l/ h
  47. Hostname=localhost8 I- h8 ~: R! e1 v1 M
  48. User_name=testuser
    * X8 y: o5 V7 b7 u' F. t8 w
  49. Password=my_password
    , L1 J+ d. V! b9 c$ f) H! T, l
  50. GetDriverFunc=getSQLDriverMYSQL
    : I4 V8 \: Y7 D7 {" U
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    : H0 {  U/ o6 L: q( S1 C
  52. LibraryName=./libsqlmy.so
    2 j- _( i3 W2 B9 K
  53. Active=17 J* s6 d9 S( C+ u& n5 x& n) X2 m+ E
  54. ---example---+ X1 c* f  H: Q0 U, A/ X$ L1 Y
  55. / q! F  N2 \9 u
  56. On a windows box, also running the MySQL server locally, it would be:
    ! P: Q" B3 M, m7 U! x
  57. ---example---# [' j9 J. {5 {/ f6 Y& x; T
  58. [DBEXPRESS]
    9 x0 ], O. n( ^# Z+ Q+ ?6 [3 g
  59. sqldir=mysql_sql
    . K8 K1 ]+ }/ i% w$ _/ Q0 u
  60. Drivername=mysql# ~' B0 E: q6 I9 g- Y% d
  61. Database=test
    + W: \& s$ }# T+ Q1 d; B3 l
  62. Hostname=127.0.0.1$ E* J2 N. S& {: G
  63. User_name=testuser- I5 o+ E3 Q$ \6 x, \3 J" \& j
  64. Password=my_password
    $ \4 v( n/ P8 p; L- R5 b5 m5 C
  65. GetDriverFunc=getSQLDriverMYSQL
    + M5 v* h& ~8 t( Q' q) d( b
  66. VendorLib=libmysql.dll/ r1 @4 q, Z) h
  67. LibraryName=dbexpmysql.dll( s2 ], Q' r, }& G
  68. Active=1
    ' N$ {( L2 D% G# ~
  69. ---example----
    6 b: q; v: l5 M; c) }" ^$ h2 c( `
  70. - written 02.03.04 by pwk.linuxfan& P; w! ^% l% o0 N3 D) x* J  ]
  71. - x! U" ^# t4 G4 K, E' [3 @# l- s9 J
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
1 y4 w# C2 d# S! Y; l+ s( G: P

  1. : v' X9 J. h7 g/ X0 L
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    + J/ a/ S4 g/ h7 ?) w$ p5 a- I" I3 l

  3. & V* E7 v/ e7 n1 O: M9 ]- e
  4. # # #我们所需要# # # & v# p0 y# A. B% H6 z' w
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    - K$ ^0 `( D3 p) x
  6. 不会解释如何做到这一点-也有文件存在,为
    / U) s1 J" A( p) K+ b
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    + [: M3 W# T3 x: S( c/ `
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    9 I, f: G% V( p' p
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    - l6 n( r, B, ^- S5 V: J! q+ R. j
  10. 本地机器,这是我的MySQL安装。 ! ]( K* ~. t- i: m# W- ~; n
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    " `7 z" {" G7 D( a
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL & T! U; v" D! q( q& [5 m
  13. 数据库。
    ; J: j% P& `" R: G- j
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在7 Z  j: H) D$ N2 m9 q- L2 }7 s
  15. 编写本报告的时候,仍然有太多的问题-检查现状( Z, e9 r5 {" t
  16. 在teamspeak论坛,如果你有兴趣。 ( Z- S" m( V. k
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机7 z+ P3 r$ ~# `1 m
  18. Borland公司使用。这个司机只能界面与客户端库
    ) I! h, M0 \( `; w
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    # j$ I4 u( z$ a* e- ?) y8 y2 Z7 r
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为/ y! t+ m. B4 i8 g& N
  21. " vendorlib " ,并解数据库连接。 ( N; R( ]. l$ e4 a2 P& D# l
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 & D! k- V: o6 M2 Z+ X4 _5 ]; d) R

  23. # L+ ~( S: o3 F7 `6 Q8 J1 q6 j
  24. # # #做好工作# # # 4 G  }6 w9 R# C2 o: C' F, ^
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    8 @3 u1 h1 M/ l8 d* Z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在1 B' o& e$ d0 T  D
  27. 结束:
    - L) ]; h! X9 h* k
  28. ---削减这里---
    : q9 k1 h* s3 |6 v
  29. [ dbexpress ] 6 Q8 }/ n0 k0 |1 V/ I
  30. sqldir = mysql_sql
    : J* h- \6 W+ n/ V6 b
  31. drivername = MySQL中
    : Y" |1 s- t# |; Y. ~6 ^; B4 {
  32. 数据库= your_database_name_here
    ' i" |/ o6 Y$ F" x) g+ {7 t& y  t/ C
  33. 主机= the_pc_the_mysql - server_is_on
    : t; U' O3 `4 Q/ l/ N
  34. user_name = user_name_on_the_mysql服务器
    , f0 I) k% W7 R0 }
  35. 密码= password_to_go_with_above_user_name
    - W7 w: v. w& x( S9 y
  36. getdriverfunc = getsqldrivermysql
    5 c; E  P2 r  @# c4 a( ?
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 7 o& h5 ?, l# G7 g- y' |& q
  38. libraryname = path_to_libsqlmy_libary 9 K- H: V/ r0 L0 _+ ^3 j) b
  39. 积极= 1 % i6 K! j  H0 N# y
  40. ---削减这里--- - [  H1 P; Q2 X4 s) u
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ) n/ O. x1 `+ i( |
  42. ---例如---
    9 D9 m2 W, G7 l- I. s
  43. [ dbexpress ] 9 Z, G' ]. g( {1 X6 ^3 X! N* E
  44. sqldir = mysql_sql
    $ g8 A% Q/ j0 D  z2 p! ~5 h, x$ j
  45. drivername = MySQL中
    6 Z4 O% I" @3 u$ ?  I
  46. 数据库=测试
    1 f$ y; U% T( r* s- S! W+ O3 x% y8 O
  47. 主机=本地主机
    / Z0 k1 M* I% u3 q2 C: F) h
  48. user_name = testuser 6 w; M4 o8 R3 z9 ]. S4 I
  49. 密码= my_password
    ) h1 d$ }3 ?" d) N. m
  50. getdriverfunc = getsqldrivermysql
    ' W; R: Z$ X% J* ]: W& P0 K
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    4 {4 w7 S0 m; ?7 ^+ d
  52. libraryname =. / libsqlmy.so 4 K9 d+ @& f* q
  53. 积极= 1
    3 ?, Q# c" X* [1 V1 H# \
  54. ---例如---
    9 ]9 T% Z" f. ~! J
  55. & Z& G' Q* |+ ~/ G$ k4 I/ \2 t
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    : q5 ?% R1 \. v  ^" e( h4 s
  57. ---例如--- % N2 S3 ?2 |: J# P. }0 `
  58. [ dbexpress ]
    $ j$ E8 R! }: F
  59. sqldir = mysql_sql
      }# {% M6 X( h  D' F1 s6 O3 v
  60. drivername = MySQL中; ?7 i1 Q) I. V* Q* e3 o
  61. 数据库=测试: Z+ x" F! R, Y3 {3 y: d. i
  62. 主机= 127.0.0.1 : T% d: i: l6 |! \
  63. user_name = testuser . N: g4 y% E9 j) d3 S3 W
  64. 密码= my_password ! n% j- a, `2 k! \6 n7 T+ F7 o% j
  65. getdriverfunc = getsqldrivermysql 3 C+ L/ r# t1 j5 v# ?; s4 E  B
  66. vendorlib = libmysql.dll在
    * N2 s/ A7 o; ^
  67. libraryname = dbexpmysql.dll
    2 j+ s+ T! s" Z
  68. 积极= 1 1 |+ b  D' I  a
  69. ---例如----
    7 I: G4 i* k$ @5 D
  70. -写在0 2.03.04由p wk.linuxfan
    % w( Z! `8 U% }8 K- N- W" k, N
复制代码
发表于 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) x+ P" ]8 W( w- ?0 f

& m, A) f  c) ~" G2 o7 ]) C8 Sbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-21 11:09 , Processed in 0.109488 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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