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

2988 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
) t; ]8 U* s, D( D5 h* J
6 t+ A4 D% v$ i* V9 t" E

  1. $ w% `( |1 \, H! \2 [1 z6 D' T
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######% O8 o# J: _" T7 ?5 o: L/ a

  3. 2 [* w1 M# D8 {* I& O
  4. ### What we need ###6 ?7 V% B9 d( O4 N/ U( X7 e
  5. Naturally, we will need a MySQL server to store the data for us, this document
    * t3 V5 b- t6 m2 Y9 s# V# A
  6. will not explain how this can be done - there are documents out there for the $ A. F2 C. y2 g( Q
  7. interested. The requirements include a (empty) database for TeamSpeak to use& s9 p4 ?4 {  @1 w5 d3 A
  8. and a user account (username + password) that has the permissions to do stuff
    2 s! B2 G6 H) Y7 n! q  i5 J. q0 D
  9. with the database. Additionally, you will need a vendor library installed on the
    ( }2 O* W' ?4 b! ]8 A- ?
  10. local machine, this came with my MySQL install.! p( Y) K7 X1 I9 n# g  x
  11. These instructions will not tell you how you might transfer your data from the
    ! c' r0 ?5 Q/ ?* m* w
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL; ]0 b! u, L0 D8 S, f# ?5 O
  13. database.
    # Z, P3 U: L) o' U0 o
  14. Some users have reported ways to import a SQLite database into MySQL, but at/ {% _8 h! ^! d1 K" }
  15. the time of writing, there are still too many issues - check the current status
    5 ?" C+ \' U( M+ B2 i1 W% \
  16. in the TeamSpeak forums if you are interested.
    , |3 y2 H, p; f, t
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from$ `; N' j+ c3 \* Q( u$ z3 ~  H" q
  18. Borland was used. This driver can only interface with the client library that
    ! R' M% e4 |; E- ^
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    9 i( b0 O' |" L; r$ Y: |5 L7 I
  20. client library - basically all you have to do is to use a 3.x client library as
    4 U! n, ^! w& D8 P& L% I
  21. "VendorLib" and a 4.x database to connect to." l9 t' a, p, \3 x3 r  V0 H" W
  22. If you need more info about dbExpress, you can contact Borland.
    % L: c' B- u/ N- I) N! `% s1 i/ p

  23. - q9 N6 h8 z( t5 W/ G* \
  24. ### Doing the work ###
    1 A2 [. }+ l; @8 e5 U
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all6 _9 M+ x8 f4 N3 I
  26. the perquisites right, just open your server.ini file, and add this section at
    ) _- \: @9 e& i- \: a, c: _" ^/ o) `8 P
  27. the end:5 O: o/ v7 y5 w/ W
  28. ---cut here---
    . V" f& y$ K" T% Z' u4 k9 K
  29. [DBEXPRESS]
    * |8 R! D5 P" E7 k
  30. sqldir=mysql_sql* R1 d# W8 f  f  f" T6 q" o" a
  31. Drivername=mysql
    0 }, L, b4 N! [. ~) l2 T  q
  32. Database=Your_Database_Name_Here- y) b/ R9 \4 {( J& ~2 C5 {) m
  33. Hostname=The_PC_the_MySQL-Server_is_on
    9 s. [7 x; Z( Z' T
  34. User_name=User_name_on_the_MySQL-Server8 O3 \1 ?4 J( z5 p' o: R
  35. Password=Password_to_go_with_above_user_name
    : I! m9 n6 _& M5 f+ Q
  36. GetDriverFunc=getSQLDriverMYSQL
    2 M$ p9 g6 Z  s) R
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    3 `# h$ r/ s% u. r) |
  38. LibraryName=path_to_libsqlmy_libary
    & ?- K6 N, [, @/ I7 m; A; f
  39. Active=1
    ; g( t1 F0 b3 c: m2 V/ o
  40. ---cut here---1 [1 o5 I1 b- N; Z8 i8 z6 m
  41. In my environment (a linux box with a MySQL server running locally) I have:
    3 {& B/ Z4 D* X- a, R9 j
  42. ---example---6 G4 @" M% q/ k8 B* m' `
  43. [DBEXPRESS]( l  ]0 P0 h; X' P! W# q+ C
  44. sqldir=mysql_sql  |; V  S) J$ K; @9 K+ N0 Y2 D
  45. Drivername=mysql
    ( l# ]* P, l  E% O# f
  46. Database=test4 d5 P* W% j& \" @5 _# I
  47. Hostname=localhost
    7 p6 Q+ t4 O. G# k, T0 V6 c8 p) L
  48. User_name=testuser: [4 Z; e! @: P
  49. Password=my_password$ D- N- H: F2 g+ o2 k
  50. GetDriverFunc=getSQLDriverMYSQL* D% Z7 X5 {$ w8 `
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ; Y; |/ }% r: e
  52. LibraryName=./libsqlmy.so; m9 Q0 B# O- R8 J) f! W5 g
  53. Active=1
    $ G* R( z7 e% I  w( c  U6 F: j% ?
  54. ---example---
    ! C- s9 g+ h5 g

  55. ! t* I) A- f& I* k% c
  56. On a windows box, also running the MySQL server locally, it would be:: W1 e8 N0 V1 e9 d& Y+ [9 F
  57. ---example---
    9 f7 C1 f! k6 Y" w# `
  58. [DBEXPRESS]# O/ {# j# m) Q( r7 T4 F
  59. sqldir=mysql_sql3 O! g$ G. z4 M# F6 H. o4 _
  60. Drivername=mysql# F% O! s1 A- G. J+ e! T5 V6 N
  61. Database=test
    * r8 |3 F7 M, y* q' o
  62. Hostname=127.0.0.1
    ! v  _: H0 K" I7 E2 c9 |
  63. User_name=testuser
    % \! d$ K& V& B  h- p
  64. Password=my_password5 P3 I, S5 Y. \  @2 `
  65. GetDriverFunc=getSQLDriverMYSQL: H' y  ~. \. Z3 m) G5 @
  66. VendorLib=libmysql.dll. L7 Z# A. `: A0 c6 @( `
  67. LibraryName=dbexpmysql.dll( e( [# f; X4 E: x" V
  68. Active=15 ?/ w2 T( M; {
  69. ---example----2 B' ]/ f9 B, T, K4 E' f
  70. - written 02.03.04 by pwk.linuxfan7 F; _- b8 {8 ^

  71. 9 Y/ v# l) d) X) _
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
" Y, h- c, X( h. Q
  1. : x2 K5 I4 s* Q  t' K  p+ p" Q* j
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######   @7 Q* t) S; d  L2 J

  3. : ], c/ ?8 _6 }" m) W2 c
  4. # # #我们所需要# # # 9 ~# K# f% S  |2 a& b0 {
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件/ u- c/ |5 B* w) j6 Z& d4 E- C
  6. 不会解释如何做到这一点-也有文件存在,为
    3 z: a: R0 ]1 M; N% q: f$ E# e& h# t
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用% e- h8 w4 h7 Q# C9 t1 }
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ; I0 ?) U" T2 F) h  s7 \7 `; P, x( [
  9. 随着数据库。此外,你需要一个卖方图书馆安装于; n7 t5 f  f1 _) O2 D
  10. 本地机器,这是我的MySQL安装。 1 h  {8 T9 @) T" V
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    1 e( }- }( |+ @/ \5 O
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    & B5 a* }% v1 b2 P
  13. 数据库。
    5 x) q- d& J2 @4 K. _
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在7 h# `' V! r, {. _5 L% F0 L6 y
  15. 编写本报告的时候,仍然有太多的问题-检查现状; u6 ^. m( ]! q2 U' Q1 L( N: k- X
  16. 在teamspeak论坛,如果你有兴趣。 & @) w! G1 l' `/ v9 w, j
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    2 n; _* F0 Q* ?$ l; {7 A6 X
  18. Borland公司使用。这个司机只能界面与客户端库- C  a5 K- \2 }
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    7 ^# r3 _+ o2 @9 H
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为# Q$ o- f! H7 c1 U
  21. " vendorlib " ,并解数据库连接。 ! n& G# f. I" C9 Q4 P' z
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    % G! g! Q# v- \$ G! A, h) H. `
  23. 3 O  a" @/ ?3 N+ A
  24. # # #做好工作# # # 0 C; m# e, t" e: @" E, u8 J% R
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都- V7 `6 u8 l, G4 I7 p4 u
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在8 V' W  y! G# x0 y& V! d
  27. 结束:
    3 f; [- I4 ]( G
  28. ---削减这里---
    7 B, T1 ]5 H2 h% w4 i5 h
  29. [ dbexpress ]
    9 X1 R7 Z/ [. C, J  w. F
  30. sqldir = mysql_sql 8 U) F4 [. s; N' E- ^
  31. drivername = MySQL中0 ]* {% i) Y) ^2 M
  32. 数据库= your_database_name_here
    9 l. v, m7 t3 o: N; R6 |5 s2 z
  33. 主机= the_pc_the_mysql - server_is_on - X! E/ |/ K  w8 n
  34. user_name = user_name_on_the_mysql服务器1 V- d! a) i; x* t% h
  35. 密码= password_to_go_with_above_user_name
    3 p1 s0 {7 ?# a4 j0 o1 q8 _
  36. getdriverfunc = getsqldrivermysql
    8 ^, r: B0 k) S$ i+ p1 P9 C
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    7 y9 g) n3 G7 r/ l  T9 B3 n" U
  38. libraryname = path_to_libsqlmy_libary 3 h; n( p% c- n8 _) J& \
  39. 积极= 1
    ; W3 \  Q  H% a& [
  40. ---削减这里---
    ' _" k8 s" A4 J
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 7 y8 \5 |& g0 c# _" Q+ W
  42. ---例如---
    0 [) a& h2 g+ V5 a
  43. [ dbexpress ]
    % Z' A) o/ `7 {6 `+ X; T- Z
  44. sqldir = mysql_sql
    + `3 ~8 k- |7 |
  45. drivername = MySQL中& ^  ~7 _& p( j; d' b6 f2 s
  46. 数据库=测试/ M- \9 S- n) K8 l- x/ U
  47. 主机=本地主机
    - L" G. R# C& @6 S$ s) t& N( H3 C
  48. user_name = testuser
    + [1 V1 g# {- }, T$ Y
  49. 密码= my_password
    ) U, T& A4 Z0 U' M, H$ v& |
  50. getdriverfunc = getsqldrivermysql
    1 A0 {" g) x( \
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 * f7 f! f# |3 w) g9 Y' b
  52. libraryname =. / libsqlmy.so
    8 a3 k" G/ x% A0 B1 s9 }
  53. 积极= 1 " X3 |7 G( N2 j0 [) M
  54. ---例如---
    9 }6 F# }- Z) q( H& v" {

  55. % N% V) t0 C/ p! J7 k! p$ n5 v
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 6 C+ j! ~* s2 L
  57. ---例如--- , x& \2 k; k+ C3 I" w$ H8 L/ _( d' j
  58. [ dbexpress ] 9 Y, E! C; q1 S6 H2 B2 N( B2 h
  59. sqldir = mysql_sql
    9 U, d: B2 W* Y" F9 K
  60. drivername = MySQL中
    " k. r% D1 c' \5 H3 V4 e3 a* M- H
  61. 数据库=测试
    3 `. g) r+ H* ~0 G7 T, {. P" G
  62. 主机= 127.0.0.1 " L" C$ j& A# E7 h0 \3 d
  63. user_name = testuser
    7 x4 J& z! o5 c* B  U
  64. 密码= my_password
    $ v  a" [. B$ L
  65. getdriverfunc = getsqldrivermysql ( u; s; c- i& W' L+ A( d
  66. vendorlib = libmysql.dll在
    : o% p  Q. B3 X8 T9 T# k- @
  67. libraryname = dbexpmysql.dll
    ( s$ k9 c$ f) P# m4 p, m
  68. 积极= 1
    7 ]0 M/ G1 T0 X
  69. ---例如----
    % E7 a: ^; X* Y. h
  70. -写在0 2.03.04由p wk.linuxfan
    & T' ^' `# H, ?! w8 m% g
复制代码
发表于 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! q% u$ C; n" z1 B0 z+ b! W
# u3 m! K4 f( z3 _' \# @3 u
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-6 12:57 , Processed in 0.105271 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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