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

2701 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
7 u! U8 @# c. w( U2 S/ e) r
! E7 [5 F5 C. u% y- a
  1. 2 t4 \) P' C1 Z3 J( n" Z8 ^/ v
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ####### ]" o' B  `, j' A- h% V
  3. 7 K4 [2 u! F* n
  4. ### What we need ###
    ! r+ Q7 s( p! U: m# ?
  5. Naturally, we will need a MySQL server to store the data for us, this document + u: I% K/ c, w. x
  6. will not explain how this can be done - there are documents out there for the " X6 w! `4 Z; T. T
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    - C8 z! T! d* d% L. _
  8. and a user account (username + password) that has the permissions to do stuff
    3 @8 ?% L& b7 H% L+ t' x3 f$ A
  9. with the database. Additionally, you will need a vendor library installed on the
    , ]# B3 T8 n3 \! x1 `
  10. local machine, this came with my MySQL install./ ?' ^' W- B( c' F8 G
  11. These instructions will not tell you how you might transfer your data from the
    ; `$ d+ ^- F" T2 S
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL/ Y" O8 W3 p/ _8 ^) Z
  13. database.) @' c4 [5 m+ L/ L4 |8 N6 \2 }
  14. Some users have reported ways to import a SQLite database into MySQL, but at& I8 ]% B; ?* [* c
  15. the time of writing, there are still too many issues - check the current status
    4 Q  c7 r, W8 y7 }& c
  16. in the TeamSpeak forums if you are interested.
    8 x: {* W) i4 _0 }; d
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from8 L0 f5 F% q" L* z. S
  18. Borland was used. This driver can only interface with the client library that
    9 ^  J' M2 y, f; A; `
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this  _1 c. V8 u) k7 F) r
  20. client library - basically all you have to do is to use a 3.x client library as
    % f5 ~! u! P. {: a0 D+ O5 K3 B) I
  21. "VendorLib" and a 4.x database to connect to.
    & X0 s) K) h5 c1 ^1 R/ O
  22. If you need more info about dbExpress, you can contact Borland.' \+ ^% z* I& v6 Y0 m; r# |
  23.   r: N/ T/ ^8 m8 l0 N# ~& ~
  24. ### Doing the work ###
    " a* E/ U" a& g; D
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all# ]0 ^: A. q5 F' _. i! ~, @
  26. the perquisites right, just open your server.ini file, and add this section at
    & k3 y& _3 f/ }
  27. the end:, c& u/ B  j) J
  28. ---cut here---* N9 Z4 p- |" v3 o
  29. [DBEXPRESS]
    , _) K+ Y) K( Z& V* h6 F
  30. sqldir=mysql_sql
    $ r$ M% u6 P' R
  31. Drivername=mysql: h+ n$ `2 t7 _/ S
  32. Database=Your_Database_Name_Here! Y$ L2 l) e1 @2 O4 v0 w# v, a% V
  33. Hostname=The_PC_the_MySQL-Server_is_on- ^/ F% a5 w9 I; ?
  34. User_name=User_name_on_the_MySQL-Server6 A! x- V: d; }
  35. Password=Password_to_go_with_above_user_name# {0 {' W' i7 r0 a" G
  36. GetDriverFunc=getSQLDriverMYSQL
    ) _; |+ M& s+ e
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib9 [. N( L2 i" i. _  n3 q2 r9 D
  38. LibraryName=path_to_libsqlmy_libary
    - E# S" i4 p, X7 ]& c' n' x
  39. Active=1- h3 M' o" X1 N! c7 B0 [" Z" B
  40. ---cut here---
    1 H# e- b, v% \! ~
  41. In my environment (a linux box with a MySQL server running locally) I have:) d4 _, n9 f4 L* x* A) O$ k
  42. ---example---
    1 F/ I7 n) n+ F% a$ ~& Z
  43. [DBEXPRESS]
      w/ l. A: @  [" ~8 F: I! a4 p) u3 }9 v
  44. sqldir=mysql_sql
    5 K0 e5 e8 b( u; I, T$ ^3 p( a' K
  45. Drivername=mysql8 C) @, b% e) w, }- T
  46. Database=test
    : e5 a6 g- ^# _( O' d6 u
  47. Hostname=localhost& Q1 ?1 ~% z$ i% R  N
  48. User_name=testuser
    1 m+ ?! X& M) g9 Z+ D$ X% H! E) g
  49. Password=my_password
    , e7 h. C8 L# `9 L# g
  50. GetDriverFunc=getSQLDriverMYSQL
    1 R2 G: s) `2 @7 t$ o$ s
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.00 m* i$ R& E# [5 ?9 x; {3 }
  52. LibraryName=./libsqlmy.so
    1 B3 D* b. M5 N. Y6 d( R
  53. Active=1
    4 Z# n+ ~8 s$ ^6 q$ S% e: |$ L$ t) Q
  54. ---example---
    : X( N% r1 [% M3 S

  55. 5 e8 Z" g8 @' W- l5 K  J/ m
  56. On a windows box, also running the MySQL server locally, it would be:* S0 i' [- v9 B; C
  57. ---example---+ h8 x& B" e, G+ E; Z
  58. [DBEXPRESS]
    1 n% \+ Q* m: q/ _, S5 f
  59. sqldir=mysql_sql" K) |+ F  E% z. Q
  60. Drivername=mysql3 M) I* E) F6 c% N; r
  61. Database=test- _- @* I$ B8 Z+ D
  62. Hostname=127.0.0.1, E8 A# D5 e: h+ ?3 z' L
  63. User_name=testuser  g# Q# k2 D1 k  G
  64. Password=my_password5 }- h5 J" Y" N+ ~( ]
  65. GetDriverFunc=getSQLDriverMYSQL
    9 l8 y9 \! t; [5 k! ^0 r8 M; }
  66. VendorLib=libmysql.dll" m! c+ D: E0 |  k- M
  67. LibraryName=dbexpmysql.dll
    8 H  Y  @) J0 V* X
  68. Active=14 H2 j2 P2 l6 |! o. {
  69. ---example----
    ! ^7 S# K- f! ?1 Q9 _* i- w! V
  70. - written 02.03.04 by pwk.linuxfan
    6 f: V/ w  }8 a  D) ^5 S: e

  71. . y; p) n  U# d! V) w
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看* h) |( ^! u; D

  1. 2 h% D; ^0 ~5 [1 x
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 6 Y0 \# L, t0 l) F( Y2 e

  3. " g9 B% G: F( i7 q# e' r7 ~/ D2 L: L
  4. # # #我们所需要# # #
    / q8 \$ _, y' ]
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    , c, [! i" v+ D& y9 y
  6. 不会解释如何做到这一点-也有文件存在,为
    + f, o) E$ V; F: b* @" F- R; [
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    & A6 f7 q. ^: _& t
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    : M7 m0 J9 {/ {! t. E$ S
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    " W1 G* `0 Q% F+ W
  10. 本地机器,这是我的MySQL安装。
    5 ~( d: H2 @% b8 a% y5 `: c# i' q3 y1 }
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从2 k  c4 A* h0 T( x8 c+ ]
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ; Q" n( |1 Z, v9 H
  13. 数据库。 2 i0 r8 k8 ?2 L* v- U7 J
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在; z! T/ v; |* i/ x
  15. 编写本报告的时候,仍然有太多的问题-检查现状. E) z" F' L" Y
  16. 在teamspeak论坛,如果你有兴趣。 ' v- a* g+ j3 F- J: F
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    3 A: l) ~, m, P7 l
  18. Borland公司使用。这个司机只能界面与客户端库+ G% T" ~- f) o
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    & K2 |" i/ r# z' l, Y
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为; \9 l2 U. @. H; O. [5 e0 _+ p; L
  21. " vendorlib " ,并解数据库连接。 $ e/ ^' z1 P6 E( O3 w/ T, b
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    # S- \  }! H2 [
  23. 1 q( J$ a6 c0 n# E: [" w  ]  {
  24. # # #做好工作# # #
    ) T6 c- {; [. b
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都. W3 O7 I0 r6 D0 Y# k& G
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    : `7 N' {7 h/ Y' Y
  27. 结束:
    5 n& s$ P. k1 j6 X' D- F
  28. ---削减这里--- * u$ v! [5 m, X1 w& r
  29. [ dbexpress ]
    ! V2 L  B* o8 e
  30. sqldir = mysql_sql % t: u4 D- u' d3 W( f
  31. drivername = MySQL中
    3 w; @5 {' H9 u  |; e
  32. 数据库= your_database_name_here
    - ?+ p+ H# G: ?7 |& O
  33. 主机= the_pc_the_mysql - server_is_on
    : d; n2 P; D7 v" m
  34. user_name = user_name_on_the_mysql服务器" s2 y" q9 N( }) U3 S' l' Z
  35. 密码= password_to_go_with_above_user_name 0 X5 r6 m5 D! \) \/ N" l
  36. getdriverfunc = getsqldrivermysql & P2 M9 K" l9 q# s/ ], ]8 ?! H( X
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib " L4 A4 s/ }5 Y4 s4 K7 v+ k6 x
  38. libraryname = path_to_libsqlmy_libary
    ! y0 {% [3 [' s. |2 w6 i: c
  39. 积极= 1 0 o' }3 C5 `- h8 r& \7 a" h
  40. ---削减这里--- 9 x! v$ P9 v+ U
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ( V5 O  _3 G8 ~3 t- _' _
  42. ---例如---
    ' @" y, P6 a% s9 T) {3 C
  43. [ dbexpress ]
    7 I6 X* ^0 i4 x( }% ~. \
  44. sqldir = mysql_sql # n% S7 v* K, A% j7 j' q" d% G* G
  45. drivername = MySQL中( |4 P1 ]% F; A; p$ Y/ m
  46. 数据库=测试3 J6 Y6 E' l! @  m! p, E, t4 g, w
  47. 主机=本地主机# k3 |# n: G+ }2 h# W
  48. user_name = testuser : T+ j8 a( q. X/ q
  49. 密码= my_password ; z( f0 l( P0 u6 w  P* O0 j1 I2 Q
  50. getdriverfunc = getsqldrivermysql
    5 {  ]( ?+ e( V! s
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    * C4 D; M/ v( n* Y
  52. libraryname =. / libsqlmy.so 7 K7 E/ D' F% u& N8 Z* `
  53. 积极= 1 # E2 \! v8 h$ `" K" D
  54. ---例如---
    $ j% h9 \! x& G( V: G3 d% P
  55. 2 K' n6 {' H7 y/ A" g+ ^/ L
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    / B9 w. \( e6 G1 D
  57. ---例如---
    3 k' I2 u. C. F6 I( x% G
  58. [ dbexpress ] 1 `! P. G9 ]0 f% C8 C: p3 M
  59. sqldir = mysql_sql 5 N" [, x' J; |4 `
  60. drivername = MySQL中( y1 U# z! o: ^# |2 }& _
  61. 数据库=测试! j# n4 ^4 b0 r# p" J% x2 f
  62. 主机= 127.0.0.1 " e3 m& |& L% F
  63. user_name = testuser
    / Z! n( O- z; {
  64. 密码= my_password ' P/ X) U( [5 Y0 e
  65. getdriverfunc = getsqldrivermysql
    6 [. m9 N& k2 Y  W" ~* C' s& m7 ~
  66. vendorlib = libmysql.dll在, [- m1 q5 |1 D+ K% o
  67. libraryname = dbexpmysql.dll : Y% l5 s* g% ~* \- p2 ?" d
  68. 积极= 1
      G% d5 Z  G  R  ?( r* s& c
  69. ---例如---- # T/ }* S" h2 L$ l' W% }
  70. -写在0 2.03.04由p wk.linuxfan
    + _" o! s  o4 X: c
复制代码
发表于 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, c0 k: a8 T  ?; D1 x# C6 j2 {

# ]1 B- e* J4 o8 V2 ebut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-3 22:34 , Processed in 0.124043 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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