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

3009 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
, U. U! J- `, {3 F0 w6 I* }( r& T* c5 i* G0 ^# M
  1. 7 t' _  @  |" H, H8 {4 R
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######( M! t+ y- m& Y/ \& p
  3. $ \  K: e! }& T  \* Y: E2 u3 J
  4. ### What we need ###& R# }1 k  o3 |; D( L
  5. Naturally, we will need a MySQL server to store the data for us, this document
    - Y% C- r+ {4 m( q+ C0 b
  6. will not explain how this can be done - there are documents out there for the 9 n( f' g8 J* o5 D! X
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    & r9 s" Z) E' W7 V
  8. and a user account (username + password) that has the permissions to do stuff
      m7 D5 X! j% f' X
  9. with the database. Additionally, you will need a vendor library installed on the
    : g2 U% P# H4 }8 E/ a
  10. local machine, this came with my MySQL install.9 ^4 e# j- m1 G1 u7 O5 A
  11. These instructions will not tell you how you might transfer your data from the
    6 M+ s4 B: v& d
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL$ N5 T' j, Q2 w. c2 a' w! s9 M6 e% Z
  13. database.: V  C8 t, T) R
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    6 N1 `1 D8 {# N- B& t
  15. the time of writing, there are still too many issues - check the current status! U3 a& W5 @& q4 D6 l; Z( L; C
  16. in the TeamSpeak forums if you are interested.9 Q5 i' \" V* A$ I; g
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from$ R! L: ^  P3 i" p
  18. Borland was used. This driver can only interface with the client library that
    ' c; R. e  Z6 X% n- V$ {/ e
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    % h5 Z  ]9 V) k! m: x( @7 B& f
  20. client library - basically all you have to do is to use a 3.x client library as
      [6 a; x! ~/ z4 K: h
  21. "VendorLib" and a 4.x database to connect to.0 y' M0 F5 W9 w/ g) w8 m
  22. If you need more info about dbExpress, you can contact Borland.
    1 F3 f% t8 f& t, _+ ~7 U8 r8 T, W
  23. . b" z3 c- l/ M" X: Z6 c$ S
  24. ### Doing the work ###
    : Q; Q; X$ z7 E1 C8 D
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all8 C( A7 @9 ?: b) h
  26. the perquisites right, just open your server.ini file, and add this section at' h, Y. P- c- U/ W# _
  27. the end:
    2 y+ Y- b: s+ Y- T  w; C
  28. ---cut here---& @; c! _  v( S! v2 u9 m' {6 E
  29. [DBEXPRESS]
    . L0 s! p+ }: M$ a  y
  30. sqldir=mysql_sql
    # W6 B6 {, y& Y( j+ J, u
  31. Drivername=mysql, J) s2 p$ i0 s6 L- Q$ [6 W+ {# s" h2 ?
  32. Database=Your_Database_Name_Here
    ( E6 H+ l3 X% F# H" x
  33. Hostname=The_PC_the_MySQL-Server_is_on' a* `* k) h1 B' A: ^
  34. User_name=User_name_on_the_MySQL-Server8 ~" T  Z( g7 c4 _! r, C
  35. Password=Password_to_go_with_above_user_name% P% m  W5 K& _: j" r1 w# \0 \
  36. GetDriverFunc=getSQLDriverMYSQL
    4 b  U, r$ M8 w' H4 t) W
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib  L( ?. d1 |" K: I4 u6 M9 B* A
  38. LibraryName=path_to_libsqlmy_libary3 ?0 _# Z6 b, m8 E- n+ C
  39. Active=1
    / }; i0 J1 s4 D& p8 n8 U% d
  40. ---cut here---
    $ J" M  e8 w1 w' _2 D
  41. In my environment (a linux box with a MySQL server running locally) I have:
    . ^1 S+ f6 v3 P2 b6 E$ v
  42. ---example---
    * B0 M! G0 S/ ^0 ]: @5 V
  43. [DBEXPRESS]/ a1 Y6 n% {2 c9 v3 Q& Z- o* y7 T
  44. sqldir=mysql_sql) Y. e& Q" r1 ]' R6 E9 y
  45. Drivername=mysql
    ' A2 S/ H9 ~% y2 U3 r+ [
  46. Database=test6 T, A2 f( u6 q
  47. Hostname=localhost
    ! e0 x0 D' [: ^
  48. User_name=testuser
    ; l6 Z( N8 L! M) G1 p7 J/ {
  49. Password=my_password
    , U! V) }6 t" G1 r& C6 d$ M
  50. GetDriverFunc=getSQLDriverMYSQL
    ! r$ o# c* N% V, o
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    % Z2 T% Y8 J" n9 A& s
  52. LibraryName=./libsqlmy.so7 m5 g: k5 B! O8 R9 M
  53. Active=1; L1 [: \1 q* L5 C2 G$ i
  54. ---example---7 r; a% k1 j' @2 Y, |  F4 X
  55. . ^4 h6 a1 `5 `
  56. On a windows box, also running the MySQL server locally, it would be:& u9 h* e; B3 J0 {7 q5 F9 a
  57. ---example---. u5 R, }" n0 F7 ?3 _2 n( t3 \
  58. [DBEXPRESS]
    8 b- v/ |$ d6 H6 I( E) Y' k
  59. sqldir=mysql_sql! I* U9 i3 g( L( f3 `9 D
  60. Drivername=mysql$ F$ l  o- s1 s$ E8 D* r# ^; R0 }
  61. Database=test* `0 A! c3 ?: s
  62. Hostname=127.0.0.1
    ; Z! L8 T3 @' q* T& Y
  63. User_name=testuser
    ) m( O7 r7 y. U
  64. Password=my_password* {! U& |  |2 G, A6 {9 V) P
  65. GetDriverFunc=getSQLDriverMYSQL% h2 d8 J9 d: j' s5 [7 Y
  66. VendorLib=libmysql.dll
    4 x1 Z0 ^$ Z& O1 P2 d) W7 o3 n
  67. LibraryName=dbexpmysql.dll
    9 Y! C% d) [$ Z" r
  68. Active=1
    , L8 K" L5 v8 I) f* n5 e
  69. ---example----
    0 ~+ a4 d- e3 t4 S1 H; B% i6 K
  70. - written 02.03.04 by pwk.linuxfan
    ' E# q8 Y, E; K7 F* b# B3 ?* s

  71. . h* S: B8 C) I1 k
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看0 ]- f# Q0 _1 r1 G% t
  1. ( D, A$ s; e( e* p1 [: a, ~
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    : H7 O' |9 i$ f) X
  3. * L# h; ~4 x; x& H' J3 Q" U
  4. # # #我们所需要# # #
    9 Z/ x) I* {" s: j4 T$ q% C' O' P
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ; U0 l5 t- I2 F# ]0 c
  6. 不会解释如何做到这一点-也有文件存在,为
    3 Z0 g6 S1 Y& Z* H: G1 `% i
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用: x; @& O. n9 C* k
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西! T/ c& O. w- x& |
  9. 随着数据库。此外,你需要一个卖方图书馆安装于7 i* }; n) R! [  Y# Y1 [) J5 T3 v
  10. 本地机器,这是我的MySQL安装。 ! B% o& Z9 m6 z. a
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    & F, \9 C8 h9 g# X- ?2 ?! j
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL & k3 p& J8 _1 ~& O
  13. 数据库。
    9 ~* B3 {) L6 z3 L1 E
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    - A* }6 U% v# A- u! L! D$ o; ~
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    8 F$ O( D/ }! h" O
  16. 在teamspeak论坛,如果你有兴趣。
    / Z0 Y' k8 A. i
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ) z+ H7 f9 Q4 r" z$ a" j+ q  b
  18. Borland公司使用。这个司机只能界面与客户端库# C" N% M8 H0 [# F! P
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这* |2 M; ]% Y9 F* `
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ) m: r7 _% Q# |3 o' I
  21. " vendorlib " ,并解数据库连接。 6 F. z- ^6 }& R+ G0 o
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 8 |+ }, e  k. e9 e: U( R

  23. 4 _' w5 ~6 s7 q! E. @% c
  24. # # #做好工作# # # . K7 P6 V. q& c6 Z$ B
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    , d7 |! T) v$ |1 B5 s+ G, D/ Z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在  u3 H1 o  _3 z! ^, g4 i
  27. 结束:
    6 L" n3 W# b; I& `; x6 h- U
  28. ---削减这里---
    ( p# v4 i$ ^/ P) Z" A
  29. [ dbexpress ]
    1 ]- C  Q$ f( m% A2 X0 S" I8 n% H( z
  30. sqldir = mysql_sql
    9 D5 _3 |8 m9 \' U/ B
  31. drivername = MySQL中
    4 n6 E( z+ u" R7 y  _' Y
  32. 数据库= your_database_name_here
    9 B# N/ n/ x6 p: \$ l$ r  q- X/ E
  33. 主机= the_pc_the_mysql - server_is_on
    4 d. |, ^* c: |7 w# q6 x6 v
  34. user_name = user_name_on_the_mysql服务器$ t) v" ]9 l* Q3 I" {
  35. 密码= password_to_go_with_above_user_name
    / _) x5 p5 N: h
  36. getdriverfunc = getsqldrivermysql # Y. {, p- P: p( O( [" s- W
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ( }. Z0 j. h3 B
  38. libraryname = path_to_libsqlmy_libary ) [9 ^' `3 d, {% P( ~; M$ O; {3 i$ \
  39. 积极= 1
      b: Y& c; x* G( W8 F8 n2 d! h
  40. ---削减这里---
    , f7 V  ^) U0 ?$ U- \( o' D9 E
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    8 x# U: g# k/ B  S4 k( @' |
  42. ---例如---
    5 J. g+ @: T: x; j# A$ ]" K& B
  43. [ dbexpress ]
    # ?& b8 d5 ~6 F# x$ f7 t& @
  44. sqldir = mysql_sql
    6 s0 N, s) |7 O% d
  45. drivername = MySQL中( B9 }( t9 d6 b9 p' b
  46. 数据库=测试( Q' [4 Y6 h8 a9 z6 _! T" [
  47. 主机=本地主机
    . p5 A$ {( S1 @6 }, q
  48. user_name = testuser
    . [' l; l; q6 T6 |' a
  49. 密码= my_password 9 C$ t5 ~; j9 R" ^& n9 Q
  50. getdriverfunc = getsqldrivermysql + G7 R5 l) B" ]& E
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 , _* ]8 f9 J+ {+ Y' ?- C. b
  52. libraryname =. / libsqlmy.so 7 n7 ?6 R9 p+ E" d
  53. 积极= 1 ) I" Q1 |+ m1 z& s' N. W
  54. ---例如---
    7 C# k: B" Q+ O1 ]% J. X5 b
  55. 3 {( L7 \- I/ R# v2 c( ~
  56. 对Windows中,也运行MySQL服务器本地的,那就是: : |, v: g# ~1 X3 }: X' k
  57. ---例如--- / L" v& D* `* ]* s6 G8 S
  58. [ dbexpress ] / S, L+ H9 Q9 E3 X9 O
  59. sqldir = mysql_sql 4 Z# `* R5 e7 m% \
  60. drivername = MySQL中
    3 z$ |& T7 ?! f$ \# u# P
  61. 数据库=测试% k1 e$ e0 P: h$ ?9 l& j, Z
  62. 主机= 127.0.0.1 5 x- F- O; K7 z4 z- g" }
  63. user_name = testuser
    / }+ k, O& a6 p1 N2 l1 E. ]" U
  64. 密码= my_password ! z  R! }0 A% B7 ~# n8 S; h
  65. getdriverfunc = getsqldrivermysql
    1 g3 |4 x4 F2 ?8 y6 C! S
  66. vendorlib = libmysql.dll在
    7 n+ x; N8 z$ V2 w/ I( p
  67. libraryname = dbexpmysql.dll
    / F8 E! M9 y7 m
  68. 积极= 1 9 R  n3 T0 {& {$ P3 r
  69. ---例如----
    ( y, g' u8 T! @/ h
  70. -写在0 2.03.04由p wk.linuxfan
    8 N2 ?3 D$ A6 O4 Q( d$ o
复制代码
发表于 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
# H" |8 q9 a+ Y6 D2 A
5 j  j3 ?  B: B4 w3 o4 y; i1 ibut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-11 18:14 , Processed in 0.104040 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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