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

3519 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
- y+ Z5 L' P! c) B: i6 |& a# N# r9 C7 \7 w# h1 E8 L
  1. 6 z4 H. i- @2 W9 U. A/ ^, L5 a' k: z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    3 j9 K: @& l8 t, F- J" K7 F3 v/ F

  3. 2 L# V$ b; U* i
  4. ### What we need ###
    5 ~, Q. W7 P! k( \
  5. Naturally, we will need a MySQL server to store the data for us, this document ( [! V& M5 g3 x: ~
  6. will not explain how this can be done - there are documents out there for the # I! Y9 v% \( S) X
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    - [" f; K* s& g$ d, F
  8. and a user account (username + password) that has the permissions to do stuff
    9 X8 }! L7 ^' l1 ?/ {5 i3 ^; e
  9. with the database. Additionally, you will need a vendor library installed on the
    " z' |) O7 G1 s. |
  10. local machine, this came with my MySQL install.) _- U* r3 c% Z( q0 d& v
  11. These instructions will not tell you how you might transfer your data from the/ i$ b# `0 J9 N3 k4 N5 Q* J: p
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL7 v" n! R8 \4 G  ^! I) I& }. S7 d
  13. database.
    ( Q+ s1 R+ M" H' x( X3 ?4 g1 [
  14. Some users have reported ways to import a SQLite database into MySQL, but at) Y' `5 }2 M. r- \0 G
  15. the time of writing, there are still too many issues - check the current status
    ; s2 L7 @2 j; p6 Q
  16. in the TeamSpeak forums if you are interested.* s+ j- B% Q' ]& a: `. h
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    6 W% N% j1 V& @  e( m
  18. Borland was used. This driver can only interface with the client library that . q: B9 g5 ~' q
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this& t; f( b: ?5 p, o5 y$ L$ k2 a4 P
  20. client library - basically all you have to do is to use a 3.x client library as
    ; P; y3 V" l, P! i
  21. "VendorLib" and a 4.x database to connect to.0 h% J, S- B1 G6 C3 |9 O
  22. If you need more info about dbExpress, you can contact Borland.
    6 T! F) c9 b6 c- Y! O& j

  23. : N3 `% Y4 D5 ?8 Q
  24. ### Doing the work #### W- j, a$ U. d9 B' E/ r
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all/ T' c  ?9 q% f
  26. the perquisites right, just open your server.ini file, and add this section at
    ( S- r/ H  S0 u. O8 b
  27. the end:
    7 R; d" E: S8 y; z
  28. ---cut here---
    7 O6 q2 m. |( c+ e! G
  29. [DBEXPRESS]- f2 L' L7 z* {6 F2 H3 I
  30. sqldir=mysql_sql  X9 k4 J* Z- l8 k- B
  31. Drivername=mysql- e9 L6 p$ G: B
  32. Database=Your_Database_Name_Here5 m3 H# R/ f; U6 I
  33. Hostname=The_PC_the_MySQL-Server_is_on
    # p( C0 t1 f; w
  34. User_name=User_name_on_the_MySQL-Server8 M. w$ ^" Z4 N( F9 R6 S
  35. Password=Password_to_go_with_above_user_name/ y( c; e9 b! ?7 o+ S* a/ ]; J
  36. GetDriverFunc=getSQLDriverMYSQL, M% J; F1 D* v4 S/ c3 P
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ' `$ d; x2 ]4 c. C8 }7 L
  38. LibraryName=path_to_libsqlmy_libary) ~9 X, t" I8 l* u. @$ V
  39. Active=1/ V' R! c! X8 f4 F, {% T
  40. ---cut here---
    2 X! e. q/ [) Y" |# Z* a
  41. In my environment (a linux box with a MySQL server running locally) I have:
    . _; ~) W7 e8 Q- D* u9 b) v
  42. ---example---
    $ G$ i( B% V9 |* k4 R& @
  43. [DBEXPRESS]1 t+ W4 U: _8 o2 w: k  ^
  44. sqldir=mysql_sql
    ' y, }* u& c! \0 ]2 }2 l# |! E
  45. Drivername=mysql5 [5 K9 k  R, M5 |
  46. Database=test
    ' o# T( {0 |0 ]1 }8 o
  47. Hostname=localhost
    , S4 J: C% R3 t3 G# a% {* B: s
  48. User_name=testuser/ v2 x9 p2 O: O/ F( g5 \
  49. Password=my_password% }2 u$ M* b8 Q, M+ @* `
  50. GetDriverFunc=getSQLDriverMYSQL
    0 D4 _: e; x; Z4 a5 M3 O
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    . x5 p5 m, U+ c/ C& q1 N
  52. LibraryName=./libsqlmy.so
    / r& n, E0 D1 @  p' }
  53. Active=1) ?- j, c3 f5 g3 H' z4 \6 z/ B4 z0 u
  54. ---example---8 Y* H) a3 n$ s; |1 z6 ^+ O! Z

  55. . Z5 g0 q: O& w  @6 z3 k! B
  56. On a windows box, also running the MySQL server locally, it would be:
    2 U! B/ ^% P, H5 h1 d- t7 c) b
  57. ---example---/ C1 Q) x# H. u* T. [
  58. [DBEXPRESS]. A+ x( ~& g/ K8 N! ]( a) E
  59. sqldir=mysql_sql
    5 h6 O3 t, S( n# s  @+ i
  60. Drivername=mysql. o: d0 f: g0 Q- ?' G; p
  61. Database=test
    - q# v3 |6 `1 h. I+ X1 R& p
  62. Hostname=127.0.0.1
    " ~1 y/ k" ]# \5 k/ U
  63. User_name=testuser
    9 z% Y% x: J8 E4 |" y' x
  64. Password=my_password
    % \2 x- ]3 Z8 K9 I6 [5 d
  65. GetDriverFunc=getSQLDriverMYSQL
    " ?3 Z( R4 x: n0 k
  66. VendorLib=libmysql.dll
    + {5 {. e) y. @4 |+ k
  67. LibraryName=dbexpmysql.dll1 A5 c7 \9 S, h$ V$ D. H- V* t) }# h
  68. Active=1( e- M. |4 s5 W; R7 J- ~
  69. ---example----* m0 ~+ x4 ?' ^9 T7 t. A
  70. - written 02.03.04 by pwk.linuxfan
    ; \% C, Q2 T# g8 D! m

  71. - J; k  y; \! j6 H
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
0 ?& I" \1 t6 t4 M: C) w1 E
  1. 1 d( \  q" Q2 R1 R; g  d& h
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ! d2 S: x- w7 ?6 s) r

  3. ) z1 }; z' k8 r1 l3 K$ m4 e
  4. # # #我们所需要# # # & M, m+ i' I; ^: H& @, Y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件9 a6 V5 e, c# \' J+ G/ ^
  6. 不会解释如何做到这一点-也有文件存在,为. ]: j9 q, n2 l$ Y& i6 P8 Z" w4 @
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    : J# I4 q5 z& x" ^5 ^1 O5 M
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ) X+ ~; x; ?4 b/ u0 _) n( R" E
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ! {* A! S& T% k
  10. 本地机器,这是我的MySQL安装。
      Q& f) ^' k. u7 F3 D
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    2 R7 U" p9 }2 r. ~8 k% X
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    2 f2 J0 Q) u! ?- u1 s, q, a
  13. 数据库。 8 s* z2 Q: D" u- T5 T
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在4 ^& c- k0 |8 r" z
  15. 编写本报告的时候,仍然有太多的问题-检查现状3 S5 s+ ~& {4 O# |% N6 i& G
  16. 在teamspeak论坛,如果你有兴趣。 - p% S6 f5 P' H" t# j
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机7 q) H0 ^4 R1 V& }. J" }& X8 j% i
  18. Borland公司使用。这个司机只能界面与客户端库
    1 ?) z4 Z8 M4 ~4 u( T! z
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    + a$ t7 z9 _4 d. m! s' _+ M
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
      ~9 D5 m3 v) b% N$ e/ B. _% I
  21. " vendorlib " ,并解数据库连接。
    8 x1 g0 P( U3 k, S( l% k  K
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ; `. {( M3 r0 h' q9 \4 J0 |
  23.   b% x. }- ~* X
  24. # # #做好工作# # #
    $ U4 [. D* D5 ]) m
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都  g* q' q& k5 U; d$ T) x% h
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
      J/ ^' H( M: I/ A3 ^8 {  ~
  27. 结束: $ ~2 h7 \& D- j6 [& Q, T! x( r* E" T
  28. ---削减这里---
    % ]. P- H3 B% B) }) t- e6 F6 k8 }
  29. [ dbexpress ]   O2 e5 z; i( ^: M
  30. sqldir = mysql_sql $ I; m' b' o5 O
  31. drivername = MySQL中2 \* q2 O% x9 y  Z  B8 s
  32. 数据库= your_database_name_here
    ( R& S6 }2 A7 F7 k
  33. 主机= the_pc_the_mysql - server_is_on
    ! k' d! S" Z2 ?
  34. user_name = user_name_on_the_mysql服务器( M2 N7 @- a; e1 m- _; A
  35. 密码= password_to_go_with_above_user_name
    6 J0 e1 q6 t3 i! K. M  G" R
  36. getdriverfunc = getsqldrivermysql , p3 O# t3 b+ C
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    : l3 l" X- B! v8 K9 u
  38. libraryname = path_to_libsqlmy_libary
    " m- V& N: Y# |* C! q
  39. 积极= 1 " c# ~, \/ @8 ]; p6 u
  40. ---削减这里--- / V, u, p6 r& j0 p) l4 L
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: : A  r& d( g6 G
  42. ---例如---
    ' l: \: N& K9 h7 N) `  C0 R
  43. [ dbexpress ] * K8 ?+ K1 G5 j* y4 w. \- e: X$ n7 D
  44. sqldir = mysql_sql & k. i7 V( H- ~* {$ o5 u! y# C2 m$ \
  45. drivername = MySQL中9 \- b& U9 e5 g( N' j& |
  46. 数据库=测试
    6 s% n. x0 r2 K3 {" _+ L# m. J
  47. 主机=本地主机
    : Q& A  m- L( `! J
  48. user_name = testuser
    + O) \- u' _, o' ]! [
  49. 密码= my_password
    5 h6 B& b0 N4 d+ p9 c* O
  50. getdriverfunc = getsqldrivermysql
    5 K8 y) q7 ^( v
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 - `$ L- R: ]3 P) M& E  T9 T/ a
  52. libraryname =. / libsqlmy.so ; {- Z  p1 s4 x' B2 Y& H
  53. 积极= 1 5 h. U( x6 L2 l2 U# y, b
  54. ---例如---
    7 @* ~. L5 v( S, G: \8 K6 |

  55.   y0 Z' W; ^8 ^) l
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ( n0 U7 D" s( H! ]  w
  57. ---例如---
    ) S/ d: X# o* y. ~
  58. [ dbexpress ]
    ' [" b/ c2 e: K3 K  x
  59. sqldir = mysql_sql ! h: A0 \% F5 O, `1 n& M( P6 g1 c
  60. drivername = MySQL中
    . ?( n$ M  n& o4 r; Q1 X, O5 Y# L0 y
  61. 数据库=测试% G0 A0 o& g: x
  62. 主机= 127.0.0.1
    / I3 w* l' e0 l* s- ]" N
  63. user_name = testuser
    & U9 y# s$ X. i5 o8 G% z3 o7 P) ?2 ^" F
  64. 密码= my_password
    ( W5 v. z' x2 ~2 u' R/ E5 a3 S8 [
  65. getdriverfunc = getsqldrivermysql
    " V* C! O9 @! ]5 \( k) J8 J! N
  66. vendorlib = libmysql.dll在
    : b3 y( X; ]! ?- _  n
  67. libraryname = dbexpmysql.dll
    : U1 D5 D8 a7 l& I3 C3 n  m
  68. 积极= 1
    $ `9 w2 W2 i, H/ }
  69. ---例如----
    : R9 r- ]& ~* n: K& _8 m
  70. -写在0 2.03.04由p wk.linuxfan
    4 e5 y5 z3 M9 a. [$ w
复制代码
发表于 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
+ `. ~9 X6 c- \! p: }0 b5 f
- `% X% \+ O( r; V. hbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-14 23:53 , Processed in 0.073010 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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