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

3529 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan . S2 [3 j7 I9 x: k

" b4 ^! ^( U1 A( `( D
  1. ; [! {7 p6 }3 |) \
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######- \+ g  r+ M+ t- c$ @- k( d0 p) W5 T! d
  3. % J) z4 M1 z4 l! o( k) g: i
  4. ### What we need ###
    6 S% b; ^% P$ T- `2 \8 `
  5. Naturally, we will need a MySQL server to store the data for us, this document   b( D/ M- ?8 K  A
  6. will not explain how this can be done - there are documents out there for the
    . T5 m7 `1 K# l- M1 B/ W& j# k" \. R
  7. interested. The requirements include a (empty) database for TeamSpeak to use* ~1 X5 T$ S3 h/ h* f0 D
  8. and a user account (username + password) that has the permissions to do stuff
    1 w( ^5 X& ?1 M$ i4 ?( f, b
  9. with the database. Additionally, you will need a vendor library installed on the
    " z4 Y6 F/ |1 e2 c
  10. local machine, this came with my MySQL install.% V% U" B+ o: c' r$ V5 f& ?6 t
  11. These instructions will not tell you how you might transfer your data from the8 F$ h2 t: h' A7 v
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ' N$ o* `  `1 N! Y$ N( s
  13. database.
    ; y$ w' z% a5 @- T7 Z
  14. Some users have reported ways to import a SQLite database into MySQL, but at
      N% |/ X1 N0 Y$ X+ u
  15. the time of writing, there are still too many issues - check the current status4 K  A, k1 H! j  _' T$ Y
  16. in the TeamSpeak forums if you are interested.
    " _" ]" w5 K% q. Z" Q
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from7 G* _: t: C* ~; O0 {2 }
  18. Borland was used. This driver can only interface with the client library that
    : m# x" J* ^' h. }) m
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    & ^: r( {# E" M- X, c
  20. client library - basically all you have to do is to use a 3.x client library as $ |! J- {! N* P/ a  y
  21. "VendorLib" and a 4.x database to connect to.
    9 j* b# o0 a7 u
  22. If you need more info about dbExpress, you can contact Borland.. J8 N. _. V, g& k

  23. 0 b" D1 Q1 n. G" w& W0 X
  24. ### Doing the work ###8 L, _0 \( \- a2 o& V1 @' j+ E
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    9 [& f8 q4 X  [# l: y5 ?$ U
  26. the perquisites right, just open your server.ini file, and add this section at7 c0 U5 e, H( v# }/ e) o
  27. the end:- i) C" W. x1 P4 J
  28. ---cut here---. [; I! Z% e4 [. O0 F0 ~
  29. [DBEXPRESS]4 h* c, J& L+ {% I7 |7 E
  30. sqldir=mysql_sql& M2 W6 W% l5 s: g2 M
  31. Drivername=mysql: N8 S; b( h# u0 y# o: @3 y
  32. Database=Your_Database_Name_Here
    1 G) e% p8 O" A" d. ?- Z
  33. Hostname=The_PC_the_MySQL-Server_is_on
    $ o- `) a5 E6 c+ o
  34. User_name=User_name_on_the_MySQL-Server
    8 O- o4 c6 Z8 V+ M8 W( m% L% n, O
  35. Password=Password_to_go_with_above_user_name
    - J: K% t7 A/ }* O# k
  36. GetDriverFunc=getSQLDriverMYSQL
    " c) H% g6 N' j% Z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib- z4 z+ M, w& }8 U5 \7 u6 `' d9 E& l
  38. LibraryName=path_to_libsqlmy_libary
    % w3 w4 O( a* d* ~& q+ m7 h
  39. Active=1
    ( B0 Z* c" C7 c8 n! N5 O
  40. ---cut here---" e, X! |& n: I1 E( m" h
  41. In my environment (a linux box with a MySQL server running locally) I have:
    # w' e, ~4 S) C+ P$ r0 o
  42. ---example---( f5 y" U3 e9 B1 {. D: M3 J! X
  43. [DBEXPRESS]- B2 N% t# \! Z$ Z% u
  44. sqldir=mysql_sql
    5 ]) E! Q: T& e3 B2 L. ]/ P* U  ?! G$ ^
  45. Drivername=mysql
    * m4 I3 p, z# N8 b
  46. Database=test
    ' x, M, q  l5 D5 T( X* k
  47. Hostname=localhost
    2 n3 h! I5 ~3 v4 @- m& B( r
  48. User_name=testuser
    ! w2 K. _1 l/ r# V5 j8 ]8 p
  49. Password=my_password
    & z8 z, I, h/ j4 e
  50. GetDriverFunc=getSQLDriverMYSQL
    ( ]1 v9 E1 j* O) t5 P
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0/ ?: Y" h0 s1 b4 k& \' ?
  52. LibraryName=./libsqlmy.so0 \, m5 p/ f+ q% g, E7 B& B% B  ^
  53. Active=1" r  I4 j' }3 ^) z. S3 e( A
  54. ---example---9 {# T* ^  ^  D% w2 w# V" E
  55. 1 y. l5 b% n: `( x3 y$ T
  56. On a windows box, also running the MySQL server locally, it would be:) t: c! ]! b2 @) ?% j6 N
  57. ---example---, ^3 r( p% N3 T/ ~8 g
  58. [DBEXPRESS]/ G& V. Y0 r6 S* G
  59. sqldir=mysql_sql
    , v  T# k/ o/ O% L& p* b
  60. Drivername=mysql
    ' q6 {( k, S8 j
  61. Database=test
    + O  }5 B) g- I8 f2 C
  62. Hostname=127.0.0.1  C, ?/ Z% ?* U0 O; ?
  63. User_name=testuser
    5 P3 |% _$ I6 Y
  64. Password=my_password8 @7 |. z) o4 p1 l
  65. GetDriverFunc=getSQLDriverMYSQL% c, j7 T' h0 R+ C9 m
  66. VendorLib=libmysql.dll
    3 h1 `) ?" [" E7 r- O* c
  67. LibraryName=dbexpmysql.dll
    , P- r% [0 }4 |
  68. Active=1
    1 O1 y4 o3 h5 C9 Q# [
  69. ---example----; }+ A9 R$ V; m/ m- @
  70. - written 02.03.04 by pwk.linuxfan
    ( F, i* a0 p$ ?6 ]2 }

  71. * }7 S1 b" [% j- G- f
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看; \3 Z9 E( N1 Q8 M

  1. * `+ r; M4 @) D
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    9 N7 v" Y9 y) R# y3 H# A. h

  3. % c/ ?* P* h! v/ k  s
  4. # # #我们所需要# # # . H# K8 Z  x4 {! ~' o' B
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    . ~/ {2 R) _  J: b( k
  6. 不会解释如何做到这一点-也有文件存在,为
    $ X2 m9 s' b. K( Z0 i, Z" m
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    # }6 v6 \( G. c' E( N
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西, A" H! p; o8 P" i  ?$ i7 t# ?9 \
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    . t2 e- C9 D0 g, |" e# l, I
  10. 本地机器,这是我的MySQL安装。 + A/ B& Z4 h* Q, T0 D5 Z! m2 s
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从6 t2 r9 E% J. `* A2 L4 L
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    9 z# E4 V1 Y7 a/ M  m2 J
  13. 数据库。 1 u2 Z6 M! o) E: W
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    # A  f% }3 i/ k) R
  15. 编写本报告的时候,仍然有太多的问题-检查现状4 j: L6 G  A. ~) i$ j
  16. 在teamspeak论坛,如果你有兴趣。 0 ^; h. `; I( S
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机2 F2 H0 F, Z' v) X2 f& O
  18. Borland公司使用。这个司机只能界面与客户端库/ b- G9 Y" B/ n) F+ T) W: Q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这* c+ i. C4 D7 k) I0 v* L
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    7 Y4 Q& q% l0 L) O- ]2 g7 W4 B
  21. " vendorlib " ,并解数据库连接。
    5 D/ p& |2 B4 N! S, B7 }
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ! _/ s* C) Z" K0 c
  23. 7 D- t1 Z8 ^* V  e0 S' Z# |* i* O4 U
  24. # # #做好工作# # # ! o6 f6 P2 o' e/ s
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    0 L% D/ h* ~/ s# ?
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在& r5 [( c  V0 ?6 m' Q) |
  27. 结束: 7 ?( {0 }/ y9 K* b* P
  28. ---削减这里---
    * _. T, w/ w# O3 ?; R
  29. [ dbexpress ]
    , N' B- U5 X, m. c- L
  30. sqldir = mysql_sql ' t  ^+ Z* G9 u$ N- E7 t$ |
  31. drivername = MySQL中: n% J/ Q) A" D1 P4 T! N
  32. 数据库= your_database_name_here
    : O9 |: {( o7 w' R4 B  |# n
  33. 主机= the_pc_the_mysql - server_is_on - s6 q) v7 ~! R
  34. user_name = user_name_on_the_mysql服务器
    : O) g; Z: E. h: o5 f9 s0 J, A
  35. 密码= password_to_go_with_above_user_name
    . G) t) w  z* |
  36. getdriverfunc = getsqldrivermysql ( y; v6 Y/ A8 N9 B5 |* \& Y( W
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib , c) y* z3 n* Q+ q3 b6 z  x% U
  38. libraryname = path_to_libsqlmy_libary
    0 l( U# ]2 q/ R! l9 f
  39. 积极= 1
    ) }+ n$ h9 X+ ~% m
  40. ---削减这里---
    ( H6 o/ `, p5 t& D. ?) E7 a
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 9 k" V& @% ^4 K( Y( s
  42. ---例如--- 7 `* M( b) ~: t. {  t& _
  43. [ dbexpress ] ( _7 `5 y4 L" A+ K
  44. sqldir = mysql_sql
    0 @4 N" g  I) k
  45. drivername = MySQL中/ u' g0 {7 U2 \  c: }+ u, ~
  46. 数据库=测试( V7 f# {! J! H5 v; f
  47. 主机=本地主机
    * B( W% p7 m) h2 t: [) p/ `
  48. user_name = testuser
    * ]9 V/ g2 p- Z( x& O  s# E- P. V: J- f
  49. 密码= my_password # x" u$ v& B& Y- p
  50. getdriverfunc = getsqldrivermysql
    ' p* v, ^, g" d
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ! [8 i1 N8 {2 l' n
  52. libraryname =. / libsqlmy.so ) q: X' q7 s# v8 A7 K
  53. 积极= 1 0 i% C0 ]5 M( p2 H0 W' O
  54. ---例如--- 1 H8 y) Q: ]* U+ f7 [, N& Z1 w
  55. " w# J; @1 W) u/ \
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ( I. M. V2 a" V
  57. ---例如---
    ! w" ]0 K3 Y+ }) r
  58. [ dbexpress ] 4 _3 q% _6 R4 x" A0 w2 D7 |
  59. sqldir = mysql_sql
    - H5 {+ V9 u4 d) w& n: y7 a
  60. drivername = MySQL中3 v. ^  d( v$ b" b0 ?0 B. t
  61. 数据库=测试
    & @+ W) f+ d6 {& K3 w
  62. 主机= 127.0.0.1
    . W' L* c3 z' S- x. e  W3 }2 b
  63. user_name = testuser ) x- H+ {: ^+ u3 n9 ?0 `5 s
  64. 密码= my_password
    9 x/ G, Z9 e- m
  65. getdriverfunc = getsqldrivermysql / N( e& }. e8 \
  66. vendorlib = libmysql.dll在( U. I) x. O2 p/ L0 l! G/ ]7 `2 p1 M! M
  67. libraryname = dbexpmysql.dll
    3 a7 J8 \+ |6 U. x
  68. 积极= 1 ' `9 B+ z1 X" C, i8 b" R  G
  69. ---例如----
    8 f% W$ V3 W: u
  70. -写在0 2.03.04由p wk.linuxfan
    8 q2 v9 F  r# t' W
复制代码
发表于 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
; r; B9 I8 T/ ~
" G5 \6 s5 }% C& P0 \but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-17 13:54 , Processed in 0.056996 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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