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

3386 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
/ [9 f! {# X& |6 R9 R0 V( m# x9 w" L. h( K, r( U  R% e
  1. ) M+ L! G! @6 ^+ z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######  ^) ?1 _2 W! Q: H

  3. 7 q& h. u3 |& s4 g0 \! x! N+ ^
  4. ### What we need ###& c7 n6 x8 e/ B! E8 r; N
  5. Naturally, we will need a MySQL server to store the data for us, this document 5 p: A2 d4 y/ y- I) D2 @! U: E0 k
  6. will not explain how this can be done - there are documents out there for the
    5 G: i) z2 d% m$ h7 w; z: B
  7. interested. The requirements include a (empty) database for TeamSpeak to use, E) W  P" \# d& J' Z
  8. and a user account (username + password) that has the permissions to do stuff* b% D: e2 _( D1 }% ^
  9. with the database. Additionally, you will need a vendor library installed on the+ M3 @5 m0 ]9 Y1 T9 K& R( ~
  10. local machine, this came with my MySQL install.
    * F; T  e4 w9 [
  11. These instructions will not tell you how you might transfer your data from the5 v. f3 ~7 K8 g) d. v2 {
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL+ X3 M. u+ Q, j, n1 t& m4 t
  13. database.2 }5 d) ^2 q6 x" L& {) o( `3 {
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    4 W4 {. N* d2 R% A, F
  15. the time of writing, there are still too many issues - check the current status
    + }1 a  b2 j7 `: F1 Z
  16. in the TeamSpeak forums if you are interested.
    ; a9 s3 ]6 Y4 \0 @
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    + ^! _9 [1 P( G' W/ G7 U' R
  18. Borland was used. This driver can only interface with the client library that   |3 }7 U) |3 v. z" @& u
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    / b9 R2 C2 f* b7 r' {( E
  20. client library - basically all you have to do is to use a 3.x client library as
    $ y6 ?  V8 o8 H7 f5 N
  21. "VendorLib" and a 4.x database to connect to.# N" f$ g7 W9 ^1 e- M
  22. If you need more info about dbExpress, you can contact Borland.1 u( ^' ~1 c. a

  23. $ x+ B# A0 K) S& I- {
  24. ### Doing the work ###! W* r  b# J0 f' C1 _
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all/ G: I8 `4 [1 @" f# ]  z
  26. the perquisites right, just open your server.ini file, and add this section at8 _! G/ K% U8 @& e- f
  27. the end:, `0 }6 L$ ?9 S
  28. ---cut here---+ C: Y; ^7 G  @& c
  29. [DBEXPRESS]+ g+ _4 @, k3 k& e
  30. sqldir=mysql_sql
    4 c# E; ?, U" Y2 j/ N& P) \: J
  31. Drivername=mysql3 b7 B, ?5 L3 J; l! _
  32. Database=Your_Database_Name_Here9 d- W! j3 U& f. u- g
  33. Hostname=The_PC_the_MySQL-Server_is_on7 H  q" X/ I8 _& r) D) Q9 e* L1 T
  34. User_name=User_name_on_the_MySQL-Server) K! ~, j; U5 K
  35. Password=Password_to_go_with_above_user_name, k& T9 D; O+ X5 A) q3 _" s" p- \
  36. GetDriverFunc=getSQLDriverMYSQL9 P8 s: z' `" q; z, U2 U  h
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    6 l" ^% f' x# B( _/ v4 f
  38. LibraryName=path_to_libsqlmy_libary
    & E/ o( S6 `7 x: i1 q; |
  39. Active=1, L- p% A1 ]1 C0 k0 c
  40. ---cut here---& z9 Z2 @/ R9 C8 x% K
  41. In my environment (a linux box with a MySQL server running locally) I have:3 x  H" ^3 p4 q1 L) j& T! F6 _8 u
  42. ---example---
    $ W' V6 f: D! E' A
  43. [DBEXPRESS]
    ! q! Z  D. A6 W
  44. sqldir=mysql_sql( a! B, O4 r. i- Z, c/ e
  45. Drivername=mysql( |5 ?6 V8 }; k$ }
  46. Database=test( Z$ w, U. \) m* [1 O
  47. Hostname=localhost4 P; g1 c$ o: z. h3 H' W' R
  48. User_name=testuser8 r& x! J* v% L# }. k2 b* N& W
  49. Password=my_password% K+ T, v1 m9 H% i% ?- a) C
  50. GetDriverFunc=getSQLDriverMYSQL' C2 n) `, a. C# s
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    6 X) i, t2 {; `5 H1 s# D
  52. LibraryName=./libsqlmy.so
    * i$ U" h- Z! I6 c* a9 K( f
  53. Active=1
    5 Y- O/ G; H9 Z# b! _6 P, `5 [
  54. ---example---
    7 M; Y( K$ \# @' u8 y2 R" @; p, e
  55. ) a! _3 }+ G8 N# L
  56. On a windows box, also running the MySQL server locally, it would be:( ^9 E' c- G8 u8 w( H; G- M
  57. ---example---. [+ B# H: ?6 A' G
  58. [DBEXPRESS]4 J# Q/ ]9 ^2 x3 q0 M. Y
  59. sqldir=mysql_sql
    1 x* G* x- R6 b8 k  _
  60. Drivername=mysql: @) O1 C5 v" F/ o% N! z
  61. Database=test" T: F" s* [& o' F$ H
  62. Hostname=127.0.0.1
    9 h2 E6 T+ |9 G! i
  63. User_name=testuser* X/ l2 r7 D; V$ ?# m8 d! Q' Y
  64. Password=my_password% i1 A/ E  E! ^* s3 n
  65. GetDriverFunc=getSQLDriverMYSQL: W7 K+ J2 s* R! {/ f* c
  66. VendorLib=libmysql.dll
    ; J) o: {4 i" n, t- e8 ]
  67. LibraryName=dbexpmysql.dll
    8 u$ }- @2 V0 ~3 W
  68. Active=1
      |6 _$ U9 g$ ~6 G: D8 N1 I
  69. ---example----
    . ^3 ?# S% ]4 l
  70. - written 02.03.04 by pwk.linuxfan. P" k6 z1 d- D1 |- \* }4 B
  71. ) m2 P3 Q, D% O4 e, _- P
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
; S. |7 k/ c2 }6 I' K3 d

  1. + b- z: T1 f2 U8 R% b) E' v
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 1 L) ^! N& n% ^3 @0 C0 d3 R0 O

  3. $ H+ l* ]; c! T) f
  4. # # #我们所需要# # #
    / I( g: C3 B6 v+ ~/ ]
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
      X) n* Q5 h& J
  6. 不会解释如何做到这一点-也有文件存在,为
    + |+ V4 n0 Z. M
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用1 R! K  z/ }7 G6 @( k/ ~
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西, `! p1 l) ^1 J3 w' `) g2 ^  G3 T. W
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    / r, U- C. M4 {, R, S
  10. 本地机器,这是我的MySQL安装。 / }5 V$ [1 E/ D7 R
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    " k3 E0 m7 v) h2 N) `) r  l% v
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    - y4 x: L# E8 D
  13. 数据库。
    8 f: {* \5 Y6 |/ m3 A
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    4 ]% `0 [: N* N8 F
  15. 编写本报告的时候,仍然有太多的问题-检查现状& p- [9 n1 k+ [- ^2 R( r" t
  16. 在teamspeak论坛,如果你有兴趣。 4 I3 |' S, e; }* F4 S* d
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    4 z& e, m) ]8 n4 y1 M; M
  18. Borland公司使用。这个司机只能界面与客户端库
    9 n5 O3 }% N1 X$ _. l0 d) ~
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    1 b; R$ _1 R- w3 W  A( C6 V$ y
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    8 {- c* Y( P* C* C! R+ r5 [
  21. " vendorlib " ,并解数据库连接。
    / u- Z1 d* l3 s* c' o0 p
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    8 w* e# b" S, M" G
  23. 0 e: Q0 i  F6 j9 ^
  24. # # #做好工作# # # 9 h. R# ^: u* n8 f
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    1 o1 N" p* ~# E
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在/ C7 d% }( D4 y0 v6 ~
  27. 结束:
    1 m! p) W/ d  H& Y
  28. ---削减这里--- : k. `& X3 X! q* K/ f
  29. [ dbexpress ]
    2 L* F; H* `1 f( S
  30. sqldir = mysql_sql
    & N% E8 C) Y1 A, |4 H
  31. drivername = MySQL中1 w- J9 B1 i# g' F+ M) b
  32. 数据库= your_database_name_here
    ) |5 |% j6 q$ P$ B/ h
  33. 主机= the_pc_the_mysql - server_is_on 1 }& n7 M7 y* w6 X/ U& x: k) j
  34. user_name = user_name_on_the_mysql服务器4 g0 d) W# i* N# J- k% p- v1 h
  35. 密码= password_to_go_with_above_user_name , ~7 m$ Z# ~" }4 v( Y6 n. u
  36. getdriverfunc = getsqldrivermysql
    % y+ R6 F/ P+ C9 ~/ B1 d* D: `
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ; W! d/ v) o+ G
  38. libraryname = path_to_libsqlmy_libary
    ' f6 F1 a: C% x  p  N
  39. 积极= 1
      {) N4 G# `8 v, ?
  40. ---削减这里--- 4 n, x% q/ g. l) W8 Y$ ^
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    1 x  p0 t/ K+ {2 F& g( ?% a1 K
  42. ---例如---
    ' v, c$ j& ~' O- Y. V. l2 i1 u
  43. [ dbexpress ]
    0 ]7 K3 X  Z4 Y3 o
  44. sqldir = mysql_sql
    0 }; P: W5 q8 U, g
  45. drivername = MySQL中. |5 }8 W( x+ n  c- }) v1 P
  46. 数据库=测试
    . O' g/ N" {8 t& ]
  47. 主机=本地主机$ u3 W7 |. u5 p+ y* K# W; H
  48. user_name = testuser ( a& _( h$ {  Y
  49. 密码= my_password
    5 Y. ]" o( k  i- ?) m% P' |
  50. getdriverfunc = getsqldrivermysql ) y$ y3 \6 y9 y
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 0 d9 x& ]; c9 a. x4 X
  52. libraryname =. / libsqlmy.so # X. ]3 f2 W$ D8 F
  53. 积极= 1
    - Y; r$ ?) n& p0 O
  54. ---例如--- 2 L8 T  M# I7 z7 W! `; P1 A1 d

  55. ; J4 m% u6 _3 E4 U
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 0 }# D6 R/ k) Y# ^# `
  57. ---例如--- ! q0 v  V" `7 t9 R9 a1 M6 I# n* c
  58. [ dbexpress ] ' z# a" F9 W) g$ }4 O9 V( q) c- j
  59. sqldir = mysql_sql 7 ^9 l2 z" L4 ^8 H" q% H5 n
  60. drivername = MySQL中: M4 u# |) |; F+ H
  61. 数据库=测试
    2 F0 Q5 n8 S4 F
  62. 主机= 127.0.0.1 - a, \- a: r( f% A
  63. user_name = testuser
    : S# u9 S; B7 b1 q
  64. 密码= my_password
    4 ~0 y. ~0 F6 q& ~' X5 a$ t
  65. getdriverfunc = getsqldrivermysql - {( R, f5 W. {5 [
  66. vendorlib = libmysql.dll在5 g2 l3 v# _; V0 k" j- p/ K3 m+ q
  67. libraryname = dbexpmysql.dll 5 h" h0 `1 G3 y: ]
  68. 积极= 1 : x# m3 H. ^, ?7 G8 \
  69. ---例如----
    ; s' R" h5 m8 \
  70. -写在0 2.03.04由p wk.linuxfan
    ' r  o# m* r! f7 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* B( a) ~# T7 t. [; n" F

8 }2 \1 n- @4 E) _but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-24 13:56 , Processed in 0.097643 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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