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

3052 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan / X  K( [. y; k% V+ G

7 }" f0 g- H2 G
  1.   \( S9 [) D0 ?: W9 h
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######+ h6 t5 A# ~$ T3 _

  3. * f7 y' Z2 O+ G; W- p8 p  v* z; }
  4. ### What we need ###+ f% o' s; `0 T& d) |3 d# I
  5. Naturally, we will need a MySQL server to store the data for us, this document
    9 Y+ H2 N  j6 `+ a& u
  6. will not explain how this can be done - there are documents out there for the
    ' P. l8 q; x' j1 m# g9 c
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    7 r8 E# A1 \& {3 d
  8. and a user account (username + password) that has the permissions to do stuff
    & J- s& V8 M& t
  9. with the database. Additionally, you will need a vendor library installed on the) n( o3 J& ^3 b
  10. local machine, this came with my MySQL install.
    4 K( C4 o9 P+ H! H
  11. These instructions will not tell you how you might transfer your data from the
    # U( e& m7 S4 _. a; _+ C
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL# A4 {- C! W( Q
  13. database.' [* U* A6 ~, c
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ; w( l5 `/ O1 X: ]
  15. the time of writing, there are still too many issues - check the current status3 r3 o2 Y; r, T! K& K/ Q; |1 s6 m
  16. in the TeamSpeak forums if you are interested.
    ( {# D1 h) l2 B) b5 k- x
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    . k: N) U. L7 U6 s
  18. Borland was used. This driver can only interface with the client library that : u5 ^, K0 `7 L) P$ s7 k
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this) S  M: N. R' t4 h/ y
  20. client library - basically all you have to do is to use a 3.x client library as
    - P+ v; f# Y; o$ M5 Y4 t/ ?$ R$ C
  21. "VendorLib" and a 4.x database to connect to.- `  R8 _1 W7 s/ a8 g+ }, i; t
  22. If you need more info about dbExpress, you can contact Borland.
    0 c" E: J: y' Q) `! [
  23.   {, a3 \8 O; g: J
  24. ### Doing the work ###
    ' z2 u, C9 l' T6 }  y$ M
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all( |0 c+ d6 X7 S
  26. the perquisites right, just open your server.ini file, and add this section at- C5 A' W" z# {7 |! w' p# n7 l
  27. the end:, R3 m  Y8 H! @' `5 L
  28. ---cut here---
    ; Y2 q/ Z. j. Q  s  e/ R  F
  29. [DBEXPRESS]
    % ]% H0 q' N& b% a" x
  30. sqldir=mysql_sql8 U' R! K. ?) P4 [
  31. Drivername=mysql
    . |+ o& l7 v' K
  32. Database=Your_Database_Name_Here
    * @  D# }; Y; j+ I! b& W
  33. Hostname=The_PC_the_MySQL-Server_is_on
      ]$ c3 ?: e8 V3 O3 T
  34. User_name=User_name_on_the_MySQL-Server) f* F5 Z; c3 z/ _
  35. Password=Password_to_go_with_above_user_name
      Y- G# B& P% r$ Y. t0 ?
  36. GetDriverFunc=getSQLDriverMYSQL6 S# `* r, G& l" f5 [5 L, X
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    5 ^. q# h$ H& C5 J
  38. LibraryName=path_to_libsqlmy_libary  n" V- T3 p4 I8 L% v
  39. Active=12 ^8 `6 x3 ]: o3 _) i
  40. ---cut here---# I- N; M( j' p- }0 C
  41. In my environment (a linux box with a MySQL server running locally) I have:
    0 ]  T+ A/ T+ v! }" ~/ X3 z
  42. ---example---
    ; i# }" o9 J# G1 r! }* |1 n
  43. [DBEXPRESS]3 ?( p5 g9 b1 F  R) G8 i- N
  44. sqldir=mysql_sql
    % X$ ?; _* C, Y3 ^
  45. Drivername=mysql
    9 g+ V) L: k9 K) x
  46. Database=test
    ( @# z0 ?1 i0 R1 D7 l! w
  47. Hostname=localhost
    ) o" E' B/ s6 X/ K/ o1 v
  48. User_name=testuser
    % e- j( N' h7 o4 N
  49. Password=my_password4 a$ u5 G( H$ Q4 a+ A
  50. GetDriverFunc=getSQLDriverMYSQL
    : h. v! E# c2 c" w  P( j
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    : M' n5 D# @: {
  52. LibraryName=./libsqlmy.so
    ; l. C( I" f6 ^" s. `
  53. Active=1
    , u, b/ d$ T6 E! Z! s* p' r
  54. ---example---
    0 x% W; G/ z, w

  55. 5 l! b/ Z' \8 c2 m
  56. On a windows box, also running the MySQL server locally, it would be:$ E, A4 d6 k5 k6 `8 d. L! f/ H
  57. ---example---! ^7 S$ H! ^- j# g9 {0 L+ E7 Z
  58. [DBEXPRESS]
    6 Y! `6 D3 q2 ], \! G/ r  \( o: N
  59. sqldir=mysql_sql
    ( J7 s. a8 G9 D) _$ ~
  60. Drivername=mysql; Z* c# `5 o# N
  61. Database=test' j3 ~3 B# s, n/ y+ E
  62. Hostname=127.0.0.1
    $ T( d& r6 G! q3 N
  63. User_name=testuser! |  o2 Y$ \( ^7 i0 h
  64. Password=my_password* A, U9 |( s( W: G5 e/ a  |
  65. GetDriverFunc=getSQLDriverMYSQL6 G; E  D8 R6 `) O9 l6 h  g
  66. VendorLib=libmysql.dll
      g! _, b1 y$ [. k8 }7 }1 H3 ]
  67. LibraryName=dbexpmysql.dll6 q2 k% d; `9 P
  68. Active=1
    & x% f2 x- |; I0 m& Z" W" [; _
  69. ---example----2 u' M: R# q0 u3 O
  70. - written 02.03.04 by pwk.linuxfan! E" i. d* H7 _: t  E: Y2 N
  71. / M2 q, q  u7 m  [
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看# c  P4 s3 F- F/ S& S$ a

  1. ' Y4 r. L3 |- K: e0 p4 O
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ( {" y+ \2 i! y+ a( o0 \

  3. ! m6 f$ o% b& o4 q6 Z8 [% o
  4. # # #我们所需要# # # * p( Z" `* j' @6 I% p# g
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件& p( O* c& d& R" a) z
  6. 不会解释如何做到这一点-也有文件存在,为
    9 G$ p8 k3 i' C% y- f" ]& k0 }
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    5 A8 [; }8 i0 W" [1 G3 g' D: t
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    4 z: [, [, L# O, }
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    & f# h$ ~# d9 u$ O1 f4 M. _9 G
  10. 本地机器,这是我的MySQL安装。
    ( [! X5 N8 I# K9 W  u
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    / P, c; n$ E1 e9 F) z
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL , d) o$ a' g# L' P6 A
  13. 数据库。
    # e1 ]4 T1 X+ `* p& N& ^
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    $ L6 b- i2 ^% k2 y
  15. 编写本报告的时候,仍然有太多的问题-检查现状; o! Q$ a" W( f  v9 b6 ~
  16. 在teamspeak论坛,如果你有兴趣。 0 k8 X  o& N$ w" s6 ^
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机% b8 ?: K; ^: C/ s' n( V( ~
  18. Borland公司使用。这个司机只能界面与客户端库: g! y- u1 H: e( B2 j9 `
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这, H3 a+ l9 Q& o0 ^2 `7 n
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为* h- d2 w) ~. |8 m( ~; V
  21. " vendorlib " ,并解数据库连接。 3 y! A% ~( U; _7 M3 t9 W# r+ e
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 5 h7 b& o# m1 y8 r: n+ R
  23. 2 k  e+ h* ^$ K# _: f! x4 {
  24. # # #做好工作# # #
    + \$ m+ L- Y/ c/ E( Y4 A
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ) v- |  c9 ]- S$ }) @4 c
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在+ e: b0 h+ y7 }/ |7 X$ F
  27. 结束: 2 s4 s& ]. v2 [5 Y; v" M
  28. ---削减这里---
    ( P0 s1 g( d8 ]6 X* u& I
  29. [ dbexpress ] ; s8 {) g. o1 z  p! K
  30. sqldir = mysql_sql
    8 u; E% e# B8 d& O0 Y4 s2 Q! X
  31. drivername = MySQL中
    - m. S5 E+ z# g) w" L
  32. 数据库= your_database_name_here
      @/ I& X0 }0 B9 t% Z
  33. 主机= the_pc_the_mysql - server_is_on
    ) j6 v6 F$ ~# n( t; Y
  34. user_name = user_name_on_the_mysql服务器
    , U4 V3 |& v' z$ v% Y+ w! G
  35. 密码= password_to_go_with_above_user_name * t: H% ~# \7 c2 @& E
  36. getdriverfunc = getsqldrivermysql " ^2 Z- ?" E2 e+ ^3 A
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 9 X5 x% Q) V) k" X
  38. libraryname = path_to_libsqlmy_libary
    # X4 ?+ @6 n: m8 J/ r; R
  39. 积极= 1   D3 k6 f0 |9 w; K, _+ Z4 y, z" ~
  40. ---削减这里--- ) z( a* \  d3 l2 E& Z" q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
      E% y5 L! V% d4 a$ g6 V
  42. ---例如---
    8 y/ H3 ^: b  s( d- ]/ Y3 o
  43. [ dbexpress ] + h/ C* R7 E4 b" N8 p
  44. sqldir = mysql_sql : O! D  [  L9 G
  45. drivername = MySQL中
    + |5 _' `) K* e- X0 H. Y/ K7 Q
  46. 数据库=测试0 s. h4 v. F. u, i. b
  47. 主机=本地主机
    9 e5 I3 n( f# z5 z4 ?8 w
  48. user_name = testuser , N$ i; @. B3 w
  49. 密码= my_password
    0 }- a1 P- B: S1 ^# ~/ E! N( o7 y4 O
  50. getdriverfunc = getsqldrivermysql ( K+ S/ u7 _9 r5 L5 M1 b
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ; v/ J' H9 j! V! E. u% J
  52. libraryname =. / libsqlmy.so
    ! Q) _6 J# z7 g- P3 G8 w1 g' b
  53. 积极= 1
    # s6 q8 q% ~7 o3 e
  54. ---例如--- / x# E2 {. ~1 P- h( V- l; `: z
  55. & Q+ L9 p  y, O% Z) E3 ^; ]
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    - L( p! @0 Z# V4 d- w  l6 U8 Z
  57. ---例如--- 4 s% p) o: a8 E) X
  58. [ dbexpress ]
      c$ R% L, _# a8 O
  59. sqldir = mysql_sql
    0 [& ^7 g$ u% _& u
  60. drivername = MySQL中
    ( z6 W% |8 r5 I" j3 ^
  61. 数据库=测试
    4 I& }" Y; x$ W0 L4 a
  62. 主机= 127.0.0.1 * E* Z( G, I8 A) f1 `$ m: `/ F
  63. user_name = testuser % Q) N3 @  e* y# I9 w8 ~! P
  64. 密码= my_password
    3 d. S: X0 f, B, S
  65. getdriverfunc = getsqldrivermysql
    ' p5 e) f, c- H5 ~* `3 K
  66. vendorlib = libmysql.dll在5 b: V- t% b8 g: v
  67. libraryname = dbexpmysql.dll ' L" V" h1 R, H/ @3 g
  68. 积极= 1
    ; f0 F. W) G8 D( G7 ?, d8 T& v
  69. ---例如----
    / s" Q9 Y3 K2 @- v- K; u% G, p0 j, S
  70. -写在0 2.03.04由p wk.linuxfan& m' R( R+ Q; a( Z6 h! w# G5 P
复制代码
发表于 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
# J5 W" u9 X, u1 j
& g0 l# N9 G  {1 M' G" H- |# u' T7 ubut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-21 21:04 , Processed in 0.104666 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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