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

2384 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan + O" M: h# L7 E
& b7 f( S9 ^, k- y# T

  1. 1 h* J) a# T* W" S
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######0 x  x5 Z- \! N' z# }
  3. 5 h6 L9 v; m; |* q/ j! v1 P+ c' _
  4. ### What we need ###; W; Q" S) }' c& x8 W5 u
  5. Naturally, we will need a MySQL server to store the data for us, this document 7 }  C" s. r1 C/ p" ^
  6. will not explain how this can be done - there are documents out there for the * M  G2 P, C/ J8 [) E: U
  7. interested. The requirements include a (empty) database for TeamSpeak to use" U" P8 C# o8 X. j; r  t1 i
  8. and a user account (username + password) that has the permissions to do stuff
    ; Z6 Q5 t0 m5 j4 w$ w3 v
  9. with the database. Additionally, you will need a vendor library installed on the% G  ?+ X( G1 w! B) o0 q5 O
  10. local machine, this came with my MySQL install.0 c# g% H' s5 {0 v+ b% l5 e/ S
  11. These instructions will not tell you how you might transfer your data from the
    : V1 ]8 a6 T+ P4 P: f# E9 e* Z8 j
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    * j" {" v, v9 F+ [+ I5 X
  13. database.
    ( t: D% C" d& M2 ?  A5 m
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    1 B9 p3 p( f3 Q: {. W% X
  15. the time of writing, there are still too many issues - check the current status( ~% [8 y( D4 E& A8 F; t; b
  16. in the TeamSpeak forums if you are interested.
    - v. E0 W" N, O6 a# I$ R  K
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    : x5 _1 R- ?" X/ u
  18. Borland was used. This driver can only interface with the client library that
    $ r( F- ?+ o( Y- ^. p! d5 _- R; ?
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ) o) A2 z6 t8 D% D
  20. client library - basically all you have to do is to use a 3.x client library as # \) Z% Y' d& X; Z" I2 Y
  21. "VendorLib" and a 4.x database to connect to.) ^& B- N/ c$ [  a2 o8 K0 R2 {; t
  22. If you need more info about dbExpress, you can contact Borland./ A8 N. U# j. i* o& i

  23. # t' ^' {# \% h0 S
  24. ### Doing the work ###
    ( M: D5 x; q5 q0 w9 |$ T* J, _
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all+ m$ b# B9 H9 ^! M, \& ]/ A
  26. the perquisites right, just open your server.ini file, and add this section at; \+ D' Q9 X4 q, w/ w
  27. the end:+ V7 G) ?6 z" ^7 w3 L6 r6 T* q
  28. ---cut here---
      J; \& U' ?) X; ^) V/ X9 N  Z! W
  29. [DBEXPRESS]
    8 j# k$ ^1 e9 u/ o: b0 _* b* H( Y
  30. sqldir=mysql_sql
    ' K! J; R0 f. M+ A5 r
  31. Drivername=mysql0 H1 Y- X) V! d* D, q( H
  32. Database=Your_Database_Name_Here
    ' ], o" h; z# ^; r- ]$ Q
  33. Hostname=The_PC_the_MySQL-Server_is_on) g+ o) ], W( D3 {2 K: |
  34. User_name=User_name_on_the_MySQL-Server
    ; J4 g/ j8 a+ H: b( U7 P5 P- q
  35. Password=Password_to_go_with_above_user_name
    - U% h' A3 h: r: b  Q2 L
  36. GetDriverFunc=getSQLDriverMYSQL2 v, P* w% [  D3 U
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    / f: B  Y* }- C4 R' z8 T1 g
  38. LibraryName=path_to_libsqlmy_libary
    " }7 {3 C; M6 l2 X8 c5 }
  39. Active=12 D/ j$ u- c# h7 ^% b) n4 a
  40. ---cut here---
    # @0 Q- X6 D8 R; s" `% _
  41. In my environment (a linux box with a MySQL server running locally) I have:& P2 N6 ]% j9 V. d0 w! Y% h% [* G
  42. ---example---% K0 r8 }. \* e2 ]2 p/ _* U, D  o4 Q1 J
  43. [DBEXPRESS]
    - R$ _3 F, B4 e
  44. sqldir=mysql_sql
    ; C1 Y0 ^4 v5 m: \
  45. Drivername=mysql
    . \9 E3 F% R: `8 {7 i! x) d$ x' g
  46. Database=test
    ( u/ ~/ y7 M& B4 r' \. }3 d6 c
  47. Hostname=localhost
    1 X) v9 {: Q/ f; W4 b7 q
  48. User_name=testuser5 |: \$ T& e& V/ v
  49. Password=my_password
    2 k5 c6 `" r! i
  50. GetDriverFunc=getSQLDriverMYSQL2 a8 T! ?8 o" H  I: c* q$ T
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.06 i0 P+ |) b3 X- u0 H
  52. LibraryName=./libsqlmy.so
    # o. d5 y& t" H/ E" o, L
  53. Active=1
    $ T* ~7 ~- X  h$ a1 e; d- Q4 Q
  54. ---example---/ o! D! E/ j0 P  g

  55. ! W; {+ S! [+ E( B- U, e$ O+ I
  56. On a windows box, also running the MySQL server locally, it would be:
    % z/ r& l4 K) H$ E' ~6 }  r& D
  57. ---example---
    2 C, _9 O; W" p
  58. [DBEXPRESS]
    : O9 h5 t1 d3 H# @$ j3 q, h
  59. sqldir=mysql_sql
    3 s' B7 s0 W7 K1 w* ~$ a7 H
  60. Drivername=mysql4 e0 w5 Y! w$ l& G
  61. Database=test- P6 b6 t  p# Y: N3 ?2 r  x( T
  62. Hostname=127.0.0.1
    0 a$ y) g$ L  D/ Y# Y2 @  u2 b
  63. User_name=testuser
    1 T. W  ?# ~! y9 @3 f5 I0 ]. |
  64. Password=my_password
    - U' f4 j7 |/ E
  65. GetDriverFunc=getSQLDriverMYSQL8 t5 M0 X2 U. l8 J/ R1 c
  66. VendorLib=libmysql.dll
    7 ~3 ^8 I  ^; Z/ y& o
  67. LibraryName=dbexpmysql.dll
    + y# s# e7 A" W6 h4 U7 ]
  68. Active=1" p8 g4 r& E9 M( F* `
  69. ---example----  T4 [+ w5 B, v, |7 X
  70. - written 02.03.04 by pwk.linuxfan' p9 ^0 h' M; E
  71. % F% M, l9 _! h' O; g$ F
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看; `: ^: Y3 B8 W3 h; ?4 R
  1. ' }5 A+ Y; }9 S- G6 z! s% N
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
      k- V2 i9 X! R9 A8 d
  3. . I& c) G: [! ^8 K
  4. # # #我们所需要# # # - S: a+ ^' Z# x% v8 g7 N, V
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    6 k+ m8 ^4 y. I
  6. 不会解释如何做到这一点-也有文件存在,为; @( x: [% Z3 O0 g7 v% d
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用, Z7 g1 n) {% _" T! m' B+ W
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    / y$ S6 C7 ^* J% K) |* ]% \
  9. 随着数据库。此外,你需要一个卖方图书馆安装于( D; ^. c" ]) A6 X& I3 O7 a
  10. 本地机器,这是我的MySQL安装。
    , ]  J( T$ L  ]
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从4 @+ J; N% ^- t+ h0 Y  @
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    0 _# _* A$ T( k$ l
  13. 数据库。 2 W5 T$ q2 Y" d! z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在4 I* h* e& i+ w; l: b+ U$ t
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    / V% p2 Z2 |6 y4 G) s' ~# [$ M+ S
  16. 在teamspeak论坛,如果你有兴趣。
    / N$ h' ^; \! M2 s0 g" [' A* z+ ^2 x
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机# v* d& t& b& H
  18. Borland公司使用。这个司机只能界面与客户端库
    ! D# v- y0 c& M5 M9 L/ h" J1 e) Y) p
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    0 _. \' J+ \1 S7 K
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    2 k7 ~$ n5 m8 }/ g  u
  21. " vendorlib " ,并解数据库连接。
    / j" l* b. I, q
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ' E6 G6 K# S' }; y, e9 w! W/ Q9 r
  23. : t( b5 h. p) F
  24. # # #做好工作# # # 7 {! s% \/ C3 ]
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都3 n& i7 A2 W. ]+ h
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    2 `- u1 L: d- G8 T" e8 n
  27. 结束:
    ) P! z. v# P7 g3 d) E3 j" v
  28. ---削减这里---
    & Q( e# C: F% Q
  29. [ dbexpress ]
    , A' \( z; z! x+ M' ]7 X
  30. sqldir = mysql_sql
    7 W* K5 s5 c  p, u0 e; P  ?
  31. drivername = MySQL中5 Y; B& H- s  {% {
  32. 数据库= your_database_name_here 7 @, i9 X0 P4 U4 h7 t# q' N: ]
  33. 主机= the_pc_the_mysql - server_is_on
    ! Q8 |3 j" ~% ^, A
  34. user_name = user_name_on_the_mysql服务器
    ; y5 g9 B  d1 ~: x
  35. 密码= password_to_go_with_above_user_name
    , Z! e, v& {& h$ M  G7 M
  36. getdriverfunc = getsqldrivermysql
    6 M+ V! J5 Z  m  n/ l
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    2 e6 ]5 q7 U( b1 S) s$ j) k
  38. libraryname = path_to_libsqlmy_libary
    * S7 [- w5 m1 I& B4 f/ |
  39. 积极= 1
    " p- a! e" B% |, m- s# |
  40. ---削减这里--- ' O/ s) i0 X3 b" H2 p; g
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    7 D. c- Q4 [% {: U
  42. ---例如---
    , D( }8 b" X0 m1 S+ |
  43. [ dbexpress ] 5 m' T0 Z4 Y6 s) X- j$ L/ R7 l
  44. sqldir = mysql_sql , C  x" }* @# q; ^6 r
  45. drivername = MySQL中
    1 B0 }. ]1 ^) x* Q8 P
  46. 数据库=测试
    ! B( b' q( d9 x  a+ y
  47. 主机=本地主机% {2 e: G! `6 ]) n3 Q( E* b* j
  48. user_name = testuser / C$ L+ s( T: r! \! J
  49. 密码= my_password 8 k% [; @; l( r) a7 s
  50. getdriverfunc = getsqldrivermysql
    1 ~8 V( _. x9 T$ r, g5 `. m
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 - F  h  r: K- G( z" C9 J
  52. libraryname =. / libsqlmy.so ; h' M- H. }1 P
  53. 积极= 1
    ; x/ n- X! F/ c) p9 u2 _
  54. ---例如---
    5 j& n' n9 X0 `' g; ^! u* Y; L0 o

  55. 0 {5 N* R- v8 k) ^+ v4 P
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    + }. F! \( @1 x4 x0 E( ^- B
  57. ---例如--- 4 q: Z4 K; X( q: L1 j' v# f
  58. [ dbexpress ] . K# {2 r8 s9 R1 p  H
  59. sqldir = mysql_sql
    / ^3 V/ E% m3 x% ?* f3 j. `
  60. drivername = MySQL中
    . ^# [; Y# \/ q
  61. 数据库=测试  I7 U) x9 |; \8 {6 o' S3 w. N! Y
  62. 主机= 127.0.0.1 6 f6 O% c* D$ b
  63. user_name = testuser
    : U! H1 y0 ]9 j2 {) s- |: U
  64. 密码= my_password 3 M* {  O/ F& s( B& \; A
  65. getdriverfunc = getsqldrivermysql - b. n9 g: T9 Q" v1 U. i
  66. vendorlib = libmysql.dll在
    7 r# B6 e" k2 R/ K/ Z' _
  67. libraryname = dbexpmysql.dll 9 K1 [  j( Z, h& a! i' l; X: |
  68. 积极= 1
    & Q8 |* K$ ?- {# l/ e! e, c8 p
  69. ---例如---- : Y3 H% t9 Q$ }* R* L
  70. -写在0 2.03.04由p wk.linuxfan
    / ^/ {7 I$ N& s. J0 p1 G& q
复制代码
发表于 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 words5 M9 K9 @" `6 ?  L8 {
' e5 m. g: `! f; v7 b0 q1 k! x7 n
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-14 10:14 , Processed in 0.110801 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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