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

2541 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan " }/ x, X0 j8 r/ U3 E) ]
# u6 J9 b" ]4 i  N1 E. K

  1. 0 N( u) u0 O7 f5 t4 P
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######6 p/ }7 T6 k* K0 ]6 A' A1 l) y7 Y

  3. ' H6 E' m- P/ o/ v% F$ [
  4. ### What we need ###( S: |2 U3 v4 k+ T
  5. Naturally, we will need a MySQL server to store the data for us, this document ) v6 Q7 _8 d# W" |# y
  6. will not explain how this can be done - there are documents out there for the
    . o% r0 ^! J, J3 t! G  j
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    - @5 X& {- E; S: e+ h7 d
  8. and a user account (username + password) that has the permissions to do stuff
    3 a1 \4 O+ V/ z! A$ h  U: X
  9. with the database. Additionally, you will need a vendor library installed on the
    ) \; k; P/ e* K. Y
  10. local machine, this came with my MySQL install.+ L5 j5 _! T9 f$ @& H
  11. These instructions will not tell you how you might transfer your data from the
    1 j6 A- n! j! `( X, D
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL6 J3 Q. f' U8 Z( O7 T% O3 F9 M
  13. database.$ U5 S7 g* T6 \, A
  14. Some users have reported ways to import a SQLite database into MySQL, but at. z3 w9 q% u7 ^
  15. the time of writing, there are still too many issues - check the current status9 C* R# _5 c. ?6 l
  16. in the TeamSpeak forums if you are interested.  s, _0 _* c3 I
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from" A/ E/ J7 \5 x
  18. Borland was used. This driver can only interface with the client library that
    / t- q5 A$ L$ e. ~
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this" y, }4 M" I# B! C- V2 Y0 z
  20. client library - basically all you have to do is to use a 3.x client library as / m( n- P, k- Z2 B  V$ k
  21. "VendorLib" and a 4.x database to connect to.
    5 t6 }6 m  z6 N- j# Q
  22. If you need more info about dbExpress, you can contact Borland.
    ( c! s! l' _5 _5 p6 A( F" O) u+ z
  23. & S, F& D( S5 w2 N
  24. ### Doing the work ###
    7 E) b! i$ l9 _1 M& g1 S( r
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all3 F6 A- ]4 A' N: ]2 P  @5 y
  26. the perquisites right, just open your server.ini file, and add this section at
    8 [9 _7 }5 y& b3 O! _) S/ T7 V
  27. the end:9 F2 o2 P  g9 w( N( q# w
  28. ---cut here---# \, w! `+ K" R  j1 ^: ]
  29. [DBEXPRESS]/ c/ `6 ?* E1 k* {3 M& [' }
  30. sqldir=mysql_sql6 b, `3 _) m8 o$ ]8 K" j1 |! O
  31. Drivername=mysql
    # g* e0 A5 S0 {7 T
  32. Database=Your_Database_Name_Here
    0 G7 k8 j6 C( U7 s! X( ~
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ! e2 T+ U8 _' o, a8 ]* Y
  34. User_name=User_name_on_the_MySQL-Server) ^" E( y, \1 @( O' c
  35. Password=Password_to_go_with_above_user_name, z1 v. {8 r, v  s# s( z
  36. GetDriverFunc=getSQLDriverMYSQL
    # s+ I" P+ N3 S, o* P4 r' }
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib  m. g  R  u  s* @
  38. LibraryName=path_to_libsqlmy_libary+ K/ c0 [8 p: U, f& b9 y' f% H6 @
  39. Active=1$ k7 U( N8 K% @, p; Y" ?
  40. ---cut here---
    - q2 q3 g6 O2 G! o
  41. In my environment (a linux box with a MySQL server running locally) I have:
      o9 u$ P; @  h: G9 ^, ~
  42. ---example---9 t: s$ W6 ^8 w6 A. t9 `
  43. [DBEXPRESS]+ I% y+ K5 g4 z
  44. sqldir=mysql_sql) _; @, m: X+ v: p/ |7 _
  45. Drivername=mysql8 R1 s" x$ o5 H' [6 Z# [1 i. p8 }
  46. Database=test6 s. @& x& ?3 q( o
  47. Hostname=localhost" d9 l5 M5 Y' f# V" c. ^% K* o( u
  48. User_name=testuser5 C8 M& s/ J% ]' P' v3 |
  49. Password=my_password7 v( M& b) t" e5 {
  50. GetDriverFunc=getSQLDriverMYSQL6 a  K7 M$ G: Z
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    # i, d, A" k) V5 B4 k( e% |! b0 s
  52. LibraryName=./libsqlmy.so
    9 a) v+ L3 q% L# ^
  53. Active=1# i3 D2 G+ J( \! V8 ~5 G, A% ]$ i
  54. ---example---
    . U8 o5 f$ l  Q; \0 X
  55. . I6 `) X" {! n* g0 _3 ^
  56. On a windows box, also running the MySQL server locally, it would be:& Y8 A: ?1 k6 K+ M- R9 e- A' }
  57. ---example---8 I1 ~9 M" Q9 }' b
  58. [DBEXPRESS]
    1 F% Q4 t/ i! J- X- ?
  59. sqldir=mysql_sql% L# I; P9 D# z1 Z% Q( l: D8 i
  60. Drivername=mysql; D0 {5 d: {/ ]/ h5 O( A# N! U
  61. Database=test
    # i3 x; i- X- {
  62. Hostname=127.0.0.1  M. U6 F; G6 h- L  U
  63. User_name=testuser/ k0 o% T; S* v* P5 ?
  64. Password=my_password
    , W, @( {8 n# H! F
  65. GetDriverFunc=getSQLDriverMYSQL
    " m1 Z6 d( u# U2 P8 n% _
  66. VendorLib=libmysql.dll, g" b% S6 ^- E/ Y5 p- I& T
  67. LibraryName=dbexpmysql.dll
    4 ^$ Q, B/ ?4 K
  68. Active=1# g+ @4 i4 E4 l  I. B2 |  {
  69. ---example----( k" _" Y" z0 p% R( ^% q3 V
  70. - written 02.03.04 by pwk.linuxfan/ D8 Z- U6 m1 N( h  o( f

  71. & c, N: _+ A7 }
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
1 ~- c7 W6 d. q; V8 k

  1. 4 |' U7 c9 x1 j  |3 P. n0 k
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 4 P, Y, C0 B( Y3 D; j2 P

  3. # s. Y  O! V$ u( @! @6 z' d! ]% t
  4. # # #我们所需要# # #
    , Y1 L5 f, {7 x- Z8 h
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件4 ?, L+ ~& R8 f- Z
  6. 不会解释如何做到这一点-也有文件存在,为% Z: `+ \* P4 A* ]. k
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ) |- P8 F4 Y4 f! J$ @5 y# t& S( r6 l
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西1 V1 C, _% X! H0 n2 @, x/ `
  9. 随着数据库。此外,你需要一个卖方图书馆安装于4 g9 O- i0 ^5 ?7 S
  10. 本地机器,这是我的MySQL安装。
    4 g2 p/ B  S( R5 x' k: I
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从( C5 E/ l3 m. h+ a8 h+ u, z4 S
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL + C" E5 B) A* v* P" v, y# L# X
  13. 数据库。
    5 r5 s/ \' I: G# `% h  P
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    5 c  h6 u0 f, w' r* a
  15. 编写本报告的时候,仍然有太多的问题-检查现状: ^1 K  w2 F6 g% C5 v& ~/ o
  16. 在teamspeak论坛,如果你有兴趣。
    2 t6 x5 {. |, R$ C# R
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ! w; {6 @5 m- _- Y# x" S+ j
  18. Borland公司使用。这个司机只能界面与客户端库
    ) h1 m+ s* N& A# G
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这* ~- o, f* {) \  Y7 m
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为2 \( x1 f. c) V2 o. ^; M
  21. " vendorlib " ,并解数据库连接。 ) s# f9 P' K  {- ~1 q
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 , s7 S- a5 D$ m. ]( q5 n* ^
  23. * s$ z1 l5 |' K2 h4 b' A( r/ M
  24. # # #做好工作# # # % W! `& I5 N  T# s  g
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    & k" z' [4 n* Q, P. X1 v
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在- p# y, q: N- G8 |/ Z2 V: M
  27. 结束:
    % ?. n( Z9 p2 Z
  28. ---削减这里--- 6 {! T7 R0 W0 l6 l. ]' q( Z
  29. [ dbexpress ]
    1 c3 f; z6 x* o. g
  30. sqldir = mysql_sql 8 N  w. t: I9 _/ E- ?  O
  31. drivername = MySQL中
    , X, P& I7 L5 S1 g* N
  32. 数据库= your_database_name_here
    7 q* _/ A* D' c) B) {' M  m
  33. 主机= the_pc_the_mysql - server_is_on
    ! ]' X- `3 i2 [* e
  34. user_name = user_name_on_the_mysql服务器
    $ C( Y- ]8 i& U3 B2 K( X# r
  35. 密码= password_to_go_with_above_user_name
    # U& w" x5 N. R) ?" j
  36. getdriverfunc = getsqldrivermysql
    / s9 H$ M4 ^; E( Y
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib / I0 N2 m. F2 \. b+ B
  38. libraryname = path_to_libsqlmy_libary / m9 }9 H; n+ k  g6 z" ^  j
  39. 积极= 1 ! S* e8 b; T* r9 S% u( @! e
  40. ---削减这里--- / Z2 a, L! _+ n7 j
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 4 n  }* P2 g3 d% q2 r0 l
  42. ---例如--- ( g' B. u9 S. b+ K9 B
  43. [ dbexpress ]
    & \9 h3 L0 p  h
  44. sqldir = mysql_sql
    ! @1 F: c2 _. y& Y" Q1 U& W
  45. drivername = MySQL中
    $ q9 m) @3 ]' m, K. n
  46. 数据库=测试
    - \8 v# n, C% g8 c
  47. 主机=本地主机
    7 D7 d$ q. G, [! \" y3 F
  48. user_name = testuser
    " D6 v9 Z+ \8 T9 ~/ l7 b% J
  49. 密码= my_password
    0 J0 o: C- m( V8 z$ I( n
  50. getdriverfunc = getsqldrivermysql
    2 t" O/ {( R* X6 d  Q3 z0 g
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 % t6 O4 r1 a" k- w
  52. libraryname =. / libsqlmy.so - y3 ]! ^, u5 Z: R2 O( n2 k
  53. 积极= 1
    ' F, t( _1 b0 {: N1 j
  54. ---例如---
    " ^8 @1 q& V; k: Q

  55. 1 y8 S4 _* h+ c. z* W1 P9 _
  56. 对Windows中,也运行MySQL服务器本地的,那就是: - v& |2 {) n9 A4 W! C! ]! R$ V
  57. ---例如--- & o: \+ K; S% u+ T- ~1 S1 ^* g
  58. [ dbexpress ] 2 ?/ W; x3 j; E. e! z# K
  59. sqldir = mysql_sql
    + g, o4 J4 O" H
  60. drivername = MySQL中
    + s8 s! E3 X' }0 N4 x
  61. 数据库=测试
    0 v6 W& v9 t0 [9 g$ T7 j: X
  62. 主机= 127.0.0.1 1 M) _( x! z1 \' J
  63. user_name = testuser
    " P" Y$ V$ L6 g0 ]4 I+ }
  64. 密码= my_password
    : h/ ]. P, \1 Q( l0 u1 J0 L
  65. getdriverfunc = getsqldrivermysql 3 |; B9 @) i, B- a  I9 G" x) A' D' H
  66. vendorlib = libmysql.dll在% E+ o/ o6 j7 v! `; u: z: ]: l0 `
  67. libraryname = dbexpmysql.dll 2 L( e, E* y2 Y/ D
  68. 积极= 1
    . l8 o/ i( W( g8 U
  69. ---例如---- * I+ K4 Z6 e: b) m: y2 k
  70. -写在0 2.03.04由p wk.linuxfan
      U& S- _# \# h- M6 }4 a
复制代码
发表于 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 words9 U* k) c7 s) _% _/ j: |, [

$ |: F0 g# `7 s9 i+ A5 F3 D$ e6 Nbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-22 03:26 , Processed in 0.100262 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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