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

2962 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
% \; D  K  u& c, n5 o6 y5 @4 R- n, y4 y7 s% X/ p: |$ P

  1. " ^0 V* h) i0 K1 |3 C3 ]
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    8 E/ k7 J5 J  c& q, P% X6 D9 c

  3. ( V0 d- [% R; W; \. d7 G9 ]- S
  4. ### What we need ###2 o" s! x5 Y9 g3 p) F# i
  5. Naturally, we will need a MySQL server to store the data for us, this document # L2 y( ]  O1 p3 r, a) {
  6. will not explain how this can be done - there are documents out there for the % r& B* V/ J* o0 C8 Y) Z! x
  7. interested. The requirements include a (empty) database for TeamSpeak to use' n  f2 b9 e6 l" T
  8. and a user account (username + password) that has the permissions to do stuff
    , N3 a) D$ z& A* ~: g8 I
  9. with the database. Additionally, you will need a vendor library installed on the0 N2 B0 R3 t$ t- n7 \
  10. local machine, this came with my MySQL install.1 Q/ g+ \9 n  z
  11. These instructions will not tell you how you might transfer your data from the  ?: A/ k3 @) j0 E( F) c
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL' z. [' m# Y/ X& {5 Q  t
  13. database." O0 u# ?2 ?, ]  o& _0 e
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    1 f6 E7 \1 J6 y, q: V
  15. the time of writing, there are still too many issues - check the current status
    " ]6 f" p' I: U& K2 r, J+ u
  16. in the TeamSpeak forums if you are interested.
    . J) K3 Y8 \& s& P
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    " H% _# ^# O2 Q# `# f2 L) X
  18. Borland was used. This driver can only interface with the client library that . b' k) \! u. b8 j1 e
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    , e, b* o3 x2 d  O6 {, f$ y+ Q. N
  20. client library - basically all you have to do is to use a 3.x client library as 4 \  c+ V6 f- O) M2 A! S. w* s  M
  21. "VendorLib" and a 4.x database to connect to.- R9 d1 W" a- h4 k( o( n4 d7 Y
  22. If you need more info about dbExpress, you can contact Borland.
    , A% B/ t, q9 \3 D) E8 h# Z1 o

  23. & n, B; \# \- X9 ?3 h6 x7 D5 `
  24. ### Doing the work ###& n$ @( {, _/ Z9 z
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all2 U- G0 c; \& {! |" z1 O9 b* m
  26. the perquisites right, just open your server.ini file, and add this section at
    ; q, R) D+ F" X4 ]/ Z& r* H$ U% y. a
  27. the end:/ g& I$ w+ n. g5 ^2 S) M  H
  28. ---cut here---0 K& \# r. i9 @: q: z) J; T0 r9 |+ h
  29. [DBEXPRESS]. m) `  h3 B, s
  30. sqldir=mysql_sql
    2 V. h% q; b4 V
  31. Drivername=mysql
    ( P6 L6 H: G& p" v9 u* n  p' e
  32. Database=Your_Database_Name_Here
    - X; s$ y& Z! @) w. V
  33. Hostname=The_PC_the_MySQL-Server_is_on6 t! H- Z4 }$ Z% v2 w& O( J
  34. User_name=User_name_on_the_MySQL-Server
    9 v$ y6 \7 ]8 g2 z# N
  35. Password=Password_to_go_with_above_user_name
      v' B& o: z8 f* w5 F
  36. GetDriverFunc=getSQLDriverMYSQL
    8 A8 `  N9 ^0 ?; ^
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib- e( g" S( ~* g6 a
  38. LibraryName=path_to_libsqlmy_libary
    ' k8 q  K7 m5 B, X
  39. Active=1* V9 y/ `2 f1 Q& \5 L- M
  40. ---cut here---
    - n! a8 w8 o* p+ p3 S1 c# G- i9 K+ ]
  41. In my environment (a linux box with a MySQL server running locally) I have:: |# P7 c3 i% P% [+ s; F
  42. ---example---
    2 \  Z/ q0 p5 ~1 Z
  43. [DBEXPRESS]
    ) r& U/ P/ y2 u7 ~/ m
  44. sqldir=mysql_sql$ U! }$ o" U/ X# ]
  45. Drivername=mysql
    ' ^3 r5 R$ i3 i* O5 o/ p
  46. Database=test2 n6 W9 T; A* I2 ?  h+ y  l
  47. Hostname=localhost& n2 c2 O- c3 i" S) q3 K
  48. User_name=testuser
    8 w' v8 g4 _( g2 f8 q0 J" A# c
  49. Password=my_password$ g( O1 q8 _0 p
  50. GetDriverFunc=getSQLDriverMYSQL& H- t& Q5 C  ~# t: Q4 x
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0$ `* h, D, B  L, ~, j  p
  52. LibraryName=./libsqlmy.so) ]( O, g; M6 z2 k; P- ~
  53. Active=1
    8 }, U& {. g) M* k
  54. ---example---
    9 x! ]$ l3 F/ ^) _  S# \

  55. ; R0 A+ x% L+ t- L2 s
  56. On a windows box, also running the MySQL server locally, it would be:' o8 `0 b; L6 u3 {# l
  57. ---example---
    & B1 N- N" o- K  d9 F- f9 d0 I
  58. [DBEXPRESS]: h% k5 l% m7 b: D6 I
  59. sqldir=mysql_sql
    % v: M/ w" D! @, ]# ], a/ W9 p  }
  60. Drivername=mysql
    7 O2 C7 c9 |6 S! f: [; P3 X
  61. Database=test5 M: d* |+ a+ a! }2 {/ ]" b+ i1 V
  62. Hostname=127.0.0.1' b+ L' b' k# ]$ l( V5 Q3 z
  63. User_name=testuser
    # r  A& _" W8 o6 |
  64. Password=my_password
    ' E# r& W; u0 w& p2 e; `1 |( S
  65. GetDriverFunc=getSQLDriverMYSQL# z1 x/ O. N3 _
  66. VendorLib=libmysql.dll8 V$ v+ W8 _, B+ J- @
  67. LibraryName=dbexpmysql.dll7 Z) s1 m% u( g4 N# B9 H+ y
  68. Active=1
    / b3 \. _# C/ M! E
  69. ---example----
    ! s" x$ V7 E7 _: {
  70. - written 02.03.04 by pwk.linuxfan
    9 i' }& j3 f- j! C+ I( A6 D  p
  71. ; a/ y9 j# p9 k2 I
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
3 {, H) }5 l$ S
  1. . q% ?; J5 ?( e7 H1 q
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 9 h, S/ o/ U" v: t

  3. 5 h, x7 b3 l! `  f. Q4 M5 v
  4. # # #我们所需要# # #
    2 n/ x6 E) A' s" q
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ! U" x8 f0 K8 T
  6. 不会解释如何做到这一点-也有文件存在,为
    % X3 z9 d" l( w- h6 W7 C
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    7 p5 h+ l0 {, Y( i
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西' v: P! N  M  f
  9. 随着数据库。此外,你需要一个卖方图书馆安装于/ x" M, u0 q. x1 k( ~1 s/ W  b
  10. 本地机器,这是我的MySQL安装。 " h4 ^, q8 m2 P+ r9 a8 x5 z( R5 O
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ; p3 Q7 O% V. r1 ^. W3 O# W
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    2 d- x5 _. M* o3 t
  13. 数据库。
    ) L: m0 J6 _) K; ]$ o
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在3 {" m. b" h- Y& g/ a6 v( Z
  15. 编写本报告的时候,仍然有太多的问题-检查现状8 y" d8 Y' B+ U8 H
  16. 在teamspeak论坛,如果你有兴趣。 ( ~. ?; F, |/ ?4 O& U
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    8 m5 }/ v- Y& [
  18. Borland公司使用。这个司机只能界面与客户端库
    2 L  @& |; ^# G1 S) A
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    % x* {# v: C% Z) N0 N/ I
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为2 \* x* S8 `. }
  21. " vendorlib " ,并解数据库连接。
    & \3 F! H$ l7 l: x1 V/ X+ K
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    1 H$ W" e- i* e- @

  23. * M0 c( @* X/ S
  24. # # #做好工作# # #
    6 j3 ]  V5 J$ L" o5 g
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ) L$ b: k7 }  V
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    - b0 s/ K. Y& f+ ~: h; O. k
  27. 结束: ( |0 M( _* H+ `! T# N
  28. ---削减这里---
    ' @6 e5 A* M* _! s* ^# C  z
  29. [ dbexpress ]
    , r: f6 [' J" S( I8 a# d7 C
  30. sqldir = mysql_sql   b, S- ]. w8 Q0 c
  31. drivername = MySQL中
    2 u" A* k3 l4 _7 c7 Q% L/ E- C
  32. 数据库= your_database_name_here
    " z2 G  F" g3 H) r0 M
  33. 主机= the_pc_the_mysql - server_is_on . O) o; i1 K/ T8 |; F
  34. user_name = user_name_on_the_mysql服务器* \; \7 h# }6 F0 h! V% r2 i1 w' _1 k6 v9 O
  35. 密码= password_to_go_with_above_user_name
    / @" n$ C) B5 ^4 h* R" ?) y2 m
  36. getdriverfunc = getsqldrivermysql 7 @2 b- u- P$ h5 f
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 7 |# S' K6 y0 b) r
  38. libraryname = path_to_libsqlmy_libary ) H* U6 d+ }8 Q, n6 r
  39. 积极= 1
    , n8 z% |- H8 I
  40. ---削减这里---
    " Q) d# [* @2 A
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    * r  P8 g# f! ?! B( N
  42. ---例如--- 2 ?% Z2 W6 s+ g5 F1 {
  43. [ dbexpress ]
    $ M1 ^; w( {" w' V8 {- r- A
  44. sqldir = mysql_sql
    " E" C4 C6 v, z2 h1 I
  45. drivername = MySQL中. \' B+ {* c* @# y' D" l# N' [
  46. 数据库=测试
    ( ~9 u5 r3 Y5 s5 F1 l* P) I
  47. 主机=本地主机
    1 v6 [4 i* l5 o  n
  48. user_name = testuser
    4 u5 {' F+ J1 u6 p, C* B
  49. 密码= my_password
    % R# T% ^4 E  O
  50. getdriverfunc = getsqldrivermysql 4 ]4 W: k( w2 K. R& K* j6 G0 l
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 7 _3 b/ r5 R! O. M& q
  52. libraryname =. / libsqlmy.so
    6 j7 C; {9 b6 L& g8 L* m
  53. 积极= 1 ( w8 n7 I- q/ p2 h+ n4 l1 b, ?  G6 x
  54. ---例如---   A6 f1 L) ~, s! x# s; p( l4 J# h$ t
  55. 4 ^' Y! w5 |  v. S
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    5 x. X5 \  I% x) Y: \
  57. ---例如---
    # P6 q8 I* B3 A/ o. }0 R; i
  58. [ dbexpress ]
    - S' s+ S& L3 a  j; i2 `9 c
  59. sqldir = mysql_sql
    2 i1 i0 N; Q! }! j8 m  J# ?+ t, v
  60. drivername = MySQL中
    9 H+ ]5 L9 x4 ~  d1 k/ D1 n+ D
  61. 数据库=测试7 `. u. R) _4 u8 j- W5 }" \
  62. 主机= 127.0.0.1
    . o/ e# p* }1 A* N4 Q$ X: T
  63. user_name = testuser
    ) T7 a) C- F1 l2 e2 ~; \3 G
  64. 密码= my_password
    + z- X% q) D3 v! P
  65. getdriverfunc = getsqldrivermysql , @5 T4 ?8 V& y0 a% {; C3 \' A
  66. vendorlib = libmysql.dll在5 O' p% V, Q8 {% F
  67. libraryname = dbexpmysql.dll 2 o  t+ {6 j' W; z9 e
  68. 积极= 1
    4 q+ _7 V" R% z/ r( K! Y
  69. ---例如---- / _$ k1 j" @  a0 ~0 _
  70. -写在0 2.03.04由p wk.linuxfan2 T/ ?3 A+ i7 Y, H7 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 words
- _9 c; d; I9 \7 n, r4 r2 |! z
/ y# K* L6 ~+ d5 x* @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-31 19:31 , Processed in 0.109018 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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