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

2314 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 6 {2 {6 j5 i/ U3 I

8 d8 x& c' M, P6 a' {  u# a4 J
  1. 3 T+ O( c% q" t9 s; r6 V* q- K
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######  V& {2 l! Q5 Q+ Y7 ]  T6 Y

  3. 7 l) W5 [* C+ J0 x- t; j( h" N* q# K
  4. ### What we need ###, G' b+ z7 I3 u5 z8 x* i
  5. Naturally, we will need a MySQL server to store the data for us, this document
    , ^& S+ S- h. s: w1 [! ^' A
  6. will not explain how this can be done - there are documents out there for the
    / U; M$ c9 z- N- T1 s
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    / c3 ~$ J7 B9 J
  8. and a user account (username + password) that has the permissions to do stuff
    # b+ k+ }$ |$ G+ r0 A) F/ K2 A- k
  9. with the database. Additionally, you will need a vendor library installed on the7 Z6 S# ~. }5 y% X% F
  10. local machine, this came with my MySQL install.
      i2 K+ \* D) [) @* Z% M
  11. These instructions will not tell you how you might transfer your data from the
    - |% P5 a, ]' q5 n# O; v
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    & Q3 X+ g0 [. x1 @7 z
  13. database.
    : v! k& y; e4 d, c/ W9 W
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    - v9 h5 g: `2 U4 @  A
  15. the time of writing, there are still too many issues - check the current status8 u! q9 L. n, b: X. Q
  16. in the TeamSpeak forums if you are interested.
    - M) m% ~, ]6 `: U8 h+ W- O% L
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from5 ~0 \: v, G# J. Q
  18. Borland was used. This driver can only interface with the client library that
    " T6 F8 R0 b0 \4 T/ a
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this8 k; w" G3 T1 o  ?2 ^6 R- j
  20. client library - basically all you have to do is to use a 3.x client library as
    5 y3 {' U$ P4 I5 H) U& \# n# z
  21. "VendorLib" and a 4.x database to connect to.
    4 U, u/ B5 E6 }* M0 b0 Y% k
  22. If you need more info about dbExpress, you can contact Borland.- u8 }: A8 u% C/ L

  23. : |8 P( p2 j; y$ n+ L" c$ C
  24. ### Doing the work ###
    3 Y3 Z0 i4 ^* B. {3 N
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all  I  [+ B1 r  E2 s" S9 a
  26. the perquisites right, just open your server.ini file, and add this section at
    + {# k- F7 [. ~6 B
  27. the end:
    ) G2 ^5 c& X9 j/ l& H! D
  28. ---cut here---
    4 [% v7 ^; N; q% S) Q
  29. [DBEXPRESS]
    ' ?: M, ?2 U/ |& ?. \
  30. sqldir=mysql_sql
    , u9 l3 [6 m  m: r; b  P
  31. Drivername=mysql2 x+ x6 w0 l" W' @3 [. b  G' B
  32. Database=Your_Database_Name_Here
    * w. I) F: R; r/ t  j$ d2 K
  33. Hostname=The_PC_the_MySQL-Server_is_on1 T% ?4 p. E) ^8 ?$ ^% \
  34. User_name=User_name_on_the_MySQL-Server% A4 e; L3 k; Z7 N2 Z
  35. Password=Password_to_go_with_above_user_name4 P$ n2 N- Z. y0 h) `- X
  36. GetDriverFunc=getSQLDriverMYSQL
    ; ~' B" Z9 [6 I4 g# h
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib& Z6 R% @' q) y- `; ]) F) ~/ K& N6 @
  38. LibraryName=path_to_libsqlmy_libary/ S1 v: X$ l# \( ]  N
  39. Active=1- o! e9 x) p3 h) c1 |% V; }
  40. ---cut here---
    $ n/ O1 i9 g' m: D+ f3 J" v
  41. In my environment (a linux box with a MySQL server running locally) I have:$ K  v6 I1 s; K4 d( @
  42. ---example---
    # e6 m, V: N% H' H
  43. [DBEXPRESS]
    # v! U$ y. g% t
  44. sqldir=mysql_sql4 D$ W" t4 }7 s5 W/ V2 Y" s8 q5 O7 B
  45. Drivername=mysql
    4 Y7 m5 t7 l6 o- G  E
  46. Database=test, D& O% C" T) b6 h6 J2 w9 ]
  47. Hostname=localhost( W# y' D' h; h3 M8 n% v# u& t
  48. User_name=testuser
    * `) b+ \% {- x1 R3 C& u7 u
  49. Password=my_password! N0 p# [( x% i$ ^0 I( L  A
  50. GetDriverFunc=getSQLDriverMYSQL/ `9 n9 Y( C  F2 s
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.07 @! P  {8 _) N% ^; U+ V: Q
  52. LibraryName=./libsqlmy.so, A' Q; g: F; J) X
  53. Active=1
    ( F6 |; ^. S. j6 s, x. V
  54. ---example---+ q. n  q) i8 t3 h' t

  55. 8 T3 q& i, d; t( ]
  56. On a windows box, also running the MySQL server locally, it would be:
    # ^8 V7 g  z% I
  57. ---example---
    4 C# @4 d! Q2 y' H' @
  58. [DBEXPRESS]" l% j% x, ]) O- [$ E: x* }! W
  59. sqldir=mysql_sql; n6 n0 W: R) t* U) g+ y2 R2 O5 J
  60. Drivername=mysql
    5 n& |! [( a9 U0 B0 ~
  61. Database=test* @" I/ K  U, H6 M% P+ Q
  62. Hostname=127.0.0.19 T- G9 n- B' X# o
  63. User_name=testuser! \4 @2 h+ [  m
  64. Password=my_password, a  D4 h4 Y4 _9 j
  65. GetDriverFunc=getSQLDriverMYSQL6 M" X! e! Q& O/ n
  66. VendorLib=libmysql.dll
    3 L- U( `6 P1 [% e: z; l+ l4 g
  67. LibraryName=dbexpmysql.dll2 v; z# k" ?- _
  68. Active=1. e# d  e, r" s9 O& z4 \* w, x) Z/ E9 n
  69. ---example----
    $ a: k* k. U: ~& R$ f. d
  70. - written 02.03.04 by pwk.linuxfan
    * f# |6 b9 i5 s
  71. 6 V% O' B  d" z
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看8 o  Y1 S9 Z/ h) y$ d3 _

  1. 2 v8 ^9 c- c; m# m% g; c" x/ X
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    % W8 I0 y- b1 G+ S

  3. # j0 Q  X$ \+ v; V! N! z- `4 C
  4. # # #我们所需要# # # % R5 B" H" M3 W, @! ~( R% y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    # D# _1 y% `( h6 h' J
  6. 不会解释如何做到这一点-也有文件存在,为
    - F( ~/ N  T, S4 e, V
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    % P  C: b3 H2 n+ ^9 a
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西: y, k! {+ @8 B
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    9 Y* y- ]5 F, `) B2 R3 D3 n+ ]
  10. 本地机器,这是我的MySQL安装。
    ( h2 I% Y3 t# L: k2 }
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ; ?8 n/ i' v& `  p0 T# A' i/ h% y- B2 S
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 1 C, t' o8 ?  a: K! M% ~  J" ]
  13. 数据库。
    7 u. N. |& ?% {9 F! w% Q3 C2 v
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ! V* {/ @5 w! j. {9 L" ^0 U
  15. 编写本报告的时候,仍然有太多的问题-检查现状( T+ W8 }9 i" ]2 f& t; }0 J
  16. 在teamspeak论坛,如果你有兴趣。
    % f& u# b7 c$ r7 V* n
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    5 @* V2 N, K" X% H  U9 A9 f
  18. Borland公司使用。这个司机只能界面与客户端库8 z1 `  _' ^2 [/ [* T$ m) e0 p
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ! i; g8 G) h" T% F3 D
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为# ^7 ]/ [2 W7 @( u* a' ?
  21. " vendorlib " ,并解数据库连接。 ! B' Q' S. |% Z: c! |
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。   B- x; H: r& q
  23. " T# Q/ l6 R% N2 v
  24. # # #做好工作# # #
    : @. B. Y3 o0 z' z0 Y2 ~  G# b0 r
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    * i7 D' O) z1 O+ ]9 t$ Z) j& n
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在8 c# L( s8 P# _; E# l  L
  27. 结束: % z" u+ G, F8 O# D  I" ^7 f
  28. ---削减这里--- 3 d) P$ s7 S. g: {/ N
  29. [ dbexpress ]
    , r6 R& _7 e3 o" s* I6 ~
  30. sqldir = mysql_sql
    # t0 j0 B! Q, v' t; ?
  31. drivername = MySQL中
    3 e2 n) T" e! Z) m9 M
  32. 数据库= your_database_name_here + _0 v0 X% y; }: C
  33. 主机= the_pc_the_mysql - server_is_on
    2 G' Q5 ]* F' D
  34. user_name = user_name_on_the_mysql服务器
    9 Y0 [9 {" U/ ~! g  J: E' q
  35. 密码= password_to_go_with_above_user_name $ {- B5 k; }- y2 g8 N
  36. getdriverfunc = getsqldrivermysql 3 j6 ^" |4 u9 B4 {0 L0 C
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    2 B& v2 W7 {4 v/ t7 r/ R2 Q( o
  38. libraryname = path_to_libsqlmy_libary   |0 l% B; v: W' w4 E2 G
  39. 积极= 1
    ) a- C  l# n' o. F4 G+ g
  40. ---削减这里--- 4 w# l; j# q- x& f7 e
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: . }" L  E/ @. `' K6 f, g
  42. ---例如--- - Y7 ]' S& _9 Y: c
  43. [ dbexpress ] 1 @5 e  l7 f. U
  44. sqldir = mysql_sql 1 r- T$ N3 @4 k6 H' e/ I. Q; G1 B
  45. drivername = MySQL中  D1 I+ l. q3 x' s) i! [1 C
  46. 数据库=测试
    1 C2 n) I9 J" `) |* `7 p; W
  47. 主机=本地主机
    8 c' Z9 p; q: f5 g3 i# }/ I
  48. user_name = testuser 6 n& N& e" G6 [8 |
  49. 密码= my_password " Q- P0 u1 _) z/ g0 I" T
  50. getdriverfunc = getsqldrivermysql / M& O6 ~. n- w3 I1 T
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    3 O- [. e3 W: F' h/ C8 ^, [- |2 `& {
  52. libraryname =. / libsqlmy.so
    0 ^% \: \0 v' {! `3 \
  53. 积极= 1
    3 |& |5 [) F- O( \
  54. ---例如--- 3 ?* a8 G3 x/ X. v! o2 {( q4 j

  55. $ d  y  w- n. u, e+ R
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ; A  T4 x. W  H8 M& V- x* m
  57. ---例如--- ! u' ?& Y' R: h- |! w* @3 X% {
  58. [ dbexpress ]
    8 c2 P- A) m) |& B/ T
  59. sqldir = mysql_sql ' x4 ]3 T3 h+ l
  60. drivername = MySQL中2 T; m$ U- o; Q0 G; y7 X% x7 j: P# X6 u- `
  61. 数据库=测试: z1 ?: k! e8 N6 C7 E& g
  62. 主机= 127.0.0.1
    " `. r0 K  n- I# k, r6 B
  63. user_name = testuser
    $ w4 K/ Y5 V4 v0 ]4 C* Z
  64. 密码= my_password 6 w" ]* m) D. K+ z) N/ z
  65. getdriverfunc = getsqldrivermysql
      `) F% F. h( K' j& R) x; Y/ S
  66. vendorlib = libmysql.dll在
    4 a* y( r: j" b" o5 E1 e$ ~
  67. libraryname = dbexpmysql.dll
    $ z1 n' u- D# P+ x( V3 w& Y
  68. 积极= 1
    . F1 g% O; J/ J, u2 N
  69. ---例如---- 3 D8 {3 D9 ~: |+ W7 ^
  70. -写在0 2.03.04由p wk.linuxfan4 c( J: G- S/ h
复制代码
发表于 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 words5 @8 v. N* N! s+ O

  |$ G; ~& b9 n( R+ Lbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-18 23:03 , Processed in 0.089094 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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