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

2513 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
) R! Y8 f- ]) p8 I* v
# f3 [- ~; v, t; q  }
  1. / l* g8 }0 z6 }# [  ]+ S. n9 V$ }1 D
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######& H7 h" P( A( X4 s, Y% H
  3. 5 I( H: O* p" U, G" f; k1 y
  4. ### What we need ###
    5 y5 V4 W  J8 _% u1 m9 q/ a
  5. Naturally, we will need a MySQL server to store the data for us, this document
    / Q( t# J. L# x3 z! c
  6. will not explain how this can be done - there are documents out there for the
    ; ~# Q: `, _9 N( J7 ?
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ( H" V4 {+ a) y2 C" ~/ `. V" M
  8. and a user account (username + password) that has the permissions to do stuff# z/ r; t6 M2 @& R% q* }
  9. with the database. Additionally, you will need a vendor library installed on the
    ( S4 ?$ F) }' K3 t( H  w( W3 M
  10. local machine, this came with my MySQL install.% R4 c  L5 j  w8 B$ M' E
  11. These instructions will not tell you how you might transfer your data from the# e8 W# d8 I  @$ T5 q
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL& X* v4 C9 R5 D; l8 g
  13. database.' t7 {+ S" x2 D) o0 w
  14. Some users have reported ways to import a SQLite database into MySQL, but at, z. I) f9 T! a
  15. the time of writing, there are still too many issues - check the current status
    . |; A  _: s0 O' o& L; `& y
  16. in the TeamSpeak forums if you are interested.* H0 I- s  o: h& M! l5 f
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    7 q7 h0 X5 S0 I( T" m9 [
  18. Borland was used. This driver can only interface with the client library that
    " F9 f' {* B" C- `/ J# K
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this! V, C1 s/ A* g0 I- x1 `
  20. client library - basically all you have to do is to use a 3.x client library as
    ; b2 _5 x8 f& ?; N( ~* p) U
  21. "VendorLib" and a 4.x database to connect to.
    9 [4 E6 S6 S) U) m
  22. If you need more info about dbExpress, you can contact Borland.( k, ^4 I. K" o  z; ]9 H. L
  23. 5 h' Z4 ^" I) |- l
  24. ### Doing the work ###
    " X  p+ W* \. z* f
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    : k0 g6 g" S9 h, j! b% @
  26. the perquisites right, just open your server.ini file, and add this section at
    : P1 B" c1 D& J2 C" P# o
  27. the end:$ E1 E* n1 e0 c
  28. ---cut here---& ~: D1 ^6 D6 m* r8 O5 j# o( J
  29. [DBEXPRESS]& g7 G& ]( W- I
  30. sqldir=mysql_sql3 K7 {2 l, \8 s+ A" u
  31. Drivername=mysql
    , t8 R% d* L+ {# |; t6 S$ W
  32. Database=Your_Database_Name_Here! I7 \( H( q+ y4 `: ~. @
  33. Hostname=The_PC_the_MySQL-Server_is_on
    # \% m( ?% A4 E3 L" _' I
  34. User_name=User_name_on_the_MySQL-Server* _' y9 l  S9 Z
  35. Password=Password_to_go_with_above_user_name
    . C* U6 ?$ ~8 R: b. U8 e9 D# G
  36. GetDriverFunc=getSQLDriverMYSQL0 c7 f* y% T, f+ F1 f
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    . q+ I, t4 d8 l" j: p* u' H3 v
  38. LibraryName=path_to_libsqlmy_libary
    ( t( _6 N+ t) M6 n+ \6 N
  39. Active=17 z1 ^. {; Y& {" |8 h+ n7 t
  40. ---cut here---! q9 w' Z; G7 O  k9 Y0 W* ~! e
  41. In my environment (a linux box with a MySQL server running locally) I have:
    , |; P/ w5 Q: \  z! W, W
  42. ---example---$ Z% ~4 ^7 C* Q6 ?  V; f
  43. [DBEXPRESS]$ b1 ^% `( s! U9 u) ?4 e9 }
  44. sqldir=mysql_sql
    : t, K* d  F2 `1 m- P
  45. Drivername=mysql+ ?/ e, Y: q/ X
  46. Database=test5 e! `% _* j( E" c6 F# M# k
  47. Hostname=localhost) @; \1 K& W7 O( ~* x- h* p
  48. User_name=testuser% Z+ |9 Y" b% X3 v. e4 k+ a
  49. Password=my_password
    . ~8 d  Z5 t* p. {
  50. GetDriverFunc=getSQLDriverMYSQL5 I& y8 h5 K. X
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    3 {% z% n6 v0 _! Z; B3 R7 R: W6 a3 m
  52. LibraryName=./libsqlmy.so
    * o! X  N  X. G& \  r8 B
  53. Active=1' q& t7 y3 b8 `
  54. ---example---
    , [* _4 U/ H. \; h  m! k9 B3 g

  55. ) D1 v0 ]2 I7 P5 L) {% u
  56. On a windows box, also running the MySQL server locally, it would be:
    & [/ S  k6 }8 @7 R: D
  57. ---example---
    2 n* u) M& |9 @/ E! i" R8 V+ j
  58. [DBEXPRESS]& `9 z1 C8 |$ w: Q  s9 m
  59. sqldir=mysql_sql3 G) l# s3 D! ~) K  o
  60. Drivername=mysql& {7 m4 h# K/ U, n6 r9 x
  61. Database=test3 w  N2 I) ]% ~
  62. Hostname=127.0.0.1) P$ _: f7 A6 c% r6 C4 U
  63. User_name=testuser. A. O# b$ c/ N( Z, }" v+ ?$ I
  64. Password=my_password; C% k: ^3 J0 O4 |) Q% f# N
  65. GetDriverFunc=getSQLDriverMYSQL9 o6 G/ B8 m1 ~% J8 X
  66. VendorLib=libmysql.dll
    + U4 S& H( b/ z" }
  67. LibraryName=dbexpmysql.dll
    9 q3 O' ~5 j7 @4 a& J
  68. Active=1( j) r" E( }4 h3 r7 T* _
  69. ---example----
    . F* k8 {) B* }( d' g  F; k* z; w
  70. - written 02.03.04 by pwk.linuxfan  X  r3 b% l! f) x& w. }- V$ A0 x

  71. 9 W/ J1 b3 j! |( n$ R
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
3 P0 D% O3 z: i/ H3 }

  1. 8 B9 a$ l* p7 b9 F
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    0 d& }9 I% q: A2 t
  3. 0 T, v' V5 I, V1 ]3 ~1 g
  4. # # #我们所需要# # # ' ^/ Z+ a, h) T; q
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    & \: N9 ?1 R* ?0 p& v* M" e+ I3 @! [! o
  6. 不会解释如何做到这一点-也有文件存在,为% ?' |: N0 A- ~7 z( s0 M6 ]
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用* k* v8 j* q. a8 A
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西2 [2 u7 E! J. S* J3 ~
  9. 随着数据库。此外,你需要一个卖方图书馆安装于" U7 L5 v. A8 V, |
  10. 本地机器,这是我的MySQL安装。
    % |3 h" s& M- I3 }
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    / m( M: L) C, U/ m
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    / U- ^) Y: G3 A( J
  13. 数据库。
    1 a- b0 W/ ^" E) g# G
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    : W) M8 @0 s/ A) o- J5 r3 q
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    " n) H  Y. G! I- \8 I" Q
  16. 在teamspeak论坛,如果你有兴趣。
    ; S5 N3 K" H5 M  [  e
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机  g; |9 z4 y8 N! p/ U
  18. Borland公司使用。这个司机只能界面与客户端库6 K! p; b; N2 r2 v3 }
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    + ~) q/ c7 B  Z4 O8 s) z
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    . P0 S( A$ ^# U3 |
  21. " vendorlib " ,并解数据库连接。
    7 A. c: t/ T2 r, M* ?. F9 S
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 4 W$ v  U9 A% e: r$ p( A6 J+ t

  23. ; W1 I3 E; {5 M3 n3 A
  24. # # #做好工作# # # ) z7 c* B6 `9 C/ n% ]0 `  h
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    $ C0 X' ?+ b, ^! `8 ^% J
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    $ M  S' M) W1 E: c. B. D
  27. 结束: * ]$ ?) ]" ]) [7 b2 v( T
  28. ---削减这里---
    & ?) e5 {7 t" o
  29. [ dbexpress ] # z0 n* J! o6 m3 ?# N; p1 L: }- A7 l
  30. sqldir = mysql_sql
    6 Z* Z! G3 t$ f$ v2 O5 y
  31. drivername = MySQL中
    ! D; S' i- J3 c: E" F
  32. 数据库= your_database_name_here
    . u+ k, p' p) M2 t" q" K4 ^
  33. 主机= the_pc_the_mysql - server_is_on
    1 ~$ T$ q8 Y* b' _$ l# c" `; c$ l
  34. user_name = user_name_on_the_mysql服务器$ Y) Y4 f  s2 A8 f7 \1 Z8 c
  35. 密码= password_to_go_with_above_user_name : d) r" I0 i/ @1 X
  36. getdriverfunc = getsqldrivermysql
    / h- P4 D: a( d
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ( H+ G( z+ G2 I3 A! N8 R
  38. libraryname = path_to_libsqlmy_libary & N9 ?6 K1 ?) k
  39. 积极= 1 + b& }% Q# o) |% V/ ?0 u
  40. ---削减这里--- ' j% K. F: E& Z5 O7 T
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 6 F) s* y# s9 e
  42. ---例如--- * D) D5 B6 P" e0 t/ s' N
  43. [ dbexpress ] 2 {0 v3 m  i4 j
  44. sqldir = mysql_sql
    3 k7 U! I" J3 ~$ l+ M
  45. drivername = MySQL中6 F; V  |* S, [& B; J
  46. 数据库=测试2 d- P0 o( k+ M# f% \$ ^8 d; ?
  47. 主机=本地主机
    ( ~9 V. Q/ W/ y" E% ^! R0 i
  48. user_name = testuser : h/ Y* }6 |. q" {- P
  49. 密码= my_password & [! `9 b0 C+ `2 T
  50. getdriverfunc = getsqldrivermysql & G% X2 [' u6 w) F3 n: X  K3 ]
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    / B' w9 k2 z4 c
  52. libraryname =. / libsqlmy.so
    : w9 O+ e# I7 z: _) w
  53. 积极= 1
    ' c! a* [$ c- B0 ^
  54. ---例如---
    " H# v5 ~3 ^5 z. r
  55. # N% M# v8 i9 G' n( @6 ?
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    0 J8 T0 k0 K4 ?* t9 o4 a% J* K" ^
  57. ---例如---
    2 p2 V. \) e( q; q6 ~
  58. [ dbexpress ]
    ( {" K* [* q, n2 O
  59. sqldir = mysql_sql 5 G- `, k9 K+ J+ I
  60. drivername = MySQL中! g: m  Q# H6 k) I& }' t. W
  61. 数据库=测试
    1 T# C2 E! d  y0 j) E2 o$ R
  62. 主机= 127.0.0.1
    5 I  ^$ Z& X* g9 |0 I
  63. user_name = testuser ; T6 Q( C% v& v! [! P9 @
  64. 密码= my_password : \3 t; h3 s) S
  65. getdriverfunc = getsqldrivermysql
    ( `( k6 j9 O( ^6 J, `! i) c
  66. vendorlib = libmysql.dll在
    5 R7 s. }' \8 L9 T' U
  67. libraryname = dbexpmysql.dll
    / J% c' q+ _# N" {
  68. 积极= 1 ; G( m* a* @& G' i
  69. ---例如---- % g. l7 n) a, u& E" ]
  70. -写在0 2.03.04由p wk.linuxfan
    . `3 D) R1 |( u! ^* p- y
复制代码
发表于 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
% ^9 |1 Q8 d: `, ]( P
2 b+ u4 U9 l# Q4 h' ^) k/ hbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-14 18:08 , Processed in 0.120320 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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