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

3269 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 8 P+ E8 ]+ k& @( C( Y, k
, U* _) p, i: p6 W

  1. % u1 U" F% t5 `& J; p+ K
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    # |0 L+ b  Z) N, K0 n
  3. ! Y6 u6 ]" G. ^  A" c9 j
  4. ### What we need ###; e5 y' ?; |+ R  F; h: N+ P; A1 ?
  5. Naturally, we will need a MySQL server to store the data for us, this document * j. R  U+ x! J& p  C) A6 S) r
  6. will not explain how this can be done - there are documents out there for the ; B* }. X( \# x& q
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    7 @8 P3 n5 V+ R( i# D- \' j
  8. and a user account (username + password) that has the permissions to do stuff
    & A9 B+ L- j1 ~6 O
  9. with the database. Additionally, you will need a vendor library installed on the
    2 y+ r, u* J( k! U
  10. local machine, this came with my MySQL install.' _6 O9 _5 W- u( x
  11. These instructions will not tell you how you might transfer your data from the2 g. m, G9 T- ?" c3 X
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    2 v9 S" u) \# _( `( }/ V- D
  13. database.. t% q) }$ H, p9 D% |
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    " L6 Z& ]: I) _8 T. R1 x
  15. the time of writing, there are still too many issues - check the current status
    3 K: {; ^" i- R6 j# O& R
  16. in the TeamSpeak forums if you are interested.
    2 o5 ?$ W+ {; Y4 F
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from1 ~2 x+ G: `" d* w( a
  18. Borland was used. This driver can only interface with the client library that + R  _2 o4 J* y: Q# k% t
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this7 j: {; C* a! i  Z7 V4 i
  20. client library - basically all you have to do is to use a 3.x client library as - G& |, \" W3 Y  u0 L
  21. "VendorLib" and a 4.x database to connect to.( F/ u2 w, I/ q: [- O0 t. p
  22. If you need more info about dbExpress, you can contact Borland.
    ( O; i! A% f8 I) A+ @" c5 d

  23. ; j8 T- W# R# `5 m4 {1 x
  24. ### Doing the work ###+ x" S2 ^% s; Y* S
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all+ }( X/ _3 Z6 n6 Q. K, L
  26. the perquisites right, just open your server.ini file, and add this section at" E; o0 w( y1 j! X; N2 z, F( h2 w
  27. the end:* I! ?. v  j, v
  28. ---cut here---! g5 o% M7 h8 O0 h  ~8 ~; T% C
  29. [DBEXPRESS]
    . _# b3 U! E+ ?' b1 k% X. w8 r
  30. sqldir=mysql_sql
    9 v, Q% S" O7 k9 X0 l  b
  31. Drivername=mysql- ^) p8 X1 X+ \6 y8 L& Z0 ^
  32. Database=Your_Database_Name_Here% z- {; r& S8 z+ c2 E. ]; F
  33. Hostname=The_PC_the_MySQL-Server_is_on
    * R" V6 L( N" S; z
  34. User_name=User_name_on_the_MySQL-Server
    & z6 Q8 h$ q: V7 u8 X7 X* [
  35. Password=Password_to_go_with_above_user_name
    1 f. R; [5 E1 r
  36. GetDriverFunc=getSQLDriverMYSQL
    , L9 l, `0 x* n" s9 f. r- c
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ) w2 h, h7 S& `% J) N
  38. LibraryName=path_to_libsqlmy_libary
    7 _% e. D8 i4 f) s( {
  39. Active=1% ^; L/ e, y) G3 L- `4 F0 I) G
  40. ---cut here---
    4 B! a+ ^2 M8 d- U% m* n, t$ Q0 J
  41. In my environment (a linux box with a MySQL server running locally) I have:
    0 r! X# X+ o4 }$ f# L+ ~+ _
  42. ---example---
    ; C6 w6 ^: K) J! g$ R: H
  43. [DBEXPRESS]$ \: X6 n# W( H1 Q0 U
  44. sqldir=mysql_sql/ c) q6 ]+ k* ^" t
  45. Drivername=mysql" _* z7 y3 m- t  [" f* A
  46. Database=test
    1 _: @; A" E% X0 k7 b8 a0 B5 ^
  47. Hostname=localhost
    : T- `5 M& ?- M3 N% @
  48. User_name=testuser
    4 F/ t/ ~+ t9 S/ b
  49. Password=my_password
    " T4 v' R* E0 i. y+ Q* M. b
  50. GetDriverFunc=getSQLDriverMYSQL  q: ~' l/ ]2 s: P2 l
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    - H7 E) _, Q" J( B
  52. LibraryName=./libsqlmy.so) B, Z9 e6 M2 A# ?4 R
  53. Active=13 d( S1 G8 y" D8 s# C" G
  54. ---example---
    6 H/ g) h# K' G& u0 _- z
  55. " Q0 a1 {) J5 ^4 |: q* e
  56. On a windows box, also running the MySQL server locally, it would be:; V4 o8 O2 ?# j  M" i
  57. ---example---
    # {: [+ ?9 h1 ?8 y& @
  58. [DBEXPRESS]
    : n8 s7 z; Z6 E5 P. @+ o2 |
  59. sqldir=mysql_sql
    , o4 j( o# H3 U" |" Z! s7 `
  60. Drivername=mysql' ?7 _9 \7 r- e3 Y! m! I( c
  61. Database=test- A% ^9 F, p, R3 m
  62. Hostname=127.0.0.1
    & n- q( R) T2 i$ }# r7 E' a0 I% l
  63. User_name=testuser
    3 [& O2 [7 c8 E+ y# Y
  64. Password=my_password4 b4 C$ y+ x5 _4 U: O0 U
  65. GetDriverFunc=getSQLDriverMYSQL
    3 ^3 L6 C! Z$ j9 W) ?1 ~
  66. VendorLib=libmysql.dll
    6 K% [$ H0 y. I
  67. LibraryName=dbexpmysql.dll2 z, x& E, N+ a2 c  [
  68. Active=1
    / I& s( q! E( V+ ]
  69. ---example----
    ' Z2 O# ?4 ^5 }7 o% |! z
  70. - written 02.03.04 by pwk.linuxfan
    ' O* L9 w! J9 u& u  p+ L
  71. ! g1 S2 H( w1 Q% Q+ N+ Y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
; ^$ l% I9 k" R0 G- r# I. K. X

  1. % d8 Z! d& i( L5 {( s9 B/ B
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    . g, W$ w9 f& A  p- i  H

  3. * N9 E$ t' ^: X( C0 U/ k
  4. # # #我们所需要# # # " j. ~5 M6 c' g4 g( m/ {
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件0 w; |2 {% T. j) P5 h9 Q" O, O
  6. 不会解释如何做到这一点-也有文件存在,为& r4 B( w3 P! G. W; }
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用5 l( U1 h; ?  _7 B! d4 K/ u
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西. r& D. t  _9 G1 c% k
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    $ L. X7 T9 b6 }% w3 h/ w
  10. 本地机器,这是我的MySQL安装。 ; X' ?" K5 H# \5 ?9 P* b6 G
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从. z9 m+ V0 F7 s" k# O0 c; U4 Q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 0 ?" q4 M3 Z" c! |2 m% A
  13. 数据库。 4 q9 }1 I- t* D/ y
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在( F, B+ E; @8 e4 l' ?5 Z$ u
  15. 编写本报告的时候,仍然有太多的问题-检查现状; R! Q& N, d% T: u- J2 |
  16. 在teamspeak论坛,如果你有兴趣。 + }' a1 H# g3 P$ S
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机# G/ R: D$ M! r+ X) k+ w. R
  18. Borland公司使用。这个司机只能界面与客户端库! N' b) c8 Y& c" g( p3 Z
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这+ L3 ]7 W* q: x& T; x: o- i
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    - R! ~7 ^. u) L4 [
  21. " vendorlib " ,并解数据库连接。 - K. f+ u; Y% b. K; c1 @3 v
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 4 F8 ~0 E/ c) @$ k. }

  23. 3 n; k) s' F5 U6 B; d. |4 y) @% |& G
  24. # # #做好工作# # #
    . v$ T6 b; h( e% X  U1 [
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都, u: L3 Y) B# e- |5 B9 k: ?
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    " I9 K) J- e2 x. O
  27. 结束:
    3 [' ^8 v! a! d+ \. c$ k6 T
  28. ---削减这里---
    5 Q' ?( z* `" v7 P: R
  29. [ dbexpress ]
    . d9 z% o2 T1 m# ^0 U) C
  30. sqldir = mysql_sql
    & v3 Q1 I9 T, t9 ]0 d3 `# Q: P7 f
  31. drivername = MySQL中
    / F9 H- y* j  a4 f! z) H
  32. 数据库= your_database_name_here , Z# |$ x3 `# Y$ u4 t1 g
  33. 主机= the_pc_the_mysql - server_is_on , |% ]$ D8 v: L
  34. user_name = user_name_on_the_mysql服务器
    / ~2 }9 J3 }5 s' Q: @/ X8 f
  35. 密码= password_to_go_with_above_user_name
    ! c8 s5 J* k  V
  36. getdriverfunc = getsqldrivermysql - r& [7 F9 A6 M$ G* @
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    6 P3 T3 s, c2 ]
  38. libraryname = path_to_libsqlmy_libary
    ' O/ M- i  r! w; Q3 ^: c
  39. 积极= 1 * r/ T' y* D3 _
  40. ---削减这里---
    % M8 B% Z8 [6 G
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    5 N/ L- {3 ?8 H+ m" @0 `3 r
  42. ---例如--- ) j' o* q$ l" X- @% [
  43. [ dbexpress ] 6 j  q, O2 d; r* w* k4 u. Z" ^
  44. sqldir = mysql_sql 5 @% O/ P# u0 z5 w2 f. X0 H; n) r( w
  45. drivername = MySQL中
    3 {7 _. b% u6 s8 a9 f& v3 N
  46. 数据库=测试6 C7 {( Z( G) d9 M
  47. 主机=本地主机
    * H- B% K4 f1 k1 G; _
  48. user_name = testuser
    0 j6 A; ]; P, a# p
  49. 密码= my_password
      a- b5 A& J) n$ A( ]8 W9 r
  50. getdriverfunc = getsqldrivermysql & M1 W  o, W: |1 W( ?
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    & p' \. v4 n- ^+ o' `% N
  52. libraryname =. / libsqlmy.so
    9 z6 x, F9 G- |! w6 ]5 c4 f
  53. 积极= 1
    - @* c7 S3 `2 @, ^+ X. _% Q  W
  54. ---例如--- % F2 N* j0 S7 F1 p# a/ u$ u' }. P
  55. , F6 D- g/ ], x8 `( [8 h
  56. 对Windows中,也运行MySQL服务器本地的,那就是: % C$ u8 U5 h) P- N1 Q
  57. ---例如---
      q2 `, S) j5 o- M. F5 Z9 _
  58. [ dbexpress ]
    3 d7 E# _/ n5 T3 ]! h
  59. sqldir = mysql_sql & ^2 a+ M' _1 O" R3 d3 p
  60. drivername = MySQL中7 N" z# k" z' ?) M5 W. r
  61. 数据库=测试
    : A, j. T* T) B0 O0 I7 K
  62. 主机= 127.0.0.1
    6 m4 M+ x7 `" `5 ^% V
  63. user_name = testuser / I1 z# J& Z6 O6 M1 U7 p0 U, x5 Y
  64. 密码= my_password
    & |7 n$ w4 m: {0 H  g! E, V
  65. getdriverfunc = getsqldrivermysql
    : N5 y- Q1 T) M
  66. vendorlib = libmysql.dll在) J3 n( E3 X. W# U7 H2 u
  67. libraryname = dbexpmysql.dll 7 d/ x1 ~: k$ R0 ^
  68. 积极= 1 9 I; ~, x' S9 r
  69. ---例如----
    7 q* |4 @7 a3 c7 _& _) }: W6 Q
  70. -写在0 2.03.04由p wk.linuxfan0 N4 n$ G3 Q. e( k, u
复制代码
发表于 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$ U, X2 z6 D' o: G& ?
  |. w# q. w) r/ `
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-1 06:32 , Processed in 0.110731 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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