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

3592 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 0 p3 _) F" f3 r0 \. t% @

% K- `! `$ i- N9 `; ^! x

  1. 7 _5 e1 e9 `" D! c
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ' m+ k  K) t; L8 i

  3. 5 Z; L5 G2 e- }
  4. ### What we need ###
    $ J! n" `4 u- _, W3 E
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ) \# S" Z, a( l( r! S' h
  6. will not explain how this can be done - there are documents out there for the
    : j0 \/ x, L: d: \/ J
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    8 a: U: R% x* S5 N: j" R% A
  8. and a user account (username + password) that has the permissions to do stuff
    : I/ l3 Y% R0 F
  9. with the database. Additionally, you will need a vendor library installed on the2 _) x; e9 w) X
  10. local machine, this came with my MySQL install.
    & I5 V* N4 P; k% o2 [+ D
  11. These instructions will not tell you how you might transfer your data from the
    . l% s0 H# P- s% X( u2 _
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    % w$ B" a9 z% i
  13. database.& w5 s. p( r- Q" V0 N4 E( n: U
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    7 D9 G7 b/ ]6 }/ [! N( S$ Z
  15. the time of writing, there are still too many issues - check the current status
    - x+ k% w" c# Z2 g. t9 c
  16. in the TeamSpeak forums if you are interested.
    0 R( @) I& {- n; m8 X" Q$ n
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from: r" l5 N& R# p# {
  18. Borland was used. This driver can only interface with the client library that * A4 i9 g2 ^7 Z1 ^0 q+ D2 w% U, N
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this5 D% C/ K( t, s- H, Q# R
  20. client library - basically all you have to do is to use a 3.x client library as
    , s+ }% P6 G) f+ C5 W
  21. "VendorLib" and a 4.x database to connect to.# s5 J0 U9 G+ D1 u& C8 b% g
  22. If you need more info about dbExpress, you can contact Borland.$ s# c) V2 v: F
  23. - @7 h7 i" c; `! Q9 e# ]1 p+ _
  24. ### Doing the work ###' w$ U, a- d; j3 {% ]1 F
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    - n  K& Q2 o, @' t. a
  26. the perquisites right, just open your server.ini file, and add this section at! {9 z# U6 W1 z( c" F
  27. the end:: V  j# }) ?5 M2 {7 ]# ^/ @3 M9 ~* p
  28. ---cut here---5 O, q) B9 Q9 c  O7 A6 @5 }6 z
  29. [DBEXPRESS]9 v- K' Q6 {! m$ V
  30. sqldir=mysql_sql) c! J, ~3 f, p5 ]. B
  31. Drivername=mysql
    # G0 B8 ~0 O6 z) G2 ~
  32. Database=Your_Database_Name_Here& N; p8 m! l/ G2 g1 n  L/ A: ^
  33. Hostname=The_PC_the_MySQL-Server_is_on* o2 P- t4 e# T/ x5 ]# [# _
  34. User_name=User_name_on_the_MySQL-Server
    ; Y$ T2 m7 O% M! Q+ \4 i5 D' X
  35. Password=Password_to_go_with_above_user_name0 i7 m5 T- t2 \( `# b! K; }. k
  36. GetDriverFunc=getSQLDriverMYSQL6 `4 x, r" L6 F! g$ s& y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib8 R9 I* {* Z9 M# Q4 p
  38. LibraryName=path_to_libsqlmy_libary0 r) x- S6 |8 O' N0 l0 H  L2 J
  39. Active=1
    $ x+ ~( v! x7 H3 f, C6 B
  40. ---cut here---
    % o5 v" O# M3 e6 ?- Z
  41. In my environment (a linux box with a MySQL server running locally) I have:( B, u: x! f$ ~
  42. ---example---
    " k6 ]7 D6 O% q1 f5 @! q) A8 w
  43. [DBEXPRESS]' V; ^+ W9 F& r" `3 q# A6 p
  44. sqldir=mysql_sql
    7 R8 A5 u9 ~! @. ^( w- d# T
  45. Drivername=mysql! w( J# W* `6 y2 t6 s4 s
  46. Database=test, I* ?2 r6 K4 g6 k$ |
  47. Hostname=localhost
    % t+ i% o" b! M* D) j  O) j2 n
  48. User_name=testuser
    ! D, [4 ^/ `- p1 M
  49. Password=my_password" |2 {* O! S/ g2 L
  50. GetDriverFunc=getSQLDriverMYSQL
    9 f; d- |# J+ m! T! M5 X. Z
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    + G+ Y0 h7 u5 f4 E2 G* H0 ?! M
  52. LibraryName=./libsqlmy.so0 v: {+ {' G1 G; [" r; U  [
  53. Active=1
    & i+ q3 Y7 {/ O
  54. ---example---
    # n5 v2 J6 h9 }: p8 j

  55. % k9 z9 [% r5 Q
  56. On a windows box, also running the MySQL server locally, it would be:
    ; Y" b% V1 n$ R7 k/ l
  57. ---example---
    4 ?, k$ p8 H8 h9 h4 P
  58. [DBEXPRESS]
    " f4 n* j7 U- ?: V: Q
  59. sqldir=mysql_sql5 ~! u& H) p9 [5 U
  60. Drivername=mysql
    - N: {) y# o3 Q" {3 n4 D* l
  61. Database=test
    6 h3 O& H4 B5 Q# a
  62. Hostname=127.0.0.1& L; L2 H) O' G' L5 j  G
  63. User_name=testuser
    2 @8 C# P4 _' y, u8 C& G  x- u
  64. Password=my_password) i) |6 p, c8 R- v: p
  65. GetDriverFunc=getSQLDriverMYSQL
    9 {3 F9 H" P" Y: E" d, v# s" S% S
  66. VendorLib=libmysql.dll
    . k* K1 h  ^1 ^% ^
  67. LibraryName=dbexpmysql.dll5 F" w- y0 u' A: a$ [$ o
  68. Active=1* L( T+ S+ j9 i( Y
  69. ---example----
    + A8 b0 y' x: u# @& j# M
  70. - written 02.03.04 by pwk.linuxfan  @) y- i4 ^5 q, l; K/ e2 |5 W7 _
  71. 1 o' E+ Q' x7 l$ }! O3 M
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
: i) ]; k! d6 ]# ^9 o: ]

  1. : Z! [/ B9 A) W( K: _1 p, N) E- g8 A0 h
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    " v% T8 c4 R; {, R" ~

  3. : o1 X! s' n3 e# g# E7 n* @2 P
  4. # # #我们所需要# # #
    / W6 _: Q  \& t: T* u- V
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    0 F( P& Q1 H' S+ k3 R. n5 Q$ ], r. T
  6. 不会解释如何做到这一点-也有文件存在,为
    5 E' D; {2 E6 C& A' H" E7 H( @
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用9 [* P( }  r+ R0 H
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西- o/ m7 Q! j; Y1 `
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    - k  }( V# I' V0 \7 A& D/ R0 f5 t
  10. 本地机器,这是我的MySQL安装。 5 l- {2 b2 T+ X8 t( S, H; c
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从* S, E+ {1 C0 o, w2 |( {3 A
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    : V' H. S; M- v
  13. 数据库。
    4 o) I: ?( n2 x& V
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    1 l" x/ ?6 m$ b0 [0 F
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ' h4 ~3 e: ~7 A) D0 P
  16. 在teamspeak论坛,如果你有兴趣。
    & C. p& z2 p+ [: X( x& c1 `" ?( i
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ) a% k4 R+ X1 r3 y# P: i' h
  18. Borland公司使用。这个司机只能界面与客户端库
      O* x0 s" t; F- ^. Y7 k; L
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    9 g" D0 t7 P2 C( x* e7 r& W) |) K5 _
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为- i, M  J0 l& B  y7 C( y
  21. " vendorlib " ,并解数据库连接。
    & Z9 W+ h" o4 J% v
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 / ~, R1 V1 u' h: n

  23. 6 [4 W; _, L4 K8 L' V' a3 l
  24. # # #做好工作# # # + l- P4 C8 u( k/ {
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都) j2 U6 a, Y6 Q7 \/ y
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    3 z; B' e  @& C
  27. 结束: 1 c! {% U* q4 E: _% k3 O8 D+ k
  28. ---削减这里--- $ X. Q) W3 G- C; H5 m9 L9 E
  29. [ dbexpress ] * q( [% L. g9 ]  H$ _1 M
  30. sqldir = mysql_sql ; d- a! ~# x) U: r* }6 y
  31. drivername = MySQL中% K$ ~5 ~3 Y6 y, f5 j  U" {
  32. 数据库= your_database_name_here 5 I8 {: L. l  a" x4 w! D
  33. 主机= the_pc_the_mysql - server_is_on
    - T2 `8 E. l7 A' t
  34. user_name = user_name_on_the_mysql服务器
    8 ~# g# T# |5 r6 s: T; Y! r
  35. 密码= password_to_go_with_above_user_name
    1 l# y* q# l) r9 T; u
  36. getdriverfunc = getsqldrivermysql
    1 R' l0 U' R1 D. V* A( Y. U
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ; d: G' }; }, ~4 E2 \
  38. libraryname = path_to_libsqlmy_libary 3 N  C5 S4 E- Y# w: ^' Q0 J% i
  39. 积极= 1
    2 r# v+ x- o0 C1 P
  40. ---削减这里--- ) p. Q( Y. I' z6 h8 ~" ~
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    3 d4 d! d8 N( j. j9 ~4 g
  42. ---例如---
    - Z" x1 N) E; S# h
  43. [ dbexpress ]
    2 ~; A- {4 X; }( B# ^* E; E
  44. sqldir = mysql_sql
    3 c$ e. u6 q7 Q
  45. drivername = MySQL中5 E6 H* I/ r- @
  46. 数据库=测试
    6 N) \& M+ x' Q) z  {
  47. 主机=本地主机
    % Q  T& ?9 W& G6 U3 C* ~
  48. user_name = testuser
    1 X: |8 D; X2 N* e! f5 o
  49. 密码= my_password   P& {! T. C" O( Q3 J; g% y4 q! t
  50. getdriverfunc = getsqldrivermysql - _2 x8 F2 F9 I8 y3 n* X
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    : k& j7 _- I/ ~% Q9 x
  52. libraryname =. / libsqlmy.so
    1 ^8 E; T. `9 U* @! q: y5 N
  53. 积极= 1
    : _7 G1 c, }7 A
  54. ---例如---
    - T/ J* R8 a2 S3 V4 y

  55. / M, O$ f# y. F) B! m; b# e
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    5 ]. k( {/ C" ]2 V1 x+ I( d6 B
  57. ---例如--- ( S- O6 y8 E7 c0 h$ m
  58. [ dbexpress ] - Q1 M6 _% J6 ]* P5 z4 H% ^4 `
  59. sqldir = mysql_sql : W! x* \  ~- d
  60. drivername = MySQL中
    . R9 n, F" d, M
  61. 数据库=测试
    6 b- d; n# m4 q% u$ ~! o
  62. 主机= 127.0.0.1 & K/ h; g- r6 \7 A8 ]6 e+ }; B  U
  63. user_name = testuser - x  Z- p& e* |( m6 c
  64. 密码= my_password % g8 U" `! M" y$ e1 Q. N
  65. getdriverfunc = getsqldrivermysql ; C: H9 p" Q& Y" d* ]
  66. vendorlib = libmysql.dll在
    1 Z4 K) w  Q$ k7 s" W& b2 Q
  67. libraryname = dbexpmysql.dll
    / t" N2 M( l0 F* @, ]) E
  68. 积极= 1
    + w9 f) u* j8 f; D% t! a
  69. ---例如----
      {. U. o4 \6 f: k. f  |+ L
  70. -写在0 2.03.04由p wk.linuxfan
    $ {+ t9 [% Y% b7 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 words2 R( p7 x% x$ B: D9 n( m
& E2 I2 k6 ]* S7 F* F6 s* Y
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-30 02:14 , Processed in 0.060663 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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