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

3375 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ' Z9 I. [- F0 l5 Q  y1 z. H9 ?

. d/ Z3 R% G( F& `

  1. " I. P: k2 S' Q5 J% z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    & U! i$ [& U! Z- ~  i( @5 T
  3. : Y6 ~5 h/ H$ g" U9 W. j( ^
  4. ### What we need ###0 I! E& y0 h2 r' k8 @9 `# O2 w
  5. Naturally, we will need a MySQL server to store the data for us, this document % n" V7 B' W. p8 [3 P5 E2 [
  6. will not explain how this can be done - there are documents out there for the - i4 E3 x4 T5 X/ R4 s' E+ _/ K0 Q
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    8 Z7 Y. F0 h# Z5 U# k1 @1 L
  8. and a user account (username + password) that has the permissions to do stuff
    & L) k, I+ R- R  z7 X+ }2 Q
  9. with the database. Additionally, you will need a vendor library installed on the
    6 B# z" i! O1 V; t3 G7 v. m& ~
  10. local machine, this came with my MySQL install., T8 T9 [8 y( q* G, \$ q
  11. These instructions will not tell you how you might transfer your data from the
    7 P) s# G$ c/ v' i% }2 a$ z+ X) d  F' t
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    , y1 A0 y' M$ q* V; {
  13. database.
    5 b& h4 Z+ ?* G
  14. Some users have reported ways to import a SQLite database into MySQL, but at8 B. F# H9 D8 y9 u% F
  15. the time of writing, there are still too many issues - check the current status
    ( g5 p; F" t1 ?! y& N) O! g( z& D
  16. in the TeamSpeak forums if you are interested.
    0 v, L% l* G8 E3 C% D& F1 W
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    9 I, `6 V% Y6 M" |
  18. Borland was used. This driver can only interface with the client library that
    4 m/ N/ j+ H; g( Z$ g
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this# n' ~# O' P- I! d& Q& s% t- K
  20. client library - basically all you have to do is to use a 3.x client library as , _% I5 r" B2 t% T0 N' f, @* R- s
  21. "VendorLib" and a 4.x database to connect to.8 H4 ~6 d0 X5 y: a3 z
  22. If you need more info about dbExpress, you can contact Borland.
    ' a+ G) G! j% c; O1 }8 ?: B
  23. 5 u1 b; L1 D  d  U. T- Y, k
  24. ### Doing the work ###. F4 C7 I1 r# L0 X; K: Q& k
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all2 z, a; S9 f! p5 w
  26. the perquisites right, just open your server.ini file, and add this section at, A  _, U8 E  R* x, W, u. y
  27. the end:
    % ~, b: B& O; J9 s+ y5 ]
  28. ---cut here---/ Q7 `0 ^0 C3 F  ^
  29. [DBEXPRESS]
    5 G4 \4 X2 V- c; e$ J9 N. M
  30. sqldir=mysql_sql
    ( @' {* n$ ^/ d: b$ n# e' ?
  31. Drivername=mysql- d0 J  Z3 q+ e4 Z9 P: `2 G: Y
  32. Database=Your_Database_Name_Here& w0 i3 G8 f3 g3 h3 F6 m/ [, c8 s: B
  33. Hostname=The_PC_the_MySQL-Server_is_on9 t3 R$ P  k! a7 \
  34. User_name=User_name_on_the_MySQL-Server
    5 P% P+ E( h/ z
  35. Password=Password_to_go_with_above_user_name
    " b) I5 R3 v6 P' ^4 S' O/ G8 d# u  i
  36. GetDriverFunc=getSQLDriverMYSQL7 u: w& m, u1 r, g8 I3 o7 w
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    7 k- ^! ~1 D0 ~! x# S$ c# R
  38. LibraryName=path_to_libsqlmy_libary
    : i8 i/ c: I) E8 o
  39. Active=1
    4 O. [+ `- B9 V# @
  40. ---cut here---
    " e0 _6 r; a1 D2 d: r8 `# s
  41. In my environment (a linux box with a MySQL server running locally) I have:6 o: M3 B; P; ^% w* `& D" \
  42. ---example---8 a& A7 `. j& }& B- a# A; c( f
  43. [DBEXPRESS]
    " a8 h6 k7 b- v7 ~
  44. sqldir=mysql_sql% R! A) n3 b$ E; L. q
  45. Drivername=mysql
    / N( S! t6 ]3 q& [# ~
  46. Database=test& ?0 h: a# M9 ~' v$ s8 H, J
  47. Hostname=localhost/ Z8 \  V/ s$ s& S" V6 {; T3 J
  48. User_name=testuser' D+ Y" U6 G8 w" P7 F/ B
  49. Password=my_password5 O- G. I& z7 I; m
  50. GetDriverFunc=getSQLDriverMYSQL
    3 [9 N  ^4 n, R& H, a, ]
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0/ }% P1 P" v& }6 F3 ^. ?
  52. LibraryName=./libsqlmy.so0 R7 d5 \  {- L8 V2 D/ h
  53. Active=1
    9 @2 _2 ^8 m4 R! z; j
  54. ---example---6 U) z; w0 D5 O/ V

  55. 8 H& V: p: |. b
  56. On a windows box, also running the MySQL server locally, it would be:+ i; n4 g3 |; b; v* G
  57. ---example---
    6 W) r  |( }. l7 ^+ u- p/ _
  58. [DBEXPRESS]* M- q3 s3 K' h" N
  59. sqldir=mysql_sql
    ! b6 y7 A/ b# ~! @. t6 V3 _$ H
  60. Drivername=mysql
    4 C* R) _0 w2 M3 q. H
  61. Database=test) ~0 r' m) j3 B+ x' w' |
  62. Hostname=127.0.0.1" m/ v( x( j. S4 F4 g
  63. User_name=testuser
    7 T( F3 i* t+ E8 o) O0 C, C
  64. Password=my_password7 x3 C& L# u: C/ e. m6 ~$ {1 r5 `
  65. GetDriverFunc=getSQLDriverMYSQL0 |: U9 \" k: H) n! J1 T4 P2 @+ E  M% ~* G
  66. VendorLib=libmysql.dll  g2 u# G6 z) \- c& q% y
  67. LibraryName=dbexpmysql.dll
    : b) N+ s- N2 v- L
  68. Active=1
    % V9 b# C! E3 J4 P0 v
  69. ---example----  D6 l; U' Q. U
  70. - written 02.03.04 by pwk.linuxfan
    * {7 u5 y/ J) [8 @3 D

  71. - c  o# e1 K( d! `4 V* M
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看- ?; X' ^: `# e
  1. : h3 d9 t; Y6 w: i: E
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######   f) h- i0 V4 R6 C* r

  3. % `, v  h  N2 w9 w. T
  4. # # #我们所需要# # # 8 ~+ b3 f) I9 L$ Y) Q( s
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件6 Z: F2 P( k: G. E( Z# }
  6. 不会解释如何做到这一点-也有文件存在,为7 J( I- ], G) E8 W: K
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用$ I& E  y  C2 I: W  z& `* x1 p# s3 Q: B
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西& ]1 P: k& _$ |+ M
  9. 随着数据库。此外,你需要一个卖方图书馆安装于" P* M8 Q( ~$ B
  10. 本地机器,这是我的MySQL安装。
    7 E  u: c9 N# V  [. z, k  z; S
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    / |) V" q1 |2 s
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    5 r  V0 U- n& q$ V! c
  13. 数据库。
    # z6 ]" S' p* ?% ~: Y
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在  D% C9 q+ |$ v9 I2 m; @
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ( C( r; L2 r: G" @8 z
  16. 在teamspeak论坛,如果你有兴趣。 % D* y+ G) |5 U
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机7 T2 z3 m5 a$ G! Z; H% I
  18. Borland公司使用。这个司机只能界面与客户端库
    $ k  K! P5 _! c' H, Y: Q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这' J% p1 [7 w) f! ?/ j
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为% `: R; X4 v& a8 n
  21. " vendorlib " ,并解数据库连接。 + R0 E: I7 Z! R) ^( b1 s( V# G
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    7 j- S/ [: ~6 q2 e% j9 p1 v

  23. ' ~+ s1 h1 S1 Z  a' b# ~
  24. # # #做好工作# # #
    " d$ g9 c! B( c- u! j
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    : H, Y4 Z" n) [/ a+ Q* j7 U" s3 D! Z: T
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在0 F- ~2 J/ \; U! ~
  27. 结束:
    . a- O5 l$ |1 V% T8 C
  28. ---削减这里---
    + Z8 x( V( n1 P# b4 ~& L; Q1 C
  29. [ dbexpress ] % L  H% L0 j& i' L, i
  30. sqldir = mysql_sql / I3 u1 p" n+ D5 d
  31. drivername = MySQL中) R7 w$ O5 {4 V: g& D+ N
  32. 数据库= your_database_name_here
    5 R! J) k7 m( V8 c6 U; T8 u
  33. 主机= the_pc_the_mysql - server_is_on
    9 U8 P9 Q* G" |, q0 `
  34. user_name = user_name_on_the_mysql服务器% I* a$ x9 ^0 i4 L) Y! M' {7 f
  35. 密码= password_to_go_with_above_user_name - y" D3 P( k5 ~9 R
  36. getdriverfunc = getsqldrivermysql
    # L, D. t# p- ^7 @
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    5 I& B& G1 L8 i8 [
  38. libraryname = path_to_libsqlmy_libary ; M& J4 u8 h% n+ n% N9 u  v- U  h
  39. 积极= 1 ; G* m' k8 S6 E3 E2 g& D
  40. ---削减这里--- ) t% |9 s! w1 x. Y! F. T
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: % Y+ t4 `$ z+ [$ b! s, d7 ?7 u0 f
  42. ---例如---
    , g( {- N& z! i
  43. [ dbexpress ] : w. G7 L6 ~0 g# z/ b5 v9 y
  44. sqldir = mysql_sql 8 o( h) @- E1 w$ k$ j( N
  45. drivername = MySQL中
    2 I% Q/ g; X# s* ]8 G' ]
  46. 数据库=测试
    5 J, n% o  B- k
  47. 主机=本地主机
    - z# i) K  f: R! ]! v% }# I$ G
  48. user_name = testuser
    + q1 c4 d6 a" P% i9 N
  49. 密码= my_password
    2 D0 y" b# n7 @
  50. getdriverfunc = getsqldrivermysql
    ' l% f: I2 r  s$ ~
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 + C, Q* i  T. g; i
  52. libraryname =. / libsqlmy.so
    " r; p! w& s  [0 c: R- l
  53. 积极= 1
    6 F8 x. q6 r4 F; [
  54. ---例如---
    - G' |. k  I' U. O

  55. 5 u! i- x- c3 Q3 F
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 8 d! x) Z+ d7 p
  57. ---例如--- . A$ ^! S: ~" B
  58. [ dbexpress ] & {4 b* L! P: W8 G5 ~; G% z
  59. sqldir = mysql_sql
    % ?9 N# X/ o7 U+ |3 P9 y6 s
  60. drivername = MySQL中
    $ G+ S0 p' v: w$ d5 L; o. X
  61. 数据库=测试! \3 c9 v# S7 h* e/ O2 r  m( k
  62. 主机= 127.0.0.1 1 F3 p9 f" T5 N: X8 P8 D
  63. user_name = testuser # }1 f# _4 m' U
  64. 密码= my_password
    2 z" X* {6 {4 i7 n9 [- s$ k6 e
  65. getdriverfunc = getsqldrivermysql , G; ~9 D2 R& l4 R
  66. vendorlib = libmysql.dll在
    5 _, y: ?6 Z1 Y# a8 B
  67. libraryname = dbexpmysql.dll & r( d. z2 @  Z# V1 A7 G* S
  68. 积极= 1
    ! L) B6 }0 @$ J& G, V0 L! i0 F0 |
  69. ---例如---- ! D# W) T' o0 H; A# w) t7 q
  70. -写在0 2.03.04由p wk.linuxfan! R$ E) N) ^8 q" }1 c
复制代码
发表于 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- h; t* b6 e& A! ]5 W' k# Z
! ?+ e- f' l) [( t8 Y
but, 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 20:42 , Processed in 0.089933 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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