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

2257 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan $ t9 ~% B! P6 N6 w8 ^" a

2 P& M/ w$ U+ }9 {7 b/ H; {! a

  1. ! e( |9 p8 E, k. q1 y, m# _4 Y
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    % Z% D9 h5 Z6 V0 A$ G" Z% Q2 s) i+ A) D

  3. . F4 M9 W$ t: N, c8 }4 S0 P4 V3 {
  4. ### What we need ###' c1 X8 S$ u4 m' Q* @4 ]5 @
  5. Naturally, we will need a MySQL server to store the data for us, this document
    8 }; d2 Y2 J7 q9 p% I
  6. will not explain how this can be done - there are documents out there for the
    # m4 \* `9 @3 o0 ]
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    5 z, t/ W. t6 C+ V* [/ f
  8. and a user account (username + password) that has the permissions to do stuff; `2 N  d1 @; }2 T5 E0 V4 |( b
  9. with the database. Additionally, you will need a vendor library installed on the8 R% Y& w9 c9 H# r" N; F( B9 ?0 i
  10. local machine, this came with my MySQL install., l  `3 J6 Z4 E( Z7 i6 D
  11. These instructions will not tell you how you might transfer your data from the
    + s  r! @% ]! ~$ `
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ( E3 C8 O: O- s2 F" Z  E
  13. database.
    ) H) c1 t9 F) s
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    . [2 x" C7 {  g
  15. the time of writing, there are still too many issues - check the current status
    3 O" o0 o  P0 p3 w: f1 B5 H( _
  16. in the TeamSpeak forums if you are interested.
    ! Q, k8 J1 x+ l6 c* P
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
      Z$ [3 h0 S, T* T: E0 W
  18. Borland was used. This driver can only interface with the client library that
    8 @7 f& ^, M& H8 O0 B
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this! W9 R/ k' Q2 P3 u, E
  20. client library - basically all you have to do is to use a 3.x client library as 4 y2 V  ^1 }+ v" c
  21. "VendorLib" and a 4.x database to connect to.
    0 ~% x/ _% ]" e' i5 ]0 L
  22. If you need more info about dbExpress, you can contact Borland.
    7 Q+ O1 c1 P. L& k4 L# Q/ u

  23. % p) N" t; f5 I. T% r4 V: k& `
  24. ### Doing the work ###- G. S7 f; w: {8 Q3 b% M5 b* Y
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    + j. y& o: U4 j: o7 k- p
  26. the perquisites right, just open your server.ini file, and add this section at
    $ q. }1 c; H$ F4 L9 P
  27. the end:4 H9 p" i- P& ^& S, c
  28. ---cut here---" k* ~9 B) [# f
  29. [DBEXPRESS]
    * `# I. s9 @: C6 _& b
  30. sqldir=mysql_sql' o! P$ k% l; N3 _: V- }
  31. Drivername=mysql
    8 T2 E! {. L* S& o$ W
  32. Database=Your_Database_Name_Here& e3 z, E0 \7 V9 F
  33. Hostname=The_PC_the_MySQL-Server_is_on% t4 e0 F7 D' z
  34. User_name=User_name_on_the_MySQL-Server: g5 @+ P1 X# D% H# d1 t1 T
  35. Password=Password_to_go_with_above_user_name- c: A/ w7 j- ^8 A3 z
  36. GetDriverFunc=getSQLDriverMYSQL: ]& h5 \) R% ?* O: F% X
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib( g; k% v0 P8 \" B2 S2 C
  38. LibraryName=path_to_libsqlmy_libary8 y0 E% _% P3 |9 |5 T% S
  39. Active=1
    0 P- q2 P0 F/ P
  40. ---cut here---9 z( K/ z: [( D& Q+ \: \
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ; ~1 w+ g7 e! S- ^% u0 P
  42. ---example---6 l( L7 F4 f: q& {: O! J' w" @! E
  43. [DBEXPRESS]( P0 t: l4 g- t8 V; A+ \
  44. sqldir=mysql_sql5 r  p  }; K9 ~. L. I
  45. Drivername=mysql
    # y2 o5 b' S  S- _3 R6 L) D- D
  46. Database=test. z3 g7 s9 E9 Y) r3 P2 P
  47. Hostname=localhost
    3 \" D& B+ U; J" V) A9 @1 a
  48. User_name=testuser
    - O$ `9 _9 t; @
  49. Password=my_password
    3 J$ v8 n8 s# b
  50. GetDriverFunc=getSQLDriverMYSQL
    : E" V$ ~& _, s. }
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    & W+ H# j. B. p% P+ N) y
  52. LibraryName=./libsqlmy.so
    5 G! S( B0 A  }/ O
  53. Active=1
    : N7 |$ Y+ Q! I( f! ^
  54. ---example---" A, M* M& R! p

  55. 3 i( l; I) }+ B, p, ?
  56. On a windows box, also running the MySQL server locally, it would be:5 f: h. `8 E7 p9 z# _  s9 n: _1 I
  57. ---example---) x2 p5 q' }6 T1 T. I
  58. [DBEXPRESS]
    $ A7 X8 n$ z% C$ ]& f, V
  59. sqldir=mysql_sql. X' h& |1 j3 S  N: A; M% L  U0 \
  60. Drivername=mysql& ^: e: {4 P* {: N7 k: G% N, Q0 O$ U
  61. Database=test
    & I8 n, j* s+ b% D
  62. Hostname=127.0.0.1, w2 @1 t' d% Z$ ~/ W
  63. User_name=testuser4 @% _0 a9 O& H5 e6 e$ D! j  b
  64. Password=my_password5 ~7 g1 I% R3 f$ V, m7 w
  65. GetDriverFunc=getSQLDriverMYSQL
    / B9 g6 ^7 d' U6 N! u
  66. VendorLib=libmysql.dll  n0 q  z9 k# p6 C1 T
  67. LibraryName=dbexpmysql.dll5 T5 y7 }; u' }/ U# q, y3 s
  68. Active=1
    & ~8 _( C7 Y4 H1 ]9 I
  69. ---example----% ~& C$ `7 N% e8 N( D) B. b
  70. - written 02.03.04 by pwk.linuxfan# G" \" b' X0 P" x2 `
  71. + W- H- p- Q$ V# ~" ?3 e
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
: K+ o* y1 x' ?# [4 L& Y: ?1 s
  1. * i" B/ D/ o+ N9 S) L; r/ S) a
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ' x" [+ q; z, z# j/ n' w6 b
  3. 6 e* c  e9 j8 c8 Y/ j
  4. # # #我们所需要# # # $ z% }# x( K0 b! v
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    % C! _* L4 d! ?1 r- H* @5 J
  6. 不会解释如何做到这一点-也有文件存在,为' @, R% l7 N' k4 j' z. G
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用% S; F' O- u# X4 v! v- S
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    / a: r8 w. c+ @$ }- Q& j3 {
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    & q  i7 m/ c# s) o7 O4 {0 ~% L4 e
  10. 本地机器,这是我的MySQL安装。
    / `# n$ b) A! z, e
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    - j2 L- z1 i# B4 u4 L% g
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    : M3 I! i% x2 }9 V, K7 v
  13. 数据库。 " ^8 K( ^# |, a5 J
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    2 ?$ o$ ]. D) ^! w7 \
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ! U- b9 p) n. o1 C& p6 O1 b% @
  16. 在teamspeak论坛,如果你有兴趣。
    2 v, P$ L$ N. d+ z$ p9 S0 b
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    3 b! @: v# V& X. C  o! ?$ E1 }
  18. Borland公司使用。这个司机只能界面与客户端库
    $ `% v) Y0 J' T! r2 w0 ?/ o
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这* O- m5 O  `( V! S. \  t5 B
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为+ y4 z- W/ g/ B6 f
  21. " vendorlib " ,并解数据库连接。
    ( k$ a6 m* n) t9 W8 P. ~
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
      C3 m) O0 y! T

  23. 7 M; M, N/ w6 H
  24. # # #做好工作# # # ; t' V/ U6 j- V7 P
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ; k; L! y; G" |2 J' t; `
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    + @! ~" l' }6 s6 ^7 g7 q/ }
  27. 结束:   ?  P- s  d0 H( F
  28. ---削减这里---
    ) }$ f( s- g* Q/ k0 L
  29. [ dbexpress ]
    ) v2 X; X  o- V- v3 |0 P
  30. sqldir = mysql_sql
    ! ~4 m# g7 R9 U7 S
  31. drivername = MySQL中
    - T  m) X% j, q: B# w+ L: g* G9 b
  32. 数据库= your_database_name_here
    1 ]6 Q% D& d- H
  33. 主机= the_pc_the_mysql - server_is_on
    $ T" T& a4 o) _0 Q4 j6 z3 K) c
  34. user_name = user_name_on_the_mysql服务器
    3 M1 n; O8 ~5 K* V7 k5 V- f  F
  35. 密码= password_to_go_with_above_user_name
    7 a2 ^; x% [* }) i6 _
  36. getdriverfunc = getsqldrivermysql + r. r  ?0 |6 G+ }7 A6 S; r
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    : r+ q9 v' U1 D- g" m1 z5 l  l
  38. libraryname = path_to_libsqlmy_libary & ]+ w) F+ I6 v: L2 c! _- y  M
  39. 积极= 1 5 Q# F) s) w: U4 ]1 Z  }; _
  40. ---削减这里--- . t7 S9 _) r2 g* }, I
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:   Q; d2 B; h, L( E7 U' b7 s
  42. ---例如--- ( [0 y: {8 J' ?# M: @
  43. [ dbexpress ]
    % O# U- V6 Z! f  \6 F/ j4 E- b1 u
  44. sqldir = mysql_sql
    + t. K* d7 F" ~/ ^& p. e
  45. drivername = MySQL中8 H' W- @2 A8 S
  46. 数据库=测试
    " ~0 U& E1 G/ @  I- s4 t' K8 [/ M
  47. 主机=本地主机6 M; I0 n% q+ e0 l
  48. user_name = testuser / I& V' I4 Z' X, D$ ~3 \+ d2 i' Q6 S+ j
  49. 密码= my_password
    . s. @. ~+ \" o4 b( p8 z% T
  50. getdriverfunc = getsqldrivermysql 0 J/ E% N3 c* n7 V' B, f/ J
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    / j! E8 @' G- M: S0 c/ Z
  52. libraryname =. / libsqlmy.so
    2 h& l! f+ s! Y/ k1 A7 }2 G$ G! b
  53. 积极= 1 6 ]$ o% w6 O, p- M# O, h0 w
  54. ---例如--- # f6 B" U  b0 E$ a
  55. 7 m& J% n$ U/ p  ?) E4 Y
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    , Y0 N  ]- r1 Y6 H* ?5 E4 p" m
  57. ---例如---
    8 P9 `. I" ^2 A4 v- N
  58. [ dbexpress ] * @; C$ S  s+ g! E; ^6 E
  59. sqldir = mysql_sql
    ' [" U: U7 i1 j; G
  60. drivername = MySQL中1 ?4 t$ ^; _2 ^. p7 }
  61. 数据库=测试; V; |# ~8 n3 j; w4 M4 y6 h+ x: ^
  62. 主机= 127.0.0.1 ' }1 l1 p/ ]% j
  63. user_name = testuser
    + Z' P; F6 C6 A# `; {% \; a" ~" D
  64. 密码= my_password 9 V2 H/ s1 \4 m, R# p. {3 |
  65. getdriverfunc = getsqldrivermysql
    6 l- I) E" {3 v( Q6 _
  66. vendorlib = libmysql.dll在
    7 r- C: E; g0 y
  67. libraryname = dbexpmysql.dll
    % v: j. ~) G) g* Y# R6 ~
  68. 积极= 1 / x* A5 T& j0 K' S; n4 H
  69. ---例如---- , N' t2 f: z7 H  n& o% c" r7 k
  70. -写在0 2.03.04由p wk.linuxfan
    2 e- Q1 l8 y/ q6 A& F. t1 m5 t
复制代码
发表于 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 A* Q0 |$ f  H; S* A* d$ x) F; n8 y/ g! \* y# B0 h6 s6 c9 I- G
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-2 19:14 , Processed in 0.101825 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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