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

2939 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 7 C. `! m1 Z! ^3 f5 Q' l- h4 n

, W& B7 ~  P: s( S* Q) f( o* r

  1. 2 [$ b8 q9 K( t6 s
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######: O5 p: e+ h5 S6 ]$ ?( l
  3. 4 H, c, F5 f& q3 E' X* ~( z) z
  4. ### What we need ###; d& l  R$ n; W2 p
  5. Naturally, we will need a MySQL server to store the data for us, this document
    # r- i1 E4 T4 T
  6. will not explain how this can be done - there are documents out there for the 8 K' m. u5 W; e- M
  7. interested. The requirements include a (empty) database for TeamSpeak to use7 ?; {' ]! `3 G6 T8 N' X, c8 w  k6 s
  8. and a user account (username + password) that has the permissions to do stuff' E3 M, x& u- j! k: \
  9. with the database. Additionally, you will need a vendor library installed on the
    6 q- n3 C+ W* B+ Q& H5 }. @
  10. local machine, this came with my MySQL install.1 B9 g$ U) Z' n; b) f
  11. These instructions will not tell you how you might transfer your data from the  P+ V5 H9 X4 k
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL1 q0 m1 }0 ?0 }" P8 |8 j
  13. database.: \* M3 G) y( U" L5 ~- {, r
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    1 u+ v# I7 z- y. p
  15. the time of writing, there are still too many issues - check the current status8 K! \9 M& ?5 j8 @+ I4 l5 m
  16. in the TeamSpeak forums if you are interested.
    8 d3 X) p$ o7 x. M5 K
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    - ?+ {7 m, P" I5 Y. {* Q
  18. Borland was used. This driver can only interface with the client library that 0 Z: a0 B5 s0 ^& R6 E
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    / \, f. ^" z4 Y/ C4 j, x& G% e
  20. client library - basically all you have to do is to use a 3.x client library as & ]7 _1 i  z9 h! C: S/ j
  21. "VendorLib" and a 4.x database to connect to.
    " u) Z/ t* t  ^
  22. If you need more info about dbExpress, you can contact Borland.# b4 H0 I  b$ p: _
  23.   r+ w& t8 R5 N9 m
  24. ### Doing the work ###8 E' r2 C: H- Z2 c
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    + J# d2 U4 t, r: g( ~- D
  26. the perquisites right, just open your server.ini file, and add this section at
    % J, V6 h  ]; P. W8 z) c
  27. the end:( r1 i- k# ~- K/ q- Z9 j
  28. ---cut here---5 E* v7 G1 I. l; Q
  29. [DBEXPRESS]
    0 y4 v. y1 l8 R. r7 {
  30. sqldir=mysql_sql
    . w/ Q" N; u6 G
  31. Drivername=mysql  b3 u( i% n( a
  32. Database=Your_Database_Name_Here
    % D: a5 t6 |' i
  33. Hostname=The_PC_the_MySQL-Server_is_on
    4 y, Y9 S* }4 B  y2 U
  34. User_name=User_name_on_the_MySQL-Server
      i# S) x1 P# e
  35. Password=Password_to_go_with_above_user_name. F' B: e( l- g
  36. GetDriverFunc=getSQLDriverMYSQL
    ( b5 U! Y. V( h9 i8 ^5 b
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib4 b1 a9 g4 D; ?2 ?; W
  38. LibraryName=path_to_libsqlmy_libary: ?6 Q, r$ w( D& u' l% R0 ^: P" l: }
  39. Active=1" s& K1 G% Z) b$ R
  40. ---cut here---9 k$ L8 C1 W5 b
  41. In my environment (a linux box with a MySQL server running locally) I have:! M: M- K! q1 S! T* N) v
  42. ---example---5 W( j: k6 |& _: d4 @  d. H
  43. [DBEXPRESS]
    3 d/ V+ J3 B# o9 h% \: V0 ^  R+ L
  44. sqldir=mysql_sql
    ; o9 \% j  C% C6 N! n
  45. Drivername=mysql7 N( M" R( o6 D% p8 g* H1 e
  46. Database=test
    ! X7 Z2 [) E4 c( m: t7 [5 L, Z
  47. Hostname=localhost
    . W4 I1 v9 W" F
  48. User_name=testuser% I! b/ f- ]; I- n) ^
  49. Password=my_password0 o9 }4 W5 @) c' k
  50. GetDriverFunc=getSQLDriverMYSQL9 y! J: J: q9 `3 {& Y$ Y( ]
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.05 w# {$ Q2 W$ p+ v
  52. LibraryName=./libsqlmy.so
    ! B5 @7 U% n* U6 [! C' v; o- i
  53. Active=1
    1 U& z# t( f7 P; Z
  54. ---example---& d3 P/ O  e* o2 j
  55. : ~7 \, A; @! K# ^3 U
  56. On a windows box, also running the MySQL server locally, it would be:
    - Y1 B( t) V) a& a/ \9 `
  57. ---example---3 @1 J* Q9 C" k# D$ ?
  58. [DBEXPRESS]
    ' E3 f2 f6 y# `; ]3 p2 ~; g8 k
  59. sqldir=mysql_sql6 k0 m' I, T4 x4 e1 C
  60. Drivername=mysql& y5 T% Q1 J) ?$ w# I0 ^1 [; b
  61. Database=test" j. v1 ~1 x5 X
  62. Hostname=127.0.0.1
    ! O) V4 F4 w2 f( c7 e
  63. User_name=testuser$ `1 h- V& _* Y# B+ D3 _
  64. Password=my_password3 z% c9 I: v' l7 Y! o3 \
  65. GetDriverFunc=getSQLDriverMYSQL% P* `1 Z) Q9 Q
  66. VendorLib=libmysql.dll, o/ _+ T/ t  {
  67. LibraryName=dbexpmysql.dll: H( R& e9 T& \! Z
  68. Active=1
    ( _- u2 m6 _# [- l1 X0 w/ k
  69. ---example----
    # K- G# R7 E( X9 S) j
  70. - written 02.03.04 by pwk.linuxfan2 C& x3 H0 p: g, l( t/ t

  71. - b9 Z  s2 ]7 J2 F
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
) f; e. T1 O( m0 }# {* W# i

  1. , {( f# \/ D+ |# h7 z, v
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    . t! r6 N- T1 \* W

  3. - y1 u9 j8 q" L: K' }. ?
  4. # # #我们所需要# # # 0 R) e' A1 c8 G
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件0 F6 z: {5 `2 c3 {& K5 X% S2 ^
  6. 不会解释如何做到这一点-也有文件存在,为
    : O* S4 H5 P6 L) D1 \4 Y. K
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    / A) U5 q# K9 p  E
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ( R2 u3 G! g. A& {: @7 X
  9. 随着数据库。此外,你需要一个卖方图书馆安装于4 a" b0 ?/ @6 R' u* a- {. T7 p( g
  10. 本地机器,这是我的MySQL安装。 4 b% A  y9 z" W8 J
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    " L6 X# q. x' V- c. M# s
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    0 j& p/ ^+ B2 o8 {2 W
  13. 数据库。
    ; T9 Z' Q# N& }) p+ l, E2 D+ a
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    2 g3 o' ~6 L, {1 y1 I# t2 {
  15. 编写本报告的时候,仍然有太多的问题-检查现状$ M0 Q6 q" @% d: ~9 ~9 Q  U* ~* n
  16. 在teamspeak论坛,如果你有兴趣。 , a/ E+ F# w  W6 |! _. i
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机( O! q" h/ b" N2 G1 V
  18. Borland公司使用。这个司机只能界面与客户端库8 l% f8 R( F- B; g* N
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    * k6 i7 b: T. \) s
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为/ `% P2 Q7 E- F" Y' r
  21. " vendorlib " ,并解数据库连接。
    4 E0 @8 c  c% A0 w; P  ]- p) @
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 . P0 y! S  h4 C9 R' x

  23. / t( ?( K: F& l  p3 {1 o2 w
  24. # # #做好工作# # # & P$ w6 ~# V# P# _& q* h4 |
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    + X' @4 H5 A% o: H9 m
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    , L5 h0 {' i- P' S. S4 r
  27. 结束:
    ' W4 s7 ], J: y: X- d
  28. ---削减这里---
    4 X# W2 r/ t1 D# p7 s
  29. [ dbexpress ] & o3 L6 }6 I+ j3 }0 Y% {/ t& E
  30. sqldir = mysql_sql % l2 A! h1 S/ e  S
  31. drivername = MySQL中" |- V' X# u' R  [3 Q" n
  32. 数据库= your_database_name_here
    9 x; u4 t( g0 X; z, l) Z
  33. 主机= the_pc_the_mysql - server_is_on / V' G+ [' e% X- T3 R
  34. user_name = user_name_on_the_mysql服务器
    # j, H/ T9 c+ e/ Q4 U. ?, A- `/ ]2 b
  35. 密码= password_to_go_with_above_user_name
    1 s1 v5 H! n+ U+ v+ s; @- q0 i
  36. getdriverfunc = getsqldrivermysql ) {  K& k- `* W5 a; D8 F5 h
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    & g, }, p- {- y
  38. libraryname = path_to_libsqlmy_libary
    , U7 V1 R9 e4 Y1 k2 U6 C
  39. 积极= 1 0 h8 [# v0 T$ T
  40. ---削减这里---
    ( h* \% C, M7 g/ w' c" {
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ) a8 \) O. ?6 s
  42. ---例如--- , ~+ s# X1 v9 |
  43. [ dbexpress ]
    $ t, u' B7 I# [% X. r; }7 G4 s
  44. sqldir = mysql_sql
    ! v. U8 s5 x0 p: M
  45. drivername = MySQL中/ c% }# ~' {8 H( P% {
  46. 数据库=测试
    0 ^/ c7 L# i: F2 }6 r
  47. 主机=本地主机6 U# y) L  Y& k: Z% f; c
  48. user_name = testuser
    # W2 U  Q  o$ j6 A- D2 V/ l* J
  49. 密码= my_password
    / L8 n/ g5 i% K) [1 h$ F$ z
  50. getdriverfunc = getsqldrivermysql 2 o( V! p! x$ N- |' ^( b; N; j
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 % a. h9 h0 v/ ~0 h! l) a
  52. libraryname =. / libsqlmy.so
    " m4 c9 k5 F& a( g
  53. 积极= 1
    6 V4 P4 L0 G$ Q6 G; K
  54. ---例如--- 6 s) \/ w* f) X8 Q" ~: g% ^. O. E+ U

  55. 5 Z# @) o6 P' e, j" i
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    + v( v0 p) s9 `& D: `+ V7 [7 y
  57. ---例如--- : {. q/ K; y  A1 f: i2 h
  58. [ dbexpress ]
    ! N) q3 m/ V+ }9 y- B7 z$ y
  59. sqldir = mysql_sql : p5 T. j3 b% t7 H) Y
  60. drivername = MySQL中3 |8 G5 M: b- r* M6 ^
  61. 数据库=测试
    3 j# R9 ~4 ?) ^6 w4 T" D, a) c
  62. 主机= 127.0.0.1
    , G' g- O& }. G$ @1 @# |5 b
  63. user_name = testuser
    1 z4 o+ s$ P; H0 Y5 j4 O% p1 c6 L
  64. 密码= my_password
    . ]/ e, ^& ]. W  i
  65. getdriverfunc = getsqldrivermysql ) F/ y) E, `" F# {4 o) P2 `
  66. vendorlib = libmysql.dll在
    6 g+ C. }3 D# I3 C: u
  67. libraryname = dbexpmysql.dll
    / o0 x& Z3 y4 h, _
  68. 积极= 1
    $ y; m% W- d4 H8 N( x4 _  R4 c7 r
  69. ---例如----
    ( Q1 j( v$ H) W8 @
  70. -写在0 2.03.04由p wk.linuxfan
    + \) z( H# j1 Z' X5 ]
复制代码
发表于 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 words6 c/ M6 g8 M7 |" _
: ?, C4 ~4 |6 {0 w( U
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-26 09:41 , Processed in 0.105068 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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