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

3165 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
4 X$ }+ u$ @% P
) H9 L0 X5 v# L9 m

  1. ; T; q3 N0 B9 E8 N3 C0 \; L
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    : d1 y/ ], r& I3 G/ d% _# I
  3. ; C6 W+ L3 J& z2 x7 X7 l  {
  4. ### What we need ###
    - F  I* c4 {2 g3 u0 S
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ; d+ B/ N1 T& b, }9 {- {5 k
  6. will not explain how this can be done - there are documents out there for the
    7 D0 g- `' y- C; z# n
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ( {, I3 i5 M" X7 k
  8. and a user account (username + password) that has the permissions to do stuff
    $ {( Y" D% m; w
  9. with the database. Additionally, you will need a vendor library installed on the
    - y# K% j2 [- p4 w! _
  10. local machine, this came with my MySQL install.
    & Y# v3 ?5 P: ?& c  `' a/ T- k
  11. These instructions will not tell you how you might transfer your data from the
    # z8 B- r. O/ l$ F/ O3 r1 A
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL! a$ B: W+ b# L
  13. database.
    ; v4 A$ C' ?# J; V5 [$ k
  14. Some users have reported ways to import a SQLite database into MySQL, but at3 B2 G2 B# l) N. q# a
  15. the time of writing, there are still too many issues - check the current status
    7 [# X- x/ z- v0 S- B! G
  16. in the TeamSpeak forums if you are interested.
    ( J- K* d! f2 W; S
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    * ?8 F* @0 Z1 ]% z
  18. Borland was used. This driver can only interface with the client library that 9 F' Z2 `6 V* v! z8 |1 B5 {3 C
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    1 `6 e  Q1 ]  K- f: c* i, i  c% y
  20. client library - basically all you have to do is to use a 3.x client library as
    ' z" E: w) u" |! i4 ?7 j' g/ a+ P
  21. "VendorLib" and a 4.x database to connect to.
    / ?' A! {  f: L5 j
  22. If you need more info about dbExpress, you can contact Borland.# X: \' Y8 T6 {; w

  23. 5 u, ~$ a, p9 I$ w& Z
  24. ### Doing the work ###) a# p% L+ @( ]9 _9 V0 j' Z/ ]8 k
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    8 m* s! Q4 z$ ~2 F9 [" o+ `, U
  26. the perquisites right, just open your server.ini file, and add this section at; X2 I8 _, P8 i+ s" ^5 \
  27. the end:4 z  T- X, G' p( _& _( f
  28. ---cut here---: S+ |1 ~3 _% W; m
  29. [DBEXPRESS]
    6 W/ \2 s7 r( R# o
  30. sqldir=mysql_sql
    8 C# H& s3 Z; \
  31. Drivername=mysql
      ~7 G9 R4 r1 `8 g: T- ?
  32. Database=Your_Database_Name_Here2 v! R. B. O0 v: a
  33. Hostname=The_PC_the_MySQL-Server_is_on
    / x: k* G. a' }: Y5 m$ I
  34. User_name=User_name_on_the_MySQL-Server- ]8 J& [: x! E( C6 k2 U1 ^( P; G
  35. Password=Password_to_go_with_above_user_name
    ; \# v+ Z+ R. O9 w5 x
  36. GetDriverFunc=getSQLDriverMYSQL- ^( a# z6 t+ O) |
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib9 b- k( a/ b/ E2 O
  38. LibraryName=path_to_libsqlmy_libary
    5 F- k6 A! i* [% X0 ~. m
  39. Active=15 z9 f+ \4 \' L7 }6 S  I
  40. ---cut here---
    : \; d9 J2 \4 o: M! s/ m
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ( G! z& l  t8 Y  V% F: h
  42. ---example---5 ^' _) J, \: F; B6 w6 u
  43. [DBEXPRESS]
    " R& v$ M+ Q* G2 {
  44. sqldir=mysql_sql4 p8 Y; t5 b* V
  45. Drivername=mysql
    9 j( W; `2 I) z
  46. Database=test1 B# m9 g: X! f/ f% k
  47. Hostname=localhost  h* B! m0 G7 J1 ?0 z5 n
  48. User_name=testuser
    7 x7 X6 `2 f3 p/ g6 _+ C
  49. Password=my_password# Z$ P5 X  o& v) L* z
  50. GetDriverFunc=getSQLDriverMYSQL
    ; x$ I9 ~8 c! ^+ {4 A$ H
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    2 V* q' ?/ X2 w
  52. LibraryName=./libsqlmy.so
    9 Q1 V; ~' r9 p; u* c- b
  53. Active=1) s: v: \& ~* o2 p
  54. ---example---
    2 C. ?* |, P6 y! S

  55. 4 J- m1 i+ _( q( ^
  56. On a windows box, also running the MySQL server locally, it would be:
    " v  ?  ]) L( K+ {+ Y4 N! @
  57. ---example---! |+ O7 |, ]9 l7 ^5 q
  58. [DBEXPRESS]  M- X3 N, j6 U8 v" S
  59. sqldir=mysql_sql/ B4 _* ?3 M8 S
  60. Drivername=mysql
    + L2 \* x0 G7 a0 t* t
  61. Database=test5 {, n% N0 f' `3 ?
  62. Hostname=127.0.0.1) `3 a* @. X% Y3 u
  63. User_name=testuser' d( x; Q2 O6 C
  64. Password=my_password
    8 D; R$ J1 ^3 ?' x0 c9 d' V  T: R
  65. GetDriverFunc=getSQLDriverMYSQL
    : t' d+ F# C5 f
  66. VendorLib=libmysql.dll
    6 ?/ ]2 R- Z- r, V
  67. LibraryName=dbexpmysql.dll$ d! a6 s, q! o
  68. Active=1
    2 `* w, U; c7 }4 \, N
  69. ---example----6 j. R$ d/ m; O$ U
  70. - written 02.03.04 by pwk.linuxfan- Y9 t" x" y' o( c+ k

  71. + V& b4 v8 W, C0 P  ]( D
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看0 g: u/ D' n; ~& X! u8 b

  1. 2 T* c0 t1 Y( J+ A1 q9 y3 x: Y
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    % _+ e- r8 n/ A$ U$ O: `. t1 c
  3. 7 n# r0 F1 n) {( l
  4. # # #我们所需要# # # 5 e& V/ B/ \$ G
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    * W6 G7 ]6 M& d7 X
  6. 不会解释如何做到这一点-也有文件存在,为
    ) p! C. }/ s" D7 S! J( o2 j
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用6 a1 F0 u0 c  n
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西0 L* Z7 F2 f  a3 d' `6 k( q: j+ s
  9. 随着数据库。此外,你需要一个卖方图书馆安装于3 \4 H# G; f+ F+ f3 `- H
  10. 本地机器,这是我的MySQL安装。
    % y* t6 E" Q  |. v! E- i9 m/ m/ e1 @
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    6 L6 x, s8 n; z# d/ C& [: x3 m
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    5 b. y6 S2 z; T
  13. 数据库。 0 w) |3 E7 ]: @' T: e
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在: y$ `; v8 A; E- G& c1 }- p2 u* [
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    . ]; h3 B; g! M- V. ~9 K- O; W, H8 [' @
  16. 在teamspeak论坛,如果你有兴趣。 * ?* z! J6 V7 s
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    % s5 ^7 P5 ^* R( K& w/ _
  18. Borland公司使用。这个司机只能界面与客户端库
    # m, n* K; M2 M& r& K& m
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这$ w% e9 |* r/ ~6 \5 e: g7 Q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为+ h  l9 M, ]: q6 T% ?2 {. ]
  21. " vendorlib " ,并解数据库连接。 ! {9 g- \! ^5 A" Y1 h
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 % b+ h3 T$ r3 k" V! w8 n
  23. 9 j5 A$ S, }$ y, W
  24. # # #做好工作# # #
    ! o& p  P; V' Y6 @
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    4 c3 C0 i$ [% K5 [2 \
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在$ _* ~3 s5 X3 a6 i
  27. 结束: & Z* J+ |3 a1 n& ^. O
  28. ---削减这里---
    ' \6 J6 {1 l% K3 ?7 t
  29. [ dbexpress ]
    - m. {/ B' i! j9 W! @
  30. sqldir = mysql_sql - u  m" k* E* q7 q' u
  31. drivername = MySQL中
    9 j1 B4 |, Z) f) z, g* _
  32. 数据库= your_database_name_here
    : r1 e0 D& T: U( U  ?
  33. 主机= the_pc_the_mysql - server_is_on 5 ^6 ]+ A2 p' Y4 x! t
  34. user_name = user_name_on_the_mysql服务器: @* [1 U- E; S1 F7 L" T# a
  35. 密码= password_to_go_with_above_user_name
    & }6 C# P1 u1 L! X  L
  36. getdriverfunc = getsqldrivermysql 9 a5 P# ]. C- ~' F; ^
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    2 p! e: h. S* d
  38. libraryname = path_to_libsqlmy_libary : R3 b+ \7 `* d8 T3 B
  39. 积极= 1
    . d4 a; k$ g+ D& }
  40. ---削减这里--- % y/ G9 }) O- p
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: . m0 Y6 n9 [/ @+ B* z* ]# i6 |
  42. ---例如--- 0 Y& Q4 e# Q# m/ o/ t3 F9 m4 B
  43. [ dbexpress ] % Z( f7 r& N, h$ T$ H- E1 U, o; D
  44. sqldir = mysql_sql
    - k/ r' _* \1 W
  45. drivername = MySQL中0 B. j( c0 ~$ P! ^2 B: d
  46. 数据库=测试
    * _4 \; A/ ?. m6 h* D
  47. 主机=本地主机
    3 k9 x4 ?. s4 ~* W
  48. user_name = testuser   j) z6 n1 J6 D% w
  49. 密码= my_password 1 a1 {1 w# T9 R! ~8 w! w3 T7 I
  50. getdriverfunc = getsqldrivermysql : g2 P3 |% A' P  b
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ! ~6 ?% p9 y0 {3 r! W
  52. libraryname =. / libsqlmy.so 7 B2 l6 q3 o  ?( e/ ?; H( O1 P
  53. 积极= 1
    ; I9 k1 X4 y& n& g8 h; p
  54. ---例如--- & r+ N( G% Z  x% \: p/ K+ R

  55. $ T4 a" F! `. D& O% Y" _; @
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ; r% b4 f/ p7 Q: P9 y4 [
  57. ---例如--- 3 J7 O% A7 a& U; `
  58. [ dbexpress ] # v' L* H, m/ v7 ^  b6 n) g
  59. sqldir = mysql_sql
    6 l4 g3 C2 T7 ^% i6 U
  60. drivername = MySQL中. H# `$ e4 N4 l( U7 v
  61. 数据库=测试2 ?" p; {, g  g0 o% O7 F2 v8 ?
  62. 主机= 127.0.0.1
    / J3 ]4 P, b6 i' ^- y0 c
  63. user_name = testuser
    2 K% _" F1 @  h2 P3 _' u7 F: i: A2 p
  64. 密码= my_password 4 N5 J: J1 l+ I
  65. getdriverfunc = getsqldrivermysql ! ~7 ~1 A% n4 s% X: l5 b
  66. vendorlib = libmysql.dll在1 f4 ]6 A+ T4 y2 v
  67. libraryname = dbexpmysql.dll
    # L2 c9 N" x4 F1 j
  68. 积极= 1
    % [  F; G) g" \
  69. ---例如---- ' o# m% d7 m* V- ?& L7 G; @) G
  70. -写在0 2.03.04由p wk.linuxfan/ j8 ?. h% ~! v) b* ]* X( F- `2 D
复制代码
发表于 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# t. V- q2 I$ p9 y3 w

, C; ]5 c) I0 C1 L1 P5 Bbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-15 06:45 , Processed in 0.108698 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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