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

2391 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ; v& U; w7 b, Z9 \& F

) P7 N  {! q8 b; \) ^

  1. ( [; J# D- h( ~% w. ^! K$ Z# q2 U1 t$ n
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    7 R1 b4 S0 _' r+ T0 c3 V& u0 P

  3. 5 ~1 D3 _4 A  {) z
  4. ### What we need ###, Z/ z9 J1 z$ `. a1 \
  5. Naturally, we will need a MySQL server to store the data for us, this document
    % @  l% g8 a" w" V2 \& {% [4 r% R
  6. will not explain how this can be done - there are documents out there for the ! T, @& f  ]/ J- w5 i
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    6 K; z* L0 G$ [  ?3 f
  8. and a user account (username + password) that has the permissions to do stuff
    ( M% W) O$ V5 n* ^6 ]; b
  9. with the database. Additionally, you will need a vendor library installed on the
    ( r, Y. R* g! R. Q
  10. local machine, this came with my MySQL install.
    ' f9 w; a, U. ~6 p0 u! s" \
  11. These instructions will not tell you how you might transfer your data from the; I: \! K+ K6 O$ X$ J8 \: ^
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    + z% o. e  R' h" r/ j# S7 b
  13. database.5 t+ d1 ?6 t; z2 {9 F
  14. Some users have reported ways to import a SQLite database into MySQL, but at& n0 d5 j" Q% J/ P+ T4 @" R7 D6 z
  15. the time of writing, there are still too many issues - check the current status# D, P7 x  q: d& G/ H& t4 r
  16. in the TeamSpeak forums if you are interested.3 ~; R7 ^( G# s% z7 i
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    5 {" b4 ^# b* I% Z
  18. Borland was used. This driver can only interface with the client library that
    : n& v1 T1 ~  @9 R+ D  u
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    2 N& E! v/ G6 r* W( ]7 E
  20. client library - basically all you have to do is to use a 3.x client library as 7 u# k3 R5 J) W& r: [9 T
  21. "VendorLib" and a 4.x database to connect to.
    ) _7 o, c7 I. o2 N4 w0 v
  22. If you need more info about dbExpress, you can contact Borland.8 Z" D# ?* R. l6 a* O, I
  23. , V9 Z# m, R" G: ]( ?6 N
  24. ### Doing the work #### ]/ w& Q5 _+ q9 Z- q4 o$ n
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all! j& Y- N/ M2 Y$ ?! f* g8 i0 p8 Z
  26. the perquisites right, just open your server.ini file, and add this section at. s) U% ^# y+ u2 P6 ]2 Y
  27. the end:( K& L4 e. T0 z, T
  28. ---cut here---, r* l" H! `! v) r, H; z
  29. [DBEXPRESS]) A9 S9 y# \# h$ F) M$ {
  30. sqldir=mysql_sql$ Q8 `) m! K" a6 g9 Q
  31. Drivername=mysql
    - y- X/ E/ O; ]! m. U8 F8 u
  32. Database=Your_Database_Name_Here
      m, X% Z* J! }
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ( r! g6 M  t8 b, [9 \/ c
  34. User_name=User_name_on_the_MySQL-Server
    9 N  Z! ]; [, @  e/ ?
  35. Password=Password_to_go_with_above_user_name5 a5 N1 w  N2 ?
  36. GetDriverFunc=getSQLDriverMYSQL0 l) d% a2 X2 z% S" {9 |9 H
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib. T( a: R3 L% Q& Z% s/ B
  38. LibraryName=path_to_libsqlmy_libary" [# d( F9 o4 V. W; W2 @
  39. Active=1) C1 c3 M/ o+ y- L/ K
  40. ---cut here---
    : C/ r# r: ^7 p! o
  41. In my environment (a linux box with a MySQL server running locally) I have:) Z) ~8 `; k# O! ]' G3 Z+ {
  42. ---example---7 F  g9 \7 d9 Z& ]; ^
  43. [DBEXPRESS]) H+ H3 V, b6 E
  44. sqldir=mysql_sql
    ( t3 P% ?+ k7 Z% q, _; e
  45. Drivername=mysql+ G- H% f# e( E7 l$ ?: H
  46. Database=test* a, O' N2 D( c) ]/ R7 {
  47. Hostname=localhost
    0 Z0 F, a7 [0 Y3 [
  48. User_name=testuser+ L5 l. M. N$ j
  49. Password=my_password+ Y' @: W: x  {
  50. GetDriverFunc=getSQLDriverMYSQL% s7 z+ `8 j/ N( ]* }: N* e3 s# |
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0" y( o' U- b2 q# H, m
  52. LibraryName=./libsqlmy.so
    * m7 _7 Q8 N6 {/ [
  53. Active=1
    5 J4 d# V' q" M7 Y
  54. ---example---) F: D# x2 B& @; B; @- R$ d
  55. 2 @- X6 r/ z+ h: y+ e6 ~" M
  56. On a windows box, also running the MySQL server locally, it would be:% r" d9 ^1 P; P
  57. ---example---
      v3 [9 N$ N0 H) w; v6 h0 C
  58. [DBEXPRESS]2 v% w; J( }5 [
  59. sqldir=mysql_sql5 O2 e9 s2 x9 Q9 C5 p( ~5 n+ G
  60. Drivername=mysql
    . f! a. X0 L2 G% P% `
  61. Database=test1 w7 h! O. F+ b3 Z$ y# `# ~
  62. Hostname=127.0.0.1; C# x6 Y& g! d! G0 a/ r
  63. User_name=testuser/ q2 ~) ^/ a0 a% [- w# N
  64. Password=my_password" P; V; @/ ~- w' x) ^
  65. GetDriverFunc=getSQLDriverMYSQL
    9 w9 x# o0 ^6 p9 J2 }7 |) v
  66. VendorLib=libmysql.dll
    $ @* x4 T+ w/ n" f. _. o! R
  67. LibraryName=dbexpmysql.dll
    6 l4 P: O' m8 _
  68. Active=17 ^! i" h* J& l3 x8 v; K) V
  69. ---example----3 m# @8 n# R( M9 R' `- R
  70. - written 02.03.04 by pwk.linuxfan
    - }4 Y9 _! N! P6 t3 x  n0 f

  71. $ H/ I8 [( J; I1 U9 K
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
5 a) l! `' u  S* g
  1. ; p5 T% h4 z2 H
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### # }2 r/ n2 Y) v, F, |

  3.   m" n9 G* l+ q8 s/ O5 F
  4. # # #我们所需要# # # . D  g0 S: h( Y, a
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    0 W3 _4 }/ a, x" J3 h# ?4 y- g5 w0 w
  6. 不会解释如何做到这一点-也有文件存在,为
      G# T) I* D8 V" D% t
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用3 o, ]; U2 P+ p0 z! _4 j! c7 b" t& F
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西5 b( p( |, U+ {( a. I4 K* p6 _
  9. 随着数据库。此外,你需要一个卖方图书馆安装于' s5 j$ U- P4 q6 b7 {* ~
  10. 本地机器,这是我的MySQL安装。
    * \" S- x% q: V! b) y2 Z$ e  S
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ; V. Y  W4 m( o* Y
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ! b, O7 G1 s# d% b/ Q0 V9 @# z4 v0 a
  13. 数据库。
    ; |; @: }- x0 y* u5 u. H" @; E
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在/ _4 f) R; }) V
  15. 编写本报告的时候,仍然有太多的问题-检查现状' O% R) k% o6 E( B
  16. 在teamspeak论坛,如果你有兴趣。
    . @* ]! T" k$ R! F; g
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机! T$ v! t2 P( v1 ?3 M
  18. Borland公司使用。这个司机只能界面与客户端库/ p$ \" a, X* X0 P
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这: h, t  Y* {. q( O
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    $ T# ]0 n' y! H: h" a$ k
  21. " vendorlib " ,并解数据库连接。
    / f" b& M& ?1 V% }9 W  [
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ; e: j. _4 S6 q+ t  H$ b

  23. . w/ P: f) E! Q% c% b7 {& ^
  24. # # #做好工作# # #
    : o5 C3 v  y% d4 N# V# F$ E
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    8 ~% {" e  J+ o9 u* S, s' Q+ U( Z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在0 f( N" u' y/ F+ f( I+ D
  27. 结束: ' j) P7 Y  K( l
  28. ---削减这里---
    ) S9 i, B% N1 X1 y7 O
  29. [ dbexpress ]
    & c+ v5 S" d8 H; U' O' p5 Q
  30. sqldir = mysql_sql # o! m8 j7 `$ `) J/ ^+ r$ m* _
  31. drivername = MySQL中
    0 _- J0 s4 A& F* N
  32. 数据库= your_database_name_here
    : P7 i+ L$ A; d+ U% B1 E4 G
  33. 主机= the_pc_the_mysql - server_is_on ) T$ p% ]6 ], }# }/ R/ u' W7 S
  34. user_name = user_name_on_the_mysql服务器
    1 Q' `8 Z- i3 S
  35. 密码= password_to_go_with_above_user_name 4 b0 ?% M2 x" t# |: n
  36. getdriverfunc = getsqldrivermysql 4 a1 E8 b7 b9 A! b+ p0 J9 n
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 4 j7 |1 Q! \$ L; {% P- T5 N  a/ t
  38. libraryname = path_to_libsqlmy_libary
    & `* g" G: H7 ~$ H. T$ Z. E  ^2 k
  39. 积极= 1 9 V9 D1 G+ [4 W+ I6 n
  40. ---削减这里--- 5 g8 q/ y( m& y
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: & V0 Q# _- Q1 V5 i' i; v
  42. ---例如--- ! y$ D/ R8 Y( Z, I6 n$ B6 k& I
  43. [ dbexpress ]
    ; `: d/ q: S4 `0 W; ^, H( s8 r3 U
  44. sqldir = mysql_sql
    / k( W% o: D8 O, y
  45. drivername = MySQL中
    * n( I) \( ?" [1 J7 \0 e& [
  46. 数据库=测试+ a; [+ q, a5 V5 G0 P
  47. 主机=本地主机5 K# T$ p" }: p3 h
  48. user_name = testuser
    5 u, f4 M. Q- b4 m+ @0 ^
  49. 密码= my_password
    / K' N' h! ^& `  W( @3 m
  50. getdriverfunc = getsqldrivermysql
    . q2 B; o! ^6 @& p+ f
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    3 k1 p9 n; R8 I2 J9 g1 Z6 ~- R; I1 S
  52. libraryname =. / libsqlmy.so 8 X' W' b% B7 k" H% S* x  `
  53. 积极= 1 * q) Q( e1 }& h0 O  Q4 P
  54. ---例如---
    $ c3 ]* z$ B# A8 B7 s  D

  55. + A& V9 \3 o. c
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 2 y2 y0 |$ }* p5 ^9 G1 o& V& g
  57. ---例如--- % A  C; {& P' i% A
  58. [ dbexpress ] $ r0 l' Q; A. X7 b
  59. sqldir = mysql_sql
      {4 \2 ?# i4 c6 F9 z/ X% ]5 f
  60. drivername = MySQL中2 V3 f( }' \6 l$ ?
  61. 数据库=测试
    0 X6 p3 b4 ~. G( E# r- \: q2 N
  62. 主机= 127.0.0.1
    , q$ i  T: f9 H
  63. user_name = testuser + O0 M7 \" C/ h( g4 m: D
  64. 密码= my_password
    & n# L+ j$ S) S, i+ O
  65. getdriverfunc = getsqldrivermysql
    ' c3 p, o4 s) i0 M# h
  66. vendorlib = libmysql.dll在
    3 z" C7 o7 r( H6 |9 W
  67. libraryname = dbexpmysql.dll ( G1 ?* j6 R/ _2 Q+ K9 o8 [
  68. 积极= 1
    ) E9 m& U1 A7 A
  69. ---例如----
    9 x1 e# U. c3 e7 g
  70. -写在0 2.03.04由p wk.linuxfan
    ; n5 _1 H5 k9 m' l8 v5 U' K4 I3 p& \
复制代码
发表于 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
# F! `0 L$ D8 q$ Q% U" d
- S" s4 Y6 g% y. h8 M# J; Lbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-15 22:24 , Processed in 0.114396 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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