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

3374 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan # g7 M. H* W; V( g0 Z4 e2 D/ \
" {* r) ~6 w! R& @1 Y* a

  1. " r! |8 H+ U  Q  J, W+ h- A( A+ q( a/ g
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######) Q* j  e$ n- ?& M: F/ G1 l
  3. , ~; V& N6 B* {( T+ p& E
  4. ### What we need ###  f. u0 e5 T8 y
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ' W- b1 `. N; `. Y9 i3 S3 v# e
  6. will not explain how this can be done - there are documents out there for the
    ; a  V' X* a: s3 a* H/ u4 r
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ' C% |" K  A7 b
  8. and a user account (username + password) that has the permissions to do stuff
    ( L: Q2 q+ D2 J7 D6 z
  9. with the database. Additionally, you will need a vendor library installed on the* _) X+ c+ |4 k7 y7 u* T* t
  10. local machine, this came with my MySQL install.+ e$ s+ j9 B/ @  N9 u
  11. These instructions will not tell you how you might transfer your data from the5 |/ L+ U# w* \9 i3 z& Z
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL9 {/ V+ j) y' X$ C4 |, n
  13. database.1 f4 |! M# P" B, J
  14. Some users have reported ways to import a SQLite database into MySQL, but at2 i) }' H2 S/ B
  15. the time of writing, there are still too many issues - check the current status
    6 H6 g1 C# g( D- c3 K" O
  16. in the TeamSpeak forums if you are interested.
    6 l4 f! \+ [# u5 x7 Q
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from7 c0 a) g  d# J6 J6 W" n
  18. Borland was used. This driver can only interface with the client library that
    , Y  B8 R% |+ {
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this3 I1 R, a. k- k
  20. client library - basically all you have to do is to use a 3.x client library as 0 f( ~; U1 w  z0 p# K, a3 Y
  21. "VendorLib" and a 4.x database to connect to.; v. z. X* r% R. ?8 c( O' J& u' m
  22. If you need more info about dbExpress, you can contact Borland.
    1 L' M- W8 N% X0 D1 ~
  23. - U' B5 N! q' [$ {6 R) t7 ~
  24. ### Doing the work #### E& L. R  E" K. g( Y
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    * |* _+ s) `: y8 E$ P4 m1 i
  26. the perquisites right, just open your server.ini file, and add this section at* l1 z7 I1 q0 F& @$ z% q2 h; M
  27. the end:6 V. }( e; c3 g- H
  28. ---cut here---
    8 t" t4 l$ o. [2 l& v- T' ^
  29. [DBEXPRESS]2 U3 A8 ^7 Z, X- ?
  30. sqldir=mysql_sql
    ( v2 Y) n$ C7 m
  31. Drivername=mysql
    2 v# s; E7 k" w8 e- F# G/ Y
  32. Database=Your_Database_Name_Here
    & ~2 t! \3 E# H- U& s* h
  33. Hostname=The_PC_the_MySQL-Server_is_on1 l; g9 j0 w$ |- W+ [4 i' s
  34. User_name=User_name_on_the_MySQL-Server/ B: `8 a4 ^  G, c, S
  35. Password=Password_to_go_with_above_user_name
    ; Q( f# B+ R. l! T
  36. GetDriverFunc=getSQLDriverMYSQL
    . J+ y: I6 V' }( m; D8 ^5 Z8 k
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    8 X0 O3 x3 z$ n. O7 @/ V! ?
  38. LibraryName=path_to_libsqlmy_libary
    3 T/ K- c6 y/ W! k
  39. Active=1
    4 U" U, V* E& C& U3 n4 u
  40. ---cut here---* Z! i* C  O7 S* J' ?! q
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ! |. h1 D5 i" Z4 Z( \: @
  42. ---example---; Q: ^! ]& S! J  ^
  43. [DBEXPRESS]4 g, x' E2 C/ x+ ^+ d: O1 D7 f
  44. sqldir=mysql_sql* m7 S2 t8 B9 W4 ^" i, p) d* O
  45. Drivername=mysql
    / n( d, a4 _( c
  46. Database=test# h9 s2 Q; Z0 b6 v/ P
  47. Hostname=localhost
    7 w& ^4 w% \8 y3 k
  48. User_name=testuser: d3 b) m: P0 n1 x
  49. Password=my_password
    ' m; K. G3 U( \3 n$ J, d* n
  50. GetDriverFunc=getSQLDriverMYSQL+ P% d+ E1 Q3 u9 T
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    , A/ D0 ^# i) z2 c" D* Z
  52. LibraryName=./libsqlmy.so7 X$ t" t* Z* c" ~# E
  53. Active=1
    3 ~; M" w7 |9 F' F7 Q& X" V
  54. ---example---
    $ ~3 ?& ]& C: a0 n, r

  55. 3 r- f/ T) H8 u/ q3 i1 b
  56. On a windows box, also running the MySQL server locally, it would be:
    * P6 ^- R; |3 I- q& A& M5 w2 Z
  57. ---example---) \; ]4 @9 N" Q( @
  58. [DBEXPRESS]
    ! A+ ]) A" o4 K( I
  59. sqldir=mysql_sql9 }+ }3 F0 n+ d3 m( L
  60. Drivername=mysql
    5 m  G5 g5 r6 A* m# u& D4 @
  61. Database=test
    8 W5 Q' }: y' B
  62. Hostname=127.0.0.1) w- h2 l! S/ G! W8 K; [
  63. User_name=testuser; a$ V2 Z. Z" |7 c2 m5 M1 x# g9 m
  64. Password=my_password
    . T. N8 w1 n  B5 }, M  H- j7 H+ ?
  65. GetDriverFunc=getSQLDriverMYSQL
    $ c/ k* p$ R" D& m
  66. VendorLib=libmysql.dll0 j/ M! B, H2 V- S# r1 o1 c3 V/ b) ]1 w
  67. LibraryName=dbexpmysql.dll7 i+ i6 |1 p  a5 Z; E  i
  68. Active=10 L$ ~  {& U# R- M& A
  69. ---example----. h. {, T$ E6 Z3 {0 K8 F
  70. - written 02.03.04 by pwk.linuxfan
    . ]6 B6 J/ E3 h: J7 Q4 t

  71. ; V. ~( C2 O* }3 ^+ \
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
+ d" H# a& F; L% N' S0 q) x
  1. ' ~9 z" |) _, P. w
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ) r' m* g& E  ]0 m. A$ e' w5 w; ~

  3. 5 G1 b: M4 B3 |% e% G# n
  4. # # #我们所需要# # # ; s! U( N9 `9 }3 y$ Z
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件/ ~% W8 C, K4 o% T2 A4 n
  6. 不会解释如何做到这一点-也有文件存在,为
    , `. x/ k  E$ k/ d8 ~8 \1 ?& X
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用" O& w3 L2 p* O
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西- Z$ ?7 Z( t) Y4 Y! @
  9. 随着数据库。此外,你需要一个卖方图书馆安装于# P( D$ a% [% f! R5 e  x1 B' h
  10. 本地机器,这是我的MySQL安装。
    " n' f' \. E6 ^
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    4 P: Y$ G$ D8 l" n
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    3 p8 Q2 v4 ^7 ~+ l5 O! ]* \: ]
  13. 数据库。 # `* \* Y( J& @
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    : W& g7 R1 m- R$ `7 [
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    . g6 z/ h4 ]* D8 D* \7 \
  16. 在teamspeak论坛,如果你有兴趣。 / }% `6 q  J' u- a
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机, ?/ S) l- w- P# @  n% \( ?3 H0 [1 |; B
  18. Borland公司使用。这个司机只能界面与客户端库& ^) G2 q* G) o1 N4 t
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    # R; ^$ G: }! h  r! W4 ?% c6 y" J6 L9 ]- k
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    - f) K5 k: [/ p8 K. _- l; F
  21. " vendorlib " ,并解数据库连接。 - u% N( ]* k  r0 W4 M- b1 f( P
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ) q7 \; S, A% |. G
  23. % k( m/ J" @( z$ F1 n- Z
  24. # # #做好工作# # # 2 x. I: M2 `: c. h+ Z- J
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都: f1 K. g; n/ m, C, |2 k  e
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在- _6 f3 ]4 D# ~6 \2 g
  27. 结束:
    ( q5 J+ z+ @" A- p5 V2 p
  28. ---削减这里---
    : I% ?; T% V3 f4 K. e
  29. [ dbexpress ] . m+ O. Y# v7 u1 u
  30. sqldir = mysql_sql
    # R0 Q0 V; s% M, q
  31. drivername = MySQL中; [* s' {  [/ n' Q  I+ S" y; z
  32. 数据库= your_database_name_here
    ( _* A( o- J* {! e3 p: c! W0 G
  33. 主机= the_pc_the_mysql - server_is_on * t8 J* ^0 b1 G% S8 x% I2 G
  34. user_name = user_name_on_the_mysql服务器2 a) J) o* [; Y2 ^/ L
  35. 密码= password_to_go_with_above_user_name 8 R% N* F( \/ [' h% M0 Q, ]
  36. getdriverfunc = getsqldrivermysql 2 D; E9 G& X* K: O. X1 n1 i% t
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    3 O. z6 O' M: o0 F, @
  38. libraryname = path_to_libsqlmy_libary 1 `( o* g# M: x. ~
  39. 积极= 1
    & Y6 l8 g+ H4 B/ C  t. U6 m
  40. ---削减这里--- ! Q3 Z+ `* M/ S9 F2 A% g; j
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ( |2 `! C; d6 h6 f- C( _
  42. ---例如---
    $ ^" k2 y$ c7 w5 N, A
  43. [ dbexpress ] 5 u" T5 Z+ {$ |7 n- Y
  44. sqldir = mysql_sql $ j7 X1 M+ e# L+ Z
  45. drivername = MySQL中+ E( S. {" H8 c; c: ~  @: y( {
  46. 数据库=测试# v6 b' O( @" M9 K
  47. 主机=本地主机
    7 I, q) ^6 x, `+ Z6 O8 m
  48. user_name = testuser ' Z/ h; ]; s  Y2 T4 @. {
  49. 密码= my_password
    5 f" S. R) T: y4 o5 I7 Q
  50. getdriverfunc = getsqldrivermysql , ]5 f, y2 t+ f% a
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 , U5 F  E0 H, [# h7 K
  52. libraryname =. / libsqlmy.so   J# H- d  S2 B: w) D
  53. 积极= 1 : `# o2 m0 c) g5 I" l9 p
  54. ---例如--- : \& W: f6 F. @5 c
  55. 8 Q7 d; ?2 [% w9 ?$ K, w" m
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ( J8 ?( ]" R4 l) G8 x% W# k
  57. ---例如--- 2 P7 g3 P& J/ Y1 c6 l
  58. [ dbexpress ]
    2 \: [9 g) w4 A. z# p5 H
  59. sqldir = mysql_sql - e4 o+ `) N! Y# g* ~7 |# E) O$ Z+ X/ d
  60. drivername = MySQL中
    * d  P5 j6 @) Z# f5 t! \
  61. 数据库=测试8 w3 H; y& b- I" ^" X
  62. 主机= 127.0.0.1
    $ ]7 f8 h* }) N% }# F
  63. user_name = testuser 2 j  `- p) x( \; o5 F% b% I" p
  64. 密码= my_password 2 z' h' `  M! L/ ~) G
  65. getdriverfunc = getsqldrivermysql
    5 Z, B/ V! b  @: w  z' y6 p
  66. vendorlib = libmysql.dll在
    ! N6 M- N5 Q( K' u  B0 f4 z
  67. libraryname = dbexpmysql.dll - ?, W' o1 V6 D( Z
  68. 积极= 1
    : n& I% {8 F% j7 ~/ B' A9 E( k4 H
  69. ---例如---- # ]$ S3 e# ]6 N% F7 |8 F2 O
  70. -写在0 2.03.04由p wk.linuxfan) i# l3 p" w- N  \5 l0 b! S5 u' i7 ?3 \
复制代码
发表于 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
; z- [/ n+ I/ n8 ?3 y
( A9 ?* @5 U) d/ m- Sbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-22 14:35 , Processed in 0.088798 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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