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

2279 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
  ~/ o' n. q# @! \. N& H) H# ]' P4 O
  1. 5 ^& ]  b# l8 x8 T0 O9 C+ t3 b
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    8 |8 I3 i! ^3 f* @

  3. 1 r. ]2 d& B# l! A; Y0 ?& d
  4. ### What we need ###
    9 Q3 r* l, X2 F. a' }7 o/ p
  5. Naturally, we will need a MySQL server to store the data for us, this document * B7 s# U9 V8 `) i
  6. will not explain how this can be done - there are documents out there for the . V) M8 `; S2 I
  7. interested. The requirements include a (empty) database for TeamSpeak to use* N( E# @2 h! e
  8. and a user account (username + password) that has the permissions to do stuff
    6 P; o+ l! v. B) C
  9. with the database. Additionally, you will need a vendor library installed on the
    ) u: Q5 i1 Z8 B( m$ O
  10. local machine, this came with my MySQL install.
    $ N2 p2 C8 A0 G2 w9 r
  11. These instructions will not tell you how you might transfer your data from the' `1 v0 x2 J8 D# y8 N$ q9 Z3 d% T
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL' Y, y* |0 y/ y8 X  D* q" A
  13. database.$ r  ]% t; r8 i7 e; G5 {2 J2 O* ^
  14. Some users have reported ways to import a SQLite database into MySQL, but at( r# i8 O+ @5 y
  15. the time of writing, there are still too many issues - check the current status
    * J( y( y/ G* X% V) k5 M' Y
  16. in the TeamSpeak forums if you are interested.) a5 V- Y2 }& \' T
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from4 P& A2 |3 b  C6 U+ S
  18. Borland was used. This driver can only interface with the client library that - `) J8 I; Y$ d" n# e2 C0 ^
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this& b$ V9 e; U! d  t% M
  20. client library - basically all you have to do is to use a 3.x client library as ) ]6 z" k1 B0 o  P& g) `
  21. "VendorLib" and a 4.x database to connect to.1 g& `9 O  ~- V2 {- u" @) M% k: k
  22. If you need more info about dbExpress, you can contact Borland.
    & L2 M" K; P( T3 ]0 B: t
  23. # H' Z5 e5 }3 a9 p4 n
  24. ### Doing the work ###9 e) q! C2 \* H( T. f/ d; E+ J
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    . g# z* X6 H& c7 A/ G" N/ n- ~
  26. the perquisites right, just open your server.ini file, and add this section at
    7 R, P& t( @# K" C
  27. the end:, R0 Y: Y% F* V4 F
  28. ---cut here---" l) I; N1 ], m4 a# n8 j
  29. [DBEXPRESS]9 t5 e1 C$ c/ o# M
  30. sqldir=mysql_sql
    1 w/ y' P2 X3 \
  31. Drivername=mysql( T" T2 O; h& B
  32. Database=Your_Database_Name_Here0 k5 i/ r9 p8 v2 ]/ @  g1 j
  33. Hostname=The_PC_the_MySQL-Server_is_on& ]- m4 D, u, G
  34. User_name=User_name_on_the_MySQL-Server
    2 V' \5 R1 ?+ E# B% M
  35. Password=Password_to_go_with_above_user_name5 L3 [3 ~. u* J7 A" _2 n. P; q, T
  36. GetDriverFunc=getSQLDriverMYSQL
    ; |9 e8 W% B7 H5 ?. }
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib% C2 W# X" s; i4 O
  38. LibraryName=path_to_libsqlmy_libary
    , M) b  S9 E: @. o; y7 R. U
  39. Active=1
    . R8 `" a7 ?( [
  40. ---cut here---: n/ G( H6 x3 `  X* |
  41. In my environment (a linux box with a MySQL server running locally) I have:
    & W( y  q- D9 _$ }6 Q4 N
  42. ---example---
    ; L1 H( F% d2 b! o% P# T  }' p; ]
  43. [DBEXPRESS]
    1 B( J# F+ }% N4 G% J( l" P
  44. sqldir=mysql_sql- D0 c$ A$ {2 |* w$ {8 O
  45. Drivername=mysql5 C5 U' @; A# f% u$ p0 A3 x7 y+ b( k
  46. Database=test
    ) Q8 {% `+ V: J( m/ \7 e
  47. Hostname=localhost
    * i+ B' J5 D0 S7 h
  48. User_name=testuser
      n" g  Q* j2 q# }3 G
  49. Password=my_password
    ' H9 I( d3 k- P5 F$ I8 A
  50. GetDriverFunc=getSQLDriverMYSQL
    . O5 U2 K( y! r- }
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ' k$ J, x5 T  U3 b7 I- r
  52. LibraryName=./libsqlmy.so. C9 X( ~/ f) G* Y+ |* B1 s
  53. Active=1
    ( R& ]2 b( ~2 X  ^; k! Y/ l
  54. ---example---( Y  v) I  c- e- ^
  55. ) x  M9 a2 r0 _8 P) p9 K
  56. On a windows box, also running the MySQL server locally, it would be:
    6 {1 Z' \5 I2 R0 z0 H
  57. ---example---' [/ D9 y* L% y# o
  58. [DBEXPRESS]
    : k- s( ?! h: j1 z
  59. sqldir=mysql_sql" i- ^4 [$ e2 \0 N. Z" Y$ y
  60. Drivername=mysql! B( c" ?8 \$ _& `) Q/ r
  61. Database=test
    8 O/ h' ^4 R3 F* N3 q
  62. Hostname=127.0.0.16 v8 e' E; z. m
  63. User_name=testuser
    ) s8 {( D: X. P' N1 o2 O# d
  64. Password=my_password
    % D0 D* ?, A% O8 x" F
  65. GetDriverFunc=getSQLDriverMYSQL
    ; U4 [( Z# i1 M4 Q
  66. VendorLib=libmysql.dll
    . b7 q% f& e( f3 ^$ Q
  67. LibraryName=dbexpmysql.dll' ]3 ?$ `; z' {' X- T! N7 J7 l
  68. Active=1
    $ c& ]8 k+ q. f3 u$ `
  69. ---example----& g0 P2 x& Q' i" A1 [* W4 ?
  70. - written 02.03.04 by pwk.linuxfan* y5 M/ C$ v- b" N' ~

  71. 0 ^0 g- R" O0 A  [
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
7 O- }# g9 z; k+ I$ F* w) [" }
  1. * a1 z# a* ?1 K, S
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    . u+ S* Z# W: u4 I: K, i
  3. 6 @' Y4 G" t7 D+ ~
  4. # # #我们所需要# # # 5 ?+ `% X# R( V/ r
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    / [8 ^: ?" F1 j5 M
  6. 不会解释如何做到这一点-也有文件存在,为) V  Y% M( b0 Z* l+ W0 S
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用. C+ O" S3 ?/ K! v& W
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西( @% F$ c6 M7 {# ]" z$ ~
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    " h! i- C6 N, [1 h( a2 h: K% Z
  10. 本地机器,这是我的MySQL安装。 " }2 d2 u0 A( T
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ( T2 J/ z, i9 Z" R, l& f
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    $ M& o, ~3 R; r; Q: A7 m" x
  13. 数据库。
    ' B- \' T% y& u- ^# q
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在7 G2 M" O2 m/ P$ w. @. J% ]
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    : m0 w% [2 X) T. c- M
  16. 在teamspeak论坛,如果你有兴趣。 / z7 L& @5 b) U, b4 l" n" s. b1 l
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机- M8 n  K! r5 @
  18. Borland公司使用。这个司机只能界面与客户端库" @9 u. g6 v9 f) j7 f- N
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这7 L5 i0 N% N- |: @# z
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    & R+ K, n  x( @4 E. i. X
  21. " vendorlib " ,并解数据库连接。
    : Z! G  L8 S/ T3 m5 @
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    & \! i8 }6 B8 s2 K$ P  W* [
  23. 9 _) n' ~: q! `+ P! W& v
  24. # # #做好工作# # #
    / S% F* t- u! y3 Q4 X
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ( e7 p& S$ ]& M, O  P- A" C2 ]8 J% Z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    1 P, T( V* G/ O- A7 i
  27. 结束:
    6 d. v/ e$ V& d1 b6 y5 U
  28. ---削减这里---
    * _- Y- W+ h, l9 y) {1 w3 p( ?
  29. [ dbexpress ]
    & b3 O% d7 [$ G2 A
  30. sqldir = mysql_sql
    ' I: H) L9 z/ o  m5 `8 y7 F# c
  31. drivername = MySQL中; S7 }1 t0 T8 O5 }0 g
  32. 数据库= your_database_name_here 3 k, }! K/ I. V0 E
  33. 主机= the_pc_the_mysql - server_is_on . g# z+ L: Z1 |# a1 T
  34. user_name = user_name_on_the_mysql服务器
    . N5 s8 O, D  W3 e
  35. 密码= password_to_go_with_above_user_name % ]1 O- S% _" W8 C) ?5 L
  36. getdriverfunc = getsqldrivermysql
    1 G% W+ d" x0 D2 \% X( I  v/ i2 \
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    6 O( r2 G6 f0 o4 m- D. Z- O& B
  38. libraryname = path_to_libsqlmy_libary
    7 o$ v* I5 u5 m& \4 ~/ d4 m
  39. 积极= 1
    0 c5 ]3 b' ]7 c% X2 O1 U- V) v
  40. ---削减这里---
    - v3 Y7 I9 D/ ~) y" y9 Q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 1 Q" K1 _$ n8 b; K+ y9 E! P4 |
  42. ---例如--- . d. n& s$ X6 k  P0 I
  43. [ dbexpress ] ! M7 \1 y2 J1 z7 A' E9 t
  44. sqldir = mysql_sql
    ( ^. `' i7 [& x* C$ [6 b- |6 G6 U
  45. drivername = MySQL中
    ! a+ w; O3 I! l2 L: h0 E* d' }
  46. 数据库=测试
    / n" i( a% |6 Y
  47. 主机=本地主机
    9 t) d% L) T; K& w
  48. user_name = testuser
    9 R, x" x3 @1 u$ z( G5 g
  49. 密码= my_password , D4 A5 l2 z, C. G" @
  50. getdriverfunc = getsqldrivermysql
      B2 j4 V5 p) ^) K/ l' w1 E
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 9 m$ o5 R7 [6 g* p
  52. libraryname =. / libsqlmy.so , F1 K0 D$ j$ l, S; b' b6 g
  53. 积极= 1
    # ^+ Y  Q: F4 x3 J+ F* g
  54. ---例如---
    ( n1 H- r6 I/ Z  W( H3 Z
  55. % j$ n5 r4 \& r" ^
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ; y/ X8 h& B, [1 Q' C$ ]
  57. ---例如---
    / m8 ~6 \( A; H6 d
  58. [ dbexpress ] ! g- Z' F+ N: I3 y4 Z* b# `' S
  59. sqldir = mysql_sql
    9 i9 k/ S6 r  Q
  60. drivername = MySQL中" F$ t/ G1 O1 a5 s
  61. 数据库=测试/ m2 }* K$ @# Y; Z
  62. 主机= 127.0.0.1
    7 A& y  H$ ^4 H2 m/ e1 T
  63. user_name = testuser
    ! P) C" z+ H7 Q# d& o* m, A& a1 M% O
  64. 密码= my_password / N! e+ d5 e" O8 H
  65. getdriverfunc = getsqldrivermysql
    . D/ u# h+ I# ~8 s# d
  66. vendorlib = libmysql.dll在
    2 q6 t- w" t, j) i! ^" w
  67. libraryname = dbexpmysql.dll
    . T/ |5 g1 ^) x1 ^, o: |( ~, W
  68. 积极= 1
    3 V' x. D. y  ]. o; u% ^  Q
  69. ---例如---- 2 ~4 V+ R2 T0 ]+ t, ~
  70. -写在0 2.03.04由p wk.linuxfan5 ]  L5 W& u) y4 h" Y6 Y: L2 y
复制代码
发表于 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
$ I8 q/ `* U' g4 l$ I$ A" H( t$ p0 O/ u9 s8 n% A/ ^4 G
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-10 00:52 , Processed in 0.116843 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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