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

3503 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ; X0 x2 b6 g4 C9 x
. `! r: j/ b4 k1 N5 ?3 c' c4 x

  1. " X9 T: I$ I; k1 c& _/ j2 B; c! m
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######/ `- t0 C. Q& D

  3. ' Y" u- M! n; b$ O4 B8 K+ T" y
  4. ### What we need ###
    ( I5 l' s6 x% t7 A
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ( }8 N/ @1 q. o  C- V, K2 q
  6. will not explain how this can be done - there are documents out there for the & w0 u- m1 v$ ]9 L: M% G1 p: Q* X# z
  7. interested. The requirements include a (empty) database for TeamSpeak to use/ S9 r& l. V( I; Q) W) g
  8. and a user account (username + password) that has the permissions to do stuff
    ) Q0 h4 l& p* {
  9. with the database. Additionally, you will need a vendor library installed on the
    # W, C2 |3 C' e
  10. local machine, this came with my MySQL install.% ?! N6 \- p9 d1 ]
  11. These instructions will not tell you how you might transfer your data from the
    9 T! w( ]( t1 V$ [: z/ I
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL5 S- u* i$ \' @6 X; v- r3 F" d
  13. database.
    ) O; }8 \2 G, p, a1 J
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    7 e7 d# v) W- t! \
  15. the time of writing, there are still too many issues - check the current status, d, V6 B5 |6 i4 w; `6 W4 Z0 z
  16. in the TeamSpeak forums if you are interested.1 g% ]+ N; \1 B& x
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    6 Z5 c, b, O8 J! b, ?
  18. Borland was used. This driver can only interface with the client library that
    " S( v5 G7 S/ C. _, z/ [
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this5 u% H: h% G4 u. L2 X" |4 R5 Z
  20. client library - basically all you have to do is to use a 3.x client library as 6 f' g6 t6 l2 d$ t5 ~
  21. "VendorLib" and a 4.x database to connect to.
    , r. W$ F) A6 w4 c1 h/ \
  22. If you need more info about dbExpress, you can contact Borland.
    & X( Q' [; ]! X$ N! x
  23. . p/ |0 c" ~* @# \. ^3 ]
  24. ### Doing the work ###) R( ~8 q, y- W, \4 Z* l: w- P
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    1 L) q, }; }) i
  26. the perquisites right, just open your server.ini file, and add this section at
    ) @4 P/ P+ e( }+ _  h0 D
  27. the end:
    ' e. h( H: [; j+ x6 L
  28. ---cut here---6 f9 _+ H; C6 g0 I7 d5 z
  29. [DBEXPRESS]
    9 w# R# [" P) B' u
  30. sqldir=mysql_sql/ q; T$ |* Z( _& S  h
  31. Drivername=mysql
    ; z) A$ g1 v; g8 P- J; V
  32. Database=Your_Database_Name_Here
    * T. Q' ^1 g/ ]5 ~1 g
  33. Hostname=The_PC_the_MySQL-Server_is_on
    % `+ \9 l- H- Q9 d4 e' U5 |& n
  34. User_name=User_name_on_the_MySQL-Server% w6 R. C& z2 Z/ J+ a, h
  35. Password=Password_to_go_with_above_user_name  N3 \4 O2 A. {
  36. GetDriverFunc=getSQLDriverMYSQL
    * v" g& U! J9 s6 \! x0 h
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib* V9 ~' m4 s' g/ Z% v
  38. LibraryName=path_to_libsqlmy_libary6 i9 P  v' Q) A
  39. Active=1
    % K, v6 N- d" D+ b+ J. s: A% x
  40. ---cut here---
    # b7 A! q, o2 p: b: N/ o
  41. In my environment (a linux box with a MySQL server running locally) I have:
    $ G  K# R5 J+ ?2 T/ \$ s9 l
  42. ---example---
    0 {" {2 s8 ]2 B: K7 D! c1 x  n
  43. [DBEXPRESS]0 V4 m& ~; f: ~* v, _/ Q
  44. sqldir=mysql_sql
    4 D& O1 Z; a5 Q: i
  45. Drivername=mysql
    / d. _1 ~& u2 I% a% Z5 k
  46. Database=test9 S7 n% h' w2 n" B2 z
  47. Hostname=localhost7 `- S4 x3 o7 m
  48. User_name=testuser
    $ q. i& B9 Z# w
  49. Password=my_password
    1 a+ ]5 i( ^' ~' R
  50. GetDriverFunc=getSQLDriverMYSQL
    / E/ A/ ]/ X* M; i2 `- o! d
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    9 {# V, @) S! K1 K3 Q9 L
  52. LibraryName=./libsqlmy.so9 L3 M( c* {' i' W1 V+ a7 v, X
  53. Active=1& W' f* y8 k! O* R7 W, m8 ?
  54. ---example---& u" B) W1 V8 x# {7 Q

  55. 9 T- x* l7 Y: k5 l( P- G9 K+ H4 c
  56. On a windows box, also running the MySQL server locally, it would be:
    ( ?4 k7 f( x9 F% |) Z; `
  57. ---example---
    ; j) Z% }9 |( ?3 z$ S& W/ G; U0 _# }
  58. [DBEXPRESS]0 \( E5 [: M/ L6 q1 x/ V, U
  59. sqldir=mysql_sql
    1 Q# {, T# r9 ^, _; Y( I4 {* L
  60. Drivername=mysql1 _1 b* l. i3 K+ R' i) L% l2 a
  61. Database=test
    & k; f. b, f+ p0 Q) W# p$ h$ S# u
  62. Hostname=127.0.0.1
    1 w5 v; d9 t5 Q: ]9 J" {
  63. User_name=testuser
    1 ^7 t: C# N- {( ?8 n# I
  64. Password=my_password
    5 x( f- p$ `( x# U' D- v
  65. GetDriverFunc=getSQLDriverMYSQL
    9 N% _3 A+ K! C8 o7 L. S) |! U
  66. VendorLib=libmysql.dll6 i) e1 B) x  v0 E4 h1 R
  67. LibraryName=dbexpmysql.dll7 y& _/ ]% Z" U( f; w
  68. Active=12 o8 h( e+ x/ }0 ?; P
  69. ---example----) [6 J! F$ T+ k8 U
  70. - written 02.03.04 by pwk.linuxfan
    ) P' I% L5 ^8 _. |  |* H, l! k

  71. 0 e: I8 d# ?1 |$ U7 D; w. b
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看+ N) m7 t+ u  y# \' b4 H4 l' j

  1. , B7 \  D! w, j+ M, `# l8 q, \
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 3 Y* T4 e; Q( ~# G

  3. ( L; D; V$ n$ [, w9 U
  4. # # #我们所需要# # # . P0 q; u8 d5 d1 ]
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    4 w5 V: x( H1 S; v) S. w
  6. 不会解释如何做到这一点-也有文件存在,为
    ' ?  S# m1 O( L& c1 k
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ' t; O% j% w/ y" z; ^
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西! d' u  \" R/ ?9 |+ a
  9. 随着数据库。此外,你需要一个卖方图书馆安装于% c; W8 y$ G( Q; u
  10. 本地机器,这是我的MySQL安装。 ; n3 P6 r: {1 d) P
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    2 H1 w( ^) _! Q. q# F
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL - B" r# X% K% Z2 i
  13. 数据库。
    , X( v, g2 T( W9 [, |4 Y* s( ]
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    6 g( C- O* w! U- G$ S3 Q7 I
  15. 编写本报告的时候,仍然有太多的问题-检查现状6 c% z, a$ c+ J4 U) z7 V
  16. 在teamspeak论坛,如果你有兴趣。 9 K2 A- ?1 I+ @# h) g
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机3 Y# |* B- J/ w7 ?0 }( _7 w0 o& N
  18. Borland公司使用。这个司机只能界面与客户端库
    " ~' m* ?6 z/ B6 w" D1 t2 H
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这2 r0 r* e! I4 v* \
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为1 m/ h& t* {4 H
  21. " vendorlib " ,并解数据库连接。
    , A. S' L: p1 Y. c) w
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ( {( a. u4 ^& s  r/ u  v
  23. ; Z$ z5 p# g8 J
  24. # # #做好工作# # # ) Q" y: p+ M: D9 k
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    / U* D; D& [& g" e0 D
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在% F+ p# d5 x# A, C! u9 w7 Z
  27. 结束:
    ) l8 b$ v; m! o+ \) m% ~
  28. ---削减这里---
    - v! d' E9 u4 L, c; w! A1 q7 n& \& k
  29. [ dbexpress ] , P. v0 ], w+ j0 b
  30. sqldir = mysql_sql
    7 B7 M/ j/ X5 _9 F
  31. drivername = MySQL中2 D+ n$ v( M  B* f' |+ h& I
  32. 数据库= your_database_name_here
    7 @4 H0 S) O9 @" w" V: o
  33. 主机= the_pc_the_mysql - server_is_on - T3 J) ]2 _- i( t$ o
  34. user_name = user_name_on_the_mysql服务器
    ( H, U6 G' Q& _
  35. 密码= password_to_go_with_above_user_name ) V% I: e' g' w6 G0 o' I
  36. getdriverfunc = getsqldrivermysql " e0 {3 w. Q6 n  j
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    , E3 T8 _$ g5 f8 j2 _
  38. libraryname = path_to_libsqlmy_libary
    5 B' ^7 u* q: d) x# A4 b
  39. 积极= 1 ; G  L# s  T6 u8 a
  40. ---削减这里--- 4 x( q- j1 \+ K( x# P/ M1 K3 b
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    7 c) G" Y- q, n# V7 h" ]  |
  42. ---例如---
    5 m% s# T6 w& H, ^7 r4 [5 a
  43. [ dbexpress ]
    4 K8 l! a7 L; w0 ^. B% `0 d. a2 @
  44. sqldir = mysql_sql
    ) h. u1 q3 n7 Z" W$ f
  45. drivername = MySQL中% e) H9 r# N0 [" Z( c7 V  L
  46. 数据库=测试
    0 F) I3 T6 G* y* L3 m
  47. 主机=本地主机
      y5 p! B% W. b! K- ~: x
  48. user_name = testuser $ r# }4 Q2 c8 W$ x' _$ }, e
  49. 密码= my_password
    % ?" L( m3 e3 k5 n
  50. getdriverfunc = getsqldrivermysql
    ! W% N  [7 F' E0 X' @3 \
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    " I/ z  ?" H7 J8 ?
  52. libraryname =. / libsqlmy.so
    : e8 Z2 l$ \% q4 [; l/ r4 t
  53. 积极= 1
    0 q7 d9 R0 P* h+ M; @
  54. ---例如--- 3 ~6 k" _4 Y! B6 V* C, y
  55. 4 H( b+ B8 a8 V3 Q$ ~5 @/ H, h
  56. 对Windows中,也运行MySQL服务器本地的,那就是: : H: N$ q/ q; E
  57. ---例如---
    ; H* j  ]4 A; E+ Q6 i5 r4 {/ K
  58. [ dbexpress ]
    7 {& L, h" n6 T4 k
  59. sqldir = mysql_sql
    + a8 d. g6 P5 H
  60. drivername = MySQL中
    1 b' {) A! l  |1 J2 @5 s: }
  61. 数据库=测试+ B7 s  t' y+ \& p6 o! o* M; C
  62. 主机= 127.0.0.1
    ' }/ @1 `7 W% c# K4 y& T+ @: f+ C
  63. user_name = testuser % z6 o$ m% z0 q* S
  64. 密码= my_password 5 _; M; w5 a. H3 }+ p7 ~
  65. getdriverfunc = getsqldrivermysql
    7 x6 C" Z6 ?3 u7 b* \* O& k
  66. vendorlib = libmysql.dll在8 m* M9 e3 Z% i+ f1 O% K7 g
  67. libraryname = dbexpmysql.dll
    $ f, Y: {% I8 u' M" E
  68. 积极= 1 5 Y6 z- i2 B" ^* N
  69. ---例如----
    + w6 p$ H7 C' K( o- w: E( \$ W2 t
  70. -写在0 2.03.04由p wk.linuxfan' _- b6 t3 Q4 c/ O  P" _6 s3 Q' z* E
复制代码
发表于 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- G( ?- \: y/ K4 p
) q3 T) I: j7 Q8 X
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-12 00:05 , Processed in 0.055223 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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