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

3553 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ( n- ~; `6 W. `9 Q3 N! w& |9 R

/ e+ h9 k3 b  c! p

  1. 8 r4 q7 x8 o" _8 p. k# @
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    9 T4 e$ U5 F; t1 y4 h* l" c

  3. ' |. e7 T5 M5 ~- v* x7 o
  4. ### What we need ###
    6 y& Z$ C  j; ]7 W+ o* i# J" b
  5. Naturally, we will need a MySQL server to store the data for us, this document . C2 k0 P2 N! E' F0 r! Q
  6. will not explain how this can be done - there are documents out there for the
    ! K! I/ \0 }2 R
  7. interested. The requirements include a (empty) database for TeamSpeak to use( A1 ?1 ?% c0 v9 O! H5 l
  8. and a user account (username + password) that has the permissions to do stuff" q: C2 T) c. ~' b5 [# _. Y1 w
  9. with the database. Additionally, you will need a vendor library installed on the
    & b" I! p/ v8 \  v9 V- j
  10. local machine, this came with my MySQL install.
    . u7 F7 q0 s: ~# R0 r( z
  11. These instructions will not tell you how you might transfer your data from the& ]: x: b8 a* r2 F
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
      @  [! b. D" l7 u- F; O: x% [4 c
  13. database., g" K5 m4 {. R+ a- E6 ~# M
  14. Some users have reported ways to import a SQLite database into MySQL, but at7 c5 W' c9 P) p
  15. the time of writing, there are still too many issues - check the current status
    2 o7 i: |& N. L4 u4 H0 C
  16. in the TeamSpeak forums if you are interested.1 X3 E( I5 o8 i
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from  c7 ~) l; ?- B' r4 Q, b1 n
  18. Borland was used. This driver can only interface with the client library that 0 {, @# K7 [9 B& z3 F
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this6 _8 s0 i; M* J& j
  20. client library - basically all you have to do is to use a 3.x client library as 8 w: @/ s; b' Q: w$ b9 X
  21. "VendorLib" and a 4.x database to connect to.- _# S" r4 Q5 M/ V- c
  22. If you need more info about dbExpress, you can contact Borland.
    % {5 M7 G: g3 x7 x
  23. % X9 U. M6 s6 o0 M$ K
  24. ### Doing the work ###! i( o& c1 J5 K+ b
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all* E5 L1 C# D' ]* ?
  26. the perquisites right, just open your server.ini file, and add this section at
    2 i1 e4 {; Z6 A/ L, C+ |
  27. the end:3 C  {% G% O8 t! |8 L6 x- [
  28. ---cut here---/ L& U% Z( A, J& S
  29. [DBEXPRESS]
      u. n$ w8 |2 J4 g/ Z6 A7 f
  30. sqldir=mysql_sql* S# j3 b: P5 r8 I+ k
  31. Drivername=mysql
    5 u# e! G' r& A4 z  g
  32. Database=Your_Database_Name_Here
    . ?6 s# A4 A. @! H, c! b" v/ ^
  33. Hostname=The_PC_the_MySQL-Server_is_on
    6 F3 C8 E2 j& x. f+ n2 u
  34. User_name=User_name_on_the_MySQL-Server
    9 C) j9 p4 A/ a! p. l  N
  35. Password=Password_to_go_with_above_user_name# I: h& q4 H% H# x
  36. GetDriverFunc=getSQLDriverMYSQL- y. v5 X& p4 z; W4 D
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib3 [! i& W: J0 L/ `1 i
  38. LibraryName=path_to_libsqlmy_libary
    , w8 ^7 Y& J8 j# W
  39. Active=12 }+ X' M3 c) M* I9 E* g* n
  40. ---cut here---/ G& l) B$ h' W) j
  41. In my environment (a linux box with a MySQL server running locally) I have:
    4 `$ C/ U1 p1 r' u  A* U1 q
  42. ---example---
    - H+ X* m( M! O1 d; z+ q, t
  43. [DBEXPRESS]
    % g1 x1 z- T( D! Z& }8 k
  44. sqldir=mysql_sql
    # ^2 I' |' g9 U4 d8 o, Z3 b6 ^
  45. Drivername=mysql: S' b5 m' j$ E% W& t$ v" g
  46. Database=test( Y/ f" w% s* K# M1 e! b; t5 i! g+ o
  47. Hostname=localhost4 S$ [/ e4 Y0 J- s
  48. User_name=testuser
    ) ?! e* L) |  V  Z7 `
  49. Password=my_password% c# s  u0 d/ O# d. y+ p1 {2 G
  50. GetDriverFunc=getSQLDriverMYSQL
    0 Y+ P8 h& E8 K
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0. a1 f0 p. X+ z/ v3 m
  52. LibraryName=./libsqlmy.so$ w2 E* H: B+ W. ]* [" _
  53. Active=1
    ' J+ T. r! H6 P5 `5 V$ h. [/ J
  54. ---example---
    1 R( S9 Q" F8 E: V/ ?& |! W

  55. : g4 Q% e% \9 B+ k0 r& ~
  56. On a windows box, also running the MySQL server locally, it would be:# E  L9 c8 |) v, |' R% I
  57. ---example---) y4 {/ ^% {9 H6 S; Z) Y3 |
  58. [DBEXPRESS]
    ( D) z  C8 t! b. J
  59. sqldir=mysql_sql
    8 ]7 m7 z9 U8 {' w8 `
  60. Drivername=mysql( X8 Y- o* k5 F) S9 n) S
  61. Database=test
    & z$ q% k  C6 d
  62. Hostname=127.0.0.1' @( V2 |8 k( a
  63. User_name=testuser
    3 m8 ^: p1 m- z3 i" `. |
  64. Password=my_password
    8 \3 o5 X" {: E! f5 W
  65. GetDriverFunc=getSQLDriverMYSQL
    + M4 q% J- q; q  X" w# f2 _
  66. VendorLib=libmysql.dll
      w+ F- ]2 {* F! |1 }  p' N% {
  67. LibraryName=dbexpmysql.dll' x& V1 u& Z1 _# |
  68. Active=1) G: \* Y2 {  \
  69. ---example----! I: Y9 D) D1 F) f) K
  70. - written 02.03.04 by pwk.linuxfan
    : k6 \2 X% `4 e" y# ?" T, b4 r
  71. 7 D/ \2 r, _) u1 @8 P7 K
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
; C" H" b, y7 K/ ^6 ?$ ^, j7 h
  1. + \* p: I: S: b' O8 l: i
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### " c2 _+ x6 Q8 `! l$ x0 ^2 L
  3. / T' B( u( K( `" [. U3 l
  4. # # #我们所需要# # #   p' ?& r4 D6 z
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件9 O6 e) i, h6 a8 {- ]9 T, h
  6. 不会解释如何做到这一点-也有文件存在,为
    . k! N* E/ ~0 ^2 G! N
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    6 d) F  q2 C7 @6 V. s7 d2 C
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    * H! m0 F; A8 T" P8 q
  9. 随着数据库。此外,你需要一个卖方图书馆安装于% |- |1 c6 j) W/ D
  10. 本地机器,这是我的MySQL安装。 3 a. D. O3 m, B! v5 u
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从6 x; r! M3 A* P  g$ G
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL $ z8 ^7 R% f$ @4 p  ~1 _6 E
  13. 数据库。 ' t) k! L) o6 B6 E" E+ c
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ( H9 o" Z$ V: q" J' i
  15. 编写本报告的时候,仍然有太多的问题-检查现状( Q- Z: f0 p. d# I+ t: S+ e
  16. 在teamspeak论坛,如果你有兴趣。 * E. J) X  R! L- f6 v3 T
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    % x7 }8 [6 X4 V) c: Z* a7 z, \: y
  18. Borland公司使用。这个司机只能界面与客户端库0 F1 K# Y5 q! r7 @6 w2 K7 J* A% d% |
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    5 S5 i- L7 e7 T- o. \! c
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    - S+ G8 O5 z4 ~% e  j* ^
  21. " vendorlib " ,并解数据库连接。
    1 X+ i- ^7 P0 }
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 7 ~: ~. g: Q, l  u" B9 L; P  S

  23. & y/ k8 [! P% f- ?5 }6 h% _
  24. # # #做好工作# # # ' I! m* g. I# |, `( I' i
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都7 Y# O; P  ~5 }
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    . |; ^. t$ B# z7 a
  27. 结束:
    & f5 u  f6 G* x& `
  28. ---削减这里---
    5 Y2 u* v, l& n
  29. [ dbexpress ] 0 b4 ]7 k: E! S% r
  30. sqldir = mysql_sql 1 u3 ]- w1 Q1 Z' g7 ~/ d$ ?
  31. drivername = MySQL中# q+ W, G1 f6 M" y" [5 u) a
  32. 数据库= your_database_name_here
    ( @! h( I0 T& f3 W: d
  33. 主机= the_pc_the_mysql - server_is_on ' g* b8 A3 x" a8 h; \& }# B
  34. user_name = user_name_on_the_mysql服务器6 n9 x# S3 y6 v2 o0 E
  35. 密码= password_to_go_with_above_user_name
    1 g8 Z5 u" C' {0 A6 z
  36. getdriverfunc = getsqldrivermysql 2 }- u2 O2 o) f$ T
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    9 s3 {* z$ ^7 A4 m- e0 [2 _# b1 A
  38. libraryname = path_to_libsqlmy_libary   n5 i5 U# ^, m
  39. 积极= 1 5 m: h& H9 ^5 d7 o9 c0 q
  40. ---削减这里---
    / v. k; ]# h9 p: {7 @, `
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 9 {$ z9 [: R7 f
  42. ---例如--- : v( f; Z0 _- [& q
  43. [ dbexpress ]
    % l9 L  F; `8 W& Q
  44. sqldir = mysql_sql " H! y+ i) Q- u, M
  45. drivername = MySQL中
    , g! P( ?+ h. `+ l. k
  46. 数据库=测试
    + u' G6 ^- X6 _6 ~; `
  47. 主机=本地主机
    ! B/ i/ F! _  m# z/ Z+ |
  48. user_name = testuser
    3 i' n& ]" j' _" u
  49. 密码= my_password
    # ?1 i& P6 T- G, j
  50. getdriverfunc = getsqldrivermysql 3 S$ X$ W# w+ r- j
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 4 o: E9 j- l. R4 s+ T* E1 b5 @
  52. libraryname =. / libsqlmy.so 3 x/ z8 \+ h- d
  53. 积极= 1
    * d$ K& G. D( k$ U% o/ ~( e6 z
  54. ---例如---
    ! ^2 w. k. g. m9 O8 E% O

  55. : Q* U: i& r+ c: ^
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 0 g9 Z# U: g( z& I1 D3 t9 Z2 @
  57. ---例如---
    3 E) b. S; ~, {5 \$ m5 H  b4 i
  58. [ dbexpress ]
    3 a; X+ b- ~5 }' v. ?
  59. sqldir = mysql_sql
    ! w& g+ W, [8 T9 s1 [+ ]
  60. drivername = MySQL中
    : g/ ^* N/ s8 l6 {  {( W4 F
  61. 数据库=测试
    ) K! o7 I" q0 ]+ F# [6 n
  62. 主机= 127.0.0.1 4 e! V. v: ]# g1 \8 C2 f! J5 [
  63. user_name = testuser
    0 ^4 ^4 `( U4 j  E$ b
  64. 密码= my_password # ^: r1 ?1 ]  F* V
  65. getdriverfunc = getsqldrivermysql & o  E3 H8 m' r4 }
  66. vendorlib = libmysql.dll在' q" v2 d& m$ @1 s: Q# P( e' T% ]5 A
  67. libraryname = dbexpmysql.dll * e/ S2 v  v: P1 v! t
  68. 积极= 1 + ^: _) K9 q6 l
  69. ---例如----
      ~0 D" o+ z% Y9 g9 V
  70. -写在0 2.03.04由p wk.linuxfan
    0 j/ ?# U2 T4 ~' ~) }+ O
复制代码
发表于 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
2 ~6 Y9 g" i4 H1 `" T6 P" N4 i! ]4 P% ?" j$ e
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-23 07:25 , Processed in 0.062637 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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