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

2661 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
2 m* x' ~# a! m' W! E% \: E9 I
4 E- K0 w( P9 {* H
  1. ; D# q# P* B0 I) a
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    : O; |# m7 U# o' a
  3. * m1 W8 K6 ^& E: M7 t
  4. ### What we need ###! E) Z' g% R4 m
  5. Naturally, we will need a MySQL server to store the data for us, this document ) b4 Z" v: e, E) L0 e7 B# ^
  6. will not explain how this can be done - there are documents out there for the
    # ^! A7 u' j$ _$ g4 k
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    4 n8 N( p* n8 j/ C! Z0 p/ G3 ~9 q
  8. and a user account (username + password) that has the permissions to do stuff, O# S+ E; p$ ]! \+ n. d. S# D4 u
  9. with the database. Additionally, you will need a vendor library installed on the: g+ n5 a% ?$ U; Y4 c2 \
  10. local machine, this came with my MySQL install.
    $ Z5 J; q% y1 K$ Z7 b
  11. These instructions will not tell you how you might transfer your data from the
    0 U- X- d! M6 L% I- O3 i0 y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL' X0 E6 s' U( C$ V% z
  13. database.* ]% l6 c; s- @: n1 r  V5 K# F' e; ]
  14. Some users have reported ways to import a SQLite database into MySQL, but at- I" B3 R9 L6 l  H) K
  15. the time of writing, there are still too many issues - check the current status" d7 O8 N  e" l: Z0 D: T8 C
  16. in the TeamSpeak forums if you are interested.1 z' z7 ?' y$ K
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from; B4 a6 P0 F2 c. i" {+ J
  18. Borland was used. This driver can only interface with the client library that
    7 d) s& |! S  ?# ?: Z- J1 q
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ) R; O4 [# j$ k# U0 x2 r- X2 W
  20. client library - basically all you have to do is to use a 3.x client library as
    ( o, X" S& Y! G3 y4 h" Z7 c
  21. "VendorLib" and a 4.x database to connect to.
    ( {; \% w% V  s  N
  22. If you need more info about dbExpress, you can contact Borland.
    4 ]" s' J, m. B; h* p0 R$ R

  23. 6 B8 n2 Z/ u+ Y; u: ^+ h* W5 O
  24. ### Doing the work ###
    , j5 K+ u4 @% z: `9 L
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all2 A  O2 X% ~+ P1 d
  26. the perquisites right, just open your server.ini file, and add this section at5 A( q8 W' ~7 u
  27. the end:
    * Y. J$ b( Y: i  B% s8 X  B6 T/ j- O
  28. ---cut here---
    ) z" ]6 K2 @3 A" `+ R# J' M
  29. [DBEXPRESS]
    ; @, ?. z# N& c
  30. sqldir=mysql_sql/ ]+ }" b% d6 g. \
  31. Drivername=mysql
    9 S1 ~) s+ c; @" d
  32. Database=Your_Database_Name_Here  @! K3 i3 @0 D; e2 y
  33. Hostname=The_PC_the_MySQL-Server_is_on
    / p0 y9 k9 {. @1 w, B
  34. User_name=User_name_on_the_MySQL-Server
    . Z" G, b$ \: q% m+ y' n# V8 C( ^
  35. Password=Password_to_go_with_above_user_name1 f2 K3 {& m- b/ ~3 M4 I! k( Y# L  m+ p
  36. GetDriverFunc=getSQLDriverMYSQL: F9 t. q) c: w) ~+ ?% C
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    4 g# ~; d/ P) z' B+ G
  38. LibraryName=path_to_libsqlmy_libary8 `4 K: Q8 B: J
  39. Active=10 S+ _3 V5 i; f2 ?% B" u$ r
  40. ---cut here---/ p) l$ p( k8 k, U& N6 Z! \
  41. In my environment (a linux box with a MySQL server running locally) I have:/ ?. }9 j% J/ d( [
  42. ---example---
    8 |7 a% P$ H+ y1 _& k9 n% @. W
  43. [DBEXPRESS]2 P. p. n( v5 K$ |
  44. sqldir=mysql_sql; n2 k/ v4 z6 B% `+ Q
  45. Drivername=mysql
    ( r9 N$ T$ ]. @; D
  46. Database=test
    . k+ f6 d" y- {) }; Z9 o
  47. Hostname=localhost' }2 y: s0 p1 |) p; C* p
  48. User_name=testuser
    " v- J5 p; V) W, D$ q6 a
  49. Password=my_password
    ! r3 o1 K1 S! {( Y, t0 W5 M
  50. GetDriverFunc=getSQLDriverMYSQL" X$ B- p2 Y% Z7 ?+ L0 \% R
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    2 v+ `3 ^0 i( ]9 y8 C7 w: Z) w. U
  52. LibraryName=./libsqlmy.so5 \9 P% X0 {7 d5 K
  53. Active=11 `0 p' P7 w# g# E
  54. ---example---
    1 o% f; n) q! t7 e

  55. $ Y+ ]( `. Y/ U" V) j
  56. On a windows box, also running the MySQL server locally, it would be:% ~: }* z+ t  s% e
  57. ---example---  z- e& i' c- z
  58. [DBEXPRESS]
      n2 w1 l9 F: C6 r
  59. sqldir=mysql_sql
    ! |( W, W& ~# q3 |) e
  60. Drivername=mysql
    & s* X$ n0 H. U: F
  61. Database=test/ I6 r1 U+ p: _  Y
  62. Hostname=127.0.0.1
    9 M4 }4 A8 v( ]/ Y
  63. User_name=testuser
    " ?% {. O' @# p6 T
  64. Password=my_password2 P$ L( X2 \- E0 S& y+ O: v) O
  65. GetDriverFunc=getSQLDriverMYSQL& I% r! e2 U9 L5 g. t# j9 Y4 f9 ?
  66. VendorLib=libmysql.dll" m! ]4 T% t+ C0 a
  67. LibraryName=dbexpmysql.dll: v" ^3 O) w. d- w
  68. Active=11 ^8 B$ t% A  D; x- g  l$ ?
  69. ---example----" P0 \3 y3 s3 F
  70. - written 02.03.04 by pwk.linuxfan8 Q2 R, r/ M7 k

  71. 3 K. g# l0 A3 [  M
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
; ~+ u1 m. o: _
  1. - H4 q5 j' D3 J- A, R
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    / P' ~, x& M# Z4 z# U5 M
  3. ! T6 w+ J! e- D! p4 Y# Z# w# Y
  4. # # #我们所需要# # # + `  o7 d- n9 D8 s
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    * C: T' s! Y% [2 W1 Z0 B/ ]
  6. 不会解释如何做到这一点-也有文件存在,为
    : O+ x) Y1 l7 D, m) K! }1 c  A
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用# E7 e! J1 f4 o9 C7 o8 V
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西5 z% |( g) z3 x- e9 H
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    4 `" z, Z0 ?) S1 ]( y4 ^: d* ?. z3 _. k5 u
  10. 本地机器,这是我的MySQL安装。 & l8 j, [8 D" a5 O7 p4 _* n( m& e4 o, s
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从% i9 n  C, ]9 e% [
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ! D2 I; x+ A8 O: k+ K( D
  13. 数据库。 - t: x0 Y. ?8 ]# ], L
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    4 g& ~; R, |+ f3 n" l+ r
  15. 编写本报告的时候,仍然有太多的问题-检查现状) D/ B0 @8 c- L8 t
  16. 在teamspeak论坛,如果你有兴趣。
    $ b- m9 A% H/ t; k$ S7 }+ L
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机* i9 `% T! H( _+ |3 [8 J
  18. Borland公司使用。这个司机只能界面与客户端库8 i# [: Z& {1 Q7 T7 Y% G& L
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这0 r1 A( \1 V' C* P
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    : q$ f$ f8 ]" E  [
  21. " vendorlib " ,并解数据库连接。
    0 y& ~0 T, E/ Q! S- p3 z
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 6 {  w$ r: @' i) f
  23. / r! x: o5 G/ k
  24. # # #做好工作# # #
    8 T! G+ [# ^" q: M6 D7 j4 m
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都; Y# m" H4 i7 `9 M
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
      p- W/ M9 ]+ m: H! o
  27. 结束: 2 g9 s6 m" ^: P- C* g( d
  28. ---削减这里---
    . q- D  o4 y/ A0 d( c: s' O; e; w5 J1 u( s
  29. [ dbexpress ]
    5 Q7 ]: @* j, U9 S' i
  30. sqldir = mysql_sql 0 c# i# k' ]* r) ^, l
  31. drivername = MySQL中
    * m9 n( f6 `" u6 P. C( q0 R1 ?
  32. 数据库= your_database_name_here , u# w" M( E( a1 F8 c- ?
  33. 主机= the_pc_the_mysql - server_is_on
    7 l+ S' L3 V" ^, d' \6 R
  34. user_name = user_name_on_the_mysql服务器
    ; H" _3 t' i3 S1 A3 g4 ~
  35. 密码= password_to_go_with_above_user_name
    * l& ?, Q7 R/ ~/ V: M! G# \
  36. getdriverfunc = getsqldrivermysql / G6 {" M: ]! Y+ ]6 T( @* `
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib * ^8 P- k5 }; ?/ F0 t+ H  H) x
  38. libraryname = path_to_libsqlmy_libary
    ; R3 Z) i0 }) l+ K% R, w: _
  39. 积极= 1 $ x$ s" ~( x1 `& H3 a7 d; W
  40. ---削减这里--- 9 h, r  J2 _! h- R9 k" n6 G
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    8 ?" Z: e8 V$ h1 B! ?
  42. ---例如--- 3 l3 b" P; G+ o$ I  U! j& L
  43. [ dbexpress ]
    ) K; p0 R; Y6 W, X2 w. A
  44. sqldir = mysql_sql 6 v$ K1 F* i2 y6 J. }2 ?- r3 K3 v
  45. drivername = MySQL中
    / j: Q- l& T, G4 K
  46. 数据库=测试
    * x4 K: t% L3 U- h
  47. 主机=本地主机
      Q& m7 p8 O$ h0 ~7 |0 N# s8 B
  48. user_name = testuser
    ' y: t# ~& K4 s" N8 Y/ b
  49. 密码= my_password   P8 Z- }) {% N  M& C8 Q5 ~% y/ S4 W
  50. getdriverfunc = getsqldrivermysql - c6 {# o* X7 e
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 4 W- T" ], ?5 ]5 n  ^
  52. libraryname =. / libsqlmy.so 4 m; P" l: m2 h1 @8 b* @. J) z- I
  53. 积极= 1
    ; B  w( O" g0 i" N" |( O" }
  54. ---例如---
    " C& {4 `. t0 R1 X

  55. 5 ~' [3 j/ D$ A' t5 Q
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ; k9 p  R. w4 g/ A4 v& ^( G
  57. ---例如---   @' h6 p: [) C' A6 s: V7 v9 [' I
  58. [ dbexpress ]
    # Y0 U( q4 S8 {& T. q- ~% ~
  59. sqldir = mysql_sql + \2 w2 J. i. v( \4 w
  60. drivername = MySQL中7 d* _' N) C" N% I. J) `
  61. 数据库=测试5 m4 c# N7 Z  v3 U. I
  62. 主机= 127.0.0.1 & ^& v# J9 i, s3 R8 ~
  63. user_name = testuser + T7 R. j3 m: A. }9 g; T' u! ^
  64. 密码= my_password
    1 _. u4 a: H( V% m' E' {
  65. getdriverfunc = getsqldrivermysql & l; j& k+ R' S2 o& e
  66. vendorlib = libmysql.dll在
    ; T3 y  ^7 {2 I- ]9 O: J$ G
  67. libraryname = dbexpmysql.dll
    . \9 o  M3 L9 S: C1 j5 D
  68. 积极= 1 . \7 v# R) W- ]: Q
  69. ---例如----
    9 J% V9 ^/ V2 f1 d( n! m
  70. -写在0 2.03.04由p wk.linuxfan
    ! t' }- A* T7 Q* T+ t- d( m3 u4 h
复制代码
发表于 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$ Y! t2 C  l7 t0 A
8 ]; i2 Q4 B1 R- h% N, O
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-24 20:56 , Processed in 0.096794 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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