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

2357 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
9 A  D0 n3 }9 L* u# y) L/ O, F0 i" G# y5 }  R) F
  1. $ L" n) `/ Q) w  u7 N3 |
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ; J, ^; w& R2 W' Q# I; U" t
  3. 4 V5 a# D$ P: x4 U8 r
  4. ### What we need ###
    % v1 Q/ j$ v  t7 e
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ' O; c+ X3 @: _% y/ Z
  6. will not explain how this can be done - there are documents out there for the 9 `8 y4 Y  g2 k$ s; l. R
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    7 g- q+ D+ b# {# C/ h
  8. and a user account (username + password) that has the permissions to do stuff$ o( w3 L0 A, x- G3 g( a% P+ H
  9. with the database. Additionally, you will need a vendor library installed on the' ^& U) q" J1 s  O# P. Q' q- U* d
  10. local machine, this came with my MySQL install.
    ! `5 K5 `: E) t6 A" H" _; A0 p
  11. These instructions will not tell you how you might transfer your data from the5 l# V  `" n  N0 A* q8 R
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL+ q: I% ?/ h: W: \' k
  13. database.
    4 _4 m4 Z/ J% `" n" d
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ' Q! l2 k9 B: ]% Q; E2 V3 W# ~5 d
  15. the time of writing, there are still too many issues - check the current status9 ?: T. O( c' ]8 ]" K
  16. in the TeamSpeak forums if you are interested.
    9 [+ @" j! A% a# L' Y& y
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ) _% H" X7 l0 x/ b8 P, m% r
  18. Borland was used. This driver can only interface with the client library that
    ! z% z$ n8 `8 S
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this3 k. ~7 P9 ?3 h; d
  20. client library - basically all you have to do is to use a 3.x client library as ( n) S% A' X! ^& }3 x
  21. "VendorLib" and a 4.x database to connect to.
    & H2 x3 q6 d% n9 r5 W. b
  22. If you need more info about dbExpress, you can contact Borland., w, L3 {4 {/ g+ q0 T( ?4 n% _

  23. 5 Z+ N' Z6 h- z9 S
  24. ### Doing the work ###0 v6 h0 l; G! ?, G0 i
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    7 h0 _5 ^- S8 z9 A1 }1 ?  l
  26. the perquisites right, just open your server.ini file, and add this section at( v  v2 y9 }6 z3 g" A9 n- W/ n
  27. the end:# m% R* O+ }+ Z
  28. ---cut here---, L9 t7 ?( v" D- z" U  U, @: _
  29. [DBEXPRESS]8 y) j; R: ?5 W- m
  30. sqldir=mysql_sql7 |; @. |8 s5 s* h) T& m
  31. Drivername=mysql
    2 J4 v8 p: n5 I6 m4 _
  32. Database=Your_Database_Name_Here
    0 I' e6 d$ k" c! V
  33. Hostname=The_PC_the_MySQL-Server_is_on
    6 F' A! q: ?8 N. v) U
  34. User_name=User_name_on_the_MySQL-Server
    , y& b/ n4 S: |0 b
  35. Password=Password_to_go_with_above_user_name- l8 a6 v+ _; v7 s) U
  36. GetDriverFunc=getSQLDriverMYSQL
    6 k* O# h# R/ X2 E; |" [3 F" n$ Y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    7 ?& F1 t# _% A
  38. LibraryName=path_to_libsqlmy_libary8 P. G* i: q( I" T( l6 m, A# s
  39. Active=1
    % G1 w* n! t% u5 [' D$ P3 K2 T6 Q
  40. ---cut here---
    ( A; @' N1 u+ i. \8 `9 s% \  F
  41. In my environment (a linux box with a MySQL server running locally) I have:# c  w4 B  ^. {
  42. ---example---$ b4 ^; H! a! J0 r* x. m9 K% V
  43. [DBEXPRESS]
    % X3 g6 S: M: p8 i; a0 r# T& n
  44. sqldir=mysql_sql9 ]) v0 L/ B" Q% b3 Q5 b3 O9 Q
  45. Drivername=mysql
    , c/ r! |9 Z% [3 V. w9 D8 G* l
  46. Database=test
    . K7 }: }7 x" U8 ~1 n7 A' T
  47. Hostname=localhost
    ; s4 i# Z* |" n1 o9 e% S! X
  48. User_name=testuser* r) K7 b# }; i. E2 A
  49. Password=my_password2 c$ O/ _3 v! J5 t: u' }* Z9 e* N
  50. GetDriverFunc=getSQLDriverMYSQL
    . p, U* x, o; m$ m/ F
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.01 J( A. P: r. `& R3 f# b, v& I
  52. LibraryName=./libsqlmy.so
    + @$ N: I9 a- T, U/ h5 p: O7 }
  53. Active=16 {* o6 ~9 t1 E% C1 U7 k1 ]. b
  54. ---example---
    6 W' R5 `" t1 _, k
  55. 5 p9 i  y2 l) i) l
  56. On a windows box, also running the MySQL server locally, it would be:
    4 K6 n. [! h" |3 {
  57. ---example---2 o1 P: J' Z; i8 V
  58. [DBEXPRESS]
    & U# }* K. C7 r  \! b( X! Y/ v3 [
  59. sqldir=mysql_sql
    / K, |# x1 E9 O( o5 h
  60. Drivername=mysql3 |! [& H) R8 }
  61. Database=test' l3 ^( I- }2 ]4 K+ B
  62. Hostname=127.0.0.1
    * a2 L& I1 M* L) ]! ^/ D
  63. User_name=testuser2 J+ Q9 `+ |+ Y  Y. l0 j& h, I# D# [
  64. Password=my_password7 f! k2 [) s- S" C4 _! ^* V! s
  65. GetDriverFunc=getSQLDriverMYSQL( U6 J- E- v! j2 ?9 Q/ t
  66. VendorLib=libmysql.dll0 ~- F8 m8 s0 O8 ^2 m$ \
  67. LibraryName=dbexpmysql.dll# ^" P: ^8 D3 _- C( ~( R
  68. Active=1
    , Z2 W' N) w& z% S1 m
  69. ---example----; U  \& _( ]$ h4 d
  70. - written 02.03.04 by pwk.linuxfan( x( Z! T- J4 }% `& `- {& s$ y
  71. 6 H6 g! \+ E; U3 e/ U6 ]
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看2 R& ?2 ^% L; u1 W2 V: ]( j  K

  1. ; d0 S# G2 p( y9 w
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    6 |  X5 ~+ _+ w3 P+ e
  3. / q& c$ ~( w% J: y
  4. # # #我们所需要# # # 3 O) ?$ x' H" \. P( ^+ E; o
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件+ p3 |7 Z* O! N) a* v" ?
  6. 不会解释如何做到这一点-也有文件存在,为
    5 l+ a; G8 ^1 ?2 y. I6 b
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    & ~" }6 g& `7 H$ g) f
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西% ^6 t3 z1 J0 d
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    , }0 _' O- T. f% s
  10. 本地机器,这是我的MySQL安装。
    2 R/ N! [' }3 ^& t2 O
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从+ ?+ ?; Z# M* w
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL $ I; y) L( {6 A! Q2 v
  13. 数据库。
    : w( b$ H4 v4 t9 p" r. E
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在0 [5 A. Q  ]& b4 y4 d; Z
  15. 编写本报告的时候,仍然有太多的问题-检查现状) U- C4 Q5 ]" D# ?, Z# u/ {  C! f
  16. 在teamspeak论坛,如果你有兴趣。 & R! _, \# M5 ], H/ G; S" Q4 G
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机5 T" t; G2 [% w8 p4 b" U2 Z
  18. Borland公司使用。这个司机只能界面与客户端库$ I  b0 a+ Z2 v9 U+ ]  Q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这4 [3 C* b4 F9 Z: D1 [; x1 @' a' j; ]
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为) p+ F4 e0 \+ K( s2 H
  21. " vendorlib " ,并解数据库连接。 ) q7 z4 j' P7 A2 u+ ~% f+ [, f
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 6 h/ I6 K4 c0 a' j+ k

  23. ; A8 w! D: W; x1 C# `
  24. # # #做好工作# # #
    ' b. e9 |( \7 E9 }. y/ i
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    / E5 n8 G% z$ e
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在- f4 `* N! B! K7 H3 R$ h: D
  27. 结束: . `0 i5 r/ D1 B) ?5 m
  28. ---削减这里---
    3 r4 m! k) O/ f; Y# w* o
  29. [ dbexpress ]
    3 p& ]5 K' x+ J0 K7 f. I; Z6 a) @
  30. sqldir = mysql_sql
    4 n3 |" z0 L9 Q9 k; I  `
  31. drivername = MySQL中
    2 L' W0 w- q# g0 S: s
  32. 数据库= your_database_name_here . f3 [; M) V- e& |" C
  33. 主机= the_pc_the_mysql - server_is_on / ~: Y: B: |3 V" q1 I
  34. user_name = user_name_on_the_mysql服务器
    : x# x4 _; d+ b$ V& W+ V
  35. 密码= password_to_go_with_above_user_name / s& z7 y8 ]* s+ ?* X2 a0 p
  36. getdriverfunc = getsqldrivermysql & O2 V6 p( q$ a9 _7 J; h
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ! s) G0 j, W+ C( u1 \- o4 y5 \0 M
  38. libraryname = path_to_libsqlmy_libary 6 o3 F% }1 u) o% W4 C
  39. 积极= 1 * C4 u# \% B' Y+ N
  40. ---削减这里---
    3 W- I. \* U0 o+ {. b4 b$ P
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    - P% a% Q, n" [- b" D
  42. ---例如--- ( x4 g5 P5 L3 s# M3 O
  43. [ dbexpress ]
    9 \( u& g8 P- {
  44. sqldir = mysql_sql 3 S4 C& p* c- C" w
  45. drivername = MySQL中
    ! |3 l2 D7 P/ U( s' \
  46. 数据库=测试% N& y: \, b+ l' Q7 H
  47. 主机=本地主机7 b6 I4 E% Q9 V$ t
  48. user_name = testuser
    " S0 l  i8 a, U- h: @& h
  49. 密码= my_password : d) y( j1 P5 t' s1 p
  50. getdriverfunc = getsqldrivermysql 3 j# m/ Y& A' V) @
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ( E: ]% n5 z. k
  52. libraryname =. / libsqlmy.so
    # i7 U0 o6 O( U# l6 v
  53. 积极= 1 ) Q! @* V* b! [  w2 _" ~; A1 l
  54. ---例如--- % B/ }: n, l- W$ l
  55. 8 N6 s* f  Z, ~4 l
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    % I( y* T1 y! [6 N# m
  57. ---例如--- 7 h* b3 P+ Y9 M' s3 C
  58. [ dbexpress ] % N3 ^  k+ r; g
  59. sqldir = mysql_sql # e* B' t1 l/ G- S4 ]5 [+ `
  60. drivername = MySQL中
    % i/ W8 |- c, n  S) y" |' _/ g" h
  61. 数据库=测试7 x% y/ t' n- X, k: O, b; G% V! j
  62. 主机= 127.0.0.1
    0 F) g* T* G* D; F8 Z1 r5 k2 J- p  @
  63. user_name = testuser
    ( [; g$ y' O. e1 j9 g
  64. 密码= my_password - x9 s8 @8 i: W( v  i1 l1 V6 m6 d' |
  65. getdriverfunc = getsqldrivermysql , w& Q1 M; l+ c7 {6 J; K, Z
  66. vendorlib = libmysql.dll在5 i: R. S  I) y3 J" {7 n9 G
  67. libraryname = dbexpmysql.dll + v6 s) Q" k, o6 F
  68. 积极= 1
    / E' z) n) ]. P4 Q1 P
  69. ---例如----
    3 z: s2 A, W; B; Y; N
  70. -写在0 2.03.04由p wk.linuxfan
    9 B' g) q+ C9 V* [
复制代码
发表于 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
; M* J5 j7 h  C2 ^3 V8 T( O. e7 C  `- \: K
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-4 12:07 , Processed in 0.091296 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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