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

2857 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan + c2 F% ~6 C' l" R' o$ I& H, M

# K. O& V; R$ X! K0 R

  1. # j7 t, ?0 V5 I! Q
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ' o2 ~  J6 |; E1 s* E% p

  3. 3 U/ f3 r! s7 I* y0 V7 @. |
  4. ### What we need ###
    1 }7 p. K" |4 B, t5 |
  5. Naturally, we will need a MySQL server to store the data for us, this document 4 R' Z4 ~4 M2 y( M
  6. will not explain how this can be done - there are documents out there for the
    ( x/ ?) s+ }+ [8 W4 A
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    6 T- Z. W2 q3 E! y) O) ]
  8. and a user account (username + password) that has the permissions to do stuff
    , B% \4 L: R* l! Q2 b# l
  9. with the database. Additionally, you will need a vendor library installed on the; L. s4 q4 |" k% f! j/ @3 }6 A
  10. local machine, this came with my MySQL install.
    ! H6 b. _# e" ?7 U2 |4 V
  11. These instructions will not tell you how you might transfer your data from the( L. R! f$ q; j5 T9 t
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL7 g1 \/ L; R/ p) ]" }! g# q
  13. database.
    5 `) z0 J/ g4 r/ U1 D  n
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    4 D2 L( _; u9 f. m" t# _
  15. the time of writing, there are still too many issues - check the current status
    3 z! @0 f6 x# C
  16. in the TeamSpeak forums if you are interested.
    8 w- z1 X2 F" o1 [8 J
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    2 d7 E& S1 [+ X6 U0 k" i
  18. Borland was used. This driver can only interface with the client library that
    7 X2 j  g' U; A0 @* G% `
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this9 W' ?8 a. O$ R
  20. client library - basically all you have to do is to use a 3.x client library as + @8 p4 u$ b. y8 _7 s: L* W; b
  21. "VendorLib" and a 4.x database to connect to.1 d: a1 V& X: b% B' r
  22. If you need more info about dbExpress, you can contact Borland.: L2 n# J& s+ |1 Q9 ]
  23.   k9 v2 }1 b1 j2 P* w  z, e
  24. ### Doing the work ###& Q" X- J  \6 V
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ' F- Q7 Y5 q8 t8 j3 a1 J( Q7 }& i
  26. the perquisites right, just open your server.ini file, and add this section at
    5 P6 k$ W/ d: ]# j
  27. the end:: I, P1 o' {% A& D" g
  28. ---cut here---/ T$ v$ }) i$ \# b# S* V
  29. [DBEXPRESS]
    " d# t# k# Y0 ~/ Q- s5 O
  30. sqldir=mysql_sql( J; O; q9 L% n# m: o# V
  31. Drivername=mysql2 n# b1 t1 ?5 q0 l
  32. Database=Your_Database_Name_Here
    5 y# T0 H5 ]- d0 j
  33. Hostname=The_PC_the_MySQL-Server_is_on
    # l) P5 n. J' e* {8 s& @/ S+ l
  34. User_name=User_name_on_the_MySQL-Server
    - `' B6 s) w, y  B% n3 G' y0 ^
  35. Password=Password_to_go_with_above_user_name
    , C1 c( Z% y' d0 x
  36. GetDriverFunc=getSQLDriverMYSQL/ V9 U/ h6 |+ q
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib+ A( x1 w2 L4 H% A1 w+ l  G9 W
  38. LibraryName=path_to_libsqlmy_libary
    ; ^8 s: f: ?- T, z
  39. Active=1. ]& @8 B& P& [' ?3 a. I. H  a4 C% W# A
  40. ---cut here---
    - j# l. j, o( D5 c# G
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ! E+ E/ Z) |& I" H, S3 d
  42. ---example---+ \( R1 L( v' q8 r+ b/ M( w
  43. [DBEXPRESS]1 r( a  @/ z' V, O0 m, N
  44. sqldir=mysql_sql6 S' @: u9 }% y/ S' d- o
  45. Drivername=mysql" U7 B6 Z. `$ D8 F
  46. Database=test
    $ S7 d8 x; o6 q6 e5 g
  47. Hostname=localhost
    " u/ [* g0 O0 y1 n
  48. User_name=testuser8 R% s3 m( P5 M' r
  49. Password=my_password' d, T2 D& \1 Z, @$ M4 n1 ]
  50. GetDriverFunc=getSQLDriverMYSQL4 k4 j$ X/ Y' T2 ?: ^
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    - z; K3 p6 L8 R+ {# c0 p
  52. LibraryName=./libsqlmy.so
    " \! v" R2 [/ `2 v
  53. Active=1
    8 G: ^7 c' G* i! ?. b. R
  54. ---example---! c- j. I8 y; w1 P6 |1 J* q

  55. 5 x* o1 ^/ E4 _! D6 N
  56. On a windows box, also running the MySQL server locally, it would be:
    + i2 u, v  Z6 [, a% W5 h# ]& u0 A
  57. ---example---
    6 `. m- C5 x3 Z$ T
  58. [DBEXPRESS]
    6 m- ]- ]! b  x3 V  w- M
  59. sqldir=mysql_sql
    ! D/ O, @) A4 t! G3 o8 `. t
  60. Drivername=mysql
    + |: r; l6 o8 _0 u9 C5 k' z
  61. Database=test
    $ @3 U5 {+ g+ D" |% ?  g! A
  62. Hostname=127.0.0.14 I' i# a$ E. K9 {; b6 J
  63. User_name=testuser! }2 ?5 ?4 r1 Y) T! W7 K
  64. Password=my_password1 z0 h$ k2 R) w; f: I
  65. GetDriverFunc=getSQLDriverMYSQL
    $ L# @+ R- t3 |; a3 f/ ?' w6 j
  66. VendorLib=libmysql.dll
    . v6 R' k2 c! N9 D% b$ C: u: D! ~
  67. LibraryName=dbexpmysql.dll  q0 O! L# u( k" Z
  68. Active=1; ]4 g. I0 i) I. j3 v
  69. ---example----! O, _. y- x" N# A
  70. - written 02.03.04 by pwk.linuxfan
    7 G, a1 H( @7 D6 j$ M

  71. 0 _/ Q; H" s1 p  ~: A% l
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
8 U' J- Q- F# o' s* j" E
  1. 0 Q+ p1 ^4 n+ |0 s
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### - [$ d0 }5 l+ B* V' E
  3. 1 p# A! k  O! }! T" C$ X% J$ R
  4. # # #我们所需要# # #
    $ l( X$ [( ]9 G; b9 x
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
      d; Z* @5 Z8 B* _. I: B; s5 E- F
  6. 不会解释如何做到这一点-也有文件存在,为
    $ v4 a# `7 F$ K/ V4 g7 D
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    3 K, Y* _& l7 g& }
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西8 A) k8 l, `/ }6 \9 y
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    7 E2 S# }! _* y& i6 ?
  10. 本地机器,这是我的MySQL安装。
    4 s9 w5 E0 \' S* H$ a/ b  I
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从% B+ i! j% k5 a' n
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    # e2 g3 Q. x# s1 ]! @- V
  13. 数据库。 , I- x* W; y8 E! J. t
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ' [# ^1 C5 L0 u! j
  15. 编写本报告的时候,仍然有太多的问题-检查现状. R: w4 u/ w, D
  16. 在teamspeak论坛,如果你有兴趣。
    6 B5 t/ l( U) @/ G" _+ [
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机2 o7 }3 W9 R# I* Q
  18. Borland公司使用。这个司机只能界面与客户端库, l/ U. p2 Y" o5 z: N3 W
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这4 q5 \+ P* ~) C2 O  J/ U: f
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    6 A4 d0 ^& d5 K3 K$ H
  21. " vendorlib " ,并解数据库连接。
    9 ]0 Z& V$ g0 ~
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    / y- E) u" e8 R, R/ |) C7 g
  23. + q" z, H. k4 Q, Y8 k. j" J
  24. # # #做好工作# # # # v" q' b' e+ e7 O
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    / R% {' b7 O" `5 M0 }
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在$ K0 [$ i6 y  _) }
  27. 结束: 5 I4 b$ r; ]& Y$ x4 f
  28. ---削减这里--- ( f  O& N( x5 x0 M6 c/ R% g
  29. [ dbexpress ] 0 v  i+ B' X8 t' |& {+ ?& f
  30. sqldir = mysql_sql 4 R6 r" z' u6 q1 y
  31. drivername = MySQL中! S& [& r4 z1 c. v  v7 T( ^
  32. 数据库= your_database_name_here
    4 `3 U8 U; l% b4 _$ C2 c
  33. 主机= the_pc_the_mysql - server_is_on * H+ o5 i6 t& {- m3 i9 v0 z
  34. user_name = user_name_on_the_mysql服务器
    : {- c1 K  T6 F( r
  35. 密码= password_to_go_with_above_user_name
    5 R* U: E. X. k! ]4 ^
  36. getdriverfunc = getsqldrivermysql
    - U6 ]6 A4 b. I% M
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    : `& _( z; q. L* `
  38. libraryname = path_to_libsqlmy_libary ' e( m& W* y# K0 \* g8 P; w
  39. 积极= 1 + E& M7 F8 ]$ ]- ?
  40. ---削减这里---
    + h* o- d* ~" c6 D4 W) |! h
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 3 v! H+ Z( N7 T& w' _4 n( t& S7 [
  42. ---例如--- % W* v7 @; @) L! V
  43. [ dbexpress ] 3 L" T( Y  s; y; X1 y+ f& ]
  44. sqldir = mysql_sql
    , t, Z' E+ J$ M& H3 N4 Q$ i
  45. drivername = MySQL中7 g) h' C( t1 w0 K$ U1 S2 _- {
  46. 数据库=测试1 e: D6 @  F& B4 n- k5 v( ?
  47. 主机=本地主机& D2 }8 c3 T* }6 k9 I) ^
  48. user_name = testuser
    5 p, r* U4 C  z3 P' {& b5 W
  49. 密码= my_password , _- `! T9 V9 m9 {' j
  50. getdriverfunc = getsqldrivermysql
    0 |7 X9 E* a; z3 C- L: j; ?, d
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    7 T/ e' Q  _9 ]3 _
  52. libraryname =. / libsqlmy.so
    " c5 j) s: N8 U
  53. 积极= 1 4 ?6 R1 ^3 d& Z- c" r
  54. ---例如---
    # B( m3 b% _; a3 v' L( X% a
  55. 8 K! Y* h* n% a0 V( k  q) z
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    7 R' V% u% i" e9 ~2 e8 V( L; S
  57. ---例如--- 9 a, y8 d' e4 d' e& W2 m+ ?
  58. [ dbexpress ]
    7 A. n" A3 p' j4 M% m
  59. sqldir = mysql_sql 0 B$ H" q$ r* w) \+ W4 U4 H
  60. drivername = MySQL中4 K+ ~) k3 J* N: z$ O
  61. 数据库=测试4 ^; k" M; Z" z+ @/ X# H- t
  62. 主机= 127.0.0.1
    9 |2 O: f4 e# f1 r
  63. user_name = testuser $ t& P1 _6 P. S
  64. 密码= my_password - }9 @! A( S0 j2 a8 w
  65. getdriverfunc = getsqldrivermysql ) K6 d* h  Q' J, M. d0 z* y
  66. vendorlib = libmysql.dll在% Z& Z2 }0 ?2 y3 G9 P
  67. libraryname = dbexpmysql.dll
    0 N9 Z, l0 v1 A
  68. 积极= 1 / Q7 c5 J+ Y: {
  69. ---例如----
      h% U& B- n) m$ }5 d
  70. -写在0 2.03.04由p wk.linuxfan1 D  G# s# O; M2 l. r$ E2 ?/ y. y
复制代码
发表于 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- {" a1 U9 n  u: r  C% x

' C; n2 p4 A- Y* Jbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-8 06:27 , Processed in 0.098157 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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