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

2868 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ! K! E  o: `* u8 o$ D, ]
4 B" k& L! x7 B0 O" b. L* q1 ~
  1. , ^( U8 n1 T/ ]8 ^: [
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ) Q6 Q1 z# u% y! [: g0 b

  3. , J3 _3 @# O' I0 r- O
  4. ### What we need ###) A3 k3 k. z. E$ [: p3 Z
  5. Naturally, we will need a MySQL server to store the data for us, this document / L; y+ E9 z3 Y; K% L
  6. will not explain how this can be done - there are documents out there for the , z6 v6 k" o5 E3 M0 b
  7. interested. The requirements include a (empty) database for TeamSpeak to use  Y& s4 E/ q& l+ K
  8. and a user account (username + password) that has the permissions to do stuff
    , N- ~: H4 ~; j3 o
  9. with the database. Additionally, you will need a vendor library installed on the
    ! ^6 J$ {, V6 A5 E3 }
  10. local machine, this came with my MySQL install.
    * X7 t' v, j% A4 Z1 d
  11. These instructions will not tell you how you might transfer your data from the! t5 ]: x4 J( }" |9 ~
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    . t2 I1 J2 `$ M+ j2 S; p" U
  13. database.
    - {1 t7 o% [' @3 I
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    . d7 n# o+ Z6 I* @) v: F1 M' O
  15. the time of writing, there are still too many issues - check the current status
    ' @, }/ m4 z1 h0 ?$ `
  16. in the TeamSpeak forums if you are interested.
    1 ~) U, K2 ~- D6 ?3 T- p/ m
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from. X+ t- H* X* S! W; C; ]
  18. Borland was used. This driver can only interface with the client library that
    / M1 m" p/ f5 a8 h$ d* {
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this1 w9 T: L& o: }0 U2 C( {
  20. client library - basically all you have to do is to use a 3.x client library as / `* ^$ `0 ~" L+ O/ j
  21. "VendorLib" and a 4.x database to connect to.
    9 J- K, x2 T. p0 S. y' P
  22. If you need more info about dbExpress, you can contact Borland.6 r0 l+ d2 R0 r9 z9 f2 q

  23. ( ^- t% K# I5 G& w
  24. ### Doing the work ###* k  _3 y1 f8 Z) o2 b' o
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    3 R5 |( c3 R2 B" w7 @
  26. the perquisites right, just open your server.ini file, and add this section at) a9 F4 c. g8 y, O: h* x
  27. the end:
    ' P# ]' n$ a8 \: j5 ]6 u/ K
  28. ---cut here---8 J( H9 t7 ^7 H1 y& t
  29. [DBEXPRESS]
    7 Y  [3 V( a3 `
  30. sqldir=mysql_sql
    ' q, e1 ]5 k4 i$ K: k0 l/ H8 b( m9 a
  31. Drivername=mysql
    " _$ U9 \" u( p0 G. z, B
  32. Database=Your_Database_Name_Here
    ) {& s- C! J' \3 s
  33. Hostname=The_PC_the_MySQL-Server_is_on
    8 G  z, L9 b$ `1 L
  34. User_name=User_name_on_the_MySQL-Server
      }) D9 H% O4 l' W. h9 ^1 r0 h1 u6 ]
  35. Password=Password_to_go_with_above_user_name. h5 E$ R. p" P6 q' O1 G* T
  36. GetDriverFunc=getSQLDriverMYSQL8 o. ?( Y+ I2 e  X
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib& O. \' f7 A: y/ n' M
  38. LibraryName=path_to_libsqlmy_libary
    # Q- G: F1 s$ C
  39. Active=1& o8 B! Q+ `4 O- P) G
  40. ---cut here---: S, k4 c6 v8 d) O8 t7 G( @& U7 h
  41. In my environment (a linux box with a MySQL server running locally) I have:- D& \9 K- O0 u5 I: E
  42. ---example---: v+ o: f' F6 N! U
  43. [DBEXPRESS]$ K' t" b: I  q
  44. sqldir=mysql_sql
    1 z. R- y2 H3 F: z
  45. Drivername=mysql
    4 a: [2 H; D* g& }& A
  46. Database=test2 ^+ d7 B2 I5 y( D, f
  47. Hostname=localhost4 e. D8 A9 d" z9 i" V+ o  h
  48. User_name=testuser
    . y) y: L' m: y4 y( ]( C! ~
  49. Password=my_password
    0 u% s9 y; H7 b4 Y  x+ K
  50. GetDriverFunc=getSQLDriverMYSQL
    2 A) t, m# k/ i9 k; o& c* K
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0% v5 K+ d+ ~' q
  52. LibraryName=./libsqlmy.so
    * K4 p+ j! H. n) x* `/ b2 _
  53. Active=1
    # ^2 l/ _0 [0 @/ X4 K' W
  54. ---example---
      q( P8 U- ?& k
  55. ! V  w* W7 ]- p
  56. On a windows box, also running the MySQL server locally, it would be:9 [+ D! \' _# |" {: l: N9 L
  57. ---example---0 {7 D5 N3 T$ C$ U, P
  58. [DBEXPRESS]
    ( ?8 c0 [# Z: _) X: q0 s
  59. sqldir=mysql_sql
    - _! {) Q6 ^/ m
  60. Drivername=mysql
    1 t4 W( V4 B2 J
  61. Database=test: Z/ @6 c6 S5 U; b# m; @7 O0 t
  62. Hostname=127.0.0.1. B* I% E6 p8 v3 `
  63. User_name=testuser
    ) q" s# ?# Q0 B- b% S
  64. Password=my_password' r$ |* Y, v0 j! s8 w
  65. GetDriverFunc=getSQLDriverMYSQL
    + X6 O" Q* B' Y3 W
  66. VendorLib=libmysql.dll
    $ k  x. \. k0 L
  67. LibraryName=dbexpmysql.dll
    # j5 e. b5 ]7 D3 F: ^! Y
  68. Active=1. j: P3 a0 P# d2 R% T; J5 I* u8 Q! V. L
  69. ---example----, r& `: b! w9 Y# f8 H' S& T
  70. - written 02.03.04 by pwk.linuxfan: o2 a- R3 s- h, u6 n) o2 o, U1 T
  71. 8 p" k! _9 f0 T) d( J
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看- q5 t6 j9 ?9 P' l# ]  T
  1. ) N* o  b; t. y3 g  ]/ q
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    8 g. f( v1 e& T; O7 |6 B( d$ w+ i0 w

  3. 7 D$ a8 o1 i0 A
  4. # # #我们所需要# # # * o  N! `; k* G9 p
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件) s7 |; j+ ~7 l$ L
  6. 不会解释如何做到这一点-也有文件存在,为7 H% T+ w0 T' a" C$ C; X7 S$ {
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    3 }5 p2 N- m0 k9 W8 a
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西  z$ E: G% v% i5 B0 b) x
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    : _; L( a6 x" p5 _+ o- w8 \# c
  10. 本地机器,这是我的MySQL安装。 8 \% \, G3 ^0 J' O9 j$ w2 ]
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    9 o9 n! }. G: B' Z
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    , h/ C& x7 ]0 Q
  13. 数据库。 ; r, n! M$ W, B8 x8 r. i7 d
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在( g- R3 w3 U% ?; `, t: m0 f
  15. 编写本报告的时候,仍然有太多的问题-检查现状$ |8 E- j  g0 c1 K. Z
  16. 在teamspeak论坛,如果你有兴趣。
    3 u, ^+ _) ?/ C% c+ z* a2 S. f7 F
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    5 @* e3 T- O- m1 [. b' L! B
  18. Borland公司使用。这个司机只能界面与客户端库
    2 J$ x2 h. s& @2 @4 r6 d* ]* P
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这; O- \2 ^6 H8 p% i& ^
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为; ^/ Q% p, [- i+ b) u! g% n
  21. " vendorlib " ,并解数据库连接。
    $ S' h% s% f! @. F; }( y- u- w: f
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。   ~( q% S) z1 ?+ f* T

  23. . [1 L, l0 X: @' ^0 L
  24. # # #做好工作# # #
    4 y1 f5 N+ N) c$ Y+ ?+ ~& X( g
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都( H' @4 @, ~/ A& Z9 Y3 z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    0 U1 K; `! Y2 F+ u* Y. H
  27. 结束: . h; I0 e) ?! D6 g
  28. ---削减这里--- 6 Q8 a' X, H* k! Q* H
  29. [ dbexpress ]
    7 e' {. b) |& i4 s
  30. sqldir = mysql_sql ) Z$ [: a7 p6 {
  31. drivername = MySQL中
      w! ~: [5 l6 L4 S, g% y( K
  32. 数据库= your_database_name_here ' N' x" Z9 m- P0 M- J# H/ r( x4 a
  33. 主机= the_pc_the_mysql - server_is_on 9 u$ ]  ]! G7 q; x; n- y4 b: U5 p) W+ v
  34. user_name = user_name_on_the_mysql服务器% [% B2 L; T: L5 H9 y
  35. 密码= password_to_go_with_above_user_name
    $ [7 d" N7 a% \% e1 ~+ g( d
  36. getdriverfunc = getsqldrivermysql
    - M! k! c# L3 y2 z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib " O0 Y. R- m7 w$ {% L* U- I
  38. libraryname = path_to_libsqlmy_libary
    : {, c+ U7 o4 z! A8 V+ [4 D
  39. 积极= 1
    + E1 o% |+ c2 T0 D3 }8 Z- D
  40. ---削减这里--- ; ]& X) c3 l$ ?7 G
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    0 r* V' S' H8 n1 K' y
  42. ---例如---
    ' o+ w3 g. r# r& G
  43. [ dbexpress ] ! ]) w" z7 A# M3 M
  44. sqldir = mysql_sql
    9 h9 P4 U8 ^& `5 \4 I7 Z& a+ U- x
  45. drivername = MySQL中, V9 x2 G$ e7 d, w- R! U
  46. 数据库=测试3 E8 n; V6 U2 C; `. f
  47. 主机=本地主机
    + Z5 e; h. b. R. d
  48. user_name = testuser
    # G) ^& f/ q1 M  x- ]
  49. 密码= my_password 0 y% C" K3 d) w* T' T0 Z
  50. getdriverfunc = getsqldrivermysql & f4 x6 d  \% w
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 7 i6 d* Q% j% n+ W- z
  52. libraryname =. / libsqlmy.so $ [4 G6 M, u  v- N* P
  53. 积极= 1 1 n3 j% S) Y. H3 t' k( G
  54. ---例如---
    ) Z: t! Z# K1 c# t# b

  55. 4 ?/ @$ T, s& Z5 q
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 5 {/ w4 b& Q2 t
  57. ---例如--- & `) ~2 m$ Z8 o# z4 Q; J7 s
  58. [ dbexpress ] 3 W1 h0 y2 f; I* P. _
  59. sqldir = mysql_sql , [1 n0 f$ n0 Q3 G
  60. drivername = MySQL中8 k  e  s! @; m) f3 o1 i  L
  61. 数据库=测试
    , n3 Z) X; b7 ?: m  u! P, R& U( R/ M% l
  62. 主机= 127.0.0.1 ; X' Z( m2 {& z' v
  63. user_name = testuser
    ! k# V8 ?9 S1 C5 }
  64. 密码= my_password 9 c7 I5 d8 \1 N, y! ~4 a
  65. getdriverfunc = getsqldrivermysql $ m2 E4 ~4 ~+ N$ l% ?
  66. vendorlib = libmysql.dll在
    " ]5 J/ m# v4 f% w' N$ g  A5 p
  67. libraryname = dbexpmysql.dll
    / P8 t. O4 ]  I5 q) B$ T* R
  68. 积极= 1
    * O" w# U1 {2 T( m, C
  69. ---例如----
    0 f1 ^( S" U6 z& f4 T2 D, r
  70. -写在0 2.03.04由p wk.linuxfan
    4 S7 @5 F$ H0 |5 A' p* e/ 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 words3 Z& Z  N; F: u  }( L! k

2 \! y( O. {- C! D0 wbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-9 21:29 , Processed in 0.094720 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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