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

2672 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
, B( W/ Z7 `# X/ }2 {4 \' t7 m/ S, [8 }
  1. $ p5 I1 A1 y) g  v- F) H% a
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ( p; D" U% z/ N
  3. ; G. J7 J7 f- ?  N9 p0 T: V0 z
  4. ### What we need ###! \* _9 S: N* K1 J7 d
  5. Naturally, we will need a MySQL server to store the data for us, this document + V0 F8 v. i& p6 \- K, H5 y
  6. will not explain how this can be done - there are documents out there for the ! V* p2 b8 d' `3 @% y
  7. interested. The requirements include a (empty) database for TeamSpeak to use% ]$ w( H$ u. K2 R$ v3 X
  8. and a user account (username + password) that has the permissions to do stuff0 \. U1 L! p' @9 F: k: _& E* s
  9. with the database. Additionally, you will need a vendor library installed on the
    8 s& E+ S8 i7 S, l$ l7 w
  10. local machine, this came with my MySQL install.
    / \$ b4 h* b1 D9 v
  11. These instructions will not tell you how you might transfer your data from the# R2 u3 y3 }6 P# P9 N
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    " `! e# a$ @9 u5 E) ?
  13. database.1 g5 X# @+ k0 u, g
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    6 H; l, H( u, u) P. f, z; o2 |
  15. the time of writing, there are still too many issues - check the current status
    8 h. ?3 ^- i% S6 X' g* ], P$ f1 _9 m
  16. in the TeamSpeak forums if you are interested.
    , _6 x& O& f" Z9 P6 K
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from3 D8 P  R: p4 [
  18. Borland was used. This driver can only interface with the client library that
    / R6 p( L% V$ C' {( d6 O  b3 y
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this* G' l9 y  _# \% j
  20. client library - basically all you have to do is to use a 3.x client library as
    , f" v7 z7 e. Y4 P! ~
  21. "VendorLib" and a 4.x database to connect to., m2 W! D% C/ c9 L6 r: p
  22. If you need more info about dbExpress, you can contact Borland.
    % D2 K6 l2 r  p' U

  23. ; D9 h8 s- D% x+ ^
  24. ### Doing the work ###
      s- }8 l$ g0 ]
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all+ I/ V& M8 G) ]# q3 ~1 I7 ~
  26. the perquisites right, just open your server.ini file, and add this section at! s2 m* w: o$ P+ P; x, W
  27. the end:
    , U# v7 O( Y4 D$ ]# W
  28. ---cut here---
    ( V- Q4 M/ W1 }
  29. [DBEXPRESS]
    9 A, R0 ?( k. Z
  30. sqldir=mysql_sql
    1 s; ?7 }5 n3 \% U% Q) F7 b; T
  31. Drivername=mysql
    2 m* I' z- H% r, x. Y& F
  32. Database=Your_Database_Name_Here& y* F8 j; |. Y* v
  33. Hostname=The_PC_the_MySQL-Server_is_on, J+ T1 m, x. r( _1 P5 g; n
  34. User_name=User_name_on_the_MySQL-Server* L! T& [! \1 {& C+ o# m/ f" B
  35. Password=Password_to_go_with_above_user_name
    ! S. z5 k& X/ l
  36. GetDriverFunc=getSQLDriverMYSQL# [" w: o3 ]/ k) H% w# \
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    & A  D' x" C& ?: g' {1 l
  38. LibraryName=path_to_libsqlmy_libary
    8 {( {' n0 R8 V/ o7 \9 f; A4 c
  39. Active=19 |$ W  g, p* x9 m) V
  40. ---cut here---- r/ i9 k  u2 c( `! M# s
  41. In my environment (a linux box with a MySQL server running locally) I have:' m. N' `+ K+ Y* A* W5 ?# ]
  42. ---example---1 V6 H3 B0 d1 G8 V! E
  43. [DBEXPRESS]
    6 J5 ~  A8 N/ W+ g% I
  44. sqldir=mysql_sql4 R5 e8 j- S! w4 t% c  h0 m
  45. Drivername=mysql
    3 m) K/ V8 Z/ a* ~7 @
  46. Database=test$ ?0 T4 G' N/ T) Z5 \  F
  47. Hostname=localhost# ]; g" t: R$ w- M0 t+ T
  48. User_name=testuser' W6 Y9 R6 k1 G& X
  49. Password=my_password) l; k! a' K% a. O% q
  50. GetDriverFunc=getSQLDriverMYSQL% n8 J# C2 q( l, {4 b4 A7 I
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.08 U/ y" C, b5 r5 q, q; ?: m. `  G
  52. LibraryName=./libsqlmy.so
      a$ i9 a, l( ]8 d- _' i
  53. Active=1
    / K5 Z0 X: y  C: @! E; j! `
  54. ---example---7 p% |" e$ z& P9 y( j- p

  55. 8 E; D! Y: C( H. e5 A" t: t
  56. On a windows box, also running the MySQL server locally, it would be:; z& ]) p9 h: q4 o
  57. ---example---
    # Z# y$ p1 A# T9 v3 ?5 L
  58. [DBEXPRESS]
    8 h, \" s: A" f! N
  59. sqldir=mysql_sql
    5 E  H" H7 ^# d7 T" P& q; ]
  60. Drivername=mysql7 x0 B4 ^, y3 n5 l" h
  61. Database=test- `" B" u, X, p
  62. Hostname=127.0.0.1& M$ X7 B1 U" `5 R: ?/ F' S4 l- J
  63. User_name=testuser
    $ W* I+ n/ ?7 i
  64. Password=my_password
      B; K  J% E$ o6 d. B% W# X+ x
  65. GetDriverFunc=getSQLDriverMYSQL# P! \. G8 {3 E" O* d
  66. VendorLib=libmysql.dll3 ]2 e5 a: S4 G$ h" H
  67. LibraryName=dbexpmysql.dll, A( C& }9 q9 z- f4 G
  68. Active=15 q! F( I1 }: K) b
  69. ---example----
    . W  O& k; t# D' g
  70. - written 02.03.04 by pwk.linuxfan( U- E. k0 w+ m- V

  71. * [+ l( B: f- h
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
- ~! |) B5 }& V+ A6 I3 b* v9 q

  1. / P' S4 Y, t& ~) _9 F
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    4 U! i: I  o) a. W% Q
  3. ( I& P/ [9 X, C& f7 {
  4. # # #我们所需要# # #
    3 Z, X/ W7 g/ \0 G& q
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    , u' Q# [5 W; ]
  6. 不会解释如何做到这一点-也有文件存在,为+ A. j' {4 d; z' `6 D7 x) k
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    1 H! x6 h$ [1 i' F/ L
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    - `8 v- D1 c) X$ A  x7 W
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ) }- ?, n2 ~/ T$ g
  10. 本地机器,这是我的MySQL安装。
    6 i" m/ l7 U) I) ?5 L: n
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从2 C4 Y0 G4 T% q5 b. d9 n* U
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    0 _8 O9 L1 u5 o2 U8 S
  13. 数据库。
    . J7 J) G% e6 B0 Y8 ~$ l7 h
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在% [) H- }. U) H0 Z
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    * U: u# U" m+ r
  16. 在teamspeak论坛,如果你有兴趣。
    9 I+ _; R0 W3 [/ x9 X) V  b
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    7 S& D  U! T+ V- d8 a0 B0 F3 j
  18. Borland公司使用。这个司机只能界面与客户端库( q/ }5 N0 ?+ X7 F. }3 A. B
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这6 A: L7 P. G; b4 P* E! f. h5 T
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为  m+ l; X' Q- f7 u
  21. " vendorlib " ,并解数据库连接。
    5 A  i7 ^0 E& h1 r
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ) P' B  x0 M. n/ N6 F

  23. % ]" y  h# Q. t* s" b+ i( B
  24. # # #做好工作# # # + Z4 h* M9 n2 e% v4 a
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ( N/ ^2 G& v$ W4 _7 e3 k
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在0 B3 {& k8 h+ x  ]0 h
  27. 结束:
    + F* l9 w! L# \8 d
  28. ---削减这里--- 4 [9 U. }0 }! ~
  29. [ dbexpress ] + i7 m" w6 L- v- {; ?) P# T
  30. sqldir = mysql_sql 1 r9 Q" i4 T% g
  31. drivername = MySQL中9 ]( x% \" M3 F- v9 Y& H; M. J
  32. 数据库= your_database_name_here - a% i2 v5 Z  P
  33. 主机= the_pc_the_mysql - server_is_on ; T/ Q3 P/ z) h: N6 A( I7 d( \! [
  34. user_name = user_name_on_the_mysql服务器
    * T3 O6 z: E9 |6 h/ o: T
  35. 密码= password_to_go_with_above_user_name 0 T( D* D! |9 H1 D6 y( `, R3 r
  36. getdriverfunc = getsqldrivermysql 5 A& Z6 l! ~. u' D9 x# \
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    9 R% ~3 T" `- H' N
  38. libraryname = path_to_libsqlmy_libary
    " A$ V7 c7 V  L& W
  39. 积极= 1
    ( Q% @7 D, H% Y3 w$ h3 W9 F
  40. ---削减这里---
    % I& p) S. A3 |# q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ; U% A* H  R+ s) N4 [: g% k# V
  42. ---例如--- / U8 K7 k  n# N
  43. [ dbexpress ] ' [) X( B) F! P  t2 X; A& [
  44. sqldir = mysql_sql
    ; T. N5 l6 U7 K# P
  45. drivername = MySQL中
    % A. n- s0 X4 {3 r) N. ^* v
  46. 数据库=测试
    # n2 }' o2 H. K
  47. 主机=本地主机
    4 D% h/ H. g% S5 |  m! X
  48. user_name = testuser
    . H8 `2 V. d& m0 H3 Z
  49. 密码= my_password ( @) X& e* ], @: o; v1 S
  50. getdriverfunc = getsqldrivermysql " v$ {4 n7 {3 X* a9 w$ y
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    $ m" c" A1 {6 d
  52. libraryname =. / libsqlmy.so + a( C9 v- ^7 Y0 w/ p  a# h: T7 C
  53. 积极= 1 " b* A& B( A+ L; `
  54. ---例如--- 3 q/ b1 v, V& ~- G$ Q  ?" x4 ^

  55. , U' r6 ^0 \: y  R  L
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    8 D" \; @( [1 J% I0 S  [/ B: r# E
  57. ---例如---
    , j4 s# }2 V6 i: s' a
  58. [ dbexpress ] 3 S8 a: r3 S2 H+ L" z
  59. sqldir = mysql_sql
    " X7 ~) I3 S: s0 o1 @' T
  60. drivername = MySQL中
    7 a9 w" D. e4 W. V( p' @. K7 `
  61. 数据库=测试
    " T1 l4 r: m( g( o, Q4 ]3 y' Y
  62. 主机= 127.0.0.1
    - w9 {( l/ [1 L
  63. user_name = testuser
    ! p7 f% [# I) {. t5 W2 [& a% i
  64. 密码= my_password
    9 Q- s2 z( x' d- X  ]* ~; H/ Q/ c
  65. getdriverfunc = getsqldrivermysql / {2 u9 F; y, j
  66. vendorlib = libmysql.dll在# |1 |( C$ Z7 L9 c, a" M
  67. libraryname = dbexpmysql.dll & r% S) }8 ^, o, e1 L/ Q: j
  68. 积极= 1
    ( T' @- \5 \% ]& n$ ]
  69. ---例如---- . }" h: P; C1 k. C( v
  70. -写在0 2.03.04由p wk.linuxfan& X% b  o3 L' e9 M
复制代码
发表于 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
5 f3 O$ p# R6 J% a; `& }* v
2 x; }/ \8 ]% Y# a. s# n9 Jbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-27 10:56 , Processed in 0.111576 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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