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

3159 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 1 E) e: |) W7 U2 z  D# w  N
! B. Y$ Q5 {" _/ R4 _- b

  1. ! d( h5 w% q4 T2 g
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    0 E* s; s4 U1 I0 u, c6 z. {

  3. 3 p& E: w  T9 R4 G& Z$ k
  4. ### What we need ###
    9 n/ E. a5 {( U$ ]* b( s, |, N
  5. Naturally, we will need a MySQL server to store the data for us, this document # J; a- D& H' ^- U% X
  6. will not explain how this can be done - there are documents out there for the ' L) Y/ p& \- t& K- l9 M. W' P
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    " r9 O+ Z; h+ w4 |" s
  8. and a user account (username + password) that has the permissions to do stuff
    4 g9 j$ X8 H8 ~  }! `' i4 D
  9. with the database. Additionally, you will need a vendor library installed on the
    6 q  @  c1 p6 a
  10. local machine, this came with my MySQL install.* P2 `) L/ r+ F. [" V0 o9 T8 T8 R
  11. These instructions will not tell you how you might transfer your data from the
    / P  A; {/ ?1 q
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    1 M0 |, y$ C- _' z$ G8 g$ z5 R3 z: U
  13. database.
    ' `( l/ y9 f2 t% K
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    3 T; Z7 q7 J1 X, s
  15. the time of writing, there are still too many issues - check the current status
    / M8 S; Q2 e' l5 E! N! D
  16. in the TeamSpeak forums if you are interested.
    3 q( S2 I) x! O6 K$ {' y; I
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from. l) j* V9 G+ b* f4 n1 i
  18. Borland was used. This driver can only interface with the client library that
    & y9 C' ?* G% l) [
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this0 j( q$ v, A* Z) R2 |+ F
  20. client library - basically all you have to do is to use a 3.x client library as " j  P# @2 H" W" l( b: ?( q- ]
  21. "VendorLib" and a 4.x database to connect to.8 r. Y3 n8 b0 k. f) I3 ^
  22. If you need more info about dbExpress, you can contact Borland.3 Y  g4 h; N4 S/ ]9 B8 v

  23. / Y. x4 I3 m( L1 X  A0 g
  24. ### Doing the work ###
    0 c. y; L. k) ^) I
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    / t3 {3 a) G2 [+ x
  26. the perquisites right, just open your server.ini file, and add this section at
      ^9 C: g" c; x; i
  27. the end:
    4 N' ^' ?% Y7 T8 \) X
  28. ---cut here---2 \% e& I7 ]* D2 ~1 _8 }
  29. [DBEXPRESS]
    - _* B2 x! i( G" V5 c
  30. sqldir=mysql_sql
    / G/ L- N3 v$ h3 K
  31. Drivername=mysql" v- X$ O$ G) |7 R$ k% E
  32. Database=Your_Database_Name_Here, ^* f! i5 {# h4 I, E/ V0 m
  33. Hostname=The_PC_the_MySQL-Server_is_on3 {& y! t0 T/ j
  34. User_name=User_name_on_the_MySQL-Server/ l, l; }6 u( E% @
  35. Password=Password_to_go_with_above_user_name% l0 E& @- O. O
  36. GetDriverFunc=getSQLDriverMYSQL
    % v% L# Y0 Q; Q0 @
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    * R- |& A, Y$ A  R! X8 C5 s3 p
  38. LibraryName=path_to_libsqlmy_libary0 r% w1 C0 I1 X! a, T: }% X
  39. Active=1
    1 v% r' O2 z8 C2 l+ C5 m
  40. ---cut here---* p/ t$ @; M: x
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ; N2 U7 |' ^( w3 }7 E4 Z
  42. ---example---
    $ V/ @! r9 e' z' B
  43. [DBEXPRESS]2 ~6 j$ t; @, C3 m/ |, s6 }  [, n
  44. sqldir=mysql_sql
    : g. X) ^# N3 _: y
  45. Drivername=mysql
    ( e+ h+ p0 e7 Q2 ^
  46. Database=test) _, h8 V2 K8 n1 k" ^( I
  47. Hostname=localhost
    2 c! p7 c7 t* I
  48. User_name=testuser6 i0 u, l8 ?% g! G& v1 |! _
  49. Password=my_password
    1 @. T1 a1 V& \/ z( F# s
  50. GetDriverFunc=getSQLDriverMYSQL
    ) d8 o1 B$ m9 [
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    + D4 f% x3 e- Y" L, k
  52. LibraryName=./libsqlmy.so) ?4 \3 X& [; C+ ~
  53. Active=1
    - j, O, o# `! b. y( Q6 O
  54. ---example---
    + p3 w: r4 L7 o* S% H  y

  55. , s: E/ \2 H" j& W8 W8 X
  56. On a windows box, also running the MySQL server locally, it would be:. {2 l, M7 w( b8 K: }+ s: h
  57. ---example---. T/ \- n* g% m2 x" p+ y7 F
  58. [DBEXPRESS]' x* ?: l# S3 I/ o
  59. sqldir=mysql_sql
    4 N0 G. t1 G+ o" I- x. U
  60. Drivername=mysql
    9 }+ n; q9 |2 m" ^1 G8 f6 J( ]
  61. Database=test
    2 I/ u( S' _$ P+ {
  62. Hostname=127.0.0.1! c0 [, U$ {+ Y. j
  63. User_name=testuser. S: A& `+ Q, w4 W  m, e
  64. Password=my_password
    4 D; b& e7 v- G9 \3 p9 E
  65. GetDriverFunc=getSQLDriverMYSQL6 K% l( V3 [. a3 R
  66. VendorLib=libmysql.dll
    0 n( p: Z% k% r9 d9 {. u8 x% u
  67. LibraryName=dbexpmysql.dll% y+ V' `( X, z4 ~0 G. Z
  68. Active=1
    5 s% W+ Z* j, ?( K: R/ }$ R& h% ?/ \. T
  69. ---example----
    . g, }- ]5 g% e
  70. - written 02.03.04 by pwk.linuxfan
    - }8 e" D7 o/ t3 Q
  71. ) X, N; e# a  x* S- |  W2 i
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
, `3 c* j! k6 H. N7 M9 D: x

  1. 7 ?4 A5 T# n9 u5 O) s$ n
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ' k0 [, y# W4 s" d
  3. 9 X' \) O# B. D. Z: U6 n9 t
  4. # # #我们所需要# # #
    9 M/ o6 W7 Q9 M* ~. F3 b
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    3 C1 ~% s% v9 K( @
  6. 不会解释如何做到这一点-也有文件存在,为: R) h7 V4 t; I/ }+ N7 [
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    4 g, P3 d: o; K% K
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    " F# Z+ ~% G' q8 }
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    1 {6 x6 l' y6 G& P
  10. 本地机器,这是我的MySQL安装。
    6 `6 h7 {4 }( n. g
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    9 ~- X2 J  ?* e  ~: p; W" U6 S& Y0 [
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    : b( h9 K, b' u7 _7 C
  13. 数据库。 % b3 e2 n5 H2 F' a6 T% Q
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在6 G6 ~: x5 W% n& s/ Z; M
  15. 编写本报告的时候,仍然有太多的问题-检查现状0 n, |' y, ?5 v' U2 ?2 L( _4 }7 T1 S
  16. 在teamspeak论坛,如果你有兴趣。 6 O. S, t, ?- o
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ) @! M7 j" s% W. j' j6 Z8 l
  18. Borland公司使用。这个司机只能界面与客户端库
    5 E/ M" R/ s4 F$ ]% i* m
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ! J: T/ \; ]  Z0 i2 [# A
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    / W; H7 ^% _4 T. c' y
  21. " vendorlib " ,并解数据库连接。 5 n! q3 f% A' h8 _! p! r
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ' @. g" q$ C4 G

  23. 7 o& n% L2 I+ _5 t
  24. # # #做好工作# # # ! N5 l8 x7 p( t' D; q
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    8 n+ m* ^' z- m7 `. ?# m
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在: O+ K' M* j& F2 z$ V' u4 v' I
  27. 结束:
    0 f/ e8 v  {7 o3 K" V
  28. ---削减这里--- ( K: m) P) |5 W
  29. [ dbexpress ] " v' Z; w5 _6 ]* \7 c) k
  30. sqldir = mysql_sql
    . F& p$ Z. p8 F+ p
  31. drivername = MySQL中$ X7 F- z  [0 V* C- [
  32. 数据库= your_database_name_here
    * F) z$ Q  C) H0 x
  33. 主机= the_pc_the_mysql - server_is_on ' A& T# L" }2 ~' }+ J
  34. user_name = user_name_on_the_mysql服务器
    % Y0 E" ~+ J& ^9 O% `
  35. 密码= password_to_go_with_above_user_name
    ! i$ ^* @2 e+ d: X
  36. getdriverfunc = getsqldrivermysql
    , S( a. k1 K1 R
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib % h) P: @2 I: Q; ^7 l4 X
  38. libraryname = path_to_libsqlmy_libary
    + ~1 b8 e" X% Z7 h6 C2 d
  39. 积极= 1
    8 W0 y3 J  Z* P/ x$ E
  40. ---削减这里--- , B( }7 b) X# D
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ! [& A. v6 s- z& ^8 O: `
  42. ---例如--- 0 V4 Q. H7 R. F5 u% ^
  43. [ dbexpress ]
    1 a# K7 }1 r8 V$ _
  44. sqldir = mysql_sql 9 V& e' N" H4 v: U1 c7 W" s% y
  45. drivername = MySQL中
    # g1 j3 N" B( z/ v* r6 i3 ]4 y
  46. 数据库=测试2 K' |! f8 I; L( P4 n' }5 T
  47. 主机=本地主机
    - Z' F2 {; G4 Q
  48. user_name = testuser
    1 M; K) g1 K9 c- {4 T% U
  49. 密码= my_password
    ( z" L: T; v( p5 x5 e
  50. getdriverfunc = getsqldrivermysql 1 Z% l+ Z$ ~- ^+ x8 Y" Z5 ]
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 % y" a) }) {" G* z& j3 f5 R% x
  52. libraryname =. / libsqlmy.so
    + `- z$ |# c4 k7 l' |9 h
  53. 积极= 1 1 k" |% d3 R/ c* f' X; v- p0 T
  54. ---例如---
    7 K3 S8 j& b2 }0 {! W' d1 J
  55. & w2 K0 V& J0 t5 C$ i, U
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    " L# K# v7 w, l' ?9 I
  57. ---例如--- 6 {2 f% b% K" @$ g
  58. [ dbexpress ]
    & B. p! I7 F" y) G  j. G% W! U! H
  59. sqldir = mysql_sql " t! B1 }8 |  ]1 K+ [  C1 P
  60. drivername = MySQL中! j4 ?' T' a5 @
  61. 数据库=测试
    ; }) T- |3 O. G
  62. 主机= 127.0.0.1
    ( t0 L! g+ A. x  r. Q, d: P
  63. user_name = testuser 0 |7 t0 i2 p) M8 X1 i7 Y$ o
  64. 密码= my_password
    * |( j; }8 E# |# n/ U. w3 Q2 }
  65. getdriverfunc = getsqldrivermysql
    # @  r5 U& D: R/ z  `- G3 a3 j
  66. vendorlib = libmysql.dll在9 H, {( s. G9 _+ D! k
  67. libraryname = dbexpmysql.dll
    # y) ^% @! R6 v# n4 Y" V
  68. 积极= 1 1 S. \+ d$ P* N
  69. ---例如---- ' ^2 J, K5 \  H- j( ~
  70. -写在0 2.03.04由p wk.linuxfan
    - I1 ]  V+ a1 _6 q
复制代码
发表于 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 words5 v/ V7 e) ?! c. W  \6 S, |/ [& R

; g4 d3 v) B$ z4 r# M  d. D& V; lbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-13 18:51 , Processed in 0.085477 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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