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

2241 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
; X, u! C0 C& N$ r- x8 J% }* c# M' x1 }6 s8 D. x$ p, [# d
  1. % k$ H+ I# z! _) H- s! D
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    # W, E& I( K5 h6 \6 G; `) a
  3. 0 V$ z" v7 [; X
  4. ### What we need ###
    * V7 A6 O5 A7 L% u8 p+ |
  5. Naturally, we will need a MySQL server to store the data for us, this document 3 I4 `5 R7 V6 g+ z
  6. will not explain how this can be done - there are documents out there for the : u+ ]+ s7 V3 Y) w/ A. T: M
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    1 v* }: Y/ g0 }4 W0 D
  8. and a user account (username + password) that has the permissions to do stuff
    : s- K+ R5 b% z! {7 N1 @2 k; N
  9. with the database. Additionally, you will need a vendor library installed on the
    6 k7 C& ?) t' J" N3 j9 F4 L
  10. local machine, this came with my MySQL install.
    & F. K/ C# f$ X! T) j/ D
  11. These instructions will not tell you how you might transfer your data from the
    ' ~' B- g+ S! \) n3 L1 @! _  [
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL+ H$ Y, }# `8 F& U
  13. database.
    $ k% j8 C  j6 M  X# j9 v
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    , z/ B0 K  M: ]% m3 e# u
  15. the time of writing, there are still too many issues - check the current status5 O/ ~, n$ S% c* q2 i9 \
  16. in the TeamSpeak forums if you are interested.
    & V0 z6 g* H) S4 r7 z( R
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    & y% u( C& Z- N1 B* Z; w1 s
  18. Borland was used. This driver can only interface with the client library that 6 L; G$ ~3 D' z* l
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this* C! J6 f; F' K4 M* y5 ~+ h: [0 ^. Q
  20. client library - basically all you have to do is to use a 3.x client library as
    ! L, U3 ~8 @% S/ t& w
  21. "VendorLib" and a 4.x database to connect to.2 {: R& H; h1 p: o
  22. If you need more info about dbExpress, you can contact Borland.: ^  G( O, J9 K" D- z: I0 @

  23.   O0 c6 ~+ z9 b+ c+ o
  24. ### Doing the work ###1 Y7 ?# o) O  p, @. i' D! w
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    8 B2 D! \6 P+ z( d& Y
  26. the perquisites right, just open your server.ini file, and add this section at
    7 Y8 m7 K7 D4 w% v" W4 E
  27. the end:
    : J  L" [. c, q- J  R
  28. ---cut here---
    $ O8 E  }  S2 o3 K
  29. [DBEXPRESS]. C  l" G! o. E0 a" n, {* H2 @
  30. sqldir=mysql_sql
    2 h- H6 u6 g8 W- ^) B
  31. Drivername=mysql* Z  T) L& L  U7 G; k4 q3 L- ~6 J
  32. Database=Your_Database_Name_Here9 c; x' O5 d6 [1 S  u$ @# ], S
  33. Hostname=The_PC_the_MySQL-Server_is_on
    5 p+ d/ d. J7 X. E0 Z
  34. User_name=User_name_on_the_MySQL-Server
    3 p# g6 ]) i7 B, H0 R2 L7 k
  35. Password=Password_to_go_with_above_user_name
    1 F, F. ]% n: V' n" O
  36. GetDriverFunc=getSQLDriverMYSQL% y+ X5 S9 H3 \
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    6 R7 D/ J, l( F
  38. LibraryName=path_to_libsqlmy_libary3 {' _- _) g# P) B
  39. Active=1+ Y* {2 f" `) [) G- N; S6 O
  40. ---cut here---6 r2 `  e: r1 U
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ( n  D- [4 p! Q! Z1 ~
  42. ---example---. N2 h! G7 S" A$ o
  43. [DBEXPRESS]
    ' O- z. d. R  T: f  j  |5 d
  44. sqldir=mysql_sql
    7 |: ^0 z) y) k+ |0 I6 w
  45. Drivername=mysql
    - e% G) ]; _# n& K  j
  46. Database=test) I) O/ i8 y4 B5 O( T
  47. Hostname=localhost
    . g5 e  q1 {; _  Q; t
  48. User_name=testuser
    1 Q' v5 A! F9 F* K- b) H( n7 I
  49. Password=my_password
    * s% e; X* ^  K4 s
  50. GetDriverFunc=getSQLDriverMYSQL! k( D3 j" u* f: ?; @0 `" {! a
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.01 Z8 L* p7 G) ~, [
  52. LibraryName=./libsqlmy.so5 W8 A  d6 Y! T: l# p4 \% d9 G
  53. Active=1
    - |1 _1 R# s1 Q. q: I. s& j6 i% F" Q
  54. ---example---( ~6 G2 r! }2 s) B7 I; A( s) _% l
  55.   |' c9 @* Q- C% b; L1 [2 t9 a$ l
  56. On a windows box, also running the MySQL server locally, it would be:
    , h5 l2 {' q+ X, x8 Q" C3 u9 k- B  P
  57. ---example---6 Y: ?) {5 X7 y( U9 Q! |
  58. [DBEXPRESS]
    * N- q, P- V$ e
  59. sqldir=mysql_sql
    * ~9 l. Q; i* j4 o3 A; }
  60. Drivername=mysql
    8 b; h" f9 L* P* W
  61. Database=test
    ( ~2 u5 {5 `' t5 B, h
  62. Hostname=127.0.0.1( s& c! [4 \6 a
  63. User_name=testuser6 y+ V! z/ L" v  c9 q% F" C
  64. Password=my_password
    * d% K' s% p& \' I$ N9 G
  65. GetDriverFunc=getSQLDriverMYSQL
    / Q: A+ A. l/ o4 |
  66. VendorLib=libmysql.dll
    / Z! ?2 k# i1 i6 ]& n
  67. LibraryName=dbexpmysql.dll
    3 i) R2 ]: ?' {3 I  Q, e" Q
  68. Active=1
    ! F  _" K/ {& F
  69. ---example----% w$ ~5 H/ ?# t- I, }) H
  70. - written 02.03.04 by pwk.linuxfan
    ) f2 Z7 B; Q" W3 s0 K
  71. 2 [3 P3 i: _6 W9 `- ?( j
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
$ y# l  j/ d7 B8 W

  1. ) S# t! `" U* E. ^) i2 P
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 1 t( y1 W0 P9 @) b1 Y! H' Z9 {

  3. 4 N* k6 v8 v3 @( ]
  4. # # #我们所需要# # # 2 `% L! [9 g2 G7 U
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件0 K9 L: [0 |# Q
  6. 不会解释如何做到这一点-也有文件存在,为
    3 \( v6 a; N5 F% t. E+ x& k
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    4 l. D  _; i# I+ n: X* u; T; M, m
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    : W) C- \- t1 w% t. j4 T
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    . @! l, p2 n* X5 D' j" T  E. I
  10. 本地机器,这是我的MySQL安装。 : V/ `- l* a4 B2 i
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从' ^- F# j+ Y. C! C: ^
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    $ N4 V, H# U8 h. K, q5 V5 ~
  13. 数据库。 / v' Q3 q$ B/ j2 I, Q* C. T# j
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在' @- ?$ o5 a# Y
  15. 编写本报告的时候,仍然有太多的问题-检查现状% e* ^+ J$ D: C3 a6 J* N3 L2 D% F
  16. 在teamspeak论坛,如果你有兴趣。 2 q0 Q+ o& T2 V8 K4 Y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机4 a* U1 L. d) F5 x; T6 f
  18. Borland公司使用。这个司机只能界面与客户端库
    : ^5 U$ V2 l7 N# l' H8 _) O2 o3 _
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这- ~: W. O" y. ^
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ) ?! Q; ?. V0 c, l2 I, X% \
  21. " vendorlib " ,并解数据库连接。
    ! H6 ]: `6 T8 ~( P0 X9 J
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ( W. y1 s4 ?* R7 Z

  23. * Y- P5 R! w# @
  24. # # #做好工作# # #
    - q. n: ]2 k" {: E* Y; e3 C
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都! f' @) `$ X+ M2 Y" R7 S
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    # r! \1 [, f8 F  W; {3 q
  27. 结束:
    7 p7 k" k3 ~& K4 Z- |, S# t
  28. ---削减这里--- " @$ g- T' W. E. ^* Q, J- {
  29. [ dbexpress ] 0 s0 o/ T5 E$ \
  30. sqldir = mysql_sql
    2 S# R6 b; a, o9 a5 Y
  31. drivername = MySQL中* c/ D- [1 k+ M* t; s
  32. 数据库= your_database_name_here
    " x& E4 G# J7 g1 H) W8 `6 U% y0 k
  33. 主机= the_pc_the_mysql - server_is_on
    5 b7 y8 U  r3 f7 k( F. Z/ F
  34. user_name = user_name_on_the_mysql服务器
    5 N: q) `5 d, f: \" B5 q' ^' Y
  35. 密码= password_to_go_with_above_user_name
    / K1 A) t- V# V/ v$ m
  36. getdriverfunc = getsqldrivermysql
    & l8 e! c) A' [
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    . [9 q4 Z) u8 x9 X( `4 U' g! _
  38. libraryname = path_to_libsqlmy_libary
    0 S" i- P" f* I2 u7 M; l( H  K
  39. 积极= 1 7 p9 b4 A7 f5 X5 t% x6 K+ }
  40. ---削减这里---
    ( T- v+ c% s7 C/ G* i/ Q) T
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    3 X# ^- C* d: V+ i* \. t; ~3 o% L
  42. ---例如--- 0 {/ m# }' M+ ^6 z/ Q
  43. [ dbexpress ] 5 k" H6 f. I$ A0 u) j
  44. sqldir = mysql_sql 0 s& v% `, I$ Z  j: y
  45. drivername = MySQL中& C8 O' s: C+ @% p+ L
  46. 数据库=测试0 }) p2 U3 ~3 N5 A7 C
  47. 主机=本地主机
    " |; y( A$ x7 M  `7 g
  48. user_name = testuser
    4 M8 f1 t& Z# b, m; T  [* O4 J
  49. 密码= my_password 6 \& A; O, ^# S# v
  50. getdriverfunc = getsqldrivermysql
    - G) S' N5 R4 `
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    : o7 ~) _9 t  {/ w" t5 G: D! L
  52. libraryname =. / libsqlmy.so
    6 h9 E9 \2 @- t
  53. 积极= 1 " h2 g2 R" o* Q  p
  54. ---例如--- + N# v- j3 s1 T: p

  55. : Y+ k- r3 W% m6 A, t
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    . U2 ~, ^- d8 v! o0 c& [0 v, A
  57. ---例如---
    1 ~2 J  z5 w- k
  58. [ dbexpress ]
    ! a) S& n) M5 E
  59. sqldir = mysql_sql 5 s8 _$ J5 h9 v/ N" w& e
  60. drivername = MySQL中
    # A! g1 C  I  |) B
  61. 数据库=测试$ O% s, f1 L' A- `1 ^
  62. 主机= 127.0.0.1
      X! h$ ]3 ?/ L! H% L7 o
  63. user_name = testuser
    9 c5 k. Z) ?' p# V
  64. 密码= my_password
    0 i% V8 d0 }9 {5 S' V. {
  65. getdriverfunc = getsqldrivermysql   b* f$ i8 x0 u! m# C& S
  66. vendorlib = libmysql.dll在5 e5 C& n* @+ E  U6 V9 P
  67. libraryname = dbexpmysql.dll
    % ^1 r+ m# ~5 R7 p: P
  68. 积极= 1   y9 ?) o7 F# |& n; o5 b
  69. ---例如---- / \. p2 M4 I& M9 f
  70. -写在0 2.03.04由p wk.linuxfan
    9 D! M9 y8 H3 b$ x7 I( I  p
复制代码
发表于 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 words3 w3 H# h( ~) R: P" V3 l; `. o" ?
( l; H# S* N1 A. i% Y) R
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-28 18:31 , Processed in 0.094768 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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