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

2693 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan # G& T3 m' h$ Y

0 P$ U7 q2 m6 l" D
  1. # o9 G% x2 [8 V
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######5 X! e8 o3 }4 t+ m4 s" l- N
  3. 0 s$ ?) {0 t5 T
  4. ### What we need ###
    9 M& R) Z; _+ ^9 G6 W: Q6 l3 E
  5. Naturally, we will need a MySQL server to store the data for us, this document * v8 A8 P0 S' z% v2 \0 e& v
  6. will not explain how this can be done - there are documents out there for the 1 W$ x% u, {# k$ m/ l0 I- F
  7. interested. The requirements include a (empty) database for TeamSpeak to use
      \7 m5 j* @" V" f
  8. and a user account (username + password) that has the permissions to do stuff8 _- [1 |: o* L7 \# b5 c
  9. with the database. Additionally, you will need a vendor library installed on the# z2 g/ p/ g2 p7 ?$ Q
  10. local machine, this came with my MySQL install.8 ~+ C& p7 @3 y1 o6 c
  11. These instructions will not tell you how you might transfer your data from the
    0 H3 z; |$ K4 x3 c
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL* |% X1 u; s' Q% P* r) q
  13. database.
    - _; m9 m0 @, S/ c
  14. Some users have reported ways to import a SQLite database into MySQL, but at
      L0 ^2 @1 b  e* g
  15. the time of writing, there are still too many issues - check the current status
    8 r7 p8 m0 e0 \: ?
  16. in the TeamSpeak forums if you are interested.
    1 n0 P. ~  h1 K/ T$ s
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from9 a- {( f. C! [* J4 t( {  \& h
  18. Borland was used. This driver can only interface with the client library that
    7 C, ]' S- ]* f0 h
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    0 C; t" y% U" d" O- S( c
  20. client library - basically all you have to do is to use a 3.x client library as + \2 @) T% i5 x. R
  21. "VendorLib" and a 4.x database to connect to.
    6 q' v8 N8 L, v7 z+ K, P# I
  22. If you need more info about dbExpress, you can contact Borland.7 ?' s4 R6 r/ P
  23. 9 i1 ?% u' ^6 ~- G7 |9 p/ v
  24. ### Doing the work ###' I. ^6 b  H9 J! s
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    / R5 b. {: x; ]' j: x9 g
  26. the perquisites right, just open your server.ini file, and add this section at' b: A1 P- z7 {+ w; R4 I
  27. the end:
    # [% d9 t, c/ H" {3 ~/ e
  28. ---cut here---
    6 P& E% W. I4 R3 \
  29. [DBEXPRESS]+ m, R! q5 {" t$ N+ Y4 H3 h
  30. sqldir=mysql_sql* n6 E: H. `$ O- @3 m
  31. Drivername=mysql
    9 Q; o6 f) e* i
  32. Database=Your_Database_Name_Here
    3 H* Z" ~6 d# b2 t
  33. Hostname=The_PC_the_MySQL-Server_is_on
    6 b0 S9 v. c2 e
  34. User_name=User_name_on_the_MySQL-Server9 j7 h9 p/ i2 D4 M# Q' k
  35. Password=Password_to_go_with_above_user_name) c! }9 e1 f' {! Z
  36. GetDriverFunc=getSQLDriverMYSQL
    ! G$ Q- N; I7 _8 b* E3 g& W
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib" s% Z3 G9 c) L( f$ X
  38. LibraryName=path_to_libsqlmy_libary  K2 K' I! Q5 r. C- F; _
  39. Active=1
    3 l) [2 C( d; P, i' q
  40. ---cut here---- y2 u/ P0 X' C4 D
  41. In my environment (a linux box with a MySQL server running locally) I have:2 H' c2 e; S$ M1 N  L7 j) z
  42. ---example---
    5 ]1 a) d+ o; U! E* f: q
  43. [DBEXPRESS]
    / R& H4 `) \+ L4 S5 ^
  44. sqldir=mysql_sql
    0 a7 T1 e6 B, c$ S
  45. Drivername=mysql
    4 E4 `+ F2 K2 ^, l3 p, R+ {" j! a9 X+ `
  46. Database=test
    ! ]8 n0 {9 f8 h# S$ p: h* }) Q( @
  47. Hostname=localhost
    2 z2 R1 x0 @! U0 ]
  48. User_name=testuser
    " d$ N" E5 f/ u4 s# K7 J9 k: C
  49. Password=my_password. N- ~2 a5 P* `" \. G$ t
  50. GetDriverFunc=getSQLDriverMYSQL
    ( ~# B$ L: ~+ r  r1 x% S
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0) j" v/ V$ n+ n6 ]
  52. LibraryName=./libsqlmy.so
    $ B4 q* f4 u% E6 R: f$ h0 g
  53. Active=10 V2 x% p, a9 t# k& K& n7 R
  54. ---example---8 \/ m, F) O! x- t
  55. / q: T* }/ _2 A: r2 N8 F4 C
  56. On a windows box, also running the MySQL server locally, it would be:
    6 W1 ~* Q1 N3 |* X
  57. ---example---; v6 ]/ Y; H& O, Z- A- r
  58. [DBEXPRESS]
    8 ?' h% Q% d5 l, `' l' g2 S
  59. sqldir=mysql_sql
    : ^% k5 ]5 U. k' e/ V  c' l" ~
  60. Drivername=mysql1 P- n# X. P) q8 R) q& w
  61. Database=test# V- ~4 ]. @* @9 i& O& K
  62. Hostname=127.0.0.1
    ! J4 S/ c$ h: m
  63. User_name=testuser" H' K/ T# }3 O  R5 X' }, j
  64. Password=my_password
    2 d% P/ R! ?! y, F
  65. GetDriverFunc=getSQLDriverMYSQL
    5 R7 a4 \# ^8 L; A- H
  66. VendorLib=libmysql.dll1 q& p$ y4 J" l8 K/ ^5 ^
  67. LibraryName=dbexpmysql.dll
    * `' u6 Z0 `( o3 B% }: r  ]2 J
  68. Active=1& [: c4 q9 D9 a1 K' {- u
  69. ---example----. J! S# ]0 [: V4 H" J6 p" i
  70. - written 02.03.04 by pwk.linuxfan$ o$ o7 ~6 z( j! B4 `
  71. & @% h% F* L, j
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
$ W- x/ E1 F9 y/ e

  1. : {9 J3 l' U0 i9 V9 o
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ! Z% y( E7 ?$ y: ?3 _5 X
  3. + A+ C1 d& Z, Q& N! Q, p
  4. # # #我们所需要# # # 5 A: t, Y6 ]- s8 i' |$ N3 \5 g# |
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ! F, _! D/ G8 _) d, H
  6. 不会解释如何做到这一点-也有文件存在,为! H' c6 `: r- c; p+ a! @$ m, m
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ; m# s) [. W0 r0 Z5 }5 S. r5 Q9 D
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    : Y) w+ c! b% t$ V
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    % s/ @/ Q6 P* Q' f# u3 T8 L
  10. 本地机器,这是我的MySQL安装。
    + s0 h3 a" |$ j5 ]& {
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从; \- {- l, l* D* o+ x
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    * _1 t+ c1 K# n3 A0 m0 m: z
  13. 数据库。 $ s1 @5 x6 Q. [2 S$ ~2 L
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在0 B$ }# T  @0 c  u* V6 k, P
  15. 编写本报告的时候,仍然有太多的问题-检查现状% A2 z* K% Q' e: Y
  16. 在teamspeak论坛,如果你有兴趣。
    ' ]0 r4 I4 J" ~' N4 C- n
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机: I2 l% O" j& f
  18. Borland公司使用。这个司机只能界面与客户端库7 Z+ `1 F3 A0 W8 _! M
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这' L/ `4 X+ J: i+ ?2 @$ P% D3 O
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为  \+ {" i. m8 g! j3 Y6 X# _
  21. " vendorlib " ,并解数据库连接。
    5 Y; i* V& X8 I/ F& y: q& \/ k
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 , s8 n; H6 K* y; o! Z1 ~

  23. ) r; |/ }+ s7 t8 M
  24. # # #做好工作# # #
    ( b, b$ Y2 b% H) l) h4 o* t
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    / t7 B; N) ]( S
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在9 q3 f2 Q1 E& N# e
  27. 结束:   O& ]/ h& d, j* ~' L8 S
  28. ---削减这里---
    6 ?$ N5 n0 u% _# f
  29. [ dbexpress ]
    + s: m1 D' _5 j/ r# D/ o2 v
  30. sqldir = mysql_sql
    ' d! u4 V* U* g4 [
  31. drivername = MySQL中! F4 H. l; y3 I6 U) Z" _
  32. 数据库= your_database_name_here . r- z: S  ]6 h
  33. 主机= the_pc_the_mysql - server_is_on " P$ h! \# y7 \1 f: K+ i1 u7 W; s; C, f
  34. user_name = user_name_on_the_mysql服务器
    * C2 ]8 T/ U# O/ _4 V; q9 d: d1 ^
  35. 密码= password_to_go_with_above_user_name
    & }+ ~$ }7 M7 U; w
  36. getdriverfunc = getsqldrivermysql
    8 _+ u$ R$ G# c8 x/ x( w
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib % `2 q0 L9 G  }7 N5 q
  38. libraryname = path_to_libsqlmy_libary $ f7 }& {: ^' ?# f
  39. 积极= 1 * {5 k& q2 \* c0 u, V2 x
  40. ---削减这里---
    $ e, @. d& @/ p0 T
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: , a7 ^3 j5 `6 D; Z$ e3 ^
  42. ---例如--- : P* _% ^5 B; Y" Y
  43. [ dbexpress ]
    6 q; f* M3 d' @3 z" g
  44. sqldir = mysql_sql
    3 w' _% r; w  m* ]3 e  c
  45. drivername = MySQL中: C$ n' ^1 s5 Z* O2 w
  46. 数据库=测试
    + y7 }" o2 U" l4 L% [
  47. 主机=本地主机  ?, n( a, s) s$ J/ Q
  48. user_name = testuser
    - L  m/ |6 J# [/ F; O
  49. 密码= my_password 9 r0 f4 J8 a7 Q# Z6 R
  50. getdriverfunc = getsqldrivermysql 6 V5 C- R) K- D8 A% A1 d# c
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 : q) P! i, X" m9 c
  52. libraryname =. / libsqlmy.so
    % u5 G- ?( D% W& G( F  z
  53. 积极= 1
    ' q3 Q. I0 N5 u& D, [, {1 h- O
  54. ---例如---
    ) a' i$ Y4 b4 g' ?$ Y8 K. l4 `
  55. 9 M+ s" j- f. g7 }/ p1 `
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 8 g1 L: E' ?4 J% Q0 N6 t# ?' c
  57. ---例如---
    - d) q6 o+ s8 ~9 K6 C8 c
  58. [ dbexpress ] / @/ a! _8 k: B3 H
  59. sqldir = mysql_sql
    9 x' F( `5 o$ S: R* ~' j0 p4 r
  60. drivername = MySQL中
    * c: v  V8 E: y" y4 p* U
  61. 数据库=测试
    1 q4 S$ f$ Z7 `3 H% r
  62. 主机= 127.0.0.1
      D7 a) K# `- W( P4 y
  63. user_name = testuser
    , @" d! @; P# j9 A& c: h
  64. 密码= my_password
    ; A) z( H6 m6 Y8 |  g% l
  65. getdriverfunc = getsqldrivermysql 4 b' x) t8 H! H: g9 q; b' Q9 j
  66. vendorlib = libmysql.dll在
    7 L3 p4 r' c8 s, e% V
  67. libraryname = dbexpmysql.dll & X* ~7 b7 I- R. D- X
  68. 积极= 1
    * {2 J, ^1 g- f$ h% B- ]( N: D
  69. ---例如----
    / ~7 X. E; {0 m6 }
  70. -写在0 2.03.04由p wk.linuxfan
    7 v4 J" S4 `- K
复制代码
发表于 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
, S4 S/ ?) Q7 Q
7 p) T+ v' n% L. M' O+ kbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-2 11:19 , Processed in 0.116110 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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