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

3031 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan # y/ |' B; F6 H9 P+ p$ F4 u7 W  h
1 [, `7 @2 e# o* @  f! `, v

  1. " Z% x. N4 u5 R" q7 Z  o0 J
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    9 B% A4 M( f# M- l
  3. : D; P" _- O6 o# |: q& v+ Q
  4. ### What we need ###' N7 j7 k6 @2 h2 _3 J2 L, @( z
  5. Naturally, we will need a MySQL server to store the data for us, this document
    1 C0 p9 w3 Z8 x( z/ b
  6. will not explain how this can be done - there are documents out there for the
    , X, V2 \" U1 D7 }- Q
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    * S: z. p( x; L% r4 i% i  N
  8. and a user account (username + password) that has the permissions to do stuff
    8 D7 T" n9 F9 E9 v# Z$ o
  9. with the database. Additionally, you will need a vendor library installed on the
    7 O0 }" ^6 K" p' @0 Q
  10. local machine, this came with my MySQL install.9 h+ ^' ^! A3 h9 E
  11. These instructions will not tell you how you might transfer your data from the
    6 M+ `5 h# Q, E* m5 D
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    " n5 y; g4 i, B- F. p
  13. database.
    1 B& u  c/ W; V$ z2 ]1 v$ t$ l
  14. Some users have reported ways to import a SQLite database into MySQL, but at1 |; t. n5 \/ C1 f: T
  15. the time of writing, there are still too many issues - check the current status4 _7 i3 P$ e! f, d2 t
  16. in the TeamSpeak forums if you are interested.3 m1 J( K! g" t  v
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    % Y  s9 X6 Z7 @! N2 b, C. x% i$ u
  18. Borland was used. This driver can only interface with the client library that ' y' x0 ^0 ^9 F! f4 \
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
      K: J$ ~& ^! Z& h* W2 t
  20. client library - basically all you have to do is to use a 3.x client library as
    3 `, C# Q$ e5 a; T$ K/ y( C
  21. "VendorLib" and a 4.x database to connect to.3 P3 a5 f, F, b3 q
  22. If you need more info about dbExpress, you can contact Borland.
    5 t: J4 w+ a: P: E. z1 y
  23. 3 s" u% C# \0 B6 g
  24. ### Doing the work ###
    1 K1 B9 P" O. K9 F
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all& x# \+ H; E1 c9 E3 w: x1 z
  26. the perquisites right, just open your server.ini file, and add this section at
    . u8 ?4 b3 `2 b  ^
  27. the end:
    ) y/ `* l  W1 t2 K2 n% ]" A0 l! p
  28. ---cut here---) `, K- K! t0 P# m: H& x; p& b6 N
  29. [DBEXPRESS]
    ) y2 M: j3 t& N% Q. Z& t
  30. sqldir=mysql_sql
    ' M& W5 {! r9 M" n
  31. Drivername=mysql+ w1 Z: x1 r- d% [% C9 r
  32. Database=Your_Database_Name_Here
    , U7 i1 R' f0 |& m
  33. Hostname=The_PC_the_MySQL-Server_is_on  O# }' P0 u1 ]7 D/ Y
  34. User_name=User_name_on_the_MySQL-Server* A6 L+ ]2 O, F  n6 @
  35. Password=Password_to_go_with_above_user_name
    7 Q8 }) F2 ^2 n( w: w9 b3 ^& X  @
  36. GetDriverFunc=getSQLDriverMYSQL$ n" p- F  p; E9 D, f- y. w- }
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib( l2 b5 z& O! R+ Y7 Q
  38. LibraryName=path_to_libsqlmy_libary
    " Y: i+ U- W5 A% w. C# a2 x; d
  39. Active=1! o' j8 ^8 a% p- Z
  40. ---cut here---  Y( c7 O+ N4 u- r, N2 E
  41. In my environment (a linux box with a MySQL server running locally) I have:$ B& \5 V" ^' U9 f
  42. ---example---
    9 o, j8 p! u. P0 k6 R+ A
  43. [DBEXPRESS]/ J3 R4 I( K1 X. @9 Y% E
  44. sqldir=mysql_sql
    ) E2 Z  A& {# o0 K
  45. Drivername=mysql
    : A3 B' Q* C8 u; N2 w% ~
  46. Database=test
    3 w% X8 W1 ], H
  47. Hostname=localhost
    & a# `9 f! V$ ]( z+ N3 l- c
  48. User_name=testuser* S. T/ A2 a4 ]: P' y! v
  49. Password=my_password
    6 x$ L( u  S, w3 l
  50. GetDriverFunc=getSQLDriverMYSQL$ r  `; i& @7 s  r, f
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ' Q# @* f- r4 i7 z: S. U' k
  52. LibraryName=./libsqlmy.so
    4 C. T/ M$ b3 y. K5 `1 Y# A, u
  53. Active=1
    5 C- |& A" p) u$ }3 c) ~
  54. ---example---! R% z3 K. b- K

  55. $ ?. Y& I% a2 X* F+ K
  56. On a windows box, also running the MySQL server locally, it would be:2 X8 }- d4 T: n1 h# @! ]- V. n: r
  57. ---example---
    / a2 {: r/ i# N5 X& L1 G1 J
  58. [DBEXPRESS]# i' E! p9 j, W8 w
  59. sqldir=mysql_sql& t" n  o1 `/ W' ]. A$ w
  60. Drivername=mysql: @7 K9 s+ Y8 Y. S# I. r9 A  o  s
  61. Database=test
    ' o' P9 c. \' D& e6 s
  62. Hostname=127.0.0.1# S- g2 t# B0 b( Q
  63. User_name=testuser
    2 ]9 F& U; e: H6 \1 e6 q* W
  64. Password=my_password7 G( F: }9 u: W. z/ o. q( E# ~& |
  65. GetDriverFunc=getSQLDriverMYSQL
    5 _: c# w4 U$ w, u/ Y+ l) m
  66. VendorLib=libmysql.dll
    * f  x7 q6 y9 t" N$ ~" a$ p
  67. LibraryName=dbexpmysql.dll
    4 `( @0 n; o% i3 N" [
  68. Active=1
    1 M/ A) Z9 L+ M# Q
  69. ---example----& N2 {; h* c/ o* Q1 U6 _) ]3 w0 c
  70. - written 02.03.04 by pwk.linuxfan
    # J+ i3 ^' y; t% @1 c
  71. & U' P1 \/ g3 y6 e
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
) }0 T& Z: ^, d, E8 P0 j2 R
  1. $ p  A* j0 ~, H& w/ Z; w: G
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    : m/ T, J! h+ E$ l6 f) D

  3. , O7 a9 [: u7 ?; j3 r! P; m- O( j) c
  4. # # #我们所需要# # #
    " x7 J3 k6 |' y4 i# K1 G: v
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    : h( Y# h8 ^/ p; o! j
  6. 不会解释如何做到这一点-也有文件存在,为% m& m1 D7 n& p% {5 [; O) `
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用, g9 ~8 \, D9 {) h8 T& e' ?4 \$ V
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ' ~+ h) {) q" a2 D  P+ v, F. b
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ; ^  [6 Q/ N- ?/ g/ F: M
  10. 本地机器,这是我的MySQL安装。 ; J  J! w3 o9 v7 w
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从9 ~9 z' H7 P$ b, z
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    , i; I: E, i: _! t1 Z
  13. 数据库。
    , T' x& {7 I" W+ @
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在8 r, s7 z9 g+ F8 O, C+ \) l" @) a
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    % l/ V' u; w$ A
  16. 在teamspeak论坛,如果你有兴趣。
    - J; a3 y# y) t
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机. b/ Y- B7 \& j& i
  18. Borland公司使用。这个司机只能界面与客户端库
    . W+ x. h' n- u& R5 C4 a
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这" d- _2 |; b2 T$ M5 P+ v
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为8 x# x  [$ D& e% m0 Y7 Y
  21. " vendorlib " ,并解数据库连接。 % Q# B) y% _$ o5 }5 j
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 . l. N4 v$ z, ^. E% @# B. t9 t! v
  23. 4 c6 i4 [; I0 u$ ~" D
  24. # # #做好工作# # # - t9 k% r! i/ k0 t0 j
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都/ w# _6 c+ f; \! h: o
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在$ `# `) J+ V1 A1 b
  27. 结束: ' O+ y2 }+ }& G* e" G
  28. ---削减这里---
    + a1 k& e. C) ?* c3 U
  29. [ dbexpress ]
    9 z  r& t6 b3 }! }
  30. sqldir = mysql_sql 6 ]& Z2 B7 ^7 N! n/ h
  31. drivername = MySQL中
    " J9 a; W2 @8 M
  32. 数据库= your_database_name_here 0 B) q/ @2 l, G2 o
  33. 主机= the_pc_the_mysql - server_is_on
      d6 Y" d& R" \: k
  34. user_name = user_name_on_the_mysql服务器5 q: A3 r) F! C) u# l% f
  35. 密码= password_to_go_with_above_user_name
    1 R& z  e0 @; ^2 x* j
  36. getdriverfunc = getsqldrivermysql 2 K) L2 C: ~6 I8 j( A
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib : O# D# Z! n+ ~
  38. libraryname = path_to_libsqlmy_libary 7 W/ L2 B0 @6 H3 r% q7 A
  39. 积极= 1 $ q( U) j& X: t. k! D
  40. ---削减这里--- . {/ i7 }. i' D7 B2 N- K
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    5 \: u7 Z/ i1 z
  42. ---例如--- 9 b: T) a1 r- b$ T6 T; N
  43. [ dbexpress ]
    ) S" H5 w4 [* }4 T
  44. sqldir = mysql_sql
    - c  d) U3 o( ^4 U
  45. drivername = MySQL中& m3 s8 r0 q) ]7 E7 S4 P' n
  46. 数据库=测试0 v2 S! x5 d' z& H
  47. 主机=本地主机
    2 ]- }8 E7 z% j; A* w% w. ?
  48. user_name = testuser
    - `% W: h( Y, l; m9 O8 Q8 z
  49. 密码= my_password
    ! R3 C) j* @* P. ?- o
  50. getdriverfunc = getsqldrivermysql 4 ]& {- l  Y1 c+ X$ |
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 9 Z, O; Q- n2 }2 r6 K
  52. libraryname =. / libsqlmy.so
    ( a4 V1 C" C* N- y7 d( o
  53. 积极= 1 7 k6 N/ y- V: z. p' `3 r
  54. ---例如---
    - M  D4 d: q: o* n" l  \1 H

  55. " P* j( e8 x$ ]! h) d: V
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 4 E) Z. V2 {2 F7 h# K
  57. ---例如---
    ! N/ I7 H7 A- t  d$ d2 I' z; z
  58. [ dbexpress ] $ n8 j/ G3 H5 H' y
  59. sqldir = mysql_sql
    - w) Z' J" S, r4 }! b
  60. drivername = MySQL中
    ! @$ x8 {, d% R4 X
  61. 数据库=测试# |* g& ?) A+ B6 ?. b
  62. 主机= 127.0.0.1
    4 _# j8 _! ~/ A" T9 `4 i
  63. user_name = testuser
    6 v# H! w7 t  Q0 n8 h* a
  64. 密码= my_password " Q. c% c$ V7 N4 V
  65. getdriverfunc = getsqldrivermysql & F* {& H4 p* B% `
  66. vendorlib = libmysql.dll在
      `( S/ |' {, }/ r
  67. libraryname = dbexpmysql.dll
    , i; W" _, c& ]% f: J8 W
  68. 积极= 1 ) O% e& O- C0 J, @6 D
  69. ---例如----
    ! Y, Q4 `& W; `/ v% i
  70. -写在0 2.03.04由p wk.linuxfan5 _5 L/ H- c8 {. T+ w/ Q5 V# }7 t
复制代码
发表于 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& d% r  I7 }7 w( U) o$ R  d2 N; E/ o
- O4 a$ @! p! i( Y  P8 f$ `/ P4 {
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-16 20:43 , Processed in 0.101460 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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