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

2642 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 0 ?3 r( ], `0 z' J# I3 n

8 o6 R7 I4 g  N' |) Y

  1. ' Q3 ^8 |- I: ~7 I
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ; e1 P% w: W, H

  3. # J0 m& Z, B2 @
  4. ### What we need ###
    # h9 C5 e% ^- U5 Q* s
  5. Naturally, we will need a MySQL server to store the data for us, this document : U" ]$ m7 p6 m
  6. will not explain how this can be done - there are documents out there for the
    $ B( c+ M2 B# q& I6 F. n0 ]
  7. interested. The requirements include a (empty) database for TeamSpeak to use4 p+ S! }* z$ U6 S6 s0 T
  8. and a user account (username + password) that has the permissions to do stuff6 B; V! L$ a- v* B# N' q5 d
  9. with the database. Additionally, you will need a vendor library installed on the
    ' [: k; T( N$ F! S+ r* |) N
  10. local machine, this came with my MySQL install.
    / N- V8 [3 F! N5 h
  11. These instructions will not tell you how you might transfer your data from the
    2 l( l3 A$ ~  @+ l* B
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL4 ]0 p- \  l9 P
  13. database., V% G& J. u0 B1 q; k
  14. Some users have reported ways to import a SQLite database into MySQL, but at7 i6 X& [! o& i* e! n3 L6 @, {+ R
  15. the time of writing, there are still too many issues - check the current status
    . n4 x% [  \% F/ J3 m  P2 U: K
  16. in the TeamSpeak forums if you are interested.. q/ P1 V5 D. H" o! [4 w
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    7 z0 _" A2 g- R3 i
  18. Borland was used. This driver can only interface with the client library that
    , {* C, @" W, L
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this4 y8 {  ?  l) z0 U. J
  20. client library - basically all you have to do is to use a 3.x client library as 8 H' f+ I- q" u
  21. "VendorLib" and a 4.x database to connect to.
    8 V- `5 d7 ^( Y) [
  22. If you need more info about dbExpress, you can contact Borland.
    2 H. R' U' F0 A& k
  23. / l8 O7 O( x* j1 l  y* ^" A3 A
  24. ### Doing the work ###0 M1 e, ]2 Z/ D7 R
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all/ n8 K8 I2 a2 w3 v- e: l# x
  26. the perquisites right, just open your server.ini file, and add this section at
    6 c5 p' Z- s4 y+ n0 r6 K/ l
  27. the end:
    " {" y" Q. S( L9 _
  28. ---cut here---/ _' E( ?: e: C* o* I6 S& t
  29. [DBEXPRESS]
    9 t- G  o6 `0 Q- G2 B
  30. sqldir=mysql_sql
    * u* I! @4 w5 S; r$ m
  31. Drivername=mysql! L4 r+ Q, }  n! L3 R" f
  32. Database=Your_Database_Name_Here
    9 v0 H- `7 f# }4 F, q1 r+ l
  33. Hostname=The_PC_the_MySQL-Server_is_on
    9 s0 w# U; ~2 k8 F
  34. User_name=User_name_on_the_MySQL-Server0 K; I2 Y2 [( n: e
  35. Password=Password_to_go_with_above_user_name
    5 p9 L9 n/ A# h  q
  36. GetDriverFunc=getSQLDriverMYSQL& ]1 u3 f$ x2 p% ]' {
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib" X; U0 R/ v9 U/ s. w- `6 o; n
  38. LibraryName=path_to_libsqlmy_libary
    * H* z$ X4 A: ]
  39. Active=1+ R. R9 u5 R& z  B" R/ O" Q
  40. ---cut here---
    , E1 W& C& _1 |- n# r- M7 w
  41. In my environment (a linux box with a MySQL server running locally) I have:
    $ d' b- B4 J8 c
  42. ---example---
    / p  Q8 k7 y) i; ]: s8 ]; R
  43. [DBEXPRESS]! a0 ^2 R( M# M* [% `/ e5 b
  44. sqldir=mysql_sql
    ( A6 h% u5 D, r0 |$ ^+ M0 |
  45. Drivername=mysql0 @4 B" [3 {3 O* g- @5 u
  46. Database=test( X- N4 X% f; T8 e! M- k+ u
  47. Hostname=localhost
    ' S0 r8 p. M. X; s6 n) W
  48. User_name=testuser
    1 C* x# H- a3 B) s& A
  49. Password=my_password1 n+ ?# D/ d. \' j* \$ q+ y" |) [3 [8 i
  50. GetDriverFunc=getSQLDriverMYSQL+ x4 ?- I5 a* B! t+ ]
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    : A6 V! `: g3 j+ x
  52. LibraryName=./libsqlmy.so
    3 R& C  d8 ~1 D
  53. Active=18 Q( K* `$ `3 K+ V% l! B8 H
  54. ---example---9 R# O! p% Y0 \" K3 D
  55. - v3 E8 ?  P7 a1 l0 D
  56. On a windows box, also running the MySQL server locally, it would be:
    4 [1 V( b2 G5 _! ~. i, C" P
  57. ---example---. A4 |5 n& q/ q+ _1 A4 D+ D. j5 w+ U
  58. [DBEXPRESS]
    / G# g2 P# {% D- n  f4 z0 V
  59. sqldir=mysql_sql
      k: Q6 a# {5 ^4 i" k: y0 V
  60. Drivername=mysql
    6 ~9 y0 r  J  ]+ E' Q# v0 q
  61. Database=test! K  q' u0 ]4 F' V" W
  62. Hostname=127.0.0.1
    ' s0 x5 \& _" P5 S6 O
  63. User_name=testuser
    ' g# F( U! J/ {5 R  N% q
  64. Password=my_password. m' G5 z+ f9 \( O8 G
  65. GetDriverFunc=getSQLDriverMYSQL
    ; j# z+ @! Z& o# ]4 j; o: y
  66. VendorLib=libmysql.dll
    / c% \' Q3 N9 _% U
  67. LibraryName=dbexpmysql.dll
    + ^5 Z' A5 v- r0 C
  68. Active=11 g# |6 p; |) q* X2 @
  69. ---example----
    1 j+ h* s  U( M4 P  o, s- U- c5 ?
  70. - written 02.03.04 by pwk.linuxfan! p" t1 q. k; X' v' Z/ p7 v- f" C# p% }
  71. ( B- }+ h, y: l, Y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看1 z6 w6 D+ U5 [, j

  1. * m( E5 p: i  J+ B0 I6 G# L$ n+ K
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### & \: {" T$ _9 S. k( P2 m6 T
  3. 6 Q0 c! S+ ?/ j$ V: q
  4. # # #我们所需要# # # ) s* h2 q1 p2 I2 X" Y0 X% X
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    # N( K5 S2 S9 M0 @' f; q7 S$ w
  6. 不会解释如何做到这一点-也有文件存在,为- x  K% K4 N% X) }
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用3 B$ R% C( N/ ~, {  ^/ R4 d" w
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西8 g1 j0 Q$ i; ], F  B/ U
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    3 [& B1 c3 o! D3 C6 t
  10. 本地机器,这是我的MySQL安装。
      h* x2 y6 l+ X& q; h
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从6 s! i0 R, H$ n5 H+ ?
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    1 d6 M0 V' q7 d1 L1 t. {' I
  13. 数据库。
    " d- n/ c' K% |( o
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    # N2 ^, Z2 z- @# L( J- ^
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    1 [2 z! h% B) H, H) X% M
  16. 在teamspeak论坛,如果你有兴趣。 % a* _) d& f/ I5 N3 W
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    5 _9 ~1 k4 b: c" X+ c1 y
  18. Borland公司使用。这个司机只能界面与客户端库
    - W3 A* w) |5 T0 R+ i
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这3 [* p: ~$ ^" W% r/ h2 O
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    % x) C) G1 _8 U+ ?( L. f, L/ U! M
  21. " vendorlib " ,并解数据库连接。 2 a0 B$ _# [7 t7 X! a* {
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 0 A: ?7 M3 n7 E
  23. : ^; b/ b% B6 Q& h
  24. # # #做好工作# # # % ?- v2 x! F" q9 k; ^
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都* k2 ~0 r( ^) w. R: i. @! h7 e
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在8 T/ |) L% O1 ?; V
  27. 结束: ( Y& Z7 V0 h8 E! u% M2 i+ k
  28. ---削减这里--- 9 h3 g7 R9 I9 w: d, |
  29. [ dbexpress ]
    9 _- ?3 |/ L1 O$ }* y
  30. sqldir = mysql_sql & n$ ]4 ~+ K1 C
  31. drivername = MySQL中. @. x# J2 B  g! E
  32. 数据库= your_database_name_here : I. h5 v! L) h% N9 ]5 f
  33. 主机= the_pc_the_mysql - server_is_on 1 [1 ^# B  H# k5 Q
  34. user_name = user_name_on_the_mysql服务器2 ^4 M: W/ c" ~5 D. m
  35. 密码= password_to_go_with_above_user_name
    , [7 m+ Z+ \2 ~; Y
  36. getdriverfunc = getsqldrivermysql
    8 n% U5 z9 N3 C; k7 t' C
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib $ I# \. B2 ?5 \' S
  38. libraryname = path_to_libsqlmy_libary
    ) w9 \* u" r& g! M! I; c
  39. 积极= 1
    5 J# ?. N) m# P  @2 a8 u- A
  40. ---削减这里--- 5 r$ B! d* n1 D3 `
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ; _0 ^6 K. a, n9 s" }& d
  42. ---例如---
    7 p# j0 z5 D# }2 {
  43. [ dbexpress ]
    * v& {; S* Y% o/ h
  44. sqldir = mysql_sql : J: R5 j5 }6 c- Q1 T' _3 P8 b) F
  45. drivername = MySQL中4 d4 y% t0 i4 I& @" w
  46. 数据库=测试
    6 L4 R) t5 }* X4 o
  47. 主机=本地主机, M4 J* {% n/ Y3 u3 y4 L8 L9 w
  48. user_name = testuser - h/ O3 y8 }% A" q8 ^0 y* v
  49. 密码= my_password
    6 h2 o& l5 X2 A% m
  50. getdriverfunc = getsqldrivermysql
    ; E8 [9 b: i7 c! \
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 $ C7 P$ p: ~$ Y4 _. L" |1 S& I
  52. libraryname =. / libsqlmy.so
    - S- V! P# b! ^6 M
  53. 积极= 1 ( v2 @5 F0 C, [3 Y2 X* c$ i9 B
  54. ---例如--- ! D  M2 w+ e9 a0 L. E2 k

  55. ( s: e. w4 l, ]2 |$ B
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    & b0 |$ {0 h' Z3 [! E- Z1 K6 ?) X
  57. ---例如---
    1 M) |( h* e1 c; l, [' G3 h3 V+ Z
  58. [ dbexpress ] ( I* B1 H+ T. O" C0 X
  59. sqldir = mysql_sql
    0 K! S+ |; S/ `4 [- {
  60. drivername = MySQL中
    6 `3 I, M2 s( r9 d% z, i
  61. 数据库=测试6 n1 m9 r$ }2 Q; F
  62. 主机= 127.0.0.1 7 Y) _% ~# \2 a2 C7 @- W  X# y" W
  63. user_name = testuser
    4 y6 I, N. d. X1 T
  64. 密码= my_password
    & S# q1 I0 ?9 a  h( p
  65. getdriverfunc = getsqldrivermysql
    " O- v% U5 G1 k! f/ G) m% _: W+ l0 J0 s
  66. vendorlib = libmysql.dll在  o6 O. V- {( W# h& k& e7 M' E. J
  67. libraryname = dbexpmysql.dll ( ]& g/ s0 r6 z8 ^6 R$ N
  68. 积极= 1 + W* h$ W/ E5 f5 J; p6 I; ]2 ~
  69. ---例如----
    # }6 U7 B  Q0 p- |4 a& R, q& a; h
  70. -写在0 2.03.04由p wk.linuxfan
    1 l8 ~& @" U* 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 words7 H+ ?" W0 |2 e0 y! C; K

* K0 ?" R4 [, P/ Z; j* K! K- xbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-20 10:13 , Processed in 0.109297 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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