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

3303 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
& E7 G4 Y' ]7 T7 {) ~" J4 W
1 [! G0 Y7 r) e5 b: p0 d

  1. * t6 H, O. c0 @' ~4 m
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######$ V* H0 G+ P6 i3 K* x( }

  3. ' A1 R: d+ E/ c4 O; ~/ J
  4. ### What we need ###0 i! F" Z$ i3 F6 Q/ A" o( i) C5 Y
  5. Naturally, we will need a MySQL server to store the data for us, this document ! f8 x6 @# r1 M4 f
  6. will not explain how this can be done - there are documents out there for the
    # F9 S8 l/ Z# y- ]
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    1 B# W3 z3 n. a' F) D" q2 {- T
  8. and a user account (username + password) that has the permissions to do stuff+ {! F8 x' Z5 V$ c0 X6 l" ~  k% ]
  9. with the database. Additionally, you will need a vendor library installed on the
    + B5 w7 N# F3 b  X
  10. local machine, this came with my MySQL install.& U6 F! ?6 v0 J4 g
  11. These instructions will not tell you how you might transfer your data from the  U1 M. J: I) a0 R# h  Q8 d  ?( C
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL8 b7 M& O6 D3 A7 M
  13. database.
    0 r) _  x# g% A$ y
  14. Some users have reported ways to import a SQLite database into MySQL, but at+ X+ b8 F4 k) I% W; j5 f
  15. the time of writing, there are still too many issues - check the current status/ b1 R: E) ]6 ~$ j
  16. in the TeamSpeak forums if you are interested.9 Q9 D; p4 c* ?
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    9 I3 N7 ^/ F! a
  18. Borland was used. This driver can only interface with the client library that ! b8 F2 {6 \$ P2 b8 e% H+ k
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this- E. p- `* Z* J
  20. client library - basically all you have to do is to use a 3.x client library as ! d' F: x7 ^$ c
  21. "VendorLib" and a 4.x database to connect to.
    & s) s: i- o% N
  22. If you need more info about dbExpress, you can contact Borland.
    6 M5 n  b) i! T% S# ^" f

  23. * }+ X5 |# X0 i$ }4 K% T7 @
  24. ### Doing the work ###$ |* ^' y) c+ s2 S$ A( y6 f' E" [
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all0 s  [. ], q$ ]- p& n
  26. the perquisites right, just open your server.ini file, and add this section at
    % ~! Q  k7 D8 a. ~6 Y1 A( s. H
  27. the end:
    2 M+ P$ L3 e3 [4 z6 d
  28. ---cut here---
      n* H1 R8 I2 A- H+ {5 J) X
  29. [DBEXPRESS]" l! x+ v6 x& l- H9 e5 z
  30. sqldir=mysql_sql: ^: P* d: W& b# D9 ]8 k4 ^
  31. Drivername=mysql4 }9 R- Z* [0 R1 v  D0 P2 w
  32. Database=Your_Database_Name_Here
    - K0 t3 d# V) {! L% Z! L7 z
  33. Hostname=The_PC_the_MySQL-Server_is_on
    , _" \( V3 ^3 F
  34. User_name=User_name_on_the_MySQL-Server
    5 S9 J" j* r: D" L" W" x
  35. Password=Password_to_go_with_above_user_name: c3 B: M5 I8 K8 \1 i
  36. GetDriverFunc=getSQLDriverMYSQL
    1 C; D% f7 ~: ?/ \$ z. Y5 @
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    3 ]$ h/ c1 ]4 p$ G; A4 |
  38. LibraryName=path_to_libsqlmy_libary/ t9 Q. F1 _. Y
  39. Active=1+ `3 y, \+ w7 ~8 m
  40. ---cut here---
    6 b7 U. P! T( X' J/ k. D; ^
  41. In my environment (a linux box with a MySQL server running locally) I have:
    , g% n, Q: m/ Q# P
  42. ---example---- K( o. T# ?5 c
  43. [DBEXPRESS]
    2 p. o! D- m  x* Z
  44. sqldir=mysql_sql1 F$ O3 e, }  s$ C  _) `
  45. Drivername=mysql
    5 V) e( k! |5 s% }( I% }0 ^4 |8 b/ c8 Y
  46. Database=test
    $ ^7 k2 e# o  J0 k- D( U1 w
  47. Hostname=localhost
    5 {8 I; G1 S( w6 H( f  Y
  48. User_name=testuser0 ~' o/ R4 b/ N1 s( r4 U
  49. Password=my_password: j/ b& y, I9 f; B
  50. GetDriverFunc=getSQLDriverMYSQL
    - z" y( @' o2 i# O* U
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0+ }! I. q' E7 b' H6 G6 D& Q4 q8 }! K& u
  52. LibraryName=./libsqlmy.so
    $ H5 X2 S7 J! J4 Z) E. i5 ~
  53. Active=1
    - Z; x& R2 |4 s( _; H2 @$ v
  54. ---example---
    ' V, z9 F+ Q3 ?* \' O  ?$ k

  55. 5 w3 Q+ f' E& \. p# j5 }  u/ g- a" ?
  56. On a windows box, also running the MySQL server locally, it would be:! L6 n# L9 Y% h5 }) T) X
  57. ---example---
    % a+ P. {& F3 g$ T) v$ G: i( M2 D
  58. [DBEXPRESS]
    # {/ R  V9 E9 @4 }
  59. sqldir=mysql_sql
    ) I6 ~8 x1 H) N# f( s
  60. Drivername=mysql2 c0 ?% r* w% ~  u
  61. Database=test
      I! f& _1 H2 z. ]
  62. Hostname=127.0.0.1
    5 q! s2 _7 n! ?: a! [! H0 w, X
  63. User_name=testuser; @! v4 d; A. q9 \8 _
  64. Password=my_password
    , }2 x$ ]6 J* q/ Y: I% r6 ~
  65. GetDriverFunc=getSQLDriverMYSQL
    - ^0 _/ @) z, ^: H/ O* a
  66. VendorLib=libmysql.dll: m4 W' H+ }, f% o/ C
  67. LibraryName=dbexpmysql.dll
    1 D( Y/ {0 {8 F; X) y/ O
  68. Active=1
    ( g& U: P+ f" ^& E$ V/ R, H- p
  69. ---example----6 ?$ u5 Y2 F& w: n
  70. - written 02.03.04 by pwk.linuxfan* k( e, v: Y( q2 t8 y/ P

  71.   U9 U" `0 s2 Y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
: L3 [' O8 @0 E. a6 H/ B' g

  1. 6 {6 }* G' r+ G) q& j
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### $ r: E& R- T- N$ b7 [2 S

  3. : Z* X# c# O* I0 S! x; z  T
  4. # # #我们所需要# # # ; V8 L+ L+ q: S
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    & s8 \* F: B2 S
  6. 不会解释如何做到这一点-也有文件存在,为
    7 B- d4 ?# I  H$ c
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用* q& q0 X) q' G
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西( s* A3 ?6 Y# a9 ?4 E. S
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    2 N  ?" H0 d6 h- s$ x! u  G
  10. 本地机器,这是我的MySQL安装。 : g6 Y: J3 R! @
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从0 N$ u# f4 l5 j, o) o
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 0 W, x# i; j) n% r
  13. 数据库。 ' e0 I( N% X3 n  X' j; R
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    : B9 j  j: k/ s$ ?& X4 J
  15. 编写本报告的时候,仍然有太多的问题-检查现状  y& Q( m  _" y2 m) G
  16. 在teamspeak论坛,如果你有兴趣。
    4 u- ?2 ^9 d. x( ^& ]$ ]- n5 r
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机- t9 `+ {1 n6 o7 S2 }/ r) L, {
  18. Borland公司使用。这个司机只能界面与客户端库5 Y0 c" D5 }" o8 I; S% a% ?
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这5 M, r3 g; W* V. O
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为/ `5 g8 D$ x# d. ?. g; p/ A
  21. " vendorlib " ,并解数据库连接。
    0 R$ c/ A, U8 c/ ^! P+ M
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    3 T* x* o& l' q& h7 ~3 Z, t5 w/ n
  23. 3 i8 X, |2 m. c, S0 r8 B
  24. # # #做好工作# # # # H& b- q8 U4 G- T- n2 Z/ A
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都9 a1 h3 k0 x9 x0 u0 @
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在$ o" g! S; Z, u. x
  27. 结束: ; f! l: G3 f* R, I7 F( o+ @
  28. ---削减这里--- + X3 G( G/ t0 `
  29. [ dbexpress ]
    $ L% Z6 x" d' _) W$ w% A
  30. sqldir = mysql_sql $ i  D( O" h) P6 J
  31. drivername = MySQL中6 U' {( g4 m/ Q/ C
  32. 数据库= your_database_name_here " B& h; t: @' ]0 X1 z6 I) r
  33. 主机= the_pc_the_mysql - server_is_on 7 a, n0 a1 p7 p
  34. user_name = user_name_on_the_mysql服务器6 ?9 U, F" e9 s. o" U6 r' P+ K
  35. 密码= password_to_go_with_above_user_name
    / V4 j% o) M% g5 H) b7 r6 N3 f( {
  36. getdriverfunc = getsqldrivermysql * Y- k& ~' H0 ]: d# P$ t, |
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
      h$ K6 i9 P/ n  Q8 V# M
  38. libraryname = path_to_libsqlmy_libary   p/ `5 z" S" l# A
  39. 积极= 1
    8 O) s7 P4 ?2 B, @7 _7 `$ n% t
  40. ---削减这里---
    1 N' K( r% p8 V" a5 R  |3 w
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    7 v+ G( n' V! \3 p' R4 R- z
  42. ---例如--- " R. K, W6 Q& s1 f* {4 b2 c
  43. [ dbexpress ] % m/ d! A! J1 V1 o
  44. sqldir = mysql_sql - ~, U! C% I0 \( r3 ?% o
  45. drivername = MySQL中+ n' q0 ^6 b4 `; s
  46. 数据库=测试+ I: \+ k; N3 I+ W& j( `# y1 u
  47. 主机=本地主机
      }0 ^% j, g. }+ U9 q
  48. user_name = testuser
    , J2 _" w. U5 `" w
  49. 密码= my_password % O' c8 T) E9 l/ O2 u, m% M# n
  50. getdriverfunc = getsqldrivermysql * I( V6 L; f/ y
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    8 F0 ]# h/ t, k. a% ^" v8 E1 S
  52. libraryname =. / libsqlmy.so
    9 S5 b2 Y! E$ t: O
  53. 积极= 1
    , v/ K. k: N. f/ e
  54. ---例如---
    - h) i' H, J2 [- S+ N& V* ]
  55. ) K' X2 e% }5 P/ A
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    + o0 [, s* K2 a! G) u9 K+ l
  57. ---例如--- ) J9 I* ?' [8 O
  58. [ dbexpress ] " \6 s$ l5 g) d, F$ y5 j$ p
  59. sqldir = mysql_sql
    & o! b- A# i6 ]( K
  60. drivername = MySQL中& u- U  A+ `" q( Q6 `% B3 {
  61. 数据库=测试
    + u" x6 |( O! S  d3 Z4 V# ?  f
  62. 主机= 127.0.0.1 * u6 _2 u- M/ A; t
  63. user_name = testuser
    2 H, h; H7 E1 ~- M+ \  a- m
  64. 密码= my_password   `% g; x8 ?- a) I$ s
  65. getdriverfunc = getsqldrivermysql 5 D3 u5 Q+ T, c& Z0 a
  66. vendorlib = libmysql.dll在6 A" L2 s! m+ R
  67. libraryname = dbexpmysql.dll 4 d0 m0 w! X8 a1 I/ z- n
  68. 积极= 1 # V1 p" R8 c1 c
  69. ---例如----
    + ~4 T# `" l; q9 N( [7 x7 l
  70. -写在0 2.03.04由p wk.linuxfan, ^3 v5 H2 T1 D( u+ K* a
复制代码
发表于 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
8 i( D* r& ]7 P7 @+ |. b% p
$ C- k' P' J, O, dbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-8 13:16 , Processed in 0.095233 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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