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

2059 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 2 \! y- V5 g7 |
# \+ k9 U+ f# N6 ^7 a

  1. ' D5 Y/ d9 L8 Z! ]" a; D3 @
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ( F" x4 O( H6 m. I0 _0 b; j( Y
  3. : z" |# ?. y" ]  W
  4. ### What we need ###- o  }4 T) ~. x/ U: B7 u
  5. Naturally, we will need a MySQL server to store the data for us, this document : c1 D* f  u0 n4 r! z  ]- f  Q4 E% ~
  6. will not explain how this can be done - there are documents out there for the
    , n# o. {8 S! G; O8 U; i
  7. interested. The requirements include a (empty) database for TeamSpeak to use% M+ W: `1 ~$ C3 u
  8. and a user account (username + password) that has the permissions to do stuff9 G4 ^1 G9 V% H( v- F2 \
  9. with the database. Additionally, you will need a vendor library installed on the! ]* B" R" |$ T  ^
  10. local machine, this came with my MySQL install.
    ( P' t4 u( A- P
  11. These instructions will not tell you how you might transfer your data from the6 K: I2 x  M) @9 L! S
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL+ V4 S2 M2 L$ u4 A' o; g& Y
  13. database.$ B+ p0 N! n- ^4 G5 U* b# G
  14. Some users have reported ways to import a SQLite database into MySQL, but at. N( l6 [9 j; Q5 n' W1 d
  15. the time of writing, there are still too many issues - check the current status% c0 a0 ]2 I2 \0 N
  16. in the TeamSpeak forums if you are interested.1 E/ L! b7 U  V
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    6 {$ W* j, Y( n6 V( m7 t
  18. Borland was used. This driver can only interface with the client library that
    * E& W  @& v8 i+ o8 T. T% s$ [
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    + f  S' c: {1 k8 z9 a* y3 Z3 B
  20. client library - basically all you have to do is to use a 3.x client library as ! {$ r: ~; H- T8 G1 B
  21. "VendorLib" and a 4.x database to connect to.
    , t! g' \/ V: ]$ h" |+ n" b
  22. If you need more info about dbExpress, you can contact Borland.
    0 x" i; U. _5 w$ D/ c$ V/ Z! p
  23. ( `% ~! ?  Z$ a6 C& X" n: L
  24. ### Doing the work ###
    / l7 l3 n  v: h! ~
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    8 q  {6 t( s. f; C4 H9 y6 A3 k- D
  26. the perquisites right, just open your server.ini file, and add this section at1 @$ \% f! p! W3 N5 B; |* _
  27. the end:
    . e1 l& `# B6 d2 Q! q4 d) @, r. W
  28. ---cut here---
    # u5 X9 k* V+ @4 [5 t
  29. [DBEXPRESS]" A7 \; s+ @- I" y2 ?7 y
  30. sqldir=mysql_sql9 C/ V4 T% I) K. i
  31. Drivername=mysql2 j0 X  X- X) i5 r' ?
  32. Database=Your_Database_Name_Here
    5 v! M' e: E6 W$ M* R) H
  33. Hostname=The_PC_the_MySQL-Server_is_on
    . Z2 F: A# d" o: Z. P; A% R
  34. User_name=User_name_on_the_MySQL-Server
    ' q$ n" W: y* {. t- n6 [/ ?
  35. Password=Password_to_go_with_above_user_name: b! d) p3 e* a
  36. GetDriverFunc=getSQLDriverMYSQL* A; ~+ w: {# w. O7 c; m  x
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    9 d9 c# l8 Q% P! J) H
  38. LibraryName=path_to_libsqlmy_libary, z( I" q. `7 S6 |
  39. Active=1# n" I3 Z, ^8 W  ^
  40. ---cut here---/ d# B) e7 V: f% N) p' r- Q$ ?; l
  41. In my environment (a linux box with a MySQL server running locally) I have:+ R; O8 i6 P& r% ^# O
  42. ---example---! m, z+ d; o9 o5 V- Q) ]
  43. [DBEXPRESS]
    " \3 U7 `' j: r/ D; K( m
  44. sqldir=mysql_sql
    / M& w7 B$ v5 Y8 K& Z
  45. Drivername=mysql
    4 N" o3 D& }8 Y4 K0 [3 z$ \
  46. Database=test
    $ ~2 g; M/ E0 n
  47. Hostname=localhost
    . I5 @8 h( E( F9 u" N- E" e; h
  48. User_name=testuser8 b4 Q0 ]8 R) i7 l8 e4 _- `( P+ B
  49. Password=my_password* B( K( N$ ?" y( E' J$ y
  50. GetDriverFunc=getSQLDriverMYSQL1 ^% t" N7 |2 Y1 o' M
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0+ Q* g2 G0 l; q: t
  52. LibraryName=./libsqlmy.so2 r  M- F' z5 A) E6 t+ g4 M
  53. Active=12 x" \0 n& n: @& [/ m" C; S
  54. ---example---
    ) x- J- z/ [: h; r7 v" @
  55.   V# k! Y/ e% g: P, v
  56. On a windows box, also running the MySQL server locally, it would be:
    . M, a3 i! S: B8 i/ C* C9 g7 i: A
  57. ---example---1 }3 y7 A' K+ Y+ A+ u6 V- ~
  58. [DBEXPRESS]4 V( `8 s+ k1 Y" N8 a6 H
  59. sqldir=mysql_sql( E$ p  r7 {) s7 Y4 p' H
  60. Drivername=mysql# e( ~8 J1 ^( S1 h
  61. Database=test* [. D* K1 D0 m% P5 u  K
  62. Hostname=127.0.0.1
    5 g* D$ {# G% D3 n- H8 y7 R& E
  63. User_name=testuser7 v3 k6 }7 r* {9 D
  64. Password=my_password" z  a2 N/ o2 s% `6 j- w; D: ^8 c
  65. GetDriverFunc=getSQLDriverMYSQL
    . U: V' ]2 b9 s! t- V; ^
  66. VendorLib=libmysql.dll
    ; M9 a2 Q) }+ l0 U
  67. LibraryName=dbexpmysql.dll0 U: n, R7 B/ [' T" i& a& P
  68. Active=1! h+ v& r- U) X, u8 N2 ?$ P& N4 \
  69. ---example----
    2 Q# {& `* R( k  z5 _
  70. - written 02.03.04 by pwk.linuxfan. `, Q# b5 U  l5 g; b" P, n  z
  71. ( ~" j* U4 s& `. F% B% `) B, u
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
' Z8 ]6 m7 M3 O9 ^; K( L  W

  1. % h# g+ \5 S; m4 n$ f, Q# L- P
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### - t! M; N" |) [' a6 \  {
  3. 2 _1 U% B6 t# F! {9 F  E
  4. # # #我们所需要# # #
    - h4 p+ I9 B" f5 R+ [( A
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    % J9 I# f1 _/ z4 x/ X3 ?8 W5 n
  6. 不会解释如何做到这一点-也有文件存在,为
    ! O: ~; l  R$ A2 Z/ V
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用# p% }6 V, f* B' C: c5 E
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西5 W8 Y# s4 T; v
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    4 R0 A" Y% K: ?& s' T) _2 }* a
  10. 本地机器,这是我的MySQL安装。 5 M! \  A2 A, s+ l5 }
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    8 b/ `) _! R0 [' ?* a4 t: C
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL , R; {# @" ?3 b. X6 y: c
  13. 数据库。   ~& H% [; t$ x0 z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在: f2 w* K! h" b4 v: |6 f1 |
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    : z  T0 ^" G+ a
  16. 在teamspeak论坛,如果你有兴趣。 9 l+ C; J# G8 r9 p: l# M
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机# Z* X6 P4 m* q( f
  18. Borland公司使用。这个司机只能界面与客户端库
    % h+ f6 E- i" [& A
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    - y. Q* g0 Z+ x% j
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    7 \) d/ x3 I  |9 W
  21. " vendorlib " ,并解数据库连接。
    2 \6 i, T2 e  J2 U% P
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 . ~: p. F. f4 n# V* M

  23. 3 B, y( b$ B8 _; x( m% h
  24. # # #做好工作# # # # G( N5 b& n: _( s0 `
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ( Y3 P* J5 R- L0 [# B
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在: R: e5 z% g6 @' T  y0 K4 c: |
  27. 结束:
    . y9 A( N5 Q: h1 c% [/ J6 f' Y. s5 q! w
  28. ---削减这里--- 1 y, w/ r( D! M$ `9 x
  29. [ dbexpress ] . x# E$ Z" w3 \  E0 E  m: n* K. @9 B
  30. sqldir = mysql_sql
    0 ~% i, Y' L; E* t
  31. drivername = MySQL中& ^4 c* p. O# `3 c( ]) H
  32. 数据库= your_database_name_here
    " Y; k6 W- z. S2 m9 Z. H4 E
  33. 主机= the_pc_the_mysql - server_is_on
    4 H+ g3 y; p0 K3 E, T2 o# `  W% G
  34. user_name = user_name_on_the_mysql服务器
    . z3 a' `$ `# M/ L: B. f# v' y+ L
  35. 密码= password_to_go_with_above_user_name
    3 ?! o3 S7 y5 `. }  ]
  36. getdriverfunc = getsqldrivermysql . o- t( n# {+ q$ e
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
      ]& l8 K5 @0 p$ C+ T
  38. libraryname = path_to_libsqlmy_libary
    + r& s  v# G5 P: I9 P+ ]8 K, r
  39. 积极= 1 / L0 w" r9 h" M  q$ ~% Q* |
  40. ---削减这里--- : C* P2 ~: J) ~1 u
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    . g/ s; Y7 p  Z, F) x
  42. ---例如---
    2 ?# S7 e8 t% {. f8 @7 m7 W
  43. [ dbexpress ] : G: M& Q3 S' V" r& c# q; [0 K
  44. sqldir = mysql_sql & |* T: _1 }0 h
  45. drivername = MySQL中6 A: R9 b& V; J! [# Z1 j) F' x
  46. 数据库=测试
    8 C: x  _( l6 D( F$ q2 L
  47. 主机=本地主机
    / s8 J" |1 o7 E' G
  48. user_name = testuser " v: U3 U! t' l: x% E
  49. 密码= my_password 8 Q3 h# H* S2 x/ e4 G
  50. getdriverfunc = getsqldrivermysql
    0 A1 c" y2 l" {4 i: _+ \* n+ s
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 # A; `0 p% z8 j) `5 T% `3 N
  52. libraryname =. / libsqlmy.so
    * ^* Z5 T: [( D( F
  53. 积极= 1 $ N, q5 l* e1 }6 D2 c- [
  54. ---例如---
    2 r, Z! R/ w8 h( W9 Q7 v
  55. + a8 s; t0 P' j% p+ q3 b- |
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ) _, S, G% y6 o4 w  W+ _7 g, m2 M
  57. ---例如---
    + b$ Y: \% V2 I2 C7 J! E
  58. [ dbexpress ]
    5 y5 D; }5 s2 k7 p9 x; L$ L
  59. sqldir = mysql_sql
    . e) q/ o( ~. \9 b4 U" T
  60. drivername = MySQL中$ {" u7 f$ o! e0 I, F
  61. 数据库=测试
    , A3 p; b8 H; H; V6 u- n
  62. 主机= 127.0.0.1
    + R0 X0 f) n' Z  Z5 w. {( F
  63. user_name = testuser ! h: c/ g: ?% A, Y$ O
  64. 密码= my_password : B# W) s2 I' ~5 L
  65. getdriverfunc = getsqldrivermysql
    + a+ R8 P. @$ z6 W' U8 t. [6 s
  66. vendorlib = libmysql.dll在
    0 G4 I+ q. ~" i8 b- B& B6 x' f
  67. libraryname = dbexpmysql.dll
    ; S8 y5 N' f0 d) U) w$ `9 A
  68. 积极= 1 ; z$ n  y) k0 K  w9 g* X/ \' \
  69. ---例如---- 2 U5 ]9 h' }$ [& l
  70. -写在0 2.03.04由p wk.linuxfan3 h" o9 P( N- D4 B$ u& D! h
复制代码
发表于 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 words6 {% u; C6 X6 j

1 b; p& _4 C: S6 J8 Gbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2025-6-8 06:37 , Processed in 0.106050 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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