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

3063 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan / I8 l4 K7 U0 `3 R
1 M5 i/ q: u+ w0 b, F: e* i! ~2 i
  1. 7 H& |% ~/ t" P
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    3 c1 \7 m; \) J% D* _9 d
  3. : S# w# y  O' H, |' }0 o
  4. ### What we need ###* g' S" d" N: H) i) n& h
  5. Naturally, we will need a MySQL server to store the data for us, this document
    3 i4 m% a* m2 k! ~3 w
  6. will not explain how this can be done - there are documents out there for the 3 `: C! I7 l1 g7 M* O* G1 o
  7. interested. The requirements include a (empty) database for TeamSpeak to use* }7 R+ j, A5 x  C+ Y/ p
  8. and a user account (username + password) that has the permissions to do stuff
    . w9 Q" v6 j$ t% k5 J- o& O
  9. with the database. Additionally, you will need a vendor library installed on the" d' i  Q$ V' L; \
  10. local machine, this came with my MySQL install.
    3 \, B" H0 c4 p8 h& C' r. P0 i+ d
  11. These instructions will not tell you how you might transfer your data from the
    / E6 J9 `2 P' S& a) a2 L
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL9 [! z" D. `# A7 g4 r" v
  13. database.
    ) {& t" d# K6 M8 n* ~4 V' u; |
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    2 w* t( o  a( P  D! V3 A* l
  15. the time of writing, there are still too many issues - check the current status. {, L  F7 M3 x9 @
  16. in the TeamSpeak forums if you are interested.; M- d# E) ^$ j5 L8 ^
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    * a6 r# C, o3 o
  18. Borland was used. This driver can only interface with the client library that   M3 G" C' h& }" X; b+ k
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this1 Z: b4 D, m% Y! Y
  20. client library - basically all you have to do is to use a 3.x client library as ' f; L+ ]# w5 i3 o4 Y$ p. c
  21. "VendorLib" and a 4.x database to connect to.9 ]- k4 s5 c% C
  22. If you need more info about dbExpress, you can contact Borland.9 s. u2 b$ e1 Q( p: C/ [, v

  23. 7 W+ a$ u$ ^# ]# j$ U
  24. ### Doing the work ###
    / n, r9 O1 }! A4 R# e4 Y
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all9 Q8 l+ \$ _. l; V
  26. the perquisites right, just open your server.ini file, and add this section at6 k' N9 ?/ U) N# {- S" ?1 w
  27. the end:
    5 n- r! B+ A8 h8 ^: V
  28. ---cut here---: L! ~' M. S# V' g) ~3 `. t
  29. [DBEXPRESS]6 C- R7 E, l' q+ ^; d6 D8 F0 G& j
  30. sqldir=mysql_sql
    * n' {+ D1 v' L# |5 T1 n' {6 y8 H
  31. Drivername=mysql
    ; K( W$ X, b% q4 U# v3 a
  32. Database=Your_Database_Name_Here4 Y3 f% @# K) Z8 ?+ m$ D
  33. Hostname=The_PC_the_MySQL-Server_is_on
    $ |$ X0 m  N- _5 m1 |
  34. User_name=User_name_on_the_MySQL-Server5 [) E, Z2 M" Y0 O$ z
  35. Password=Password_to_go_with_above_user_name9 b& n* q4 ^0 Z! t# F
  36. GetDriverFunc=getSQLDriverMYSQL$ S; H3 q8 \, A* h
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    7 I" a: X5 |* w% E! w! u
  38. LibraryName=path_to_libsqlmy_libary) c7 n6 Z! V8 K+ w7 M1 Q
  39. Active=1) q% ]' G  H# p4 m% B0 v# [0 q
  40. ---cut here---) U5 Y) L6 o2 t4 a! }. B3 b
  41. In my environment (a linux box with a MySQL server running locally) I have:9 b7 \" D# }: z7 R1 e
  42. ---example---5 _# t) u6 W: G! `
  43. [DBEXPRESS]5 n$ K$ N+ F1 W! x. t( b
  44. sqldir=mysql_sql
    ' h  H5 x, h8 U3 i& ]9 t, w
  45. Drivername=mysql1 \# j" e+ E3 z4 \3 V- T( n& l0 W
  46. Database=test
    6 c& u0 C5 k9 o* e" W. ~
  47. Hostname=localhost
    ( w6 \* N) E8 F& w9 ~
  48. User_name=testuser  J3 F/ H7 P4 N) o3 M9 v
  49. Password=my_password! c/ ^8 c- k  A* b
  50. GetDriverFunc=getSQLDriverMYSQL
    0 a: v8 g3 d+ j3 L2 n0 _
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    5 y% S1 q4 G. P8 @7 l/ N
  52. LibraryName=./libsqlmy.so. \5 v% @$ R5 l' ~5 e
  53. Active=1$ U9 V; V" c" S7 i9 T
  54. ---example---4 l" n' `5 Q  h( E& y. U3 S
  55. , j. N* f1 G0 A4 _) f3 R: [3 i
  56. On a windows box, also running the MySQL server locally, it would be:# w7 w9 s4 J. W2 `
  57. ---example---
    5 S' C! s! y4 p) ~0 k* T; s
  58. [DBEXPRESS]
    4 b* U+ V8 a) l1 k- \: ]
  59. sqldir=mysql_sql9 \1 K# N  K5 w! E3 u! \5 `, z. Y
  60. Drivername=mysql5 q$ M# Y4 t2 n
  61. Database=test
    ; \# w5 ^) o5 m; z8 M5 r
  62. Hostname=127.0.0.1; \" @) m  ^/ |3 Y! r; ]7 Q
  63. User_name=testuser5 w4 D/ N+ U  k6 y" I
  64. Password=my_password* X3 y* J7 i8 n( ]: y2 K/ t+ g
  65. GetDriverFunc=getSQLDriverMYSQL
    ) c6 C1 q0 f1 O9 n' F$ |( u6 Q
  66. VendorLib=libmysql.dll
    ( d7 W1 ~9 V6 |
  67. LibraryName=dbexpmysql.dll2 a* C4 ^$ R1 e8 d
  68. Active=1
    , Y( F$ O2 N' p
  69. ---example----
    4 f& X' P! @! `: N
  70. - written 02.03.04 by pwk.linuxfan; _/ o- e' z' `/ t# Z# Q

  71. * k. L! A0 B) c" a1 y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看3 Q6 v$ U7 r6 s: Y  Y5 x, A6 a

  1. - L8 R0 Q" e; e
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 9 y% o$ @6 {' `7 H! ]+ \
  3.   m3 O* V$ p$ [7 G* V0 h6 |
  4. # # #我们所需要# # # 4 t4 J" f7 N+ a* ^3 ~$ e! a
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件% L, @4 e% k- y9 j/ x
  6. 不会解释如何做到这一点-也有文件存在,为
    $ a- ~/ m$ {1 Y6 \* i% G! g
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用/ X: W" W/ v/ O* A: O( n" \7 f, e
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西8 b( ~- }4 w+ y) B" `
  9. 随着数据库。此外,你需要一个卖方图书馆安装于/ @$ i3 H0 ~; t$ ^2 g  r
  10. 本地机器,这是我的MySQL安装。 , _! M5 v9 k7 y- {! G
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从' |: L) @, n4 ~# w
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    4 h) p! J- d; P
  13. 数据库。 7 P& m  V, v4 n2 ^& ?
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    * d  o+ l/ [1 s  v9 I
  15. 编写本报告的时候,仍然有太多的问题-检查现状6 H, G0 e/ q  X; f/ k$ @
  16. 在teamspeak论坛,如果你有兴趣。
      `* ~+ m8 J" K1 z: L' Q. `
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机  {  _; C4 T/ i: u4 E6 x  E+ z
  18. Borland公司使用。这个司机只能界面与客户端库
    1 I4 ]6 T" H( f1 G2 c
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这! Z, g8 N* t8 A9 ~- ^
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ( [/ v" F2 T" G
  21. " vendorlib " ,并解数据库连接。 0 z! \( m4 ?: h! O! v! n3 X, y
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    $ R; n' V! u* D! V7 R' M/ ?8 [1 ]1 _' }
  23. 6 I6 I" O# P& e+ m* Z" k
  24. # # #做好工作# # #
    $ f4 X2 R& w1 r) [3 A: ~$ }; [8 z, G
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都2 r7 g2 r. y' ?* y' D# {$ B* d
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    7 T$ U* |5 f& r* K& s' N
  27. 结束: 0 q" o* Q/ C4 g$ v! _5 j
  28. ---削减这里--- ' K# m4 h. u5 a2 y6 Q+ D
  29. [ dbexpress ]
    0 X1 B# R) G: i+ o8 g! j
  30. sqldir = mysql_sql 5 B) n3 v( j2 e. C8 L2 t9 \
  31. drivername = MySQL中3 g, D& o' @8 L8 F2 R( w
  32. 数据库= your_database_name_here 3 x- l" G  r* {3 A2 L& D
  33. 主机= the_pc_the_mysql - server_is_on & l# I- L* \* f- _
  34. user_name = user_name_on_the_mysql服务器
    1 m, s; A. A4 l3 x0 V3 J) o- k( k4 t
  35. 密码= password_to_go_with_above_user_name
    : j/ O* D$ L4 O1 c5 ?1 G( J
  36. getdriverfunc = getsqldrivermysql
    1 j* q; J$ ?6 N5 R* P
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    9 f- I/ f$ J* z7 a. ]4 Z+ s
  38. libraryname = path_to_libsqlmy_libary
    6 B" I: m$ D6 k
  39. 积极= 1
    + k7 ^7 y) c. W& b
  40. ---削减这里---
    ; O8 ^) e# Z2 `( o4 M9 C1 F
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
      Z" \) ~# f; u. o7 |3 B
  42. ---例如---
    % s7 e! h- E0 V1 U1 z4 I7 }% C: z
  43. [ dbexpress ] 6 D+ t' t' K& J
  44. sqldir = mysql_sql ; }! n, t8 S; U
  45. drivername = MySQL中
    " n, I# }$ [( \6 I
  46. 数据库=测试8 N7 u3 t' e3 {+ u* T7 ^! _
  47. 主机=本地主机
    8 }5 B+ W& D! i/ t2 ~/ v7 _
  48. user_name = testuser ; f1 q5 K& k/ Z5 _
  49. 密码= my_password
    + j+ C& F8 C5 g- t  e! Q
  50. getdriverfunc = getsqldrivermysql " G. s& l' {! p" ^% Z& m
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    $ S; G- _) K/ x/ {" A3 V
  52. libraryname =. / libsqlmy.so # o6 ~5 ~5 I1 x$ M" X- F2 K/ x! P
  53. 积极= 1
    7 i. m) X0 N/ N# V
  54. ---例如--- 5 b) L6 W5 W0 q& _, s

  55. 3 S' B8 h& m' z
  56. 对Windows中,也运行MySQL服务器本地的,那就是: : G3 U" h7 I( g
  57. ---例如--- ) m: R; C2 r4 P0 x
  58. [ dbexpress ]
    4 w2 J7 x) |5 b3 A$ A
  59. sqldir = mysql_sql
    - Q  o6 d& W! w4 T/ _
  60. drivername = MySQL中
    % k- Z4 P3 N! O6 U! B* j8 D3 E
  61. 数据库=测试5 Q8 T( w! w1 H" `" @5 t! b$ n2 L7 z9 I
  62. 主机= 127.0.0.1
    6 ?8 A8 r% V; t, t
  63. user_name = testuser ; l& G% l) i( Q: f4 ?: y: |1 ]5 ~
  64. 密码= my_password
    1 i1 Q1 t5 A; S' g+ C) n
  65. getdriverfunc = getsqldrivermysql ( _" y; G$ M3 ^4 `, d* `
  66. vendorlib = libmysql.dll在/ U, _8 k5 M, d1 U3 Y4 X5 e. I
  67. libraryname = dbexpmysql.dll
    - k: N9 [" {/ X- N8 b
  68. 积极= 1 $ ]- R% Z+ R1 i' O+ I; ]8 Y
  69. ---例如---- 2 q  F. \! n# t
  70. -写在0 2.03.04由p wk.linuxfan
      y  N+ l3 T/ `! m! |+ l2 O' g* q% b
复制代码
发表于 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 words3 N1 o( B: Q& ?2 m- \6 U

; w3 p  [3 ~: U2 u: ebut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-24 08:16 , Processed in 0.108042 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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