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

3625 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
: L  O/ n1 U3 [* O
* K) X2 J) |0 }; W9 W
  1. 9 t" J) e0 l" {# m& B' m
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######8 o0 Q* n) r( F/ W

  3. 8 V, J4 c! F+ _* q7 h2 U' Y9 e* L
  4. ### What we need ###
    . ]) O5 o" t1 X% k) g. {' p' u
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ) R$ a& S" j% y1 E  o. h9 u, }7 V
  6. will not explain how this can be done - there are documents out there for the
    , X6 q( r& I! p; n2 D
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    4 m$ A" @( V5 a" ]: ^
  8. and a user account (username + password) that has the permissions to do stuff
    6 ]1 c, E. s. s7 Q( @# T' n
  9. with the database. Additionally, you will need a vendor library installed on the
    ( g/ c+ N: Z2 H) F  ^! t8 o' w* p0 T
  10. local machine, this came with my MySQL install.8 B$ W* ]/ C6 |9 h# A& _
  11. These instructions will not tell you how you might transfer your data from the+ b$ d+ B0 b- g3 s
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL. L: x9 P9 I- K/ k
  13. database.
    # c: |) r% F3 J4 g: }
  14. Some users have reported ways to import a SQLite database into MySQL, but at: g+ z  b) R6 L; G/ ]# F
  15. the time of writing, there are still too many issues - check the current status
    ( K- z% M5 P2 P% W  J& w
  16. in the TeamSpeak forums if you are interested.
    ; i6 q6 C  x. R7 c# P6 \! o- ?
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    - V$ Z2 O& m5 ~9 d! ]
  18. Borland was used. This driver can only interface with the client library that
    2 y8 s. G3 G+ J
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    6 Q! [# }7 \# H; ^' F% `# v
  20. client library - basically all you have to do is to use a 3.x client library as
    " |% E1 j# k6 C! ]7 A/ \
  21. "VendorLib" and a 4.x database to connect to.. S+ ]  I6 }- k) M
  22. If you need more info about dbExpress, you can contact Borland.; P: }" w& d! T0 }/ I+ A# v. v! b; _

  23. % Y5 g; n+ {9 p4 K9 m3 K: H
  24. ### Doing the work ###
    + |4 C1 ~' J3 P
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    + |0 T/ ~0 O, g, q* f
  26. the perquisites right, just open your server.ini file, and add this section at
    0 e! y, _' H& ^$ F# o
  27. the end:
    , ]2 ~8 L& j1 f0 V* t2 G/ ^
  28. ---cut here---
    & G9 }- r/ Z0 h7 R% U) ?- U' E
  29. [DBEXPRESS]7 O  J4 ?: ?3 J7 w% V/ I; j# a
  30. sqldir=mysql_sql- z# h6 L' f' v3 g8 V& B" `' M
  31. Drivername=mysql: {8 L3 K3 J+ B7 T# ~
  32. Database=Your_Database_Name_Here: T  h0 \  N9 Z$ I9 k
  33. Hostname=The_PC_the_MySQL-Server_is_on) d1 T2 z' ]9 E2 k0 G
  34. User_name=User_name_on_the_MySQL-Server
    0 r% V1 O8 X4 T4 C7 h! u# b
  35. Password=Password_to_go_with_above_user_name
    - g4 F0 {( d+ \0 J. C3 \
  36. GetDriverFunc=getSQLDriverMYSQL
    0 z3 @* y' ~) g
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    5 p( h: i5 i+ y
  38. LibraryName=path_to_libsqlmy_libary
    7 y& h% s& a# H+ _
  39. Active=16 V" y, P1 a4 n% O% F
  40. ---cut here---
    : T9 M2 N0 o0 a" W! M6 m6 P3 ?
  41. In my environment (a linux box with a MySQL server running locally) I have:5 Y! u" ^$ m8 f" k! D( Z
  42. ---example---
    7 g8 e7 w% y" E- o5 r
  43. [DBEXPRESS]. d- |# Y+ A$ \5 |6 W. }1 ]
  44. sqldir=mysql_sql
      y1 Z* p/ w. Z* C- z
  45. Drivername=mysql
    - [! D% R. _3 s# ^7 _0 ~/ u
  46. Database=test
    & _0 w: S- w0 p; [
  47. Hostname=localhost# _- ]1 P+ o$ f& h
  48. User_name=testuser" K/ L! L$ n: V
  49. Password=my_password
    * C) ~& P% W% C* Z
  50. GetDriverFunc=getSQLDriverMYSQL
    ) w0 T) P+ v- }' y& V9 s$ _$ f
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    - }' ]/ ?6 e: \4 y9 \$ ?
  52. LibraryName=./libsqlmy.so0 \+ c: Y/ O5 k1 ~
  53. Active=1
    9 u# F+ U+ d! E( j+ n" }# R( e! r. J8 \
  54. ---example---. z( L8 {0 r$ d& s' `; J) O

  55. . f4 t2 ?/ V9 {* H  x& K; @! ]9 n
  56. On a windows box, also running the MySQL server locally, it would be:
    ) G7 ^# G/ q) c- `( K. Y0 y
  57. ---example---
    ' Y( I) Y! g# g# v; T
  58. [DBEXPRESS]( k% j* \# g: T( C, z3 b! T4 n+ U
  59. sqldir=mysql_sql2 h. ^2 h& d. Y+ M# T
  60. Drivername=mysql5 R( z6 {2 P  U* F# J4 m+ d
  61. Database=test
    3 _' h; l) d# B
  62. Hostname=127.0.0.1) O  v1 W3 g& a
  63. User_name=testuser
      |$ k. q0 }$ k( v9 N: {
  64. Password=my_password
    / z" p. h; w2 H5 k
  65. GetDriverFunc=getSQLDriverMYSQL9 B7 K/ V; h7 K
  66. VendorLib=libmysql.dll
    2 C* {& W) |' y1 i" h: F$ D& h
  67. LibraryName=dbexpmysql.dll
    ' ]3 g0 W9 Z) q( i1 [" N' r( m% t
  68. Active=1
      |. C& f' }% v5 q: f: F
  69. ---example----1 c6 `4 C' p& n+ W, T- z
  70. - written 02.03.04 by pwk.linuxfan
    $ k. Q1 ^8 D2 B; \( U: E

  71. 2 D- R- Y& T6 x
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
; c5 t& R! W( Y% B" H

  1. 7 b7 ?4 ~' u) Z, ]% S
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    2 q: `4 n9 G: B' Q1 g
  3. 1 u# r5 t" F# \& Y% k
  4. # # #我们所需要# # # 7 l! p: M( I2 t9 H6 O: Y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件  {4 s- F4 _8 W. A5 Y4 j
  6. 不会解释如何做到这一点-也有文件存在,为
    4 E+ B  l% h  s7 m
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    & n# v/ I4 J- r# N/ x" {* L6 n  u
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西7 m6 c. I% P' P8 E& d" S
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    " f- R/ ^, `" G: ]6 A
  10. 本地机器,这是我的MySQL安装。
    4 q  J; i3 d* C" N1 d& j( Q0 C. y- K
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从* u' h% ]1 A0 Q0 e6 H) M
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    & c% n  G: A7 F
  13. 数据库。 ( f3 F  B$ N8 \: I; G, h  ]
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在0 ?0 ^# \5 C) h: s" J: F# \3 [
  15. 编写本报告的时候,仍然有太多的问题-检查现状' w$ k2 f$ ~7 |
  16. 在teamspeak论坛,如果你有兴趣。
    ; k4 Y$ P# ^# ]9 {4 n
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机8 s4 h/ N% `' x6 b$ z3 J
  18. Borland公司使用。这个司机只能界面与客户端库
    , Q5 U) I# f/ b  Z
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这% _0 X: f- ^; m* u& g
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为" C( @$ _& h1 F: j3 V
  21. " vendorlib " ,并解数据库连接。
    + G* `8 a: C5 a9 a% Y- p
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 / a* c- ]3 w9 {, Z) O
  23. + b& R0 _0 _1 r# W* c  B$ Q
  24. # # #做好工作# # # - a4 J+ ]& Y) `1 ]4 \8 B; j: J$ P
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    1 V0 Y, B/ @* h
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在4 }; i) _' v4 ]
  27. 结束:
    / D8 @6 C/ s  J! n# y  L9 V
  28. ---削减这里--- ! O3 |5 C8 Y5 c+ X4 a1 u
  29. [ dbexpress ] 2 s- a! b8 q2 |5 f% R: L
  30. sqldir = mysql_sql
    ) k7 s: u1 M- j; q7 D7 a
  31. drivername = MySQL中
    5 v6 v* x+ l+ Q8 N. L! H
  32. 数据库= your_database_name_here
    ; Y5 p  H1 b( u& U
  33. 主机= the_pc_the_mysql - server_is_on
    & K$ y8 i$ U/ n& Q
  34. user_name = user_name_on_the_mysql服务器
    ( a  p! {9 T( P7 [3 f) F* k  d
  35. 密码= password_to_go_with_above_user_name 8 H  \: o& L1 l# u0 j
  36. getdriverfunc = getsqldrivermysql 7 {- O: @0 }4 t# `& ]
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 9 ]6 @2 K% ~( c" o; x
  38. libraryname = path_to_libsqlmy_libary
    6 g2 c7 v+ H  O5 F% }
  39. 积极= 1 5 G! w/ g2 K) J1 T. _7 Q" q
  40. ---削减这里---
    6 N$ U  p( a) h6 M
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ) r6 M9 h' |6 V( `! D
  42. ---例如---
    8 `: i: N. X& Z: {8 k
  43. [ dbexpress ]
    & U5 \7 A) s9 G; f5 Q
  44. sqldir = mysql_sql
    ! e' ?3 L% t, B% U, Z, z
  45. drivername = MySQL中4 ]1 X5 n& Y# Y0 i( P
  46. 数据库=测试8 R( m: k/ T  E% }, j
  47. 主机=本地主机
    0 J' c/ M; N' O+ u+ N5 S
  48. user_name = testuser
    0 [3 z$ L$ l1 u9 x* \! p7 X
  49. 密码= my_password # X1 w/ d0 U+ Q4 h" l- A% V
  50. getdriverfunc = getsqldrivermysql
    # y4 O4 N' `: q5 n
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    / r5 f6 M3 o8 E: `6 T  w0 g
  52. libraryname =. / libsqlmy.so ' U4 ~- B9 A% [" v8 f8 @' f8 y: g
  53. 积极= 1 / l" O- R9 E$ ^) b: C) C- a
  54. ---例如---
    0 a3 ?. J5 I' \  y4 J  X: P

  55. 9 x- c* g- |% z- `, \
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    1 ]8 J8 n5 G' l, _
  57. ---例如---
    7 v( s2 g. K9 v5 {! @2 ^; y
  58. [ dbexpress ]
    ! Y0 M+ ]2 I% [) m* B
  59. sqldir = mysql_sql
    + p* U* x$ X- B; b8 y1 J
  60. drivername = MySQL中1 l+ ]4 z: q+ Z( c* r- ]4 A9 ]
  61. 数据库=测试9 n: b" q/ h0 A* q. k: N
  62. 主机= 127.0.0.1 : l7 _, A! t, Q
  63. user_name = testuser
    : l$ n3 O9 z. F+ n9 W' [2 j; }
  64. 密码= my_password 0 }+ U7 {4 Y, o! x
  65. getdriverfunc = getsqldrivermysql
    ; @, Q0 `8 K, M0 ^; {# o* a
  66. vendorlib = libmysql.dll在! x5 k* {5 {9 P/ n4 j
  67. libraryname = dbexpmysql.dll 0 `; A! u& N) E. e0 d. i$ r0 r/ v
  68. 积极= 1 ( r) Y8 H1 e/ f
  69. ---例如----
    6 `1 J" _* }/ D3 z( J- Q4 Y
  70. -写在0 2.03.04由p wk.linuxfan- V# G+ m* }  ~8 l. T
复制代码
发表于 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, Y1 }8 p" @! X- t6 X

0 D" m: o* J% r0 k) w, Rbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-12-7 00:44 , Processed in 0.062444 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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