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

2159 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
8 O8 e# u6 j+ j$ O/ d# i! Q4 R  A; G  }) l' x+ N5 k$ @

  1. + g2 |3 n9 S5 ~0 m; z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######% R$ C5 V' @: X( j- \8 y. p

  3. % x( ]! v* x$ X3 t6 r
  4. ### What we need ###- Q- ^; ?& g( R8 p6 V& |* V7 l
  5. Naturally, we will need a MySQL server to store the data for us, this document
    , @; b0 ?9 G1 |* S
  6. will not explain how this can be done - there are documents out there for the 6 J8 _0 q) w7 S4 {
  7. interested. The requirements include a (empty) database for TeamSpeak to use+ o9 N  K) G$ V0 n+ @& Z! _+ c
  8. and a user account (username + password) that has the permissions to do stuff
    9 w( v& X( p. F+ M
  9. with the database. Additionally, you will need a vendor library installed on the5 q/ ^5 z3 x* ]
  10. local machine, this came with my MySQL install.
    / A8 y& t' ~2 N6 S/ e# ^4 i# W0 L- D
  11. These instructions will not tell you how you might transfer your data from the
    ) R1 {( J1 y% N
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL; v/ S2 l% t8 r& `
  13. database.
    4 O; [' U. [# R1 J$ t
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    4 V0 E- t( C# v  |. ~7 P
  15. the time of writing, there are still too many issues - check the current status  [1 n* b% }" \& D: o, y
  16. in the TeamSpeak forums if you are interested.8 p7 M2 e7 K! c( K& A9 D+ c& f
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    % o- ]7 E* R  Q- v( H" h2 K8 o
  18. Borland was used. This driver can only interface with the client library that
    2 I% @4 g+ S2 e0 X; G6 y4 J
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    + e1 S/ A1 h1 ]' v7 b/ r' |( h
  20. client library - basically all you have to do is to use a 3.x client library as , R1 U5 Q( D9 g
  21. "VendorLib" and a 4.x database to connect to.
    ) R" u. j2 C' d
  22. If you need more info about dbExpress, you can contact Borland.
    , C" r8 B: R& v6 w

  23. + h- j* O/ M5 |$ h$ y1 T
  24. ### Doing the work ###
    + f) S1 A4 }* l
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all( d# g" v' Q4 M3 O, P+ K' I
  26. the perquisites right, just open your server.ini file, and add this section at$ V7 Z, w" L' d/ `2 ~5 H6 y7 S
  27. the end:3 N: K' g+ X& [8 ^( n; t
  28. ---cut here---" I- C! q6 O2 r$ W  K- k9 h% ]
  29. [DBEXPRESS]
    ; b; V, r0 A% G. x& O1 Q5 x
  30. sqldir=mysql_sql
    9 w* |) J) Z7 @# J
  31. Drivername=mysql
    9 `3 \8 D5 }6 f) I! T. t3 V
  32. Database=Your_Database_Name_Here
    8 ?& H/ e2 c3 c5 t1 g" `, n$ F2 T5 e+ u
  33. Hostname=The_PC_the_MySQL-Server_is_on
    1 B9 m0 h2 L$ y
  34. User_name=User_name_on_the_MySQL-Server* Q5 P+ G* q% I! u
  35. Password=Password_to_go_with_above_user_name
    0 @2 R7 l3 n' L/ ~3 ?& I6 q
  36. GetDriverFunc=getSQLDriverMYSQL
    " H: q' y# g$ b
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib3 N& j7 F/ K- V3 e
  38. LibraryName=path_to_libsqlmy_libary4 Y! `. r" ^) b. Q2 x! `1 f) U: B9 b" \
  39. Active=13 b2 r: d9 ~. ?( `+ i0 Z
  40. ---cut here---
    * \# S1 `$ Y9 |9 _. `! q
  41. In my environment (a linux box with a MySQL server running locally) I have:
    1 |6 S) `3 i9 n3 L  K4 t
  42. ---example---! w# }6 e/ U) w8 c$ I3 \6 }1 y
  43. [DBEXPRESS]
    + g  t1 q$ ~4 e1 _
  44. sqldir=mysql_sql& b7 A. a* ^- V- l" \9 p% {
  45. Drivername=mysql) k. {# l3 e8 Y/ g8 S! R1 @
  46. Database=test
    / f/ _, G/ E- F2 F$ c& `' Q
  47. Hostname=localhost
    5 Y2 y2 u1 k- h2 ^, Z, P+ q
  48. User_name=testuser
    9 i4 j6 u$ Z8 l0 q! q9 s- g
  49. Password=my_password
    0 D+ J# I5 b6 I- G, i
  50. GetDriverFunc=getSQLDriverMYSQL, C5 c$ P1 h& G# D: [- L# i$ |
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ! k) G+ Y, m  A+ Y( Z
  52. LibraryName=./libsqlmy.so
    ( Y( T0 r2 n/ g. Q8 o- m
  53. Active=1
    . M, o8 ]) U- w" a/ p
  54. ---example---+ v7 z- u$ Q6 i' M2 Y5 n' J- K4 e
  55. + R8 Y" J. K  `- Q  T; H
  56. On a windows box, also running the MySQL server locally, it would be:
    ; D  b; t$ n, P' k% ~# A
  57. ---example---! m( N# p, t4 Z* C% [* @
  58. [DBEXPRESS]
    . O5 V( n) H4 o5 j, P
  59. sqldir=mysql_sql- Q" u& W% `! u* r, w
  60. Drivername=mysql& n7 j6 G8 b% p4 A
  61. Database=test
    0 \4 F) L2 f+ j6 q  \
  62. Hostname=127.0.0.1
    7 l) j( \' S2 S: k$ `
  63. User_name=testuser4 r- J2 {9 F4 T: T: g1 `- p
  64. Password=my_password
    * V% L3 N* G7 b
  65. GetDriverFunc=getSQLDriverMYSQL
    & h1 T" X1 P* g& L
  66. VendorLib=libmysql.dll. W0 m/ I. v: k) D' _
  67. LibraryName=dbexpmysql.dll6 L* Y) @9 ]2 w/ y
  68. Active=1
    " E2 b1 ]) K; P# L9 w' S) T, X
  69. ---example----
    5 H" }/ O! N* n: \
  70. - written 02.03.04 by pwk.linuxfan
    # u( q1 K0 y% T2 \" W" h  n0 u

  71. ) \) m! a$ q5 ]& Z2 J8 A! q
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
; I5 j1 B! P2 S
  1. 2 J: o! z, r; A. w
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    4 y  k# m0 h3 t& }, W

  3. 1 A* K6 t% i- b2 }; }
  4. # # #我们所需要# # # ' P3 a; {: t' G9 a) u" |( I
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件& C) q# e$ X( k, [
  6. 不会解释如何做到这一点-也有文件存在,为* b; |% t& s0 ~
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用$ i  t  g$ e9 L9 c/ D! U; ~
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ! `+ X) A3 ?. e6 d# t- [* B
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    6 h- R; e/ D% {4 p/ P7 c0 z0 p8 g
  10. 本地机器,这是我的MySQL安装。 3 @# U# j: |# P" T% V6 z
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从1 ~  k) ?9 o- U2 H* F
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ! O+ f" T* u" y+ A, G* ]
  13. 数据库。
    & U2 x' A% I- z8 z6 G% e
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在0 z! j, N/ ]7 a) t- X% g% w0 g
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    8 Y2 n, e9 H0 A2 |/ c
  16. 在teamspeak论坛,如果你有兴趣。 ( P- r8 h" z5 |( ~/ ]
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机/ c" s: s7 U$ ^. L% S4 g4 j. |
  18. Borland公司使用。这个司机只能界面与客户端库) P" [5 K2 s3 _) }
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这/ [# b% W" i7 J( k" P" N& d
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
      C( [. C2 x# o! ^+ H
  21. " vendorlib " ,并解数据库连接。
    ; F* L& q; d4 @* c5 u3 L6 |) b# N
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 3 q+ T% w" q+ @
  23. + }3 s4 w9 N  p' o5 _
  24. # # #做好工作# # #
    " n1 D& q" ~! S! ^/ k5 K
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    : }: A* f4 h3 T9 D. c4 q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在+ m) [5 c4 s: {( v/ |* I
  27. 结束:
    2 V% x% T- @' P, u: }
  28. ---削减这里--- 8 n2 P, K; ~; H! O1 y% Y; R8 G
  29. [ dbexpress ] 6 q! f; s. W6 t+ [
  30. sqldir = mysql_sql # j- {6 B. \7 h1 P8 y% N4 `, t
  31. drivername = MySQL中
    7 S/ D+ k: ?" ?; Y
  32. 数据库= your_database_name_here + u* z3 X; [  H, N: t8 u
  33. 主机= the_pc_the_mysql - server_is_on
    3 U+ j7 t$ Q, Y
  34. user_name = user_name_on_the_mysql服务器
    % J7 S1 n* e# j3 B, m
  35. 密码= password_to_go_with_above_user_name
    . Z0 j8 t3 A7 v2 K% x
  36. getdriverfunc = getsqldrivermysql
    ! d3 _# T/ K; t1 ]4 V% B4 Y
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 7 A1 m* U1 H- ?& Z+ z9 l! v( f/ ?
  38. libraryname = path_to_libsqlmy_libary
    7 X: y  t3 K6 S5 j: n$ Z4 z& k0 M% a
  39. 积极= 1
    2 I) e! A& z; j7 d3 g6 D
  40. ---削减这里--- 8 \; e0 X7 K% `/ d/ d# }5 @
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: - }4 [3 p# V5 H8 N/ P
  42. ---例如---
    . H) q# F# e; t. x
  43. [ dbexpress ]
    3 Q; c$ j6 b/ O( d, }* m6 Q
  44. sqldir = mysql_sql
      l8 B, S. j' O- K- U2 a
  45. drivername = MySQL中
    - N  n9 W4 E; e
  46. 数据库=测试
    , R5 u# J5 c: P% e
  47. 主机=本地主机
    0 V( q0 _  J$ |9 |3 A; U5 t' O7 _4 p1 {
  48. user_name = testuser
      r, \% d+ d3 D1 Q2 j' |5 l: D) A1 q
  49. 密码= my_password 0 }0 v, S5 t* ^6 P( B
  50. getdriverfunc = getsqldrivermysql
    5 [8 O9 A, p, c7 W" }$ T' f. p
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    + E- e3 r% r8 u- |7 q7 E/ |
  52. libraryname =. / libsqlmy.so
    # ^' j3 q4 J. K! S5 ?6 |! U
  53. 积极= 1
    & P+ v' b& ]0 @6 @, \) [7 d$ ?
  54. ---例如---
    ; v' ?0 u7 l1 |7 O7 p3 l& j
  55. ! e" A1 c) e# w; F% i* m0 f/ z; }6 m
  56. 对Windows中,也运行MySQL服务器本地的,那就是: + K; u3 c( i+ Z( s0 g; y
  57. ---例如--- 9 k4 N& A+ I7 U) E$ H
  58. [ dbexpress ] 7 z8 s! P5 y: l; E8 D) f
  59. sqldir = mysql_sql 4 M8 u3 r9 |0 Z1 X* u& l
  60. drivername = MySQL中. @# {- _$ E: Q/ Q% K# d
  61. 数据库=测试
    . n8 B7 ^2 z) L' F3 d
  62. 主机= 127.0.0.1 + @+ f6 ~( d' r1 v; p* G
  63. user_name = testuser 2 _& O0 a% k5 ^9 ?  i
  64. 密码= my_password
    8 y; d5 s! p4 m4 x5 B" d% \
  65. getdriverfunc = getsqldrivermysql & T- {/ d, G$ Z; a; U
  66. vendorlib = libmysql.dll在/ c+ O5 v" T1 M, V% v
  67. libraryname = dbexpmysql.dll , h% ?  ?1 y5 G0 l7 W
  68. 积极= 1 1 Q/ `6 q: u; t" i( \; G" k
  69. ---例如---- / g$ M- `! [) N/ G
  70. -写在0 2.03.04由p wk.linuxfan
    ' V9 B4 \; H) B, l
复制代码
发表于 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
' W7 l! B% L& h0 ^# R; _  K; z3 l: ~8 i: b4 U0 j
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2025-11-23 07:27 , Processed in 0.094484 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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