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

3393 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
1 N: M( P4 B  c! d& F, T  `9 d/ q/ ]4 d: r* q- V

  1. ! `$ ?  j. ?9 T/ h
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ! E$ x7 Y- K; j1 K
  3. 3 T( y! u2 ?5 Q# U. d
  4. ### What we need ###* t1 a! o# G8 V
  5. Naturally, we will need a MySQL server to store the data for us, this document ) Z  W/ T: W4 g- K5 D6 j$ j4 j
  6. will not explain how this can be done - there are documents out there for the
    ! @$ M& Z3 [' R
  7. interested. The requirements include a (empty) database for TeamSpeak to use; _% N# ]2 R& r" B' K5 h) m
  8. and a user account (username + password) that has the permissions to do stuff
    ! p0 F% r4 _% o
  9. with the database. Additionally, you will need a vendor library installed on the& T6 c6 W5 W/ n
  10. local machine, this came with my MySQL install.6 \& C5 X$ {% Y& q8 I  L
  11. These instructions will not tell you how you might transfer your data from the6 j, `% F; q! z; Y# W% E
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    7 B, j7 [/ R) k- O: O
  13. database.
    ! r% V+ e( `- S" |6 X
  14. Some users have reported ways to import a SQLite database into MySQL, but at1 z1 A' k$ d$ k; @9 V! A  Q, c
  15. the time of writing, there are still too many issues - check the current status5 l! A$ U1 E% x# E5 R1 C
  16. in the TeamSpeak forums if you are interested.
    5 S7 v" J# \4 [, z$ i
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from' Y" q0 ]" I9 s: K/ g# K5 d
  18. Borland was used. This driver can only interface with the client library that ' O5 P( S. ^" t7 f6 f+ e& ^3 I
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this" Q0 u1 {" V% G1 x9 X
  20. client library - basically all you have to do is to use a 3.x client library as
    ( ~& p, e0 q; s
  21. "VendorLib" and a 4.x database to connect to.9 g8 d1 j9 p% b" o0 k
  22. If you need more info about dbExpress, you can contact Borland.4 T1 @& i% _6 ]! N, l  _

  23. 9 m+ u* s- \+ F
  24. ### Doing the work ###
    ( I* Z. J0 Q# _9 R, m/ [' V
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ' p$ `# x) \; Y
  26. the perquisites right, just open your server.ini file, and add this section at
    $ N- T0 h& p2 h8 Y3 o; ~2 A
  27. the end:( P9 G+ {/ j! K- C
  28. ---cut here---5 \, E4 C) c. H; Y* f3 b
  29. [DBEXPRESS]6 `- O; L- h* O( X( H1 \
  30. sqldir=mysql_sql
    ! h9 F& ~. [: G. @. g0 |
  31. Drivername=mysql0 p- P" _$ {" y# G
  32. Database=Your_Database_Name_Here
    5 _" H( X& \1 e3 v) A0 J
  33. Hostname=The_PC_the_MySQL-Server_is_on
    & H. A- S1 O! _4 R( q
  34. User_name=User_name_on_the_MySQL-Server
    4 y" l  z1 z7 X( m! G
  35. Password=Password_to_go_with_above_user_name( }# l4 l  D- x# J. C2 j
  36. GetDriverFunc=getSQLDriverMYSQL
    7 I: K" v; d. X
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib/ r, T% }; L1 D% M" g' c( R) q) k
  38. LibraryName=path_to_libsqlmy_libary1 c( p- g2 ]& _; Y: Q: A* u
  39. Active=1
    : ?* Q3 p: u4 J( @5 c; J& {$ X
  40. ---cut here---
    ( ]: P0 p4 ^& z6 @8 R
  41. In my environment (a linux box with a MySQL server running locally) I have:9 ^, V" o. U; b' `) ^
  42. ---example---
    6 f3 R3 v" v2 X! C! }* u
  43. [DBEXPRESS]) N3 J" b9 K. E/ W
  44. sqldir=mysql_sql
    " |0 v$ F8 x. y! x/ G
  45. Drivername=mysql
    $ [3 h  F) l% ]0 }) Q
  46. Database=test
    ( N) D: k9 w; E$ W2 S, b
  47. Hostname=localhost
    1 J1 }0 t; k( Q& H1 V' h
  48. User_name=testuser
    ' D  z* g$ _; M. J. l, p
  49. Password=my_password: [% W4 v; K+ _5 P5 V
  50. GetDriverFunc=getSQLDriverMYSQL7 I$ P! m( N9 M9 A2 t5 i* o* Q
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    1 J. R4 x( p# z4 C  n
  52. LibraryName=./libsqlmy.so2 e8 `6 u( c7 w8 v" ^  f
  53. Active=1
      N0 c- D/ ~- e& |+ m8 F* l! H
  54. ---example---% M" F' n( Q$ Y+ D' ]
  55. . z5 v% T) u9 F0 B+ g
  56. On a windows box, also running the MySQL server locally, it would be:
    8 Q% Q/ c7 G' y2 {
  57. ---example---
    ! W  g1 k' U( V) l6 w5 a
  58. [DBEXPRESS], l; o- O: b- q# `: h
  59. sqldir=mysql_sql
    9 i- v" N% O8 ^5 y* O1 c
  60. Drivername=mysql) L+ y% a. t$ _& e( V
  61. Database=test
    , v2 Z+ z7 ~, g5 N! T) l" Z
  62. Hostname=127.0.0.1) @3 }& U+ S  @1 X% I1 ~7 Z$ w
  63. User_name=testuser
    - C$ Y( J4 a1 F8 B) x
  64. Password=my_password
    $ d, _; O! o. k1 K
  65. GetDriverFunc=getSQLDriverMYSQL/ F, n: U- h) q" H6 |
  66. VendorLib=libmysql.dll8 p6 ]7 q, _1 w! ?* A
  67. LibraryName=dbexpmysql.dll  V8 B$ j2 Z" a
  68. Active=1
    / F4 N! f' U- E' p
  69. ---example----' q& l5 t. Z- y6 [
  70. - written 02.03.04 by pwk.linuxfan
    6 u, M. v' Z2 Y7 F0 [

  71. 4 E" ]; h8 T+ K6 s9 D$ s- C
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看. y! X( a0 @/ C: w- _, k, w
  1. : V" ]1 e# R! r8 e" a9 T+ w
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    6 ?  F8 `( m5 v

  3. ) ~' a" u8 f' I7 T% T7 a8 K& f
  4. # # #我们所需要# # # ; B4 m1 x9 }% I
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件3 \% T% W" _# ^) ]; Z& t8 [2 S
  6. 不会解释如何做到这一点-也有文件存在,为
    " w: H) R  ^) `0 F0 W
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用+ _1 o9 _; Y) a, d) P! f  i8 v4 F
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    4 f' B) j( {9 d, [$ J9 @
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ) `; Y5 Z, V* g& N
  10. 本地机器,这是我的MySQL安装。
    . V" B: E9 X- z7 _6 B; a, C  a
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ; ~4 C+ [2 e% C7 m
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 2 E* `1 `- s) n7 }% p! G8 Z
  13. 数据库。 * Y5 P% m2 `  I. W, [! F
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    . m! b; j+ C' S& D
  15. 编写本报告的时候,仍然有太多的问题-检查现状( l7 u- @+ O; h& N" ~( U4 K
  16. 在teamspeak论坛,如果你有兴趣。
    : C& q: K( {  z  H$ [
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    / q8 F" E* O( m" ]. L1 X' \
  18. Borland公司使用。这个司机只能界面与客户端库
    0 ]; n/ C4 A! h  z" V" O) J
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    $ W: r7 ]3 X/ B+ t( l
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    + S& G8 \* H2 I/ M/ P
  21. " vendorlib " ,并解数据库连接。
    8 ]' v- C3 v  `
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 - b# l, z) @1 ?" n
  23. 3 u3 e! r: C. @3 i
  24. # # #做好工作# # # " z6 F( s% G9 B+ b  x+ e, M
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    , K1 g( V9 _6 J0 Z1 b
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    , D" C  A9 l* Y. v, ~" k2 R
  27. 结束: + E/ T9 P6 J  M( R3 n& \
  28. ---削减这里--- % C  o4 u/ x( Y3 R6 s) r0 l' c; Y
  29. [ dbexpress ]
    - Y0 W, S) `$ {3 E
  30. sqldir = mysql_sql 4 ~4 X$ F+ Y+ P
  31. drivername = MySQL中
    1 }, ^3 [5 M  _' }/ q/ W. ], J
  32. 数据库= your_database_name_here   U" V# X) U6 `* i* p
  33. 主机= the_pc_the_mysql - server_is_on
    5 H( `) P( Y) T/ _1 e5 W
  34. user_name = user_name_on_the_mysql服务器: C. C: j6 K3 z1 }
  35. 密码= password_to_go_with_above_user_name ) D- ^3 R0 c# s* f
  36. getdriverfunc = getsqldrivermysql
    # t7 F3 h2 Q3 d2 g) n% f  Y# C2 [
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 2 ^' Q$ V8 l1 n$ P/ d) I
  38. libraryname = path_to_libsqlmy_libary - {0 F4 s8 H5 K9 O1 G% H
  39. 积极= 1
    7 y% k9 @! C' L) N, Z
  40. ---削减这里--- 8 T) Y+ C! ]  R6 R: V# S
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 3 V/ x5 T/ p' E. m
  42. ---例如--- ( D9 @- {  s8 j1 ?  i, W5 `
  43. [ dbexpress ]
    ( f9 q) r' y0 F" E( s  x# z
  44. sqldir = mysql_sql
    0 I% S$ g8 v9 U/ I& h9 P4 ]
  45. drivername = MySQL中5 T7 m0 k! d0 G4 _. `
  46. 数据库=测试
    ( }' z5 |& v0 ]; n( @
  47. 主机=本地主机
    2 q  K! c: J- L3 m
  48. user_name = testuser
    0 T. a  V" |7 S& \% @
  49. 密码= my_password
    3 m& ~, y* d8 a, Z3 B" q
  50. getdriverfunc = getsqldrivermysql * B. ]1 V0 ^6 q( r" _. d
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 + d* p$ Y4 \7 B9 q' c! {. v
  52. libraryname =. / libsqlmy.so
    ) ]: k4 ]  V2 o9 T; M7 l7 z% ~
  53. 积极= 1
    & K" U- z( S* ^, y
  54. ---例如--- . ~& Z/ J: J7 X% C: z

  55. 7 S# ]" q& z# w/ I# D3 P
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    2 e1 D: e: v. E4 A7 p
  57. ---例如---
    9 }2 g6 c1 ?  A1 @" p
  58. [ dbexpress ]
    & {2 S0 e) H4 n5 r' G( s3 D/ o8 T
  59. sqldir = mysql_sql
    # A; q' y$ d/ L) H
  60. drivername = MySQL中
    - L) N* {$ J; C3 p6 k
  61. 数据库=测试
    8 T( J# m# ^8 Z9 F
  62. 主机= 127.0.0.1   w# R# W" q3 ]; T
  63. user_name = testuser 5 t- Y6 ?: Y2 _+ ?  }
  64. 密码= my_password
    + Q: c0 m6 g, Y" X" }" _: b- d$ ~
  65. getdriverfunc = getsqldrivermysql ( A* W) X% X5 T' n2 d$ I
  66. vendorlib = libmysql.dll在
    - J1 j8 b# c" ?2 g$ Q6 E
  67. libraryname = dbexpmysql.dll 6 q/ W% P/ C1 r
  68. 积极= 1 - J* C+ q' ^! e1 M9 D
  69. ---例如---- ' r' [$ U& U7 z$ o# Q9 B
  70. -写在0 2.03.04由p wk.linuxfan
    ( l8 G+ E. U  h) E) ?1 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 words4 M( T' Y4 f3 X/ n" j6 X- N8 g

! I3 K% }9 W! ~9 z: Abut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-26 05:15 , Processed in 0.085994 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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