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

3123 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
: Z  r. B/ z4 @. Q6 y7 G& H! _9 Q, ]3 Z. E  X5 X6 J1 h" F

  1. 9 O; c$ U8 @8 R9 G0 |4 J
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######- I+ e; y2 r- R1 ]7 e) ~- N5 X

  3. - J  r  S& B8 n4 {1 O
  4. ### What we need ###4 `' W( @( s* Q) i' S
  5. Naturally, we will need a MySQL server to store the data for us, this document
    1 k  x& \& L1 p
  6. will not explain how this can be done - there are documents out there for the , {" I3 ]( ^& E# T' g& L8 ?7 l
  7. interested. The requirements include a (empty) database for TeamSpeak to use# e) i& L  [6 S& g2 a! H# X
  8. and a user account (username + password) that has the permissions to do stuff8 V4 w' ]/ _" A5 l4 g
  9. with the database. Additionally, you will need a vendor library installed on the9 d; i& F0 u; n, y; b/ D
  10. local machine, this came with my MySQL install.
    & K  h: c) m" G9 a/ \8 D1 x: R
  11. These instructions will not tell you how you might transfer your data from the" r) \: l; L# I
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL8 ?9 s# X% U& P7 h7 U9 T
  13. database.
    & b# |+ A3 }$ r4 R* l5 W, _
  14. Some users have reported ways to import a SQLite database into MySQL, but at& y* z% R/ O) o7 D
  15. the time of writing, there are still too many issues - check the current status
    , ]' S# e; W3 g  n' [0 J
  16. in the TeamSpeak forums if you are interested.
    ) N6 l. X" n% e
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    $ C& Y' m2 j8 h/ L
  18. Borland was used. This driver can only interface with the client library that $ I5 s1 d; f! J+ G3 Q
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    . Q* L" ~2 b3 ?; Q, Z# Y
  20. client library - basically all you have to do is to use a 3.x client library as
    3 A3 ^: s' r$ u' l
  21. "VendorLib" and a 4.x database to connect to.
    , ^- _. k: L: |( `( T( s( h6 }
  22. If you need more info about dbExpress, you can contact Borland.3 t) t" N6 ]5 P/ J# W1 E6 Z3 P
  23. 5 a5 S& Y7 q- V+ s
  24. ### Doing the work ###/ U& J* M% K1 [8 t8 k2 r9 K2 a
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    + I4 t5 }7 w! Y4 y
  26. the perquisites right, just open your server.ini file, and add this section at! M3 P2 x/ I( Z, K3 J1 W- t3 o5 }
  27. the end:* L1 C+ c8 f1 C
  28. ---cut here---
      ]# d0 G* y' M& }" ^, C9 }
  29. [DBEXPRESS]- u4 z5 ^9 w  d4 m/ K: i
  30. sqldir=mysql_sql
    : V- J- y7 |) @' \
  31. Drivername=mysql
    1 f% h: U9 g5 ~& _
  32. Database=Your_Database_Name_Here
    / N+ m. Y9 z+ W( U% }- s0 x' R
  33. Hostname=The_PC_the_MySQL-Server_is_on
    3 N. a  G7 r0 `% E# I
  34. User_name=User_name_on_the_MySQL-Server) O8 B, K; a) P+ g- a! ]6 b
  35. Password=Password_to_go_with_above_user_name( k* L/ ]* W5 X' m
  36. GetDriverFunc=getSQLDriverMYSQL
    6 A& p$ D9 t  ~& v, d
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib* _& v& t4 l0 I' V* b' {: w
  38. LibraryName=path_to_libsqlmy_libary9 P6 l" a2 ]4 o/ K
  39. Active=1
    5 @! g! T$ D( P
  40. ---cut here---
    & A: T+ f5 p3 F* w
  41. In my environment (a linux box with a MySQL server running locally) I have:5 i: {& }% {# X6 W7 w) \
  42. ---example---
    1 v$ j; _# D$ l* }
  43. [DBEXPRESS]  X, i) ~! P: `: X$ l; |
  44. sqldir=mysql_sql
    * j$ d9 K2 c2 k; U0 b. S( U( b
  45. Drivername=mysql
    + c6 r4 F  N% n- k8 H/ L* w
  46. Database=test3 U% v$ y1 e+ G, [# p! q
  47. Hostname=localhost+ R' u4 }0 ~* z& d* U% M
  48. User_name=testuser
    ) |; i9 R/ S6 Q8 b  d; Z
  49. Password=my_password
    ! o# O1 V9 d' `3 T
  50. GetDriverFunc=getSQLDriverMYSQL9 }9 `$ X0 L, i$ }
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    3 V4 H9 K& L+ [$ h7 Q; V
  52. LibraryName=./libsqlmy.so
    ; F* y- Q$ E! q# F1 o
  53. Active=1
    3 N% z2 `: K  n# R2 U% b, |7 p6 h% Q
  54. ---example---1 o% U2 ]1 `6 w/ N5 ~# q7 f& b
  55. . z4 z% f: L1 D5 ^5 A# i, ~
  56. On a windows box, also running the MySQL server locally, it would be:3 C2 [5 R1 f5 ~2 V# U) S
  57. ---example---
    ' b% o' q5 Q8 `
  58. [DBEXPRESS]4 f8 {  q2 R3 ?% _
  59. sqldir=mysql_sql
    ' j2 @+ B1 v' c' |5 ^: Q
  60. Drivername=mysql
    - d2 [5 P) \4 t. L
  61. Database=test
    / i9 N2 q; p% i$ w, P9 S8 M+ o
  62. Hostname=127.0.0.1
    5 y$ V, Q. P# N, ~5 I
  63. User_name=testuser+ h5 ]% S' \' p) E: t
  64. Password=my_password+ S: i: B& H4 J9 A. h( h6 A
  65. GetDriverFunc=getSQLDriverMYSQL
    ' y0 Y7 p9 W- H* \2 r
  66. VendorLib=libmysql.dll
    # q1 u, u4 v& m0 @  [2 h8 k8 Z: F
  67. LibraryName=dbexpmysql.dll
    : S, O7 |" P$ W( c4 |
  68. Active=1
    $ X. v8 ~5 w: M& p- x
  69. ---example----
    4 e% _8 x- [( z- Z
  70. - written 02.03.04 by pwk.linuxfan
    % |1 ?! z; w; p0 X% p" Q5 E
  71. ) N& o: s- s1 m$ w: T+ ]
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
/ o6 y1 _5 D/ e$ H7 W1 _

  1. # e6 X( w/ G# e5 s2 T
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    9 q5 j6 m( f* W% m
  3.   M5 D" A( \8 O( B' O& }
  4. # # #我们所需要# # # 8 r& O! C6 f/ V5 N6 M! M1 P6 ~
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ) M' n6 t" x* l
  6. 不会解释如何做到这一点-也有文件存在,为% y; v( F; l. E) ]2 t
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    . _5 d+ |/ T0 {5 z0 V/ g1 d4 s
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    & a6 F# F2 _; x+ k
  9. 随着数据库。此外,你需要一个卖方图书馆安装于; M2 ]2 ^# F1 A9 {, p% X9 ?
  10. 本地机器,这是我的MySQL安装。
    0 b, F! ?) Y1 K! b6 i
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从. _  g( V0 {" y, b  b9 R2 g6 q! q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    * M$ V+ l9 L3 @  S
  13. 数据库。 # L# a; g6 K7 a" B# G
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    9 L" D( o% H* E7 G
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    / \5 y: m% M. ]: [9 c$ c- J" J
  16. 在teamspeak论坛,如果你有兴趣。 8 a1 l, ?( \1 e/ \% V/ N1 U" G
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    0 M6 n4 n, d2 ^
  18. Borland公司使用。这个司机只能界面与客户端库' h0 |" ?% R( N+ {% U
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    3 E, ?2 `, u* ?
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为0 y1 e2 ~6 M3 d- F2 t' o8 N
  21. " vendorlib " ,并解数据库连接。 5 }- C" f6 \3 E! w4 l! ^
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    * B0 c5 }: J- O

  23. 1 S: p2 e3 L0 o( g. C6 A" @" @
  24. # # #做好工作# # #
    & Q5 Q  k: P% B6 F" F2 m
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都% z: x  S8 M1 C4 g! y" z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ' y/ F4 A6 ]/ j; }. R6 M
  27. 结束: & J9 s4 i3 q* F* B
  28. ---削减这里---
    ( z3 N% S- f7 f5 A. l
  29. [ dbexpress ]
    & N3 }0 m+ d7 @6 M% s
  30. sqldir = mysql_sql 8 T- Y3 P7 |, ]- S* N) p. m+ G( k
  31. drivername = MySQL中, a6 J2 a5 k5 H# ]4 w
  32. 数据库= your_database_name_here
    , S7 g0 {) K2 E1 ~4 x
  33. 主机= the_pc_the_mysql - server_is_on   G% k+ q0 S, ^/ x% m' q4 w9 I" d
  34. user_name = user_name_on_the_mysql服务器
    + n" ]9 C4 O$ }2 o; x- r: x6 s
  35. 密码= password_to_go_with_above_user_name ' t% O3 k" ]' c
  36. getdriverfunc = getsqldrivermysql
      o8 U/ D2 f! T! _
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    * [; X+ O; v/ k* b
  38. libraryname = path_to_libsqlmy_libary ) f; L( f  K! q/ u% C6 a
  39. 积极= 1
    / d% t7 E0 J4 C* g, ~9 V; K
  40. ---削减这里---
    , r2 J+ ]* t1 ?$ W0 a& Y% R
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    # j) Z. Z. @( M4 D9 X, m
  42. ---例如---
    5 d. b* W/ i1 p* b' A
  43. [ dbexpress ]
    9 m! q! s  \2 N  _
  44. sqldir = mysql_sql
    + J4 E1 y6 w: _" @4 t: I4 X# ?
  45. drivername = MySQL中! o" X- C) Y' w7 T9 d1 P
  46. 数据库=测试
    7 c1 U" Y! W. E
  47. 主机=本地主机. h' q# }2 N# H1 o
  48. user_name = testuser " ?  c4 H3 u, N) _; z
  49. 密码= my_password
    7 s  J5 u' t: z9 v/ a  n; t4 r
  50. getdriverfunc = getsqldrivermysql / L: f4 [% W  x* y! [% n
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0   a' y9 z4 W# R4 \1 D
  52. libraryname =. / libsqlmy.so 8 J# ]# I! }# o" _9 M" x0 n- [0 Q% }/ V
  53. 积极= 1
    ) N7 T8 R6 b0 w" ^5 S8 P# v
  54. ---例如---
    : V: C% L3 X# K

  55.   `2 p: U$ B2 v- F4 K: ], z& W; v; N
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ) E+ I: p& q, i& [: A& d' u
  57. ---例如---
    3 m0 R9 S. X2 Z5 X  j5 x
  58. [ dbexpress ] " a3 Z9 Y% |6 G3 {( q* a
  59. sqldir = mysql_sql * x5 Q7 M% E3 X; W, n- |
  60. drivername = MySQL中+ j2 V' W9 |  [( K2 T
  61. 数据库=测试
    " S7 F( W8 o6 B% O
  62. 主机= 127.0.0.1
    . j. m* k, P# K% n% T8 v
  63. user_name = testuser
    & q9 }* l1 `2 D6 [. k
  64. 密码= my_password 8 e8 W' U1 o0 J/ B7 w7 V# d
  65. getdriverfunc = getsqldrivermysql 6 J# R4 p8 m. D. a$ W
  66. vendorlib = libmysql.dll在/ T6 ~8 A* m8 D$ I7 F! z7 ]
  67. libraryname = dbexpmysql.dll
    ( ]( `, r; J% Z0 A! I6 E5 v7 i
  68. 积极= 1 " m4 h8 R- D. ]3 }; x. r
  69. ---例如---- $ V8 F) o, n4 c: D7 N' |
  70. -写在0 2.03.04由p wk.linuxfan- c6 k) T, J0 v, G$ a" C- K
复制代码
发表于 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
& L/ y. Y; w! \( d0 U) ?4 X, B8 b( ]
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-5 22:37 , Processed in 0.103232 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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