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

2901 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 9 P" e' b+ E# T! d
7 o0 }$ ?2 _; e$ A# |

  1. ! b7 H+ s3 E4 @0 o7 `% M# Q
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######) d$ F6 e+ n3 g0 b+ I

  3. / b, w, x2 X# X9 o
  4. ### What we need ###
    & R  X' r- e) }" f$ V; w
  5. Naturally, we will need a MySQL server to store the data for us, this document
    9 y& b" r6 [+ q, S$ l" e
  6. will not explain how this can be done - there are documents out there for the
    # M1 T& j# V( C, K4 A- L" _
  7. interested. The requirements include a (empty) database for TeamSpeak to use# _1 d; f' h: B" W  D3 H6 A/ I6 q5 {
  8. and a user account (username + password) that has the permissions to do stuff  b' J, X" K+ Y
  9. with the database. Additionally, you will need a vendor library installed on the& X6 t# J) d. T/ G; [3 P
  10. local machine, this came with my MySQL install.
    , h1 A' Y$ I* D# M' e
  11. These instructions will not tell you how you might transfer your data from the# y0 t" k8 M) v- V
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    + w& N  ^% \6 x, K" D
  13. database.1 g; A, F; b& C" ~* E
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    / U* q. V& E) S2 q+ K/ |  H# n
  15. the time of writing, there are still too many issues - check the current status% B7 s" H  c" ~- [  Y, y
  16. in the TeamSpeak forums if you are interested.
    ; E  [0 Z: E" q  l% d$ m+ e
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    , _0 d7 `' J7 f  d6 Z' l( D
  18. Borland was used. This driver can only interface with the client library that
    ' z/ A$ k7 d9 W( l& o
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this# s8 Y# m# \3 X( P% e+ V4 L
  20. client library - basically all you have to do is to use a 3.x client library as
    , w, P. H, S8 s4 a
  21. "VendorLib" and a 4.x database to connect to.% T; O; b& V9 y8 @3 x$ W0 B8 m! U
  22. If you need more info about dbExpress, you can contact Borland.
    2 j1 o! v0 E% h/ U) S0 p8 N
  23. + J5 `: D9 v$ Q8 \3 L
  24. ### Doing the work ###
    ' B1 R. v, {, A, e+ u
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
      P6 @( b+ \$ G7 y
  26. the perquisites right, just open your server.ini file, and add this section at. m& g" m( r5 p9 q/ ?2 _$ R
  27. the end:& G9 F5 l+ O( g; o. F
  28. ---cut here---
    ' F# ~- ^1 r6 W. X) Z
  29. [DBEXPRESS]
    . q1 k, d- z  H6 i4 t2 Y4 S& M
  30. sqldir=mysql_sql
    7 u/ ~9 t! ~' K! N, l( D+ Y
  31. Drivername=mysql# y; H: L+ F- {% U1 B
  32. Database=Your_Database_Name_Here
    / _! Q; a& D# M5 I' n) q# L
  33. Hostname=The_PC_the_MySQL-Server_is_on2 Z/ _8 _" `2 d& y- v: l5 p' }: z
  34. User_name=User_name_on_the_MySQL-Server5 e5 r* Z  z3 z/ S% C- Y
  35. Password=Password_to_go_with_above_user_name
    3 G4 Z$ [  v- q) C5 \( Z9 i& P
  36. GetDriverFunc=getSQLDriverMYSQL
    ; u- m  v& P  O* Y. }
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib- y( i* M& v7 P2 O6 H3 ^: ]
  38. LibraryName=path_to_libsqlmy_libary
    , j% R- \9 m) @6 G, y9 a' s
  39. Active=1
    8 _0 K( H; u4 S& M$ t2 k
  40. ---cut here---' \8 O  b2 w, v' o
  41. In my environment (a linux box with a MySQL server running locally) I have:9 m& ?; c8 K# H3 u) o# J0 y
  42. ---example---3 y1 K  B: C$ P4 P. B
  43. [DBEXPRESS]  A# F! ^6 i% [- z3 M
  44. sqldir=mysql_sql9 w6 M2 j: I; x, V* x
  45. Drivername=mysql
    # i0 ~9 ^$ G% Z# Z  R" ]! v0 x' V! _
  46. Database=test
    + {- \7 S# Z% @6 |3 a( E$ o
  47. Hostname=localhost
    2 A% {+ x  U! B  Y" ~" }% U  a, O
  48. User_name=testuser
    $ w" O2 T$ ~$ g" t8 I! }0 _2 Y
  49. Password=my_password5 |* Z# ~8 E1 j
  50. GetDriverFunc=getSQLDriverMYSQL
    . \) N4 Z$ ~6 ~  k; y0 ~  ~+ m
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0. X0 u+ R5 X' ~, ~" \
  52. LibraryName=./libsqlmy.so9 K/ Z1 E+ n9 R. I% u3 w+ Z% n3 X: s
  53. Active=1
    2 a/ \  X4 \8 O- i8 |: o7 P+ q! O
  54. ---example---5 K) a8 b6 H9 U

  55. 3 M- b7 l; A6 f+ o
  56. On a windows box, also running the MySQL server locally, it would be:& e* F8 N0 R0 I6 U) r* ^
  57. ---example---
    : }3 s$ R8 ~/ j) [
  58. [DBEXPRESS]* _& t5 y1 j, B3 a* z
  59. sqldir=mysql_sql
    2 m$ c  @- z" b- }( N
  60. Drivername=mysql" @8 o' F( f: \0 B) S
  61. Database=test( F3 W0 J$ f: z/ i5 Z; j- [
  62. Hostname=127.0.0.1
    7 d( x  \! W* C, p
  63. User_name=testuser3 `. L2 G! U. @
  64. Password=my_password$ |5 `2 u$ L% Q
  65. GetDriverFunc=getSQLDriverMYSQL
    4 s! H5 i: \! W6 m& J
  66. VendorLib=libmysql.dll
    0 D* R* G2 n7 ?/ K- O" b4 ]
  67. LibraryName=dbexpmysql.dll
    1 Q1 [& w; M/ j- ?" y+ _' N
  68. Active=1& v# w) K/ L% Q/ _+ D2 [1 r
  69. ---example----3 x. t3 E& S6 P" }8 Z
  70. - written 02.03.04 by pwk.linuxfan
    : W9 V' U. Y3 ^& F, P+ V

  71. # p- B# ~2 [0 `; l" x- |
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
) q8 w& b1 Y5 j6 c
  1. ' \) r, H, c/ g9 z
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
      t: }9 x+ ]# p( c

  3. 7 I: C/ a5 r' X* V
  4. # # #我们所需要# # #
      w9 J1 d* b9 P/ j- _
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件5 \5 w! [2 T5 a3 G* T/ G
  6. 不会解释如何做到这一点-也有文件存在,为
    9 H, o7 p- Q' \$ I' g4 X  J
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    9 C: Y+ g0 h; L5 d* a, [' ~+ ^
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    : L  E0 m1 }* U! ]/ Z6 a( s$ \
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    * Y: j7 Q2 Z: R+ t* }
  10. 本地机器,这是我的MySQL安装。 3 `7 v- b; \3 e3 v; p" H6 u& _
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从  c0 J8 \. ]! \/ L- Y0 Y. S
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    9 u9 \4 Y$ k; [2 D
  13. 数据库。 , Z( F( N1 {  o- b$ e! N9 s+ H
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在& M% d$ G3 P% p% j; p7 ~
  15. 编写本报告的时候,仍然有太多的问题-检查现状/ t, p' b6 [7 o
  16. 在teamspeak论坛,如果你有兴趣。
    / r$ D& l5 |# H5 t9 ~: {
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    5 c# l& {' }" Z- e5 v
  18. Borland公司使用。这个司机只能界面与客户端库
    2 u- ]4 \0 M/ ^
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    8 f' o1 r, ~- r
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为& o" H& B* e* a1 K- R. }
  21. " vendorlib " ,并解数据库连接。 3 y5 o% L0 N* |
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    / e$ L  C# m; M4 f/ ]

  23. $ r0 v; j/ {1 W
  24. # # #做好工作# # # 7 u; J# Q6 {/ b2 {% y4 N  ?
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都+ m; I4 c' y' x' ]/ F# y$ m( Y4 S
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在7 t1 T- o; `9 V2 l' S8 c6 F! g4 E
  27. 结束: 9 G  s& [4 Y. f. l
  28. ---削减这里--- : c* h2 `* m* p+ C  c% i
  29. [ dbexpress ]
    * V/ U) m4 j, b2 {, g, Q
  30. sqldir = mysql_sql
    . L( ], l* u; H. U" h
  31. drivername = MySQL中
    # }9 `2 o* e: g; t/ [
  32. 数据库= your_database_name_here 3 M* P. o1 ?2 V
  33. 主机= the_pc_the_mysql - server_is_on 3 I/ _' F+ z4 Q& D; f
  34. user_name = user_name_on_the_mysql服务器2 o& b& _% u' c4 ^& j) z
  35. 密码= password_to_go_with_above_user_name 5 C4 s" m& m  _4 V
  36. getdriverfunc = getsqldrivermysql
    / ]" K! h3 h/ R, y( @
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib # K% m' D2 O9 r: p9 T" z2 R
  38. libraryname = path_to_libsqlmy_libary
    : o# b: s7 w( J1 h) Q9 O8 P
  39. 积极= 1
    2 r/ K; E0 l% [
  40. ---削减这里---
    / c% G* L# j, D% W, q$ N
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ' ?& g* U: |  E$ ^5 `# d( T
  42. ---例如---
    . e3 j  c& o) d$ ^6 H$ n- R
  43. [ dbexpress ]
    ; @  W0 a7 p% O4 A: n4 |
  44. sqldir = mysql_sql & r1 b1 ^8 x. ?2 x% W% t3 D4 |
  45. drivername = MySQL中) X7 d' Z+ [) R0 N
  46. 数据库=测试# p  B4 i9 t: V% E7 j3 t
  47. 主机=本地主机5 p* w3 {0 `$ V% E# P( |
  48. user_name = testuser % G) @1 Z" f$ u9 T
  49. 密码= my_password 6 \1 x/ ?; a; y5 _. [
  50. getdriverfunc = getsqldrivermysql ; a" Y7 i  \1 x, F& ~9 S$ P) ]
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    % {2 _' H/ h* P
  52. libraryname =. / libsqlmy.so
    ' Q  Z. U) d7 H' d$ G8 R
  53. 积极= 1 1 w+ P: A5 _  m7 M& ]. a/ B
  54. ---例如---
    + p* X0 c* ]) N+ V2 U+ P

  55. ( d$ L8 l. P% d3 P* w. @6 \
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ! m+ O9 E8 |5 v3 S, O3 g
  57. ---例如--- - F7 ]. [+ w" z
  58. [ dbexpress ] ; G3 n7 r/ n6 N( A
  59. sqldir = mysql_sql % V8 C, J, n, D! m$ O# K
  60. drivername = MySQL中. c& l; V2 W; f/ B* S! y. ]
  61. 数据库=测试
    : F+ J1 |1 V1 V( B( l$ q: Y& }
  62. 主机= 127.0.0.1
    7 z2 E& R3 B) ?( f" `4 v+ x& d
  63. user_name = testuser
    2 k. d/ k+ R, Z% Q3 j3 w
  64. 密码= my_password * H4 g4 U/ z- ]# [. D$ t& ?: n
  65. getdriverfunc = getsqldrivermysql $ V( e5 Z* t* @3 \" z
  66. vendorlib = libmysql.dll在
    $ j$ ^* u7 }1 _' q6 i6 V. z- Y
  67. libraryname = dbexpmysql.dll 5 L% f: E/ T$ m" f- \
  68. 积极= 1 * H* W5 r( D4 ?
  69. ---例如----
    ; A9 T: K! k+ F: r& i3 _; W
  70. -写在0 2.03.04由p wk.linuxfan
    - b! M9 H. i6 I, U1 ?# D- 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
, e- P; G' B# u. _$ y
; c* d8 o' c6 ?  w" q, Tbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-15 23:56 , Processed in 0.087453 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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