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

3492 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ' d' _" k6 j3 ^8 H
5 L+ {; {9 o) A  j" y4 M1 D

  1. 4 l2 C& X% }4 b3 s) e& U, j
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    # I8 Y2 F. m* y0 y

  3. 6 B* {$ U" a1 |* C" g9 W% }
  4. ### What we need ###) Z6 l/ b# j5 P' A8 w& l
  5. Naturally, we will need a MySQL server to store the data for us, this document
    + P' y" M8 C4 f. `
  6. will not explain how this can be done - there are documents out there for the 0 }- L1 j1 E" {# j! D# `) N
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    6 K' l/ x- }2 ]" ?9 ]  l' p/ C6 x
  8. and a user account (username + password) that has the permissions to do stuff
    $ R, U$ F2 ~6 Q1 L' y
  9. with the database. Additionally, you will need a vendor library installed on the
    3 H+ F' z( t9 g" B  |
  10. local machine, this came with my MySQL install.7 z- k8 D' ?  Z: L2 Y: f( K5 ^
  11. These instructions will not tell you how you might transfer your data from the$ `$ f+ b) \6 V$ m! B- c5 P
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL6 {  u6 E1 a& e' U. L, Q
  13. database.
    & P* ?/ J1 C8 J* I# W! ~* I
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    - j' n% H4 S/ _5 K  y& y
  15. the time of writing, there are still too many issues - check the current status) U( f8 k4 H& n+ }' ^. e
  16. in the TeamSpeak forums if you are interested.
    - A# g9 d7 c; |1 E9 K
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ; `/ f0 v2 y$ |. |" S
  18. Borland was used. This driver can only interface with the client library that . a, N! u/ \2 h$ u4 D  I7 I
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    - U" G6 \6 K5 ^% e7 _9 p& l
  20. client library - basically all you have to do is to use a 3.x client library as
    - `% i% |' ]) @4 u5 f8 D
  21. "VendorLib" and a 4.x database to connect to.
    / q/ E! X4 a: {' |( }: _- m
  22. If you need more info about dbExpress, you can contact Borland.
    0 t3 S3 |1 x' N3 E6 |& L
  23. $ c6 c! H, e/ G
  24. ### Doing the work ###
    ) L5 S- W" u# m! W% A/ h
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all8 V% Y* T! T" }. e
  26. the perquisites right, just open your server.ini file, and add this section at
    ) P# x( g$ g. g* @( w4 }7 P
  27. the end:) K" S+ R5 J- z6 Q" Q
  28. ---cut here---* s+ L1 H1 S# b& ]3 W
  29. [DBEXPRESS]' Y2 X% F% a0 B! ]
  30. sqldir=mysql_sql
    " J  R  v6 u# i& G% n
  31. Drivername=mysql
    9 z4 W. S) C' ?+ g7 Y! X
  32. Database=Your_Database_Name_Here. R) H8 ^$ [9 e/ i
  33. Hostname=The_PC_the_MySQL-Server_is_on/ a+ u$ }% E7 w+ ]/ `6 i9 Q
  34. User_name=User_name_on_the_MySQL-Server+ q5 ?& n" u8 {( s( D$ d$ Y5 e; e
  35. Password=Password_to_go_with_above_user_name1 G+ x: X' @# s, b
  36. GetDriverFunc=getSQLDriverMYSQL# E2 p+ h7 ]8 k% ^! }; c8 m; j2 i
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    9 O1 `7 }) @3 E- q  H! ]0 {5 U' ]
  38. LibraryName=path_to_libsqlmy_libary; N3 O9 K. M1 p
  39. Active=1; e* u8 T( z/ S2 `) @1 }
  40. ---cut here---+ c8 {0 j1 [: K8 [
  41. In my environment (a linux box with a MySQL server running locally) I have:
    6 G2 X1 Q' Z& Y$ ~$ n9 G$ c: N
  42. ---example---
    * _4 f4 u. L4 S% }6 w2 C0 f
  43. [DBEXPRESS]3 `) X0 M+ Y( d* m' ]! r
  44. sqldir=mysql_sql+ U9 K( \# g9 C* Q
  45. Drivername=mysql
    & ]5 I) h* x$ @5 X3 h# @3 i
  46. Database=test8 S# P4 x5 g+ I, i3 ~; S% \
  47. Hostname=localhost8 ?& s2 p6 F- }6 u
  48. User_name=testuser: B. b( c% d  n. _! Y6 X& l7 \6 }
  49. Password=my_password
    # x% f5 q, f. z$ b; q2 V$ a
  50. GetDriverFunc=getSQLDriverMYSQL  R9 R% _3 B8 _) ^
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0- V: n9 N0 k. h& l0 T, q
  52. LibraryName=./libsqlmy.so
    2 }# M, k" P, n* Y7 s" }
  53. Active=12 b, H4 v: J" H- x
  54. ---example---
    - Q8 J; i; Z- p9 k: Q; j
  55. 8 }3 w! @% F2 q, L- w: }
  56. On a windows box, also running the MySQL server locally, it would be:, `. A' z7 k' \& \9 e5 t1 r) I
  57. ---example---1 U% {  e0 ~8 Z
  58. [DBEXPRESS]4 {! V. {& Z5 @$ L3 @( l
  59. sqldir=mysql_sql
    9 G) K9 N5 ^* h
  60. Drivername=mysql! D. j5 T) J  Z9 R( P0 ]
  61. Database=test
    ' d9 i3 N( R" B3 f) c/ p
  62. Hostname=127.0.0.1# N& [2 [3 {2 ]
  63. User_name=testuser1 u% u) J6 N  B6 t
  64. Password=my_password8 F+ _0 z/ |3 ?/ G6 _0 J9 {
  65. GetDriverFunc=getSQLDriverMYSQL
    / |  k1 r. B6 s, a5 g$ n) @) W" l+ A
  66. VendorLib=libmysql.dll
    ( X' w' v4 x  e1 ~2 z4 }9 j  t# O' E
  67. LibraryName=dbexpmysql.dll
    & S. D5 B% y; k6 K, B
  68. Active=1
    ; U; l8 c0 N2 L- @8 x
  69. ---example----  M" h( n$ i+ @) \5 @
  70. - written 02.03.04 by pwk.linuxfan# ^! L9 J9 w8 u/ A1 [8 A+ O$ F

  71. % e! x- M" w  p; j8 Q
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
7 r4 f6 P6 z9 g
  1. / d7 a  ^6 r' M- g& J$ ?$ `: C
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ) _8 R, S8 j3 t
  3. 4 Z$ @/ h3 u6 o" ^. @
  4. # # #我们所需要# # # ' g$ k  ?9 p7 R8 b4 \- h
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    9 G* L$ m3 T! a! Z' Z3 u$ |
  6. 不会解释如何做到这一点-也有文件存在,为
    # w: E8 ?! j6 ]1 ~( l8 v1 m
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用7 j) x+ d9 h& j* W
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    8 q% X+ x) D7 _8 ?7 U1 r2 w' |- M' R
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    + C+ ?5 |, n, x  O4 Q) \
  10. 本地机器,这是我的MySQL安装。
    ) W$ R2 I# @% y! G; p
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ; F3 M/ R' w6 G: r" S
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    # w! ^5 \( A. G! h' Q) m5 @
  13. 数据库。 # ~; V- R' ~9 O% R
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在2 }2 c5 @) l$ H5 ]4 [# a
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    # P) N% P3 Y( w6 w
  16. 在teamspeak论坛,如果你有兴趣。 ! ]7 v8 \5 i& R# }$ t
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    6 S0 r% `& ~0 |  F" L
  18. Borland公司使用。这个司机只能界面与客户端库- ~$ H- D5 V: \  f
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    % s( i  Z. V0 {2 Y7 x! x
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为" r  w6 T: @; b* t8 j) U1 m9 n0 t
  21. " vendorlib " ,并解数据库连接。 ' E0 {9 @4 Y8 T1 k% r
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    4 \7 g: w# ]; ]/ ~+ x
  23. 1 z4 M& g' J# b- m' B
  24. # # #做好工作# # #
    % |( U8 J6 K# w  v
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都! p8 X+ f7 ]5 W9 r3 W; }; l( `
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ; k; x/ D0 ^5 _" u/ p/ _
  27. 结束:
    & m# v1 [0 h  q3 b, V0 P
  28. ---削减这里---
    : @; C4 m- L, d# h$ ^
  29. [ dbexpress ] 5 d- Y3 ?& [7 a
  30. sqldir = mysql_sql 9 W4 Z0 Q- T! c9 g' B; o
  31. drivername = MySQL中9 O1 q' \& m, z7 k* |8 Z/ @
  32. 数据库= your_database_name_here & G8 u8 @4 g- N
  33. 主机= the_pc_the_mysql - server_is_on 5 B7 t3 R7 G+ K/ y0 c! V* g1 @8 B
  34. user_name = user_name_on_the_mysql服务器
    # r% j' J: S# ]3 q' f
  35. 密码= password_to_go_with_above_user_name
    " Z( {2 F3 O  \
  36. getdriverfunc = getsqldrivermysql / I) s8 S1 G. f- K, [
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    6 f3 [) r6 W8 Z& [# v! V
  38. libraryname = path_to_libsqlmy_libary 4 k5 O% B# |6 \" N
  39. 积极= 1
    3 k% u2 P' ^: X0 I8 V
  40. ---削减这里--- ) O& S4 p- O( y/ v$ E4 W  [
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    % e5 B: Z4 P1 b# K+ ^3 g6 U
  42. ---例如---
    ; D( ]3 _( k/ D  A! Y" l5 M$ J9 Q
  43. [ dbexpress ]
    0 |8 G: m7 a$ _. V! G5 u. f" l
  44. sqldir = mysql_sql 3 Z. F' Q  r4 _% h
  45. drivername = MySQL中
    0 u; n2 K" C/ _- N
  46. 数据库=测试
    0 Y6 B- d3 a  N* c9 v. `+ f$ s
  47. 主机=本地主机
    + G% T# x+ z# X: w
  48. user_name = testuser ; A) h" p" i" i3 t2 z# N
  49. 密码= my_password
    & |6 _9 u! X# Z
  50. getdriverfunc = getsqldrivermysql " T4 s) w. J3 m! F( S7 W0 T
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 2 Q! S* @8 D8 g  h4 |- W; ?
  52. libraryname =. / libsqlmy.so . ]% O  v% g4 O% l, d8 u: T) W$ o; M
  53. 积极= 1
    / }  q1 ?/ e# G& H2 x, f
  54. ---例如--- ( g& ?8 A% N. ?# d9 _# z
  55. 6 \5 P  C4 ]' Y% i0 j
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    # Z3 i) M/ b6 L! Y& h1 E7 f
  57. ---例如---
    7 Q7 A+ T) L- I+ e- R( r
  58. [ dbexpress ] ( G, a% f' \( |) U8 s  R, B/ ^
  59. sqldir = mysql_sql 5 p9 N) s- n" B7 _/ V2 l% q1 n
  60. drivername = MySQL中
    / {, H8 k; O" `: f0 J6 O4 t, [
  61. 数据库=测试6 J# S0 T, e8 y" L
  62. 主机= 127.0.0.1 & f( J- m/ \) y' K5 t! q# x; _' A
  63. user_name = testuser
    0 F5 D( U% R9 l  U2 Z- H5 W
  64. 密码= my_password & k1 Q/ j& |: {4 h1 t
  65. getdriverfunc = getsqldrivermysql 5 q* c+ l  E( \" p* }7 j0 [
  66. vendorlib = libmysql.dll在8 |/ w; N/ S6 U% i* r' `
  67. libraryname = dbexpmysql.dll
    ! @0 G0 F: H* e9 \
  68. 积极= 1 9 R/ `  D" n: a9 J  b+ {
  69. ---例如---- ' h0 ^6 X9 e: u& P+ E+ @
  70. -写在0 2.03.04由p wk.linuxfan2 v" Q9 ?, Y7 ?: ^5 A( 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
3 F2 P/ v. L% O' _
# X! @; S: ]& I7 D, W. ubut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-9 03:20 , Processed in 0.059950 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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