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

2228 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 0 a& d& f9 T# ?4 g  T' ]$ z/ l

1 |. q. b3 ^( _. U+ E5 P

  1. ' M: Y: j( w- a: ?; k
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    $ P; h6 q9 U/ Z! t0 l4 `

  3. 2 C4 v& U" C1 ?5 ?& o
  4. ### What we need ###% q& t, s; O+ `: k1 [8 Z1 X
  5. Naturally, we will need a MySQL server to store the data for us, this document 3 z) {4 H4 R, f7 x4 l& S* i. O
  6. will not explain how this can be done - there are documents out there for the
    + M4 W! M: }6 @" E2 X& J! n3 Q- T3 |6 F
  7. interested. The requirements include a (empty) database for TeamSpeak to use8 P# D: U) e6 h( C
  8. and a user account (username + password) that has the permissions to do stuff2 Y* l3 ^) M( l$ d9 N+ Z
  9. with the database. Additionally, you will need a vendor library installed on the
    $ t# N  d. z* }- y$ K; u
  10. local machine, this came with my MySQL install.
    1 M# O3 F) ~; t  i
  11. These instructions will not tell you how you might transfer your data from the
    1 p$ Y  O: e: {  p  j3 g
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL3 e5 D5 a. ?( T- n
  13. database.
    ; f. i9 m* P0 i. {6 h' q4 _
  14. Some users have reported ways to import a SQLite database into MySQL, but at; q! [1 t$ D4 G5 R; @* T8 A
  15. the time of writing, there are still too many issues - check the current status
    3 \" S" Q2 V3 O) Q, q( N9 y
  16. in the TeamSpeak forums if you are interested.
    7 {; G8 p$ T7 e. V
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    6 n/ C! n! T* C9 H3 g& ?4 F1 \
  18. Borland was used. This driver can only interface with the client library that 8 n& o9 H! E( x4 C- ]. D1 j
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ( K6 w7 Q  A$ e
  20. client library - basically all you have to do is to use a 3.x client library as 1 h$ j: F) D, {# b) K2 [2 V
  21. "VendorLib" and a 4.x database to connect to.* l( O( G  U& J& I2 e; z) }  y5 A
  22. If you need more info about dbExpress, you can contact Borland.
    6 ]- n7 _6 U6 U3 X9 L

  23. , ?2 q; g- |$ q! X2 w
  24. ### Doing the work ###
    ) @) C" m: i4 f8 n1 h; }# u5 o2 G
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all0 o  H0 n8 H% x, i2 I
  26. the perquisites right, just open your server.ini file, and add this section at& [$ X+ P5 t  c8 }  D
  27. the end:/ J; Y  u1 d7 _' {4 ^
  28. ---cut here---
    * Y. c) ]5 G6 }
  29. [DBEXPRESS]
    6 G4 U* S# K1 T
  30. sqldir=mysql_sql# \5 }, o& ^% X& c# v
  31. Drivername=mysql: t# x% e" k3 T4 d
  32. Database=Your_Database_Name_Here
    1 ]( I0 `* H  S  `7 P+ @2 v5 M
  33. Hostname=The_PC_the_MySQL-Server_is_on$ [# \3 x, U3 }9 i8 ?: t
  34. User_name=User_name_on_the_MySQL-Server7 q3 M% q$ p% X8 `1 B3 O  l" y
  35. Password=Password_to_go_with_above_user_name& Y% s4 i/ R* E4 c$ l" d2 I
  36. GetDriverFunc=getSQLDriverMYSQL
    2 K# ~0 x* i- |$ ~$ c1 w
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    - S/ r+ P' s/ g8 z
  38. LibraryName=path_to_libsqlmy_libary
    ' v$ h& O' [# V2 X+ ], Q" ~
  39. Active=1
    5 |5 X2 r% S! Y/ T- A% Q
  40. ---cut here---
    : S+ e0 E% a4 F
  41. In my environment (a linux box with a MySQL server running locally) I have:/ D5 @$ o/ S9 n1 b
  42. ---example---$ |. }( r* y" {! @! K. g' E
  43. [DBEXPRESS]
    ' F/ N) v# l& g. l. w
  44. sqldir=mysql_sql1 ^/ a' G) f0 b% F# Y4 I) d  Z3 h
  45. Drivername=mysql- x3 |2 j. O4 a9 U7 S! ]0 [# L
  46. Database=test
    + A& D4 t2 Q3 a4 k' U" I
  47. Hostname=localhost5 G& r& \6 y% D6 G6 z; N+ T, ^" W
  48. User_name=testuser5 Z( P* z, w% Y9 \0 k
  49. Password=my_password; A2 A0 e- i6 i2 Z6 _' L
  50. GetDriverFunc=getSQLDriverMYSQL
    : S- H: Q: q$ F( i* X6 K
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    % Q  N" _7 W4 i, s  ]! p
  52. LibraryName=./libsqlmy.so
    9 Z4 W+ Y9 a4 j3 Y# S9 B& r
  53. Active=1
    8 K- e1 I+ l) F
  54. ---example---; ^  E8 Q4 e+ K1 c; Z

  55. ' r( P1 B6 i% Q2 e* |/ B6 x7 V7 x8 [
  56. On a windows box, also running the MySQL server locally, it would be:
    + E: q/ O, x/ K3 ]
  57. ---example---" x+ Q- a. r; ~; E- g( M
  58. [DBEXPRESS]
    ; V, Q( u; Q9 ~- p) W
  59. sqldir=mysql_sql
    : [4 `( i. b1 a, o
  60. Drivername=mysql" k% @- C$ l- W
  61. Database=test9 |8 _4 f+ w4 `. x! W- X
  62. Hostname=127.0.0.1* A5 t1 k8 ~$ I( n1 |' ?. J; G0 _
  63. User_name=testuser8 ^$ M+ M7 }/ O) f) o; g3 F; x
  64. Password=my_password
    7 a4 t% F, j$ z2 _9 e3 a/ \  Y1 W
  65. GetDriverFunc=getSQLDriverMYSQL& j" p8 h0 j5 r
  66. VendorLib=libmysql.dll
    : X5 B3 L2 _: O: x
  67. LibraryName=dbexpmysql.dll
    / V( o  p' Y3 @3 T4 b/ `
  68. Active=1
    2 G( L1 P5 d7 n( k" \7 ?$ b" [" U
  69. ---example----
    4 d" ]6 M  ?+ r( s( I
  70. - written 02.03.04 by pwk.linuxfan
    : L/ N) ^. H9 ?" C

  71. # Q+ s( X1 F& y% V
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
& e$ P) o8 I$ V7 d4 o1 r+ o

  1. ' V$ J; @+ B" s7 K8 |
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### / Z6 q/ D4 W+ _% ]9 C5 c

  3. ( Y. L$ N: D- j) v4 k1 }
  4. # # #我们所需要# # #
    ! H2 p- p! {9 ]% @7 O4 o/ l; }
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件! v/ W( b6 r2 k1 [+ R8 x
  6. 不会解释如何做到这一点-也有文件存在,为! x3 X+ Z) F* K. u# z1 A/ a% r
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ( s$ k+ {8 x4 r9 i% ^
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西2 n: Y  h7 c- `: K; O' ]
  9. 随着数据库。此外,你需要一个卖方图书馆安装于7 O- I+ ^, D. z, z, {- o: g
  10. 本地机器,这是我的MySQL安装。
    ! ?6 Z' [3 C9 w
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从1 F: I  a# u9 K+ G: l' y
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    " K3 M% ^1 G' L2 B$ \
  13. 数据库。 7 F& h" c3 i* D/ x) q5 ]
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在# h) ~7 r, z% K; Z: c0 j: D( v. n
  15. 编写本报告的时候,仍然有太多的问题-检查现状: d/ G- m9 l; F& @; @" l3 Q
  16. 在teamspeak论坛,如果你有兴趣。 3 ~) C. ]5 f, w* ^* i/ r( ^. _# u
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机* m( z; G: p! k
  18. Borland公司使用。这个司机只能界面与客户端库
    3 N4 R  m- P( |" V: B/ a
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    3 f* J/ d5 x5 P1 U: D( D; m  |
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    9 o$ M/ M( c4 R) i
  21. " vendorlib " ,并解数据库连接。 8 |7 Y' \6 {4 g+ ^$ i2 ]! }
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 6 Y. b5 E- D% [. t0 y" y8 Z1 W
  23. * y* b0 b3 G/ L# [# P. |3 |
  24. # # #做好工作# # #
    ) b+ ~4 H' q4 P- _6 P* _
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    , W0 ?& q) k+ R% X- A
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    - E3 v5 V" X* }% T4 \
  27. 结束:
    # `; |7 N' `# N  t
  28. ---削减这里---
    9 w" z  {/ s. ^: o2 Z  x
  29. [ dbexpress ] + D9 c- s1 Y* ?
  30. sqldir = mysql_sql
    & @* z. A; k: d# p7 W" l
  31. drivername = MySQL中
    & x& f% @& V' w7 h
  32. 数据库= your_database_name_here
    9 A2 \, s, }+ x5 K
  33. 主机= the_pc_the_mysql - server_is_on
    , ^  O' e, I3 d. b/ G5 b% O# u
  34. user_name = user_name_on_the_mysql服务器
    & X/ z% f" U/ z4 o
  35. 密码= password_to_go_with_above_user_name
    ! w7 T1 P# c( @; _4 Q( I
  36. getdriverfunc = getsqldrivermysql . m& S) P& y3 l' e6 v
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib - {" F' i( p0 b) J
  38. libraryname = path_to_libsqlmy_libary
    " A9 {2 p9 |* C' }9 r* V1 |
  39. 积极= 1 2 Y& b. d* d$ `0 w
  40. ---削减这里--- ( @" k) h: I" I9 a8 C& u$ d; f
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    # q5 s5 D/ C3 I8 L
  42. ---例如---
    6 F2 k" W9 r  D5 A! M6 F6 A5 G
  43. [ dbexpress ] / Z0 R& g  B. L4 B: |4 B& @/ O+ o# R
  44. sqldir = mysql_sql
    0 N1 y7 |: p8 N& v- Y" U1 T
  45. drivername = MySQL中
    + c& l" l  ^/ t& t; F( h4 t
  46. 数据库=测试
    ' `, C% A2 W9 [8 E, W1 B1 h  e
  47. 主机=本地主机
    6 W" e( t8 \! o. q, U0 o
  48. user_name = testuser 3 H( V9 x7 u  ], ^% D
  49. 密码= my_password * \# b; ?' k9 s( C/ c- F! H
  50. getdriverfunc = getsqldrivermysql + I5 h* W- e7 @
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    . A0 E5 W! \% r
  52. libraryname =. / libsqlmy.so
    & p/ W% V* X( Z; h+ N6 t1 }8 c
  53. 积极= 1 % Q' ?$ [! ^* `/ G
  54. ---例如--- , V! u% ]! C: K
  55. 5 j. z" g4 }; m# P7 d0 u
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    % m( K% u, i, F1 N7 l" l' Z3 |) M
  57. ---例如--- . }! _& Y: K4 I2 O
  58. [ dbexpress ]
    # W. \) {8 T" L
  59. sqldir = mysql_sql ; C7 ]& D0 ~, p" L
  60. drivername = MySQL中
    0 r5 V  M8 d- V1 R6 S, P# v
  61. 数据库=测试4 S2 Y5 c5 L  P! T: o. {, }% r1 J
  62. 主机= 127.0.0.1
    : J* U1 m/ p2 T7 M
  63. user_name = testuser 7 ?, ^" n2 l9 j) n1 R* C& }
  64. 密码= my_password 7 r, o8 s/ u$ C0 x/ D
  65. getdriverfunc = getsqldrivermysql
    ' B7 B; H, K# _- v: _3 w; j
  66. vendorlib = libmysql.dll在
    2 t9 [5 ?4 q9 h( B% W# |" X
  67. libraryname = dbexpmysql.dll
    / v- C) z- W0 p* j7 P$ O" ]1 L
  68. 积极= 1 ( L+ I2 r0 b8 |3 b$ x! P2 n
  69. ---例如----
    . I8 ^4 P' N* S: e  j9 p
  70. -写在0 2.03.04由p wk.linuxfan  K3 S) E, R9 E2 \1 s4 O. ?0 _
复制代码
发表于 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
$ O2 E: K; L# F/ \- U$ c$ x& T
6 o8 v) o+ @0 N) G7 o0 h( dbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-25 07:55 , Processed in 0.101993 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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