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

3484 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
/ X. `& z  ~6 {# t% V6 X6 \' m! r% |* M5 G5 {- D9 M
  1. 4 M$ s7 W3 X' j6 w0 }  v
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######" _  _2 \( M0 n1 h( d, V2 X% s/ b$ @) m

  3. ! f8 w, z* D; G- I
  4. ### What we need ###1 ?, b) Z* s" j8 z1 G! L, u' R+ I
  5. Naturally, we will need a MySQL server to store the data for us, this document 9 T0 q! N# `. K( C" d& ^! q
  6. will not explain how this can be done - there are documents out there for the
    " g3 M& e0 D) r, c1 F. T
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    9 t$ \" e0 L- C" O
  8. and a user account (username + password) that has the permissions to do stuff% U6 l: L: u* o5 [9 |
  9. with the database. Additionally, you will need a vendor library installed on the! C# g/ _" V- t: m
  10. local machine, this came with my MySQL install.
    - c8 {0 ?/ ~& s: P1 f  m# {
  11. These instructions will not tell you how you might transfer your data from the" N& S. c. U/ v  \4 |/ g4 }' o
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    / j& [: H* e/ I8 @- y; K
  13. database.6 l) @' }6 L3 L2 P6 K4 X
  14. Some users have reported ways to import a SQLite database into MySQL, but at- X# {0 n, v3 A2 g3 v; C
  15. the time of writing, there are still too many issues - check the current status
    1 L6 [" l# o2 N! h, F0 U; l
  16. in the TeamSpeak forums if you are interested.7 S; q9 ]  R  Q3 p4 i
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from2 b  M6 F0 n0 S! ~; y$ e, j3 f
  18. Borland was used. This driver can only interface with the client library that 6 w& e. [! D/ r. Q# \
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    + b/ X" O, T$ O- _* y/ D0 q
  20. client library - basically all you have to do is to use a 3.x client library as ' x/ L+ |' b* i/ C" w8 n) I
  21. "VendorLib" and a 4.x database to connect to.
    $ s  X/ \, g; K
  22. If you need more info about dbExpress, you can contact Borland.) t- V, {. B* p$ M; ^9 `' t8 t  f- J

  23. " b8 R3 T) w" J* b
  24. ### Doing the work ###
    ) C. }8 O7 z1 o( S3 A
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    / A% Q% `. O7 }9 r
  26. the perquisites right, just open your server.ini file, and add this section at
    1 T0 s, V6 o% _9 P% I8 D" o3 `9 t
  27. the end:
    " Y" f# ?) R  R+ `8 C6 m: p) ?
  28. ---cut here---- T5 I( W8 x9 M  B
  29. [DBEXPRESS]
    / }6 r+ U! D" b$ u  \  s/ Y
  30. sqldir=mysql_sql7 _% I( j' j3 }/ z4 A! u
  31. Drivername=mysql( ^6 u. ]! T. E# R2 i: z1 X
  32. Database=Your_Database_Name_Here6 B' b7 l, X2 w) t- w+ h' |3 Q
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ! W0 B: @$ {/ J4 f
  34. User_name=User_name_on_the_MySQL-Server
    . G) g! x) X' C1 C# J" K
  35. Password=Password_to_go_with_above_user_name
    5 |0 a9 k8 g8 ?6 f4 j* p4 y
  36. GetDriverFunc=getSQLDriverMYSQL  I* G) o. w1 d, G: U6 H7 z+ g0 p' C! a
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib! W$ z& o* r3 {! j3 ^+ f
  38. LibraryName=path_to_libsqlmy_libary
    ; m9 c! K& }( U( B  l- b0 L3 Q
  39. Active=1- P7 e, u! U# }# w6 p
  40. ---cut here---
    7 C: O, R  O# V0 p
  41. In my environment (a linux box with a MySQL server running locally) I have:9 t9 l4 P& A( i5 b0 k8 T) c
  42. ---example---
    , A. [  g( X; H6 C, \$ ^$ d+ \, Y
  43. [DBEXPRESS]9 `5 b9 y) q- n$ T# T0 B
  44. sqldir=mysql_sql
    , i* L. b4 s1 O8 h5 D5 J3 F
  45. Drivername=mysql
    : R" @4 d( b* @3 P5 B, e2 W
  46. Database=test1 U" ?( `+ h) g2 J+ v
  47. Hostname=localhost
    ) h% w3 H8 A( e# x# K# O3 E. c' ^
  48. User_name=testuser# I& `) F8 y7 c' s
  49. Password=my_password/ `3 r+ _( t. K2 ~2 T
  50. GetDriverFunc=getSQLDriverMYSQL
      U! u3 o6 f% x# r# _' g
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    & R! S. g# `) Q1 o$ h, A& x% N
  52. LibraryName=./libsqlmy.so/ W! v! e5 T  f
  53. Active=1
    9 l  v1 @: @  A8 P1 t& j3 `
  54. ---example---
    6 O+ y% E, q; ]0 L' _/ J- Z
  55. 8 a- r5 n+ H; F' T& y
  56. On a windows box, also running the MySQL server locally, it would be:
    6 n  O6 k. ~" b+ s9 p
  57. ---example---
    : k+ q) f& q7 w! M
  58. [DBEXPRESS]  D& n' l  B) x- E7 _* x
  59. sqldir=mysql_sql9 d6 B# T' w) u! ~7 r! \' s: k6 K) ~
  60. Drivername=mysql
    / E7 n; B/ D, u; t- t- y; ]& [) G1 _
  61. Database=test6 X/ ~7 R: N: x( x6 L, R% T% [
  62. Hostname=127.0.0.12 C8 W3 p' F! D
  63. User_name=testuser
    + b2 `0 x5 o( z% @% E+ H9 e
  64. Password=my_password6 ^4 V. n1 G0 S+ j  F
  65. GetDriverFunc=getSQLDriverMYSQL
    6 T; j. Z. `  d2 R; F7 x$ H9 \. m" Y+ G2 x
  66. VendorLib=libmysql.dll
    / m+ G- Q/ ~; V
  67. LibraryName=dbexpmysql.dll/ d' W6 v2 l2 W, y" Q
  68. Active=1
    * L- Z: T- B( s4 B5 ~& @
  69. ---example----: a! k% P8 g% p- i% D4 f
  70. - written 02.03.04 by pwk.linuxfan
    5 |$ S# ?3 a2 w6 h' q- ]4 \
  71. 8 d7 Z% M/ @7 w; M) |/ D
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
  H& Y& L& v" S5 l! Q; W* u

  1. , Y( J# \1 \7 C1 @5 i9 y
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ( N) p& n! @! s: Q% \. t# @; S
  3. * J: M! [0 o, D0 O2 R) n" R( W
  4. # # #我们所需要# # # : V0 V& T$ i' x- t
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ; w1 x+ ?8 {- L- v2 ~
  6. 不会解释如何做到这一点-也有文件存在,为) i3 I  W4 M% u( U% r" v
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    - t, k% y* S6 V  J
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    & T0 M/ @6 l4 `5 ?/ z% x, {
  9. 随着数据库。此外,你需要一个卖方图书馆安装于4 C6 p- b/ ~0 U; A" ]9 O( w
  10. 本地机器,这是我的MySQL安装。 6 @- S1 `( d, a, Q/ f0 o
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从( ?- U8 j2 h3 H6 Q" R  J
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 2 p; s1 q' p9 c8 C
  13. 数据库。 9 \$ a5 R& _4 s$ n0 z* e
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在. t2 w: B$ z: {0 @
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    . M& [- e9 B) C4 D' x# U8 N
  16. 在teamspeak论坛,如果你有兴趣。
    ! m' S3 ~5 a* S5 c
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    9 p8 Q6 X4 e6 U  H5 g8 j
  18. Borland公司使用。这个司机只能界面与客户端库
    : U0 j' N- n! w$ I( L
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    % u  V5 ]+ F* Y/ D; g0 g
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为8 n7 y+ |6 ]  H* C8 w' Y
  21. " vendorlib " ,并解数据库连接。
    ; O) P1 m' I$ j/ ~# Q3 e
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 6 W9 y: o- V; h+ U) }4 M2 E% L

  23. 0 B" M2 i  B, W! U# i
  24. # # #做好工作# # # / l. {7 @; i5 i* N% c& I+ p$ M
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    3 T+ y2 S( D5 {# O4 \
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在4 E; @$ A( I0 o  f8 ?8 }2 F
  27. 结束: 5 u  c4 H1 H2 [$ z7 t( h4 E
  28. ---削减这里--- $ ?* U" b$ G" \3 g8 k' i: I7 A5 Y
  29. [ dbexpress ] / m+ o' Y% V2 I4 }7 Z1 O
  30. sqldir = mysql_sql & u+ Z& `3 X# m( d2 G
  31. drivername = MySQL中
    ' }* i4 D: I: o- }" }# }
  32. 数据库= your_database_name_here 3 C: q  X+ i. ]& H0 }6 d" a+ W6 u
  33. 主机= the_pc_the_mysql - server_is_on
    + M' |; H( e" F; ]' l5 |1 v1 n
  34. user_name = user_name_on_the_mysql服务器9 Z7 [; {/ q- C- s- I  M. E
  35. 密码= password_to_go_with_above_user_name
    ! M& Z" R5 C$ `  E" U: R
  36. getdriverfunc = getsqldrivermysql
    " [8 e. _0 y. [8 [* _, L
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib . D  n0 q! @5 L5 s# ~, Z/ X
  38. libraryname = path_to_libsqlmy_libary ) z9 ^" {. w6 w( A( @
  39. 积极= 1 0 w6 C. l& C! H8 M; @" G6 m
  40. ---削减这里---   E  H- X' U7 T$ h4 w3 k. d! U5 z; n
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: * J( C0 \% n5 s# G2 s( A/ A* K
  42. ---例如--- 8 `5 m% {9 h3 ~
  43. [ dbexpress ] 6 `7 F% L7 D4 U2 t
  44. sqldir = mysql_sql
    ; z8 v$ u% Q" L) j
  45. drivername = MySQL中( @- r: p$ M8 m8 T, H
  46. 数据库=测试
    ! B' }# s1 j. \
  47. 主机=本地主机7 `* q: X# u( z0 A' ]  ^
  48. user_name = testuser
    6 h+ D  `0 R' m6 \7 ?# b
  49. 密码= my_password 9 c( D, Q/ y/ F' n
  50. getdriverfunc = getsqldrivermysql 7 G) p, V" b3 Q5 W' {' _+ @
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ' o7 \4 ?. Q, ?3 @
  52. libraryname =. / libsqlmy.so ) C# U3 @$ D4 ~; h% P. g" m4 Y
  53. 积极= 1
    % V/ |# k+ ]8 [
  54. ---例如--- / {4 \6 e! {) R" p0 J  V
  55. # B- r" e, Y( D( ?  y1 \4 A7 T
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    9 Y: A, b' W! @  G4 @# C( R) b3 E; g
  57. ---例如--- 8 _0 o& b, v- k
  58. [ dbexpress ] & {* _' B$ Y3 X$ V
  59. sqldir = mysql_sql
    & e( l+ n5 {% i. J: ?* {
  60. drivername = MySQL中* h' }/ M2 G3 @
  61. 数据库=测试* Z& w% L* G" T2 x# U9 b0 t
  62. 主机= 127.0.0.1
    5 [) M# i" ~4 n" \
  63. user_name = testuser * n  o  b. c/ _  N" r
  64. 密码= my_password % {  X& p& p: P9 V( K: a
  65. getdriverfunc = getsqldrivermysql / C1 R" Y% ?) d9 y/ M
  66. vendorlib = libmysql.dll在
    9 L' l" M1 d& q+ a* ?5 h( O
  67. libraryname = dbexpmysql.dll 6 L; |9 F1 d6 ]
  68. 积极= 1
    6 W* N8 P/ n3 v* n% q
  69. ---例如----
    5 y5 s1 Z2 [) O; X* |: V
  70. -写在0 2.03.04由p wk.linuxfan
    4 a$ p) a! Q( h6 m: ^- }: A
复制代码
发表于 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 words9 j# T* X1 D$ j1 H

1 n+ g1 N7 a1 p- Cbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-7 04:17 , Processed in 0.074519 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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