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

2819 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ) `2 G. `/ W! S1 V2 r# ?

; [! r- B" H: i# Z" h

  1. / j! h4 p7 n2 m4 Z4 l9 r
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    7 t$ B3 o3 R" _9 G* t
  3. 5 E3 V& w3 H& g; H6 r$ Z# y3 |) j: k
  4. ### What we need ###  q7 o9 ]# H3 w7 y: v2 S
  5. Naturally, we will need a MySQL server to store the data for us, this document
    / U$ C: g! R$ k
  6. will not explain how this can be done - there are documents out there for the
    ! L: y7 L6 d$ H; F/ g
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    1 M* o6 q6 c% F+ a$ n
  8. and a user account (username + password) that has the permissions to do stuff. |7 o+ N' J. D, D
  9. with the database. Additionally, you will need a vendor library installed on the2 M' p3 Z- H# Z% y8 P- W( n
  10. local machine, this came with my MySQL install.5 E: u; _* N8 }
  11. These instructions will not tell you how you might transfer your data from the
    7 [& A  r6 F' Y8 f1 x) l8 n) O- D
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL9 H/ w+ U+ l! ~* N
  13. database.7 R7 s- U' |4 K0 l% n- G5 p. ~
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    " f' l* S" g) l2 Y
  15. the time of writing, there are still too many issues - check the current status( G6 x% V$ A7 m8 K2 @* N7 C; u
  16. in the TeamSpeak forums if you are interested.
    5 R, L) X7 X, i4 }: k. S9 n+ B7 M% b
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from6 J3 |7 G" ?8 d# V+ |( c
  18. Borland was used. This driver can only interface with the client library that
    4 ~/ ^7 r9 D. p) n! z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    5 |; y* i& b9 V) `( X
  20. client library - basically all you have to do is to use a 3.x client library as
    % f+ `, |7 _' Q! G
  21. "VendorLib" and a 4.x database to connect to.6 M8 t8 {& j* ^
  22. If you need more info about dbExpress, you can contact Borland.
    3 L( v2 j$ o9 n' v( {- N

  23. 8 @8 W4 T, m1 `- n0 M! E: y
  24. ### Doing the work ###
    9 G4 W7 T/ |" p( `; B0 G, t% V
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all$ G$ a4 T+ w2 h! ~% n" S
  26. the perquisites right, just open your server.ini file, and add this section at
    ; w7 i4 S( G7 j0 S1 }; r
  27. the end:: d* |# N* E3 p3 `' Y7 P
  28. ---cut here---
    & Y: b& t; P7 v2 M
  29. [DBEXPRESS]
      X$ _: D- M: N- K. z+ Z, ?& w
  30. sqldir=mysql_sql8 u$ K% M& u9 p8 @
  31. Drivername=mysql! v( U9 q  v' n9 o' n) R
  32. Database=Your_Database_Name_Here0 h1 C3 o7 I* o7 t8 D
  33. Hostname=The_PC_the_MySQL-Server_is_on9 s0 A4 a7 J' k4 P' ?6 i
  34. User_name=User_name_on_the_MySQL-Server" I# l6 {& i; j( t: ?& U/ [" {5 P
  35. Password=Password_to_go_with_above_user_name; s$ H  Z1 O) Q. E
  36. GetDriverFunc=getSQLDriverMYSQL! B0 g4 a: L4 v$ k+ h4 `
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ( d) l+ R2 \7 D7 F6 n9 v( B8 w) ]
  38. LibraryName=path_to_libsqlmy_libary/ x" T7 w) k6 a$ u- ~
  39. Active=1
    0 _" S, [, g/ A: |: ~& O
  40. ---cut here---/ x2 N9 a* z( B: F0 T( b2 U& `7 D, s
  41. In my environment (a linux box with a MySQL server running locally) I have:
    / _! N! _3 B, X9 [: d1 t
  42. ---example---  e' f3 x$ [6 ~* g6 D9 u
  43. [DBEXPRESS]
    0 x. V' k) i$ R  x9 w
  44. sqldir=mysql_sql5 ^) t7 p8 f3 N. U8 X
  45. Drivername=mysql( F- n3 [/ p% M6 b, Q; g$ {: H4 u
  46. Database=test
    & U5 ]3 |% Z% A2 \  H2 e- {/ g
  47. Hostname=localhost( I) C# C) d$ H4 p7 `/ ]
  48. User_name=testuser7 R( z; N" F+ F, z6 I
  49. Password=my_password
      T* ~# Y3 {1 r2 Z
  50. GetDriverFunc=getSQLDriverMYSQL
    - N) W( Y' G& W9 f" ^6 @4 y3 J
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0; i" C, s7 O* Y4 ^0 X# f, z* v
  52. LibraryName=./libsqlmy.so$ a" ^8 I( s9 A' \# V) s' l
  53. Active=1- k7 |/ v! p; j9 e( n: e9 y
  54. ---example---- w2 @$ M: q1 y+ B) E
  55. 3 c' W  B/ X* F$ U9 }& A* K' X9 [
  56. On a windows box, also running the MySQL server locally, it would be:
    : j0 F& l' X+ d& ?: k- q( k" V
  57. ---example---
    6 ^8 @, l* R; E7 ~) k) ]
  58. [DBEXPRESS], [$ D( G, o, \
  59. sqldir=mysql_sql8 e3 y! i0 W* @$ W- }5 r- P
  60. Drivername=mysql
    " a$ o% f1 K5 E  A" n) C
  61. Database=test: B! U! t/ j- H3 w5 c3 C
  62. Hostname=127.0.0.1
    7 ], A) E0 W  b1 P( }
  63. User_name=testuser
    - I) g: O/ w* T8 v
  64. Password=my_password
    / n6 Z" |; x+ `% g4 B
  65. GetDriverFunc=getSQLDriverMYSQL7 G/ r; c1 w" e
  66. VendorLib=libmysql.dll
    . p0 E& S1 O6 \% B2 ?3 e. Q
  67. LibraryName=dbexpmysql.dll9 e8 p# j- P7 `" X" A+ ]- y; v
  68. Active=1+ o" M3 N) [) M& i- X
  69. ---example----! |! H  v5 S- @" c% l& [
  70. - written 02.03.04 by pwk.linuxfan' H$ B' d. V$ ]

  71. / `/ g( U3 B* Y! n2 E5 l! }, F, O
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看% b1 {% s- L8 g2 z' G2 @

  1. 4 f+ U3 e, r5 `3 A3 X. A
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### - J9 n; p- P( X2 a- H0 J

  3. 8 p4 p7 M; w5 c# u- L1 }/ A
  4. # # #我们所需要# # #
    . O' m$ |+ ?* F! {6 F4 L( D
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件9 U+ D! u% W$ L! F8 G: ~2 }
  6. 不会解释如何做到这一点-也有文件存在,为* E0 V" a( N( m! Z; Q
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    9 g- M0 b1 ^( {8 m) a
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    " d: _4 v; E, s5 \. c" B$ F
  9. 随着数据库。此外,你需要一个卖方图书馆安装于! V; Y+ c4 t% E+ A9 b
  10. 本地机器,这是我的MySQL安装。 ( }! i  f) A1 q; ~* m- V6 Z2 ]7 ^% n6 g
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    % T* r, u  ^; r* d2 Y! f
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    5 X$ d  M% p" t
  13. 数据库。 3 D0 T3 k1 R, M2 @( V2 E" p
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ( h1 H" A! e$ T9 b0 t+ D* f
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ' E' k; {4 f) _8 S) l  r1 T# L5 m
  16. 在teamspeak论坛,如果你有兴趣。
      r0 ]8 ^. m% A/ n$ J* L$ T& V& r: Z3 s
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    * P3 ]$ G3 g6 T& Y. j7 [# c
  18. Borland公司使用。这个司机只能界面与客户端库. z  C7 b$ r9 |4 r, {, Z# n  r
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    9 V  G, N5 V* s! u1 m
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为+ z% e5 E! }" F: U" l) f( \: V' H
  21. " vendorlib " ,并解数据库连接。
    / [# U; }9 v1 |- W  ^/ ]
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ! f! r# Q8 {/ g2 K1 T! k

  23. - v- y) K' n, a: k0 z
  24. # # #做好工作# # # 4 A2 o% S+ U, ^
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    , V0 _" C- A* n+ ^3 L
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    3 c) `! g5 |3 r9 T4 p* @
  27. 结束: ' O& ?0 _& n9 _
  28. ---削减这里---
    " O) P$ o' T$ i& c
  29. [ dbexpress ] 2 X' ]; r" ^2 n1 x% u
  30. sqldir = mysql_sql
    4 ]1 `( L; [7 P" ~. o8 X
  31. drivername = MySQL中
    ; K1 n9 D3 H, C! k. x% e! m; x& K
  32. 数据库= your_database_name_here . H: z9 [+ ?5 y8 F5 G9 c
  33. 主机= the_pc_the_mysql - server_is_on 6 h/ K+ x. e' y" \3 f% n
  34. user_name = user_name_on_the_mysql服务器# o1 r, f3 O7 V
  35. 密码= password_to_go_with_above_user_name
    ) L1 o: a6 L* E1 P% O. p7 X
  36. getdriverfunc = getsqldrivermysql
    . T& o; z4 t- w  V$ i
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib + A8 G) A5 o( g3 u1 _. |
  38. libraryname = path_to_libsqlmy_libary
    5 a! T! P1 Y/ Y( k
  39. 积极= 1 % v( z5 G/ l4 R9 M! @% B
  40. ---削减这里--- 7 a9 ]( p# {* F
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    / |( M' Z) f0 t* `& ?
  42. ---例如---
    & m8 M% P; b  ]1 j
  43. [ dbexpress ] * i. i$ Y" ?7 ?. l2 G: _3 o
  44. sqldir = mysql_sql
    ! l/ Y6 ~! j- K* T$ q" B- Y
  45. drivername = MySQL中
    : k. G. @% d- Q( R- Z
  46. 数据库=测试
    : o7 `1 o# r4 Q$ q- w/ c7 d* q( L
  47. 主机=本地主机, u9 L( l' l/ S# m
  48. user_name = testuser ) E3 r& G3 e* A7 w+ D
  49. 密码= my_password
    ; N: z$ O' m- M2 H0 [2 G- y( E! C
  50. getdriverfunc = getsqldrivermysql $ C: z# {* J+ t' R, ]! [2 {" f0 l0 A
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    7 v! W+ @- ?; T
  52. libraryname =. / libsqlmy.so 0 i/ [9 ^* h8 O5 E( m
  53. 积极= 1 + Z. }- q4 o# }- f' b
  54. ---例如---
    5 l8 _" q! L  N0 }
  55. % S. b. t/ i; f( X. C
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 4 a/ w# b1 [) R" H- e
  57. ---例如---
    " B+ u7 _" U' E7 Y- a
  58. [ dbexpress ]
    $ {+ P. \7 k6 s) |
  59. sqldir = mysql_sql 3 w7 h; W2 J7 }; ~0 w
  60. drivername = MySQL中! u8 O( D6 M  f
  61. 数据库=测试
    * d3 z0 l7 f2 e$ b4 y7 c
  62. 主机= 127.0.0.1
    + @1 E; m1 T0 g4 f
  63. user_name = testuser
    4 G) }3 l, Z$ \, }3 ]9 h* \1 U
  64. 密码= my_password
    ) s, K6 G5 F& I) x1 Y. D, y
  65. getdriverfunc = getsqldrivermysql
    ' E. c' ?& H, M8 @8 u
  66. vendorlib = libmysql.dll在
    9 H# A; T1 c+ Z9 c5 K* Y' E  e/ q% r
  67. libraryname = dbexpmysql.dll   R. ?# _/ ]" h2 W! y1 e# W
  68. 积极= 1 " }+ k! f& q+ Q) W' G; V  e
  69. ---例如---- - `5 p4 E6 o2 x8 f5 t& R" R
  70. -写在0 2.03.04由p wk.linuxfan: H9 l& q( Z5 t- ?6 z. N; p; g
复制代码
发表于 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
5 ^& M4 g1 G, i
  }5 b) L5 f8 H7 Y/ z: Z: {but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-29 10:24 , Processed in 0.104595 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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