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

3334 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
2 p  b9 Q" M4 ~2 B1 N8 Y. F) O7 p+ s# ~$ x

  1. % _( N9 V. }: d" q: d
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ) O$ ~+ T# V4 C' ~2 `( F6 x" [
  3. # N! S+ L$ Y4 \+ [; j' f
  4. ### What we need ###$ e- R7 `' d. P, r+ w+ P8 t
  5. Naturally, we will need a MySQL server to store the data for us, this document
    1 o7 k: K/ P  g4 h
  6. will not explain how this can be done - there are documents out there for the 5 ]' ?$ T: N5 i! J$ p0 |
  7. interested. The requirements include a (empty) database for TeamSpeak to use# P/ B" |1 H" P7 d1 T$ t
  8. and a user account (username + password) that has the permissions to do stuff
    7 ^. j+ Z( X! r+ n1 [4 x* G
  9. with the database. Additionally, you will need a vendor library installed on the5 w& x3 M$ l* }# {% r, I
  10. local machine, this came with my MySQL install.$ P, y+ N* z. X) W
  11. These instructions will not tell you how you might transfer your data from the
    ! I- ?2 B0 d$ ^9 S5 R  @
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL3 T+ ^8 ]0 Z% D  X6 H" {
  13. database.
    5 b! W  y& j* c" T& M" M5 X: [2 D1 H
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    " P( d3 r# G$ F# H
  15. the time of writing, there are still too many issues - check the current status
    6 p. Z: W( L: g4 U+ {  |
  16. in the TeamSpeak forums if you are interested.
    0 h, ~! H) z& q
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from: S7 P& H" ]1 z1 q" \0 z
  18. Borland was used. This driver can only interface with the client library that
    - h& G! \& ~/ N7 e3 u' K" n
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this$ u& J; t" ~- I5 z' Z. o, r
  20. client library - basically all you have to do is to use a 3.x client library as
    ! }5 v1 Q6 n7 V
  21. "VendorLib" and a 4.x database to connect to.7 U3 x% Q& v4 [8 @
  22. If you need more info about dbExpress, you can contact Borland.
    % H9 ^+ \5 Z5 w! l9 X
  23. ; A3 O, ^+ Y1 O9 `
  24. ### Doing the work ###
    : q. P0 x: j4 T
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
      N# n3 R; X& g7 A" n
  26. the perquisites right, just open your server.ini file, and add this section at
    ! K% K+ }. n% U3 ?# M! p2 M
  27. the end:
    ' x; N8 u" S* k1 S7 P) Z
  28. ---cut here---9 `" Q0 U3 u, b7 w1 M
  29. [DBEXPRESS]" G& i! o. b7 y  p% v# n3 ]5 W
  30. sqldir=mysql_sql
    . ?9 V$ @7 g* k5 n
  31. Drivername=mysql
    4 @  f6 c6 d( l& F1 \. _
  32. Database=Your_Database_Name_Here4 a4 W. ^5 b5 ~; D
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ; R4 z4 A6 t/ m! n
  34. User_name=User_name_on_the_MySQL-Server$ i' O/ X# g% ?* g! A
  35. Password=Password_to_go_with_above_user_name
    4 U+ P+ q8 Y- R, }5 k4 E$ X
  36. GetDriverFunc=getSQLDriverMYSQL  K; ]( ~# J7 Y% \6 f- n9 t- _
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ( }. O2 \1 C+ k! z
  38. LibraryName=path_to_libsqlmy_libary0 E& V/ S& ~0 R. R0 @+ J
  39. Active=17 q# x/ @/ J4 R& t" ?9 p+ J7 T
  40. ---cut here---
    $ U& D, e* S% e
  41. In my environment (a linux box with a MySQL server running locally) I have:
    5 c% U  c  j* ^- J
  42. ---example---
    . \) U! ^5 _# t4 S2 h5 V. T
  43. [DBEXPRESS]) h8 v) |5 Y6 N2 s6 d: a
  44. sqldir=mysql_sql: r# t, C. Z$ \4 N* [2 X' K
  45. Drivername=mysql
      g# E5 \) P6 _4 O3 p
  46. Database=test
    2 t3 w! u8 b* b$ E5 j) x6 M4 A0 Y1 Z
  47. Hostname=localhost
    8 y/ S( q! g' R4 [1 D
  48. User_name=testuser2 k! N+ `9 U, T, c
  49. Password=my_password
    2 A: ?- h8 x7 d! j/ ?
  50. GetDriverFunc=getSQLDriverMYSQL  |3 `- ?2 E3 }0 g8 e7 \
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0  V5 R+ M5 _1 ]. u; Y; n
  52. LibraryName=./libsqlmy.so
    , T. c4 j% V% F$ Q) P
  53. Active=1
    3 o, C& {4 H# m/ S3 a  e# l7 c9 {
  54. ---example---  X# ]% S* |  Y6 G$ e) ]: b, p

  55. 6 R; b, d  W" z4 Z
  56. On a windows box, also running the MySQL server locally, it would be:$ \8 [0 I3 Q& f$ V
  57. ---example---
    # l) O8 X+ w2 g/ S" o
  58. [DBEXPRESS]/ K5 Q8 a# E* _; J7 s6 t- [
  59. sqldir=mysql_sql
    ; c$ A* r& z3 e( h& w6 E8 r5 W" ?
  60. Drivername=mysql
    9 ~  m* \% X& U# j! x& G
  61. Database=test
    4 ]) y) p* u5 }/ o. S
  62. Hostname=127.0.0.1
    4 A/ A3 X; c8 O0 h  e$ h$ V9 J! e, T) I
  63. User_name=testuser, {9 \* @) y+ V3 A5 \: ?
  64. Password=my_password, s. _3 |/ `  @5 e" c- k  Z
  65. GetDriverFunc=getSQLDriverMYSQL
    4 U& H7 l% j; v  |" W
  66. VendorLib=libmysql.dll
    . y( ?' e4 U! m" V/ K, m* J
  67. LibraryName=dbexpmysql.dll$ R% n& D/ L* W8 f4 L
  68. Active=1% E6 C% Q& ^3 @" t- e- I
  69. ---example----* c* T& x' k$ @/ x3 |
  70. - written 02.03.04 by pwk.linuxfan$ i& a4 h  E1 X7 ~- T

  71. 5 e# \8 g- k: v% s- {
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
% b$ T. L9 `8 Q0 E8 q4 I
  1. * T  C  k7 A0 M0 _! s8 o
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### / H3 {2 q2 |8 @3 R# T+ k
  3. * f4 s8 n4 _3 {8 l* t! p
  4. # # #我们所需要# # #
    : p& T* q( |7 ^
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    * j% P( ?6 ^) p- S0 E
  6. 不会解释如何做到这一点-也有文件存在,为" f0 o$ S* @$ v, \4 W
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ( h9 V9 i2 c+ F  a* Q- t2 u; p2 J
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西; n$ N1 M9 _3 f- {. v
  9. 随着数据库。此外,你需要一个卖方图书馆安装于2 `  U* `: Y" Q9 i9 W
  10. 本地机器,这是我的MySQL安装。
    & L# g4 Q* d0 r: @
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从0 I/ ?% z0 r- r% \0 j$ |$ V
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 5 K6 R7 C4 \( H& L0 ^
  13. 数据库。 ( ], U. t5 V* H8 d) F
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在3 a& |( a3 z( e( j; t
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    # W1 m. Y3 H7 C! e/ p
  16. 在teamspeak论坛,如果你有兴趣。 - n9 E/ y7 P3 M! |" I6 I
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机: n$ V  J% ]. I$ H& F; {0 O4 ~
  18. Borland公司使用。这个司机只能界面与客户端库
    ; k& w1 ]: X, S* K7 e
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    * c2 K( q# }9 R8 X6 A" |
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为% z  T; R$ w) M7 U* J1 C
  21. " vendorlib " ,并解数据库连接。
    2 e9 o0 ~. H- y7 `" E2 ~% P* c
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    0 h3 B4 U7 S, u! g) H8 \
  23. 2 W; p! H* O5 B
  24. # # #做好工作# # # 3 m* Y8 n) p- f$ y7 a4 h
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    $ P! j1 @9 r% V/ p) q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    . b- {% Y1 W% A) ~5 G
  27. 结束: ) b7 F% H7 P' i& y- U. B. d( R
  28. ---削减这里--- . d6 p3 _: K: n- d
  29. [ dbexpress ]
    " n$ ~/ r' e8 w6 O
  30. sqldir = mysql_sql 2 g- R2 }" B9 i3 N) a
  31. drivername = MySQL中7 X) t4 b5 _/ _2 I
  32. 数据库= your_database_name_here ) p" y) ~1 _/ w7 V" w) n
  33. 主机= the_pc_the_mysql - server_is_on - a. N. W% }2 a3 C4 h7 ^9 |
  34. user_name = user_name_on_the_mysql服务器
    ; n+ R5 L* X) Q' [. Y# A4 b
  35. 密码= password_to_go_with_above_user_name
    + s# Z6 B$ Q  D1 A% v! u' C& E0 Q
  36. getdriverfunc = getsqldrivermysql
    - W' l. b- y; R/ a1 v! ~2 S/ B
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 0 `! l4 g. k/ B& j3 u8 r0 H$ `
  38. libraryname = path_to_libsqlmy_libary 2 _3 E9 g. `+ B8 W/ O
  39. 积极= 1 2 q; D# K7 o" h3 f: F8 L' B
  40. ---削减这里---
    # }0 ]3 J4 X( O
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    3 r% a# r3 v- \3 p" @' o. D& h; V5 t+ P
  42. ---例如--- 6 ~* ^, @0 @$ q/ O# I2 W
  43. [ dbexpress ]
    8 _$ h+ B' r- ]* f- g
  44. sqldir = mysql_sql 8 Q, A/ [- }; I0 P
  45. drivername = MySQL中
    ' v$ _+ l; C- ]  q
  46. 数据库=测试
    " \3 u+ H" j" }9 ?% V0 \. q' e+ ]6 W
  47. 主机=本地主机5 Z- k* B" y" F5 t0 w( B* }2 {
  48. user_name = testuser 6 t  Y0 y+ Y& X, i0 t, Z
  49. 密码= my_password
    9 @" w2 Q, ]4 n! [) }  e, F3 ~
  50. getdriverfunc = getsqldrivermysql
    6 F- ^7 Y/ J! k
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 : K3 t" P! i5 A* j
  52. libraryname =. / libsqlmy.so . Q' G: F: D% }3 p- ]
  53. 积极= 1
    6 ~4 L1 _3 n- z0 j) {9 b
  54. ---例如--- 1 I: w' D, o& w" h4 j0 p% H

  55. - t2 K# S/ t( Z" {2 G
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    * L' w0 U' I- I% T: ?5 l& h
  57. ---例如---
    3 v3 Y; [! r8 b; w
  58. [ dbexpress ]
    $ U6 q4 X- l$ s& }9 O6 I
  59. sqldir = mysql_sql * k, \* |' W! P% c( C
  60. drivername = MySQL中% B0 e1 }9 Q3 U' H) u4 @
  61. 数据库=测试
    ' G7 {6 i2 N0 W/ v+ E# o
  62. 主机= 127.0.0.1
    # J7 M  {' e1 `' G& @& ~
  63. user_name = testuser + \% S% ~; n! G& ~5 Z1 o
  64. 密码= my_password
    ; N/ z0 K& c0 O8 v4 M  z
  65. getdriverfunc = getsqldrivermysql % n! Y$ r5 \* y7 q# L, c/ j& K
  66. vendorlib = libmysql.dll在
    % z& c7 W9 P$ `* f
  67. libraryname = dbexpmysql.dll ; g9 ?+ k$ L4 o* ^
  68. 积极= 1 ( }' {6 f* H1 B3 e( ]  P
  69. ---例如----
    4 p$ L+ x. R5 I3 ^, z
  70. -写在0 2.03.04由p wk.linuxfan& c2 l) s8 C! X, t
复制代码
发表于 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
2 ^* M. `' T; t  _
5 `6 W3 }$ J: w) U2 H; ~but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-15 05:12 , Processed in 0.099670 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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