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

2527 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 8 e$ m* L0 H3 w! j: w
6 ]3 n5 e0 x8 A( f% @2 o- d+ [0 C

  1. 7 X( D2 A6 n2 i& e4 S
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######( a( X1 U# V- W7 L+ E3 y9 I) F5 O

  3. " i" n6 p% e0 E: w. k% u7 Z5 j
  4. ### What we need ###
    6 a3 I4 j' K+ B# Z, L
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ) ~5 m& @! a6 {" j: ^2 a
  6. will not explain how this can be done - there are documents out there for the
    7 L6 k7 q" G+ |5 N4 V$ Z4 N, |
  7. interested. The requirements include a (empty) database for TeamSpeak to use. p2 v( ?( C- e) \& o5 \0 \
  8. and a user account (username + password) that has the permissions to do stuff' j5 }7 K. k( q
  9. with the database. Additionally, you will need a vendor library installed on the
    ' Z; x2 s7 c6 }' v4 w& F  e) C
  10. local machine, this came with my MySQL install.  O4 a) g% q3 V
  11. These instructions will not tell you how you might transfer your data from the/ _3 _: o! K# g$ ^& t
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL) f! m. j% ?# t% v( Y) n" @1 L
  13. database.
    3 r& r+ R: ^8 ^- o! Q
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    6 X* f8 }5 c% _- @
  15. the time of writing, there are still too many issues - check the current status. j6 b0 q, c  G+ S8 M; u% j
  16. in the TeamSpeak forums if you are interested.0 k) |+ @! `/ H# Z; {' t4 Z
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ! j: q/ {& D; C+ }3 E
  18. Borland was used. This driver can only interface with the client library that - _0 a" t: g5 {% N% k
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this* F3 ^, F9 O, c
  20. client library - basically all you have to do is to use a 3.x client library as
    ; L7 }+ X( u  p6 d7 O
  21. "VendorLib" and a 4.x database to connect to.2 m/ S+ p+ M6 K# G/ y$ K% ^' a
  22. If you need more info about dbExpress, you can contact Borland.
    : d, q: h6 j/ y* u

  23. 9 U3 C* [. c' b/ q) {
  24. ### Doing the work ###
    3 R2 F% _4 n" V1 }/ g. R
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    . Q6 _! q9 W. x. g, V3 V: i0 b
  26. the perquisites right, just open your server.ini file, and add this section at
    , q2 J5 M4 {0 N
  27. the end:; G- h) m- V5 p" a& o! k" F
  28. ---cut here---' @4 J! K0 {4 g! B
  29. [DBEXPRESS]
    7 F3 C1 e6 @# ]9 e' M1 d7 e
  30. sqldir=mysql_sql+ F' I6 @! a" G2 S  o
  31. Drivername=mysql6 V1 t7 P) ?3 g6 F6 f; l0 s6 p
  32. Database=Your_Database_Name_Here" c) p2 R1 h0 T3 j. r9 `
  33. Hostname=The_PC_the_MySQL-Server_is_on
    , j0 y4 p- x$ e0 }8 L" A3 s
  34. User_name=User_name_on_the_MySQL-Server
    ' @/ m# J8 f- `
  35. Password=Password_to_go_with_above_user_name
    " D2 t( s. W; j, ~8 w! t* U1 h
  36. GetDriverFunc=getSQLDriverMYSQL
    1 `+ }9 c+ |) b
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    # K0 ?: {9 O  h6 K/ z8 v
  38. LibraryName=path_to_libsqlmy_libary
    : Q$ V; [7 ?, u
  39. Active=1
    3 s) l/ v8 T+ N/ S0 z
  40. ---cut here---- a7 {8 g) A% f4 g! w; J
  41. In my environment (a linux box with a MySQL server running locally) I have:  `* a! Z, Y' Q' `% X! q
  42. ---example---
    % M6 b' _8 B* l5 \+ }$ r
  43. [DBEXPRESS]! q$ f# x) l8 W( r
  44. sqldir=mysql_sql4 Q! i+ a2 \6 U
  45. Drivername=mysql
    * {9 z$ d) i# n+ T3 H- `- H: d
  46. Database=test
    # A/ c& f  R' y* v, S. h% B# s  r8 _
  47. Hostname=localhost
    , h6 V7 v7 E9 ~1 F& T
  48. User_name=testuser
    . B; {: l# r& L1 ?  Y
  49. Password=my_password
    ) a$ o! E- W, W8 N; X( p4 _
  50. GetDriverFunc=getSQLDriverMYSQL4 P, h2 X5 L# I
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0' x$ o) t- k* P) ?) @: I
  52. LibraryName=./libsqlmy.so
    # f/ h7 n5 w3 I7 O( Z
  53. Active=14 G+ p) q7 i  e* F
  54. ---example---
    1 I8 }: N* ^( F+ h

  55. * p  C# [8 v6 p8 U: g" x2 ]
  56. On a windows box, also running the MySQL server locally, it would be:8 L, ]; R: @# H& \
  57. ---example---
    7 I% U! @3 h3 q+ v* D6 y+ @
  58. [DBEXPRESS]
    ! z8 G" w5 ^# V; _" l5 C; M
  59. sqldir=mysql_sql
    1 g. ]4 L! t* F/ y* n
  60. Drivername=mysql9 g" F( A  G4 p' D9 x
  61. Database=test+ l2 K, N* W( @$ h& k8 s
  62. Hostname=127.0.0.1: |# r" d2 _' J( s: N& m% h( Y
  63. User_name=testuser
    * Z+ D2 P5 c, \) c! x( g
  64. Password=my_password
    ; J  `" ~+ F" q1 j. @
  65. GetDriverFunc=getSQLDriverMYSQL! z; w& Z5 I6 Z" q( N
  66. VendorLib=libmysql.dll9 Z4 F9 |  V* q8 J
  67. LibraryName=dbexpmysql.dll
    1 [8 _& q# `# v$ G
  68. Active=1
    5 x5 U- Q; R. z! J# i
  69. ---example----
    6 e5 {1 {% |3 c, T4 x% T; n
  70. - written 02.03.04 by pwk.linuxfan1 w% r, \3 C0 I( |. R) _

  71. 0 I2 T- M/ L, B; n, G
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看- M7 L/ o5 [" k7 b5 a4 q' J3 ^. u
  1. % Y8 v! f+ A" i# O3 H; j7 _
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    4 d/ a; A* T0 Q% Z2 H
  3. : K0 h3 h1 O/ K7 v8 h5 }
  4. # # #我们所需要# # # ; x/ P" B; I/ L3 |9 B
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    4 J9 l$ Y: K% l% i! c
  6. 不会解释如何做到这一点-也有文件存在,为  }2 d6 M( E% O  i% l
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
      ~# L3 Q6 `/ ~6 e. l3 a3 ?( g
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    , ]6 L* L: Y1 S. j1 c
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    % `3 `& u! I( N  X/ q7 C2 K# n$ M
  10. 本地机器,这是我的MySQL安装。
    ) @- J- a) k; T2 z
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    & j4 L, [* A& y4 I  j& a
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL . B# F, s6 Q8 k! d/ H# G
  13. 数据库。
    6 c: D0 x5 t0 U- ]6 p7 b
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    1 u7 ?* D% x2 C* s: k* R
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    + g/ T, n' f& I$ a7 B( H
  16. 在teamspeak论坛,如果你有兴趣。 / e6 l/ [6 P( k3 i+ n! o
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    * ]6 _/ u2 ]1 m$ B* u& {! c& G3 z
  18. Borland公司使用。这个司机只能界面与客户端库
    ! |& x5 |$ x* f) A
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    - K# i/ A" F; r! r9 D+ T, g5 U$ \
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    & ]1 R2 k2 W: G, L
  21. " vendorlib " ,并解数据库连接。
    % k  p$ z0 X4 N4 z5 W, _
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 8 W* X- ~1 b7 B$ J9 Y

  23. ' b: {2 ~) S# S) A$ a% {- L
  24. # # #做好工作# # # 5 m$ k8 Y2 {! k& [
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都. ]. I- b* q4 s% Q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    1 H0 M( Z5 n% C
  27. 结束: $ L' k# {' c4 ~' m4 `
  28. ---削减这里--- , a8 C6 d  C, t8 o/ e  K, z: {8 T1 Y
  29. [ dbexpress ] " j1 X- `( q8 X
  30. sqldir = mysql_sql 8 l9 V# E3 e: a- @& w" G( {9 |7 D* T
  31. drivername = MySQL中
    % h+ \+ l  r" F( P* p+ z7 k
  32. 数据库= your_database_name_here
    / Z2 B% C% F2 g; F3 T  T) P: }1 |7 W
  33. 主机= the_pc_the_mysql - server_is_on
    - {' o/ t/ j4 Z$ `6 F$ i
  34. user_name = user_name_on_the_mysql服务器
    7 s$ W/ k9 h# k% P+ A$ x
  35. 密码= password_to_go_with_above_user_name
    4 P9 U4 l+ i" K$ A  y0 P
  36. getdriverfunc = getsqldrivermysql ! S  F% u+ J5 |$ t5 c
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    " `) H. z/ p6 A* g
  38. libraryname = path_to_libsqlmy_libary
    8 a  q, e3 v/ r3 L( X
  39. 积极= 1 3 K0 `# y( O. Z8 d$ o1 L6 ?0 Z
  40. ---削减这里---
    0 j" v, Z3 T6 \2 a/ c- v' [3 x. Z
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ; C* R* E1 n4 u* M& y0 t
  42. ---例如--- 5 p1 f" P4 r. U
  43. [ dbexpress ] ) O5 P' J- u: m0 x  E* h0 J
  44. sqldir = mysql_sql : f5 G% V3 [- C3 @" u* T
  45. drivername = MySQL中
    ) f% q* H# h2 I# n0 i
  46. 数据库=测试
    7 f4 e: z/ ?2 m8 V! ]/ }# h+ ^
  47. 主机=本地主机; |1 V2 Y+ M) |8 g
  48. user_name = testuser
    9 B+ U% p8 G& h5 Y8 |9 @5 R/ d+ m
  49. 密码= my_password 1 O* j' f! g' ]  y0 G; T3 j% O
  50. getdriverfunc = getsqldrivermysql 6 k- D8 ~! X! S+ {& z. L
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    1 {. }8 p" N! {" k4 G
  52. libraryname =. / libsqlmy.so
    2 Z+ a, X* [/ N  W( v7 m: o
  53. 积极= 1 ; \8 `1 h) Z$ S: @3 Z- |4 L
  54. ---例如---
    6 _5 U! m. S1 }0 t+ j+ u' W; [
  55. . j/ m8 R* x: }7 U( f9 i1 p* l. {7 }
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    & v# e: f7 y# O4 K% D2 }% `0 V3 q
  57. ---例如--- 9 S. i! @# g- `) u9 C5 U
  58. [ dbexpress ]
    : T. s2 W" d) }% M' H
  59. sqldir = mysql_sql 9 Y! c" p( N4 w# @- V
  60. drivername = MySQL中
    * z! r  p7 w$ M$ _
  61. 数据库=测试% M" Z9 I; b* T% \
  62. 主机= 127.0.0.1 ) [9 s! D! c; s8 Q
  63. user_name = testuser 2 y$ T4 ]2 n4 W1 _$ W) n$ Y
  64. 密码= my_password
    5 g& h# ]) @. ]6 |
  65. getdriverfunc = getsqldrivermysql 0 A( Q+ x: M- d$ J3 |9 K
  66. vendorlib = libmysql.dll在
    - Y3 {; e' b* k" ]. D3 Q
  67. libraryname = dbexpmysql.dll
    % v. |" _* n% D# O9 g
  68. 积极= 1
    ( @) k& m6 `. \+ O' y: \+ {" i
  69. ---例如----
    8 d: ^, m' q0 X6 F3 O: S
  70. -写在0 2.03.04由p wk.linuxfan  o6 @: {7 g: k3 ^& F) i
复制代码
发表于 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" q6 c9 T* E$ r1 D

" T9 g: m5 a. m/ ?3 f9 bbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-17 15:10 , Processed in 0.113916 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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