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

3497 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
9 Q0 R3 S  [% w) X1 K% ]/ u
! U  |. l  D" B+ |8 N1 Z! {
  1. & U" N9 j8 T5 H- d# x
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    , s6 L; p/ T( g. ^) V! u( f/ |9 m
  3.   [1 @) b2 ^, V' `% S0 r5 o
  4. ### What we need ###( |# C2 p  U0 ~8 n7 \" y
  5. Naturally, we will need a MySQL server to store the data for us, this document
    1 c8 q( @5 ]) h4 S8 [( m0 V2 L
  6. will not explain how this can be done - there are documents out there for the ; T: j- x2 P) x# P; e- v' I9 x. n1 D
  7. interested. The requirements include a (empty) database for TeamSpeak to use# ^. p6 p3 Q1 D7 ^
  8. and a user account (username + password) that has the permissions to do stuff+ Q7 A% V/ `" p( d9 _/ W% h1 o
  9. with the database. Additionally, you will need a vendor library installed on the9 a. K5 O1 I3 n) g& y4 a( s
  10. local machine, this came with my MySQL install.
    ! ^8 B8 a' u, Q0 [/ t
  11. These instructions will not tell you how you might transfer your data from the
    # m3 o. _& c  A3 ^* b* r
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ) n- t/ U. U6 ~. ^
  13. database.
    0 @9 p; n: A* G" k$ h& N7 _
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    , z, A+ n; I! U6 m: V+ F; o
  15. the time of writing, there are still too many issues - check the current status$ y$ e  n  M0 f/ R
  16. in the TeamSpeak forums if you are interested.
    . h3 [0 Z. Z% D4 @* z
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from/ g3 p; h# N& B  X1 C
  18. Borland was used. This driver can only interface with the client library that
    5 `) O! J* f; z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this( S9 `0 D2 w" G1 ^  o. d
  20. client library - basically all you have to do is to use a 3.x client library as 0 H1 D7 e1 Y8 j9 w1 g$ c2 v) J2 U/ |
  21. "VendorLib" and a 4.x database to connect to.
    . I# E+ w2 B/ c2 W$ |9 F9 R; B
  22. If you need more info about dbExpress, you can contact Borland.% X! h0 p$ j0 ?- A

  23. ! D( W* x) U/ O1 Q
  24. ### Doing the work ###; R7 ~5 M* T. f( \2 X2 |+ o
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all/ W* g2 {. C* ^
  26. the perquisites right, just open your server.ini file, and add this section at
    ; B& ?7 N8 B7 ]8 W
  27. the end:% K- F8 g9 q- }. C- b8 c$ g
  28. ---cut here---5 _! [' b% h; I! n* q! N0 h2 u
  29. [DBEXPRESS]: x7 p4 ^3 L' i+ o) g9 i: Y# Q
  30. sqldir=mysql_sql) c( c- \: w- _9 @- m( r
  31. Drivername=mysql% z2 y4 e+ O$ f, o" q
  32. Database=Your_Database_Name_Here2 u: l& {* c. a! b
  33. Hostname=The_PC_the_MySQL-Server_is_on7 o+ K& M/ [$ m6 b3 ~
  34. User_name=User_name_on_the_MySQL-Server8 o3 x9 R4 Y# z) i6 R1 R
  35. Password=Password_to_go_with_above_user_name+ \8 i3 @) B  l, E+ G* l
  36. GetDriverFunc=getSQLDriverMYSQL
    + Y+ ^$ k! U! |4 ~, \
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib/ Q& i0 R; s  L, S. J7 Z" L
  38. LibraryName=path_to_libsqlmy_libary
    - b. k2 S# [; a& j) W$ C
  39. Active=1
    ! n" |/ J" N4 h0 x6 t
  40. ---cut here---
    & y4 \& z9 W' Y& ~; @
  41. In my environment (a linux box with a MySQL server running locally) I have:
    7 S2 k$ k) N$ p2 Q& f
  42. ---example---# @# ]: g1 {/ L& D  }  W) s
  43. [DBEXPRESS]$ M7 s+ C. h( L+ P: W3 S
  44. sqldir=mysql_sql% {7 X% E8 a; [' m
  45. Drivername=mysql
    2 C  V$ p0 C% g9 `; x! P5 [
  46. Database=test
    8 u( \# t" q3 I, {3 [; B- S
  47. Hostname=localhost
    - t1 E0 y% U+ r3 W+ q* g
  48. User_name=testuser3 y  j' z2 a. ~2 C1 E
  49. Password=my_password
    : v1 m! l  J, H4 J5 @/ T3 q: I
  50. GetDriverFunc=getSQLDriverMYSQL
    ' T' a  `8 |2 `" N+ E1 U5 x
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0! U7 w$ s2 ^$ T2 z- d" U, o
  52. LibraryName=./libsqlmy.so
    ( W; s8 }8 Z7 h3 ^. K. K& r" K
  53. Active=1
    9 v* |6 V2 e$ U
  54. ---example---3 W% D* M; p+ Y$ A
  55. " `& ~$ K1 ?/ l; Z. n
  56. On a windows box, also running the MySQL server locally, it would be:
    ! d6 c/ C. }! n* e3 _
  57. ---example---5 J1 d3 Y3 k# c' \: F$ O5 a
  58. [DBEXPRESS]" S) ~4 Z) D3 L
  59. sqldir=mysql_sql' k* F) [; c' w; b
  60. Drivername=mysql6 @4 m7 e' ?" T
  61. Database=test9 z4 e3 g5 z+ W* `3 }" x
  62. Hostname=127.0.0.14 X: A- @8 B9 S! {. |
  63. User_name=testuser
    8 i3 U$ p# S1 H2 x; i% R
  64. Password=my_password
    ' }7 o6 e+ C: e$ q
  65. GetDriverFunc=getSQLDriverMYSQL
    " k- k$ j3 G, R% A- h; T6 F; G* P
  66. VendorLib=libmysql.dll, K( t& h5 V+ Q& Z
  67. LibraryName=dbexpmysql.dll/ S! e' q) |* l  Y0 L5 ^# U  }
  68. Active=1
    2 n8 p- g1 X' z; r- D' R
  69. ---example----
    3 c7 ~: s" P: e* l
  70. - written 02.03.04 by pwk.linuxfan
    % s; t; x, W& i9 u6 g! C
  71. 9 Y1 \8 o, A3 w  b% k* E) q. j3 o
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
/ G. q3 C$ q$ H( k7 h% Q
  1. 6 }' ~7 P! b/ W$ n' }8 c
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ( \, N; K1 m+ p7 n" }
  3. * R- Z1 q& p. [
  4. # # #我们所需要# # #
    2 E3 O1 Q# B/ R6 t% x& Q
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件1 a) T" }% X$ _2 q# I5 N
  6. 不会解释如何做到这一点-也有文件存在,为
    0 g* Y5 V  i% w9 U4 f+ {- D
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用# a2 |6 s' }' C9 W
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    9 V4 L6 `$ R# Q3 {
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    7 v7 X7 g. r% Q1 _: L
  10. 本地机器,这是我的MySQL安装。 ; B2 w$ b: E1 {7 W0 P
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从4 h' H5 b/ [9 c! T
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    * |8 _8 Q. r. L$ Y* ]' T5 c
  13. 数据库。
    4 [( N3 u8 Q. V3 [* |5 R
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    7 n. _% r8 a5 f( M
  15. 编写本报告的时候,仍然有太多的问题-检查现状' ]+ |. {; ]6 X% c( f; o3 R/ c0 D4 i
  16. 在teamspeak论坛,如果你有兴趣。 ( }# V, c% w! Z) V# Z
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机6 h5 G* i# a9 E/ h3 n: w7 t
  18. Borland公司使用。这个司机只能界面与客户端库4 k( O; c, G3 Z% T
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ! S: v- f+ T' ^) `8 ?
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    1 a. p* P& V& R0 L5 w1 z  X
  21. " vendorlib " ,并解数据库连接。
    ! P+ {- E, p& H5 @1 b& Z' O
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ( v, Y$ J* s$ k! c

  23. 0 V4 k( D$ W+ ~* x% [1 d  M
  24. # # #做好工作# # #
    & P& c) m. B2 y: l
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    . Y; S' V  E+ I' p2 p
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在9 K0 t3 s+ e  z3 t" S( [3 P
  27. 结束:
    3 Z: D7 c6 C. y* K' |. F* ]+ t+ T
  28. ---削减这里---
    ) @, o" `2 t( C* @) |
  29. [ dbexpress ] # H1 B6 k2 r# o, H( N
  30. sqldir = mysql_sql ( K9 ~- A4 q- \% U  g$ t8 T
  31. drivername = MySQL中3 l  J: x! ~( T, w7 Z
  32. 数据库= your_database_name_here
    + @, [9 E0 P* x- C' k( a" w- c
  33. 主机= the_pc_the_mysql - server_is_on
    3 G# H# z, y; U& x2 x0 ~# v' @
  34. user_name = user_name_on_the_mysql服务器. ?$ Y  `7 w- @5 ]8 m
  35. 密码= password_to_go_with_above_user_name
      ]0 C+ @7 q6 k
  36. getdriverfunc = getsqldrivermysql
    / D. ?" ?& @) M2 c
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib & t# {& O- o) y( u0 h8 G
  38. libraryname = path_to_libsqlmy_libary
    , `& [' i- I7 Q, g# l% |* Q; ^
  39. 积极= 1 2 D! ?. S& X5 ]" C  D
  40. ---削减这里---
    / ?* z* y2 x4 P9 c
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: - t; D  \2 t: c) ]4 E" _8 X  L- d
  42. ---例如---
    ! u" s' b/ S5 O3 p. d
  43. [ dbexpress ] : R: m' I& h- Y1 i: q  q2 x
  44. sqldir = mysql_sql
    ) W4 X/ a7 z- E
  45. drivername = MySQL中: [. p) l# q2 I- {
  46. 数据库=测试: b! s% S) N  H
  47. 主机=本地主机" n- S: ^7 d: L+ |- e
  48. user_name = testuser
    % A1 g  c( I" [$ ^
  49. 密码= my_password
    5 A, p0 S; w3 R8 ~. k6 E
  50. getdriverfunc = getsqldrivermysql 3 X: `1 Y' J" P/ l9 _+ V- R  o
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ' O' k9 d2 E: O  G! z" A
  52. libraryname =. / libsqlmy.so 1 q. w/ b, M# O1 r2 h
  53. 积极= 1
    4 c" M" |# L/ l& {# r* K
  54. ---例如---
    - k/ v8 M3 ~9 Q6 @4 d+ _
  55. 9 \  J  w' B! ~5 h7 y- p
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 7 ^- v% l6 t: b3 `0 c/ i; @6 a) {
  57. ---例如--- . Z' ?" B' P$ M
  58. [ dbexpress ] 2 k# U- p, L" `) K, e9 B
  59. sqldir = mysql_sql $ V% O8 G$ }/ K
  60. drivername = MySQL中9 p; s- [7 G* b7 V( i, U3 k8 R
  61. 数据库=测试
    ) x2 q$ |, ^3 J5 \
  62. 主机= 127.0.0.1 , l7 j8 {# [3 o1 W8 z* b
  63. user_name = testuser
    % s6 C5 E  e: [4 T- m$ J0 @
  64. 密码= my_password $ f# G* F# f) P5 C2 x
  65. getdriverfunc = getsqldrivermysql $ i: |7 \: v. q! F# h4 I
  66. vendorlib = libmysql.dll在
    & g7 S+ ?; j' ]7 Z
  67. libraryname = dbexpmysql.dll
    / G$ X6 Q+ x) s/ d1 ?
  68. 积极= 1 ! d# P' X* V+ C- ^7 Z3 v1 S
  69. ---例如----
      R' P( ]4 U3 ?( W) r5 ~/ j
  70. -写在0 2.03.04由p wk.linuxfan) @9 W6 k: G' d! Q7 Z; }; R
复制代码
发表于 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
3 b; `' k9 ]0 w- u- d( \! }/ w) e+ i7 ~: D- Q' H& Z, b
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-10 10:11 , Processed in 0.065243 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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