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

2506 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
; x% g6 u4 M" a3 K) E, `" A6 [6 S# C% B

  1. ( y+ l5 j" N0 ]. V# l- E4 X
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ( h( L* a$ o2 G0 ^& C4 I
  3. ( c2 }4 z2 \' f2 f
  4. ### What we need ###
    1 i( X( b+ e! E( k
  5. Naturally, we will need a MySQL server to store the data for us, this document
    8 D2 ^$ s/ c7 j8 S. A1 J' U
  6. will not explain how this can be done - there are documents out there for the
    7 ^/ }2 }: \8 C" N1 i
  7. interested. The requirements include a (empty) database for TeamSpeak to use8 b8 E) k1 A' s4 E
  8. and a user account (username + password) that has the permissions to do stuff
    5 U6 n* j4 L3 L4 o5 G. B
  9. with the database. Additionally, you will need a vendor library installed on the6 q, u; z; t$ {- V
  10. local machine, this came with my MySQL install.
    1 h$ d" h! J! L& I' Q1 z
  11. These instructions will not tell you how you might transfer your data from the/ {% f9 I& i& A9 o
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL4 M' z2 T+ L" ]0 s: b: ~
  13. database.) |' F- h! v1 g- i. D; X& F4 G
  14. Some users have reported ways to import a SQLite database into MySQL, but at8 o2 y1 Q" T! k$ o* [. Y* _- q' r6 Z
  15. the time of writing, there are still too many issues - check the current status" Q- A7 l2 g7 _1 ^
  16. in the TeamSpeak forums if you are interested.
    7 O9 x5 E) \: y( @6 c
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    : x8 V: u4 h6 y4 `0 n  H+ v; N
  18. Borland was used. This driver can only interface with the client library that
    % n, \) _; O( }4 W. G
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    " n* e2 v. e/ l3 G! t$ L" `: |
  20. client library - basically all you have to do is to use a 3.x client library as
    4 ?) g' d2 c6 j  b
  21. "VendorLib" and a 4.x database to connect to.7 x) j: Q) p  ~& O& D3 ], C
  22. If you need more info about dbExpress, you can contact Borland.. i% U5 N+ B. ?
  23. + s  l: [5 E% |, z; d
  24. ### Doing the work ###; d1 |/ [+ X# [3 c6 F
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all+ J# ]$ `& Y0 ^8 R
  26. the perquisites right, just open your server.ini file, and add this section at. ~( j# s4 O& e! Z- p
  27. the end:
    2 Z' N' }6 _) U8 g0 l
  28. ---cut here---
    7 z, z$ O1 h& K0 Y0 r- _8 ~
  29. [DBEXPRESS]8 D( H3 U' c2 A! ]
  30. sqldir=mysql_sql& o! i( }3 j; }- x- w* P
  31. Drivername=mysql
    % H; p+ l8 ?- Y% k, e" c8 u
  32. Database=Your_Database_Name_Here3 P2 b: t. t! f( r1 F7 o" d  @. [$ {
  33. Hostname=The_PC_the_MySQL-Server_is_on" t- V9 W, o0 @/ [
  34. User_name=User_name_on_the_MySQL-Server
    * G  t4 z) \2 E! U# r
  35. Password=Password_to_go_with_above_user_name; @6 p. Y7 U4 C  C. S0 w* G
  36. GetDriverFunc=getSQLDriverMYSQL. d) l' i  T& M; X# a1 z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib6 }. J/ U( a; p, C. s: w1 |  f
  38. LibraryName=path_to_libsqlmy_libary, ]% U: W9 r2 A* r) |' D  A/ c
  39. Active=1
    0 o4 D3 I& K5 U& _
  40. ---cut here---
    6 n4 V7 ~, g' q" X: E! X
  41. In my environment (a linux box with a MySQL server running locally) I have:
    1 _; K. Y/ E4 O; c. D, H1 \  y
  42. ---example---2 f/ J: G7 k/ W9 `
  43. [DBEXPRESS]& N+ ?3 k0 C9 G
  44. sqldir=mysql_sql0 {6 U% C/ n1 w  ~- Z- r
  45. Drivername=mysql/ N0 F/ y9 p: x' f
  46. Database=test4 w7 R( t1 Y) F: n) @
  47. Hostname=localhost
    6 p4 m- T$ r9 }1 |; C8 j
  48. User_name=testuser
    ) l- W# f2 s3 X9 E9 z) z" y2 n
  49. Password=my_password' o/ z2 G% |4 ~! P3 O
  50. GetDriverFunc=getSQLDriverMYSQL
    3 w( v# r! [) l- v& S$ q) s
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0% ^5 o! b! Y" b. }$ ~/ m
  52. LibraryName=./libsqlmy.so! y! G1 e7 u6 W
  53. Active=1
    & H0 d2 u' j7 L( Y, ?# K' Z6 u
  54. ---example---
    + t0 S  w4 ^2 L( @
  55. ( [! g: R$ c! w. k
  56. On a windows box, also running the MySQL server locally, it would be:
    ) I7 t$ O' B9 c2 A& d, W& B6 g( e. z$ p
  57. ---example---
    5 E4 S. w( M( l) d% R$ u
  58. [DBEXPRESS]2 [! e" V0 `) J2 K
  59. sqldir=mysql_sql
    / N( |$ M( y" e) A* ]+ N) ?
  60. Drivername=mysql
    0 t: r8 h" y* p
  61. Database=test
    % |3 U# U7 t" ~. B8 q
  62. Hostname=127.0.0.1* a- F  j3 @8 n
  63. User_name=testuser) H, _6 h  r  ^" l" S
  64. Password=my_password: p' b* k+ g- u1 z9 v
  65. GetDriverFunc=getSQLDriverMYSQL
    3 R0 s* A' Q! M+ z2 t
  66. VendorLib=libmysql.dll
    $ K! y% |5 |- D7 L: h9 e5 {
  67. LibraryName=dbexpmysql.dll: G* e: _. `9 O3 [8 R( w# r% t3 k
  68. Active=1
    ; t: p: A( O3 \# V) S) z. c* r
  69. ---example----
    " s9 @$ I" _9 E# E4 e, d. e: M
  70. - written 02.03.04 by pwk.linuxfan: l$ `# K) Z7 e" _$ h

  71. - I  V* t9 F8 c
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看+ p7 D+ n; }; p/ A7 ^. J

  1. - `/ t* B+ D* a* G1 ]
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ; r/ f: c; S& u$ ~& m
  3. ' O, }3 A0 N. o/ f* W
  4. # # #我们所需要# # # $ j& Y% `, L2 F
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    , J8 {1 J$ V" h+ @# `  E1 y
  6. 不会解释如何做到这一点-也有文件存在,为
    9 {1 D4 ~$ R" }2 x# b! {
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用. J+ d3 b) o$ C1 i# x  |: t0 V$ O
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西( `  D, G8 f* S  P
  9. 随着数据库。此外,你需要一个卖方图书馆安装于4 `4 r3 ]- F* Q9 Y' h5 P
  10. 本地机器,这是我的MySQL安装。 ' r2 ^8 B1 b1 \: }
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从, C7 Z' R' h( o( Q# ^
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    - s* A4 t( c6 e6 Y, \
  13. 数据库。 * y9 \3 q5 ^+ r: l
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在' f% _6 U. Z- F* x) u* p8 ]$ g- A: m4 b
  15. 编写本报告的时候,仍然有太多的问题-检查现状$ L, Z# D' C) L  f; I6 m8 A
  16. 在teamspeak论坛,如果你有兴趣。 6 [  G: t1 Z0 h* o2 W
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机! g4 b# x& W* e: Y( ^
  18. Borland公司使用。这个司机只能界面与客户端库( A: r8 e, M' I2 y0 I+ U2 P; n
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    $ E: M3 N$ X! m# a: N
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为- H% `/ I1 j0 b# }- m3 |: H( `' T5 Q( F
  21. " vendorlib " ,并解数据库连接。 + b+ Y# ^- g" ]" H* N
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 5 M% q2 @  }& Z8 _$ ]

  23. : {( n! a- C% X* d& I+ P8 o
  24. # # #做好工作# # #
    . J8 ?7 Z/ u$ ~6 K3 ~2 |
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    7 F3 ]3 _3 q# y# P. X
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在; c8 ?' R% ~2 Z- g1 W7 T+ @
  27. 结束:
    ; l# M* c& v7 o6 W8 J
  28. ---削减这里--- - l3 i- W+ q# C4 Y0 a+ `
  29. [ dbexpress ]
    2 S& A- F- w) X
  30. sqldir = mysql_sql
    / _" M1 ?7 z: [4 J
  31. drivername = MySQL中8 l0 Y7 s* ?" _7 H! `* C/ _. f
  32. 数据库= your_database_name_here 1 b9 W8 A) f3 A% }
  33. 主机= the_pc_the_mysql - server_is_on 1 [+ c9 t5 h* A! B
  34. user_name = user_name_on_the_mysql服务器
    1 Q$ R6 z8 B/ {) d
  35. 密码= password_to_go_with_above_user_name / O+ J4 n4 f/ W- Q; x
  36. getdriverfunc = getsqldrivermysql 8 {$ p! }6 S5 Y4 |( V+ h
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    % i# [. s* E/ i- t% R, u; t- i
  38. libraryname = path_to_libsqlmy_libary   J! P3 z5 o- ]4 i* a' [" s9 l
  39. 积极= 1 ' o1 g; `' u8 C1 b" h  B
  40. ---削减这里--- 4 A3 L7 o0 Q. H% j; X
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: " `1 t. L; C& T& u* h3 |
  42. ---例如---
    & |+ L) m, a! y2 A! e4 X- o
  43. [ dbexpress ] 8 J. c! H3 c9 V) R8 M
  44. sqldir = mysql_sql
    3 U2 i; i) u* h8 Z# P
  45. drivername = MySQL中
    7 ]0 g$ u* V( K. o1 \4 A5 N
  46. 数据库=测试" ?  k- R  u7 j
  47. 主机=本地主机( ^" x  n! w5 f+ ^) ?
  48. user_name = testuser
    9 A7 t- X/ W0 g+ |% U
  49. 密码= my_password 5 i% V( J+ \5 \4 F( z" G
  50. getdriverfunc = getsqldrivermysql
    % H" I7 W0 h1 n2 M
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 6 T/ J8 F  l8 w7 v' j* R% O, `
  52. libraryname =. / libsqlmy.so   w" L% O! z3 E; U( W" L+ |* J
  53. 积极= 1 & s$ H" X/ [/ O$ R$ {8 [
  54. ---例如---
    $ g: P* w" i, J7 L+ y) d

  55. : r% }5 F; h7 E" ^' ~
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ' L( s, I/ v, k' m, y9 g6 Q6 w# w8 Q
  57. ---例如---
    2 W' _+ R& b" a# M( Z, |7 T& w; ]
  58. [ dbexpress ]
    - B" w' U5 \5 W2 ~% R0 E
  59. sqldir = mysql_sql
    3 G4 t( L/ p9 r: R
  60. drivername = MySQL中5 o! u# H) X. ^' X
  61. 数据库=测试* A; F; J/ g6 n8 ~9 W, f1 d& n
  62. 主机= 127.0.0.1 " H$ p5 T( U1 a1 ?9 q
  63. user_name = testuser ! O. n, O% `; z; k/ q
  64. 密码= my_password
    / b( G2 A! c# A7 J7 o* S0 k, K
  65. getdriverfunc = getsqldrivermysql ' B, w- E* z7 c; G+ Y; D- d) i+ V
  66. vendorlib = libmysql.dll在
    ) V8 l% v7 m' n; w5 ?
  67. libraryname = dbexpmysql.dll
    0 j+ }  P# L& p% U3 S5 Q' p& e
  68. 积极= 1 6 O& e! m3 p( z1 t' m
  69. ---例如----
    * P1 E0 F" h7 C
  70. -写在0 2.03.04由p wk.linuxfan
    $ v4 T: N" C) L
复制代码
发表于 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
/ w; l% }; \( w/ o- d& I
" C( G, Q5 U8 h% Ubut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-12 04:47 , Processed in 0.093175 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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