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

3212 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 7 t1 b; p( R9 |, r
# R9 \5 g( [$ A: U9 w" Q1 H

  1. , ]. f  E5 G% r# F5 S
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    1 M/ B% O: d8 T
  3. ) h( @( f6 S, }0 {
  4. ### What we need ###' y; l) h  Z8 F$ ^6 b1 O) s# Z
  5. Naturally, we will need a MySQL server to store the data for us, this document
    " e& c# a6 Q; r& t
  6. will not explain how this can be done - there are documents out there for the # Y/ Y3 @" E+ y
  7. interested. The requirements include a (empty) database for TeamSpeak to use% |- d& \" Y2 H% U3 [+ K
  8. and a user account (username + password) that has the permissions to do stuff+ M  P# F) v) t9 s
  9. with the database. Additionally, you will need a vendor library installed on the
    4 q$ T  H) Y5 Z- ^' ^7 @
  10. local machine, this came with my MySQL install.
    - @5 y' w$ \  A8 O
  11. These instructions will not tell you how you might transfer your data from the
    8 M; e  _/ Q+ `  ]
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    - L$ g' G1 C2 f  O* T
  13. database.$ ~+ L& b& b% {! d
  14. Some users have reported ways to import a SQLite database into MySQL, but at2 Q" c4 ]3 \  l; f$ j0 I" U
  15. the time of writing, there are still too many issues - check the current status5 u7 \0 ^$ f3 G& G) ]$ V$ d9 l
  16. in the TeamSpeak forums if you are interested.
    ) C3 }; b/ r* v- H2 C  ]
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from$ \5 \3 q  S) \  |
  18. Borland was used. This driver can only interface with the client library that 4 Q  W/ y9 H2 W
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this7 |9 O. W( L, W- Q) U4 x
  20. client library - basically all you have to do is to use a 3.x client library as 2 i9 x+ c8 s0 q) C# v! I% [/ b
  21. "VendorLib" and a 4.x database to connect to.
    - l$ I% w' f/ I" `
  22. If you need more info about dbExpress, you can contact Borland.+ D: b( C# m9 U2 k' ~

  23. # {9 k# ?3 Q6 Z
  24. ### Doing the work ###) d6 [2 k+ j9 Q$ k+ Z
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all- h( L+ y% H6 C/ H3 r8 k6 Q
  26. the perquisites right, just open your server.ini file, and add this section at- f9 k" D8 D" t7 w8 }3 C
  27. the end:
    + \# z7 F+ |- H6 E
  28. ---cut here---2 H+ H; L7 _& }& g; z! m- D7 o" L' O
  29. [DBEXPRESS]4 W' F: D) t+ Q1 v* W6 k/ ?
  30. sqldir=mysql_sql
    7 I/ z5 @! y% p: `) d) \: q! |
  31. Drivername=mysql9 S. M- G' z2 j& z
  32. Database=Your_Database_Name_Here
    ) I" c; A6 T4 \8 ^# D
  33. Hostname=The_PC_the_MySQL-Server_is_on
    6 r" Z8 S! R" e$ d
  34. User_name=User_name_on_the_MySQL-Server; j5 ^: S4 W3 \; Q  |
  35. Password=Password_to_go_with_above_user_name9 A$ u- \6 u1 U6 z; ?  e
  36. GetDriverFunc=getSQLDriverMYSQL# U0 C. e8 S* a# Z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib8 w  M4 K+ _5 o0 o. Y% F  x3 G
  38. LibraryName=path_to_libsqlmy_libary  m, c# i4 w0 w/ F
  39. Active=10 k' R+ J2 ?% ?) q  ~
  40. ---cut here---
    6 w/ A* u0 a4 o, O" o3 O3 {
  41. In my environment (a linux box with a MySQL server running locally) I have:
    # t. S; i$ e0 P( d' C
  42. ---example---  v! k2 c  i6 m2 E3 h+ Z- L
  43. [DBEXPRESS]* f7 X) M, g$ }5 B
  44. sqldir=mysql_sql6 ^3 T3 Y! O' S0 H# P* E( e
  45. Drivername=mysql
    ! c4 @, i( ^( i
  46. Database=test
    ) Z$ R4 d2 Z0 l7 C  A" s' p
  47. Hostname=localhost  A& a# r6 v) ~4 Y
  48. User_name=testuser
    ; ^( }3 b! a- @
  49. Password=my_password6 ?7 _& @5 e6 X1 p6 X7 T3 T
  50. GetDriverFunc=getSQLDriverMYSQL* q( D) v+ v+ G+ G
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    2 ^) S5 T0 F( k4 M7 V2 S
  52. LibraryName=./libsqlmy.so0 W8 Y$ t% Y5 p) |, t8 S
  53. Active=1
    . x- _( L, U; z. g2 F; I. E7 z
  54. ---example---
    % m. C; M+ @" g  i; j4 J
  55. + A7 Z3 `' A4 b$ ^; R
  56. On a windows box, also running the MySQL server locally, it would be:$ h: |. p6 Z; y+ [% n7 I6 ~# ~  x
  57. ---example---
      R3 W  L  Z9 q) ]$ h3 {1 z
  58. [DBEXPRESS]6 k. a# o& W& S& C+ E4 u, ^
  59. sqldir=mysql_sql! G% E1 r9 `7 o' y: J0 G3 a
  60. Drivername=mysql
    , M( A6 R$ a1 [8 Z, H9 ^/ j$ e
  61. Database=test
    , U8 {$ R; I9 w4 @
  62. Hostname=127.0.0.14 ~/ b2 |7 s. D! w! [  r4 D2 r
  63. User_name=testuser5 B8 V' O0 p: p+ j
  64. Password=my_password
    7 _4 g; L) B$ l4 U/ A; E5 m
  65. GetDriverFunc=getSQLDriverMYSQL
    / R! S% a) a% j
  66. VendorLib=libmysql.dll
      V0 T, K6 G9 I* @! P" y2 V
  67. LibraryName=dbexpmysql.dll
    + p; k& }. Q+ s4 r
  68. Active=16 T( @. O* r! n% S( q+ G4 Z! F
  69. ---example----: C5 w0 e$ w" A! z) }
  70. - written 02.03.04 by pwk.linuxfan& r( f: @3 G& M( Z8 \7 ]

  71. 8 W8 e& a% r9 {
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看# T! n  e$ y3 |
  1. 9 J" q! ^2 G2 i# z  g" @
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######   p- v1 ^- ?; s' {/ p$ u

  3. 6 ?6 f+ ]$ a9 v( i' G' B$ Z
  4. # # #我们所需要# # # 3 |; w1 e: ^3 H* v/ N- k
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    & |1 ]3 g, n: R% \; O1 c
  6. 不会解释如何做到这一点-也有文件存在,为
    % p- z2 B& E/ e) u
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    5 w2 Y. W! x6 l5 ?" Z
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西! n% E& n/ B( Q2 `/ A  i% t7 N7 X# f' e4 B
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    7 K7 |" j' t) \4 v6 b+ z! W
  10. 本地机器,这是我的MySQL安装。
    7 V3 ~0 X5 b* [! N% a; u
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从( x# G- I' q' Q8 q" y1 q4 B" y
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    - n; M( G8 H: D' a6 E
  13. 数据库。 5 Y9 U2 n3 q9 D
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在' J) P( u# Z* t. t. s
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    : c/ W& L) S- a( u, x$ B5 G
  16. 在teamspeak论坛,如果你有兴趣。 % c& A' Q4 P5 K9 P6 W" W
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    3 I. h9 E3 `5 K
  18. Borland公司使用。这个司机只能界面与客户端库+ h) _6 \, N& }+ T  g4 P6 K
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    6 j* M& \3 P+ {
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为+ A( q/ r+ X* Z" h4 p
  21. " vendorlib " ,并解数据库连接。   {% V$ s+ }6 c1 J. H
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ! u6 F/ p5 k# ?& F/ m. {. b

  23. , |5 n9 X& ^/ v- B6 j+ a8 {, a
  24. # # #做好工作# # # - T7 x8 [! H# ?, j5 y
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都7 J- D, j- }$ f
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在5 ?. ~* G" D2 ~
  27. 结束:
    * O" x$ R. L3 k) \( c
  28. ---削减这里--- 5 l9 ?8 m* o, M$ l+ \; n5 \% n
  29. [ dbexpress ] ) ^' J2 _* d3 a
  30. sqldir = mysql_sql
    " T+ ~( @' i& n7 J
  31. drivername = MySQL中# a/ F  w2 u3 E" b4 {  O
  32. 数据库= your_database_name_here
    , S2 @/ L' m- u7 Q; G7 W: a
  33. 主机= the_pc_the_mysql - server_is_on 3 t! L1 f( p6 i
  34. user_name = user_name_on_the_mysql服务器4 m6 B& q  O( o0 [
  35. 密码= password_to_go_with_above_user_name ) n9 @0 Q4 _* \' d/ V  h4 l
  36. getdriverfunc = getsqldrivermysql $ X( i) ^% R4 I. G
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib : z' ?5 j% b$ D3 I( V  d
  38. libraryname = path_to_libsqlmy_libary
    1 F7 m5 q6 d1 I6 Y% `( a1 H" L
  39. 积极= 1 " H4 E8 z6 Z1 |& G+ }8 Y' j; p  Y
  40. ---削减这里---
    : Z2 `/ A# q% d
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    9 E9 y3 G+ {$ o3 c* N- p
  42. ---例如--- 8 @9 ?! P+ s2 |& V8 \4 ^$ P  n
  43. [ dbexpress ]
    7 M. p2 G, U- g2 T  A' u
  44. sqldir = mysql_sql # C0 M9 x5 f2 m7 n0 H( F
  45. drivername = MySQL中
    8 f9 K5 s4 e- G% p; H* \
  46. 数据库=测试6 K- v& w; s" b0 J# T
  47. 主机=本地主机2 N! L' r* d6 y6 x+ ^" r  E
  48. user_name = testuser 3 `9 s! ]' p/ B$ b9 b
  49. 密码= my_password 8 V9 B. K2 Y. z* t0 r
  50. getdriverfunc = getsqldrivermysql 4 H( f- x; z1 B* C$ ]- F+ f4 `+ _+ d
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ' P) l; N6 N, o# s7 Y7 @. {
  52. libraryname =. / libsqlmy.so
    9 H: a: H3 _$ n9 p0 a  w, S. H
  53. 积极= 1
    5 N& F) A8 J% t+ |2 m; W
  54. ---例如--- 1 l+ R* |1 ^) ]2 H

  55. 2 I" I3 m% H9 O# k. f) ^
  56. 对Windows中,也运行MySQL服务器本地的,那就是: # Q4 }8 c! e) B  D! {2 c
  57. ---例如---
    8 r  Z; u. L7 o* D% s8 C
  58. [ dbexpress ] $ ?! _" P; W. u
  59. sqldir = mysql_sql ) w. P% \0 t" ~6 I
  60. drivername = MySQL中- \" B# C! e( [
  61. 数据库=测试' P; g7 C% D# i3 Y) q4 n
  62. 主机= 127.0.0.1
    / I# V" x: ^* S7 M9 ?
  63. user_name = testuser , W% `! b1 }& W# U
  64. 密码= my_password
    - C8 h) a$ y1 {3 b
  65. getdriverfunc = getsqldrivermysql ; d0 V7 o7 D- Y: k" l3 U( A
  66. vendorlib = libmysql.dll在
    ! D, o' Q& ?1 F+ \3 ^( [
  67. libraryname = dbexpmysql.dll
    9 W0 X/ t" i$ L, _3 U
  68. 积极= 1
    9 Q2 m' }9 U7 j( f. T
  69. ---例如----
    , Y' A0 R3 Z0 F5 O5 d; G
  70. -写在0 2.03.04由p wk.linuxfan2 W$ {9 Y) X7 d% Y% V. Y5 \4 z) a
复制代码
发表于 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
% S8 ?6 |% {, p" w
" s  Y% h6 P0 T4 |but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-23 23:03 , Processed in 0.100857 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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