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

2696 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
. i3 B( b- K9 o' Z
) I( S; K) K3 V* d

  1. ) T. k8 M6 W5 n, ?& y
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ; [; E0 u" A1 Z; d- }# E2 A# M2 O

  3. . ^! I+ @) S0 \/ k2 F# W
  4. ### What we need ###
    & L8 L; Z: A% p' e- X' \
  5. Naturally, we will need a MySQL server to store the data for us, this document $ P: S- S) s1 f& C; w% Q, L+ T+ y
  6. will not explain how this can be done - there are documents out there for the
    6 W7 R1 X5 o: {1 _9 L" a% B4 e- B
  7. interested. The requirements include a (empty) database for TeamSpeak to use3 p4 U$ J( w4 C6 S' [5 X
  8. and a user account (username + password) that has the permissions to do stuff: a7 Q2 y- Z. G  R
  9. with the database. Additionally, you will need a vendor library installed on the4 u- y7 U+ S# d/ A9 W: {
  10. local machine, this came with my MySQL install.' k# t; o7 s, ?% k& ^
  11. These instructions will not tell you how you might transfer your data from the
    5 z5 C7 |9 Q6 M
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL; A3 G. y& W- S# Q% q" ^* Q
  13. database.
    , [8 d; Z( o+ \6 q# K& X
  14. Some users have reported ways to import a SQLite database into MySQL, but at- q) e; x$ Z) }( Z' e
  15. the time of writing, there are still too many issues - check the current status
    7 O& J- B3 g# q& C0 y
  16. in the TeamSpeak forums if you are interested.
    ) |- t4 X! t) Z3 `/ I& I
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    6 x$ k+ i) ]) J6 O0 ]9 d1 `* p
  18. Borland was used. This driver can only interface with the client library that $ }7 y2 U3 }7 w
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this5 O, s# o; z: i1 p+ Z& Y% [
  20. client library - basically all you have to do is to use a 3.x client library as / Y3 x% F% F  L- L; N
  21. "VendorLib" and a 4.x database to connect to.# s1 l# ~/ ~; M6 N0 W2 S
  22. If you need more info about dbExpress, you can contact Borland.. w  `( ?. ^$ `: ?6 q' T( }
  23. 7 R7 l' j* V( V# ~# M& Y  F# l
  24. ### Doing the work ###& S) R- G  x  {7 D
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all# X& i4 ]! o/ D" j* Z- A# v& E; t* G8 T3 b
  26. the perquisites right, just open your server.ini file, and add this section at
    # Q) ?# U- T* Q
  27. the end:# s1 x# ^, J3 X+ Q' z# @
  28. ---cut here---
    & q0 Y" d7 ]; t# V  i- X4 d; M
  29. [DBEXPRESS]/ z- ?8 w2 o* b! i0 T2 z; C
  30. sqldir=mysql_sql+ g" ]) H* J0 M7 b- T) z  w
  31. Drivername=mysql
    * W, v, T( f3 u; [# s/ N
  32. Database=Your_Database_Name_Here5 ]# }) y1 R9 T+ c; @9 X
  33. Hostname=The_PC_the_MySQL-Server_is_on  h; E$ ^' g0 l) w$ k8 i
  34. User_name=User_name_on_the_MySQL-Server; y+ Q' |( L* J0 m/ {* A
  35. Password=Password_to_go_with_above_user_name5 h9 V2 i; V" h9 z% G/ P
  36. GetDriverFunc=getSQLDriverMYSQL
    ' [! f, Y: _$ Y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    * ?4 I3 ?( Z7 Y: A, V& M
  38. LibraryName=path_to_libsqlmy_libary
    / ?: r7 h/ d) n% L! e7 [
  39. Active=14 b  B* w6 e& F5 h' @5 V
  40. ---cut here---) q- l) ^9 j! G* [
  41. In my environment (a linux box with a MySQL server running locally) I have:
    $ j6 q& y4 A7 C0 M
  42. ---example---% O& C, E! o+ j* b* F$ X# F
  43. [DBEXPRESS]- U) z" z- Q9 j4 u4 T
  44. sqldir=mysql_sql2 ]% P' s7 P$ B7 M& D( x
  45. Drivername=mysql0 x1 U4 n6 Y8 x1 K+ D& M
  46. Database=test
      L4 ~: F( z: Y
  47. Hostname=localhost  ^) h. {# E7 M8 A" s2 G6 q+ W
  48. User_name=testuser* e9 M8 c9 Z; h7 i
  49. Password=my_password, o+ A) v' ~2 |3 f6 H# ~
  50. GetDriverFunc=getSQLDriverMYSQL
    2 x( b0 L# m" @
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.05 q6 m! s1 w: y6 E
  52. LibraryName=./libsqlmy.so, |+ X( S, }: a3 k( u8 K' ?
  53. Active=1( U( l; |4 ^/ U5 S& k- X! W7 p
  54. ---example---% T' _: a& p$ R# }

  55. 5 ?% K# i9 |1 P4 k; t0 S. |
  56. On a windows box, also running the MySQL server locally, it would be:% [+ h9 h3 V6 L' f6 A2 A
  57. ---example---5 \6 ?; p. e; `+ J
  58. [DBEXPRESS]
    0 q3 @; L2 L) k% q3 q9 E
  59. sqldir=mysql_sql/ w* w" L9 Z6 h/ J- p
  60. Drivername=mysql
    . M5 M. Z; K8 ?+ S- D7 `
  61. Database=test# e# f; R4 U$ o* c' a  o
  62. Hostname=127.0.0.12 I" p/ r  b$ F8 y2 w4 F3 [
  63. User_name=testuser9 e8 j; C" u6 L* I/ g
  64. Password=my_password5 ~9 |. p' M6 M* X
  65. GetDriverFunc=getSQLDriverMYSQL% x: [; }# h" D9 `9 d# P
  66. VendorLib=libmysql.dll
    / f  S0 i5 ]0 d4 I$ Q% G' n
  67. LibraryName=dbexpmysql.dll
    # M# `2 z/ j. {+ z; x# \/ x7 C
  68. Active=1
    * N3 X. L( ^2 k' b# D6 u0 J( E0 W/ V
  69. ---example----
    % w) a( d& P* G0 S2 u( B8 u7 C
  70. - written 02.03.04 by pwk.linuxfan. V5 m8 u- M- T  n9 x
  71. . W" D! z9 w4 h
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看' s, [+ k3 b( I" ^6 k7 i% f

  1. ) k- _2 O& Z0 Z! u6 s: q8 r
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### # D6 ^8 C% ?2 V3 D: Z7 o
  3. & e7 c7 E8 S: _3 b
  4. # # #我们所需要# # #
    7 n- h7 e# m2 r* s% v5 y. _% ^2 ~
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    * [2 F" Y- d8 s% h. l" ^
  6. 不会解释如何做到这一点-也有文件存在,为$ u- G) C& v+ A) D; {
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用$ `# u8 g2 D8 i
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ( p( l! B1 ^4 j% ]
  9. 随着数据库。此外,你需要一个卖方图书馆安装于2 V8 v- ~  M; p  a* q8 ?7 q
  10. 本地机器,这是我的MySQL安装。
    " p% S' U# w* Z* |- B
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从1 F6 t$ Z' d) v- f9 g
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL $ M3 R: c* H8 h
  13. 数据库。 9 b* b) Z. }$ r6 q0 ^
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在5 E6 E) V; P$ S. J" y
  15. 编写本报告的时候,仍然有太多的问题-检查现状% S9 M5 C, X" }1 {! @
  16. 在teamspeak论坛,如果你有兴趣。 ( S, }& Q( R! R% I" f
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ) J/ n3 H2 \0 R+ p
  18. Borland公司使用。这个司机只能界面与客户端库
    , U) c/ j/ m$ i
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这/ Q: S! d* n6 O" Z: h
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    , N& s) B. }; E1 E# t0 o4 P
  21. " vendorlib " ,并解数据库连接。 ; L  o2 P% x/ r7 `2 [' i
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 0 A9 j  I9 i. ]2 W* P' Z) ^; w

  23. % Z( ^. M2 K& r' F$ E
  24. # # #做好工作# # # - P; y% B8 U1 g$ _
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    / R$ S0 y, q- ~6 A
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    % _1 g6 W  r  w7 _3 K8 \4 d5 i
  27. 结束: + ]3 z! |0 A! {4 ^8 V/ H
  28. ---削减这里---
    , K4 {8 A( i8 T6 R* ~' {
  29. [ dbexpress ] ' n# j/ `3 Y5 x" F2 V% r* c9 G
  30. sqldir = mysql_sql ) ]/ S9 t+ M2 q
  31. drivername = MySQL中
    : h4 q1 a8 d, j, ~( K" E
  32. 数据库= your_database_name_here ) m5 ?/ u& n) ]2 L
  33. 主机= the_pc_the_mysql - server_is_on 8 {, l9 m5 q7 B8 \% Z% l
  34. user_name = user_name_on_the_mysql服务器
    6 Z/ }5 ~3 M6 E3 X
  35. 密码= password_to_go_with_above_user_name
    * j! A# ~) i2 ?, v! F, m3 _( I% @
  36. getdriverfunc = getsqldrivermysql
    + {% s( `- n1 D/ p( i* ^# D; X
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ' U. D7 u2 m( u4 y
  38. libraryname = path_to_libsqlmy_libary
    ; c4 P5 P8 X! c3 q( w  U% g
  39. 积极= 1 ! A  h4 ]" z  d5 H
  40. ---削减这里--- ! t. s) N, D6 O, W2 O6 \+ @' g# s0 D
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    " j+ |6 |& v( y( e* x  p
  42. ---例如---
    2 Q5 V5 Z& J' e! g$ i( z! @$ ?
  43. [ dbexpress ] & Y  Q: W" D; M. `- l! a
  44. sqldir = mysql_sql . R& x. A& P; S0 B) Z
  45. drivername = MySQL中
    . y) F# t# K9 ?' j9 {: U: I2 o
  46. 数据库=测试6 `9 z* C' T) O* m$ ]0 G
  47. 主机=本地主机! a+ v1 w& c0 J- ~* v' M; P
  48. user_name = testuser
    4 U7 u& ~& W2 n
  49. 密码= my_password
    3 E1 Y5 V8 r+ d) {. V" d/ }5 M/ z
  50. getdriverfunc = getsqldrivermysql 6 p+ _+ f1 y, X9 m4 x
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    $ X$ K, h. J: b; s
  52. libraryname =. / libsqlmy.so
    ( _) D5 f& o$ F. O* |
  53. 积极= 1 . L2 }4 c9 y( d- ?* h
  54. ---例如---   `' J6 l' X: v1 u5 \. e

  55. $ d7 @- i: j) z2 i
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    1 w: f; A( K. e1 L- s" N6 V
  57. ---例如---
    , h, v6 O* G; M4 n7 O/ R
  58. [ dbexpress ] ' n( W8 O& Z9 G
  59. sqldir = mysql_sql 1 D1 F1 m; H0 y$ @8 X) u
  60. drivername = MySQL中/ T/ w4 g7 b3 ~1 Q3 W9 l2 _
  61. 数据库=测试6 {' X" q5 _; D1 b
  62. 主机= 127.0.0.1 0 w" h+ q+ u; B: p& H9 s0 [
  63. user_name = testuser
    ; D) Z+ ~% \: D
  64. 密码= my_password 1 l; ~: }- u2 Y  Z+ R. {& ]
  65. getdriverfunc = getsqldrivermysql / m8 X; q6 Q9 \5 X6 O7 I
  66. vendorlib = libmysql.dll在; \6 s; R" v6 k6 `  M) z8 k! ^
  67. libraryname = dbexpmysql.dll . T. Q2 ~! B& e! B0 ?
  68. 积极= 1
    0 c, V- X+ h; i( _/ L- o
  69. ---例如----
    $ K% F4 Z2 Q) k5 f& C4 Q( n2 ]
  70. -写在0 2.03.04由p wk.linuxfan
    . r& ^9 I% s; S# [2 P* 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* J: t8 f6 D( q4 t6 X

. n) V1 f5 I- P% |but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-3 00:11 , Processed in 0.106511 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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