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

3040 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 0 k3 i! W( p8 ~1 i

# Q% Q9 i5 @2 _7 Q+ W
  1. ' w& z% a. r. b7 h% Q2 f. X
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    6 i& V; d; e4 E. @  z. C0 u% Z
  3. 3 l6 O, L. n/ j' h
  4. ### What we need ###2 r6 S( H/ x7 \  O9 {/ B# i
  5. Naturally, we will need a MySQL server to store the data for us, this document
    , `! {9 s: w. }
  6. will not explain how this can be done - there are documents out there for the ; `7 \0 t; ?8 e" k8 ^+ ~1 F
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    : ~  h8 f# B1 |5 D: U) r6 e
  8. and a user account (username + password) that has the permissions to do stuff6 M6 @$ d+ w. Q7 G% h6 D+ w1 B% D
  9. with the database. Additionally, you will need a vendor library installed on the; f5 S2 e$ U2 o  g
  10. local machine, this came with my MySQL install.
    ' I4 R: W# F3 `
  11. These instructions will not tell you how you might transfer your data from the3 {' e8 S  K$ r; F) n+ h" d
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL$ L5 O1 k+ M# ]( L# H
  13. database.8 T8 n8 a( O) e; ~' o2 q
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    / u. L. Z6 o! C6 {; n+ B& _) K% i
  15. the time of writing, there are still too many issues - check the current status/ j& v$ L/ K, |* P" d& J: V" z
  16. in the TeamSpeak forums if you are interested.2 m/ n" n6 ?9 G0 g
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    6 W: q+ U9 g, z( M; M0 k2 l- H
  18. Borland was used. This driver can only interface with the client library that . @& K% D7 ^) ^% {6 D
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this( Y! |+ B! F1 t2 z3 K
  20. client library - basically all you have to do is to use a 3.x client library as . F9 |1 U& T0 e9 E5 K# h
  21. "VendorLib" and a 4.x database to connect to.6 Y2 z8 |5 Z" a1 K' O2 E
  22. If you need more info about dbExpress, you can contact Borland.- J( p- o7 J" Z9 S6 A7 v
  23. % i' C, ~0 Z* T  E* d; [) I
  24. ### Doing the work ###
    : _7 ]) c/ x: H* i" `
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all9 ^8 f# D2 l' H: Z
  26. the perquisites right, just open your server.ini file, and add this section at% h6 A- @8 |  r+ Q% C7 i
  27. the end:
    % V/ }. h, E5 V0 X! e3 q
  28. ---cut here---  J9 }. \+ S' o1 A$ p
  29. [DBEXPRESS]* a% T( r8 R, r. Z9 d4 |7 W
  30. sqldir=mysql_sql
    + `3 n4 U. n2 @
  31. Drivername=mysql0 S* z/ Q  n( J
  32. Database=Your_Database_Name_Here! l7 K# o3 s4 j7 m4 p- ^
  33. Hostname=The_PC_the_MySQL-Server_is_on
    4 B2 K# d) L3 Z9 w9 {
  34. User_name=User_name_on_the_MySQL-Server
    8 w0 ~1 k, \6 o- Y# ~3 [
  35. Password=Password_to_go_with_above_user_name
    . n" F! y0 O4 j6 g2 F
  36. GetDriverFunc=getSQLDriverMYSQL
    2 `( S2 b( n9 l) T
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    9 X* ^. R5 L& x1 C" B
  38. LibraryName=path_to_libsqlmy_libary3 Z5 ?8 y) L2 Q6 u) `) }% }  T9 r
  39. Active=1
    . Z# [! o9 i  n- p8 f5 d- n/ m* Y
  40. ---cut here---
    ! A( ~$ W- L( Y0 w$ x
  41. In my environment (a linux box with a MySQL server running locally) I have:
    " P# c& F5 G$ |( \
  42. ---example---
    ; d; g, W4 ^: g( a% S
  43. [DBEXPRESS]+ W/ u2 Z! q  m! R! C  X; I
  44. sqldir=mysql_sql- L2 o% C5 l5 R6 E' j
  45. Drivername=mysql% q' Z; ~) H( U
  46. Database=test
    . m. P" E4 b5 C$ S
  47. Hostname=localhost" z' u0 d+ ^( A) G5 Z
  48. User_name=testuser
    / ?9 W4 D% S3 ^  u, d
  49. Password=my_password
    5 z" \% \" I7 H0 ]
  50. GetDriverFunc=getSQLDriverMYSQL7 g" U2 S) C- L
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ( g( o4 r! ^" v) {
  52. LibraryName=./libsqlmy.so
    * o) g2 R  ^' O  [
  53. Active=1
    7 P6 R- u5 R3 A* n& f) k
  54. ---example---: Y+ V& c( X/ h* Q7 z
  55. 2 f% u2 o, a* T# j
  56. On a windows box, also running the MySQL server locally, it would be:* D6 I8 K) c6 C; d" L& e; ^! A
  57. ---example---) f6 r7 x5 W7 R1 V4 o% Y, S$ i
  58. [DBEXPRESS]
    7 V' \, x. J/ v6 N% r6 y/ B
  59. sqldir=mysql_sql
    # v, ]5 \1 q& S/ V* L5 B
  60. Drivername=mysql
    ( [4 o( i9 ^. P: ]# D
  61. Database=test, F2 v( O- G  n9 s
  62. Hostname=127.0.0.1$ u( J! o9 w  b( M$ K+ G
  63. User_name=testuser: r" V! z  ]7 I0 S# u
  64. Password=my_password
    5 C) G6 }. v( I( I
  65. GetDriverFunc=getSQLDriverMYSQL& @, J( n- U4 E) [8 {2 b' o
  66. VendorLib=libmysql.dll/ H2 U6 I; u( t% _+ [& r" o
  67. LibraryName=dbexpmysql.dll
      h8 R" W: e" e5 b5 b! m1 r
  68. Active=1
    + o. w; M5 d" {
  69. ---example----
    ; `( C* q- d3 u/ {
  70. - written 02.03.04 by pwk.linuxfan+ l9 M7 }  ]* ?, p( m) c3 r9 @

  71. - F4 H+ }2 a% R( R0 P
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看& H& E  l* h1 H# @- O" n: N0 H7 d( X
  1. % T5 L" @! q. K/ ]% A
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    / n' H% t, L! z  N( e* c6 K

  3. % w- c) d- X0 J, c) B
  4. # # #我们所需要# # # , a3 }/ U3 j4 h) \2 @7 u. Q+ X7 ^
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件' g9 G4 y9 O$ R$ H- ?
  6. 不会解释如何做到这一点-也有文件存在,为9 s; K  G2 b3 w* E2 U
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    8 Q2 ~2 {, F) F/ `# }
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ( l' J" V$ H9 o3 b. U  L
  9. 随着数据库。此外,你需要一个卖方图书馆安装于- o' d7 H0 ]! v4 f  Z  q6 i
  10. 本地机器,这是我的MySQL安装。 $ ^3 A$ ]' ^" S) {5 U
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    * Q, @: t+ _' M# |- j: \5 O
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ( f" d" W8 K; G" h( I
  13. 数据库。 4 ^" D# |$ v- z3 {9 p  r
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    3 B+ t( `  y! e) _
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ) `4 e& H' x, [  z% S2 |' k5 V+ U& |
  16. 在teamspeak论坛,如果你有兴趣。
    1 O% C$ w1 Y& E* D4 I% I/ }
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    % Z5 I! H. o0 \5 Z; x' `) ~
  18. Borland公司使用。这个司机只能界面与客户端库
    5 O" T6 l! E% y# r. y5 H# I6 a
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
      s, g  a$ u! S! C* q- E. z
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为3 g% g$ O) P3 ~' R0 ]
  21. " vendorlib " ,并解数据库连接。 # h2 g4 N2 B8 E# G. t
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 2 {! N  q8 T. i1 g5 g
  23. , h9 U2 q" Z% f! l( X, }
  24. # # #做好工作# # #
    - F& ?& H# k' G. k
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都; t9 v% X; b3 O
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在! r9 j8 {6 D1 u' t& N0 {* b
  27. 结束:
    5 ?# q6 E1 y: y0 `
  28. ---削减这里---
    ( l: _: i$ V! e0 }
  29. [ dbexpress ] . g  f6 c+ k8 {# q7 M+ Y, g
  30. sqldir = mysql_sql
    ' x( y' o- W1 n/ P; B, O, i
  31. drivername = MySQL中
    ' G1 P/ G  R4 F& e$ _4 Q! u( |
  32. 数据库= your_database_name_here
    . N3 Q- y, U9 @) e8 Y
  33. 主机= the_pc_the_mysql - server_is_on , u/ L4 X" R6 o; i( T. W5 R& K  x
  34. user_name = user_name_on_the_mysql服务器
    ) y7 W# G9 e; a7 r; ~+ l6 [
  35. 密码= password_to_go_with_above_user_name
    + y3 O- s& g- r) g0 G! E  D( ?
  36. getdriverfunc = getsqldrivermysql 3 f) L, w2 [" r
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib & Z7 W8 R. Z1 E5 C0 t
  38. libraryname = path_to_libsqlmy_libary % J' O' k- u/ Y; W  E3 t) n, X
  39. 积极= 1 . f, w( \/ r1 U
  40. ---削减这里--- 2 F9 {' v3 i5 |( I- e
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    0 l3 `- [8 F( w/ ^
  42. ---例如--- 2 [% }2 V% e4 E1 E0 k
  43. [ dbexpress ] 6 ~* Z0 y; H5 {/ P0 _
  44. sqldir = mysql_sql
    ' ~2 \: o% ?& o1 [
  45. drivername = MySQL中% e: ~1 Z) F; N; D8 H) q, l4 Z& l
  46. 数据库=测试) C) }4 G0 P- y, s/ R
  47. 主机=本地主机
    7 F4 _+ o, a  [6 }% T. W
  48. user_name = testuser
    , Z7 [3 c- J4 J7 E
  49. 密码= my_password 4 O; s7 K' s0 n  z% S9 M0 M/ I4 L
  50. getdriverfunc = getsqldrivermysql
    9 S# x) c- k" t7 `2 l. K" j: Z( K4 m
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 0 W) c, J6 c  H( ]) ?# d
  52. libraryname =. / libsqlmy.so
    - W2 \2 W8 T5 K* m
  53. 积极= 1
    9 O/ G" a6 C, r! X& D. {* [' n
  54. ---例如--- ; ~/ r" |0 y9 e7 }: w2 p- p/ }
  55. : Z% v$ S+ h) V/ T4 T+ L
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    0 W5 o+ v$ X+ ]1 p
  57. ---例如---
    ( n0 [& I# W* [# m- u( X
  58. [ dbexpress ] : s- T$ N3 Q& ?0 `( m/ }. T7 U5 W
  59. sqldir = mysql_sql 5 k5 |' O( _  Q9 e
  60. drivername = MySQL中% l) s) Z# I2 }2 _+ v4 @+ D
  61. 数据库=测试
    # s. M6 ?/ j: j
  62. 主机= 127.0.0.1 4 c# M7 l7 H$ G# C" l
  63. user_name = testuser 1 G2 }# {8 x  \
  64. 密码= my_password
    9 M4 i$ ?) F& ^+ ?
  65. getdriverfunc = getsqldrivermysql
    % g- v% Y. t% y: C: o7 n! q9 y
  66. vendorlib = libmysql.dll在- r6 v  y: o6 e/ N6 G& k
  67. libraryname = dbexpmysql.dll
    ; K5 q8 F" D4 k4 ^, @- ^  Y
  68. 积极= 1 " |9 M4 P% k- M) k  h* _1 M
  69. ---例如---- $ M" [' f' c9 }6 Q- [' w
  70. -写在0 2.03.04由p wk.linuxfan$ ]- y  C) ?% H2 E
复制代码
发表于 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 words0 U0 j9 v" O) c$ |' g4 o% {
' \" P0 Z2 i0 A3 `% ^8 ]
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-19 03:21 , Processed in 0.080396 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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