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

3316 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan & I$ Q: l* X: h+ J  S$ ]% w% S
1 X+ j% _, r) x' z" i' ^1 l
  1. * U# T  L1 j& y/ |( |% ]' h
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######4 {( Q2 x1 G, m; Z, u, B& T
  3. ! F) p- N+ L$ `; L5 X$ ^: V
  4. ### What we need ###
    ! {5 d! i, v1 W. }$ M
  5. Naturally, we will need a MySQL server to store the data for us, this document ) z* K7 h4 o7 |# t, K- h: V5 [, ~
  6. will not explain how this can be done - there are documents out there for the ) K; B: j6 m. P0 H
  7. interested. The requirements include a (empty) database for TeamSpeak to use8 ~7 C. q; c5 e/ P
  8. and a user account (username + password) that has the permissions to do stuff; E, h2 Q# y- d+ Y, W& g
  9. with the database. Additionally, you will need a vendor library installed on the
    # B; S2 @7 r/ f5 @0 f& I+ w3 u
  10. local machine, this came with my MySQL install.
    5 i: {0 e% W$ D
  11. These instructions will not tell you how you might transfer your data from the
    & F2 ?: h' s# h9 m" h) x
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL* r# @; q" S  M3 [2 K! j5 ~
  13. database.
    6 U  e4 O" u- [( s& H9 l
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ! `. c6 w& r# R1 M# D
  15. the time of writing, there are still too many issues - check the current status
      t, Z. e7 ], d: @& I
  16. in the TeamSpeak forums if you are interested.
    % j! ]# @/ e( |% B  W7 F
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from1 y" O/ H1 d/ R
  18. Borland was used. This driver can only interface with the client library that , a+ m9 {/ `: q
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this, {/ {* N0 w+ c1 l6 u. F
  20. client library - basically all you have to do is to use a 3.x client library as
    4 p+ \& a9 f; M) o% s- L
  21. "VendorLib" and a 4.x database to connect to.2 D8 M7 J/ h# j( E* q$ r0 i
  22. If you need more info about dbExpress, you can contact Borland.! J  c9 P  F- W4 ?
  23. $ \( J; b4 L* p4 r' }' w: I
  24. ### Doing the work ###
    ' E. L* _- }+ W6 q7 L  M# P* V
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    & {' i7 [  v- ^5 o
  26. the perquisites right, just open your server.ini file, and add this section at( e' S" y9 N3 _# y
  27. the end:
    0 q$ q+ B  o0 R# P7 I) K
  28. ---cut here---9 u* T# S" l4 g$ G* M! ?
  29. [DBEXPRESS]# G  N9 C+ h; N
  30. sqldir=mysql_sql/ y* G9 @/ x) G# `# i( x% T) x
  31. Drivername=mysql
    + S+ ~8 r  P5 W! A+ k0 L, C0 w4 V
  32. Database=Your_Database_Name_Here
    # m, Z* E4 Q7 I' q/ L
  33. Hostname=The_PC_the_MySQL-Server_is_on
    : A1 I/ m% J3 I. G  r2 G. D
  34. User_name=User_name_on_the_MySQL-Server
    2 l4 z& k* u, z; t. Q8 N
  35. Password=Password_to_go_with_above_user_name1 A7 L5 U% a  f/ i
  36. GetDriverFunc=getSQLDriverMYSQL
    , |1 X, z! ]1 \
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib, ?( p8 e6 r, W. y6 r) o
  38. LibraryName=path_to_libsqlmy_libary7 _( c, c2 b) I. v5 J6 t; c
  39. Active=13 `  ~3 s) A6 X# K3 w2 @2 J
  40. ---cut here---
    : z, H3 @: r; {, h5 w3 A
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ( N, G* P0 U' k0 B$ I
  42. ---example---9 [2 A9 R: w0 i. F, q
  43. [DBEXPRESS]
    6 k& W0 [' ]& ^' T0 z0 }
  44. sqldir=mysql_sql
    " k/ `+ e' @+ F  `
  45. Drivername=mysql
    ' _3 Q0 A' ^- v& \+ n
  46. Database=test
      n! h9 q! U" S0 c* U4 X
  47. Hostname=localhost
      O( B4 c' s* j, b8 V! R
  48. User_name=testuser  q; n& \7 U: j6 p3 s
  49. Password=my_password7 Z7 ^) W, V) q* H2 r/ s
  50. GetDriverFunc=getSQLDriverMYSQL
      |2 F  f: F$ x4 h6 \& @& N& K
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    6 U( C6 P8 G6 m; j% a
  52. LibraryName=./libsqlmy.so. C( y( i  b; ?2 U- D
  53. Active=17 K/ S7 ]1 X/ r4 U0 o% _# a
  54. ---example---
    * D% }: }- I$ I" u; g

  55. . B: o7 C8 b! ]* l0 a
  56. On a windows box, also running the MySQL server locally, it would be:2 Y- M6 [0 h" D' ^+ M! |8 c
  57. ---example---
    3 T# l6 x/ ?( z9 d; X) f" J
  58. [DBEXPRESS]! n0 i7 b9 m. j4 q7 f4 x
  59. sqldir=mysql_sql: Q2 t0 z2 ]1 \" Q* {- d. U2 ?
  60. Drivername=mysql3 [5 a" @3 M# T8 W1 X/ @3 {4 p4 L% M; ~
  61. Database=test
    * o" g, M* a  ^
  62. Hostname=127.0.0.1
    + _! I7 C% C; J0 |9 H; N
  63. User_name=testuser
    ( P# `# S& o3 i5 B. f, k- d
  64. Password=my_password$ P9 D: O0 {; _$ }8 i0 g
  65. GetDriverFunc=getSQLDriverMYSQL' j5 |( x" N: ]- N0 }. n
  66. VendorLib=libmysql.dll
    5 Y  X/ o0 X8 H2 j' ~: o
  67. LibraryName=dbexpmysql.dll# P8 R2 O* G2 {9 {8 @1 ?  ~
  68. Active=1- ^# j4 o' h8 z
  69. ---example----
    $ q  E0 |, B: n" @3 D" k4 z: t
  70. - written 02.03.04 by pwk.linuxfan2 y) R; t3 D2 F" H9 ^& x$ u

  71. ( O; h7 l6 V- c0 h# k
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看! G: v+ `6 r: L

  1. 3 u+ M7 z4 r* S" p7 `
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    & B+ l  y' I' S: |6 E' C. u
  3. - v6 l5 V" I- w. I" x6 ^
  4. # # #我们所需要# # # + p6 j( i2 L% n
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    + e6 d, M  x0 m# m
  6. 不会解释如何做到这一点-也有文件存在,为
    / b/ j1 w. C+ ^9 m* A5 h+ x
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    $ b' T, y# i9 K* g8 e2 P
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西- v: f' c2 b( y* ^
  9. 随着数据库。此外,你需要一个卖方图书馆安装于- k, H* R  b2 g/ J7 s3 F8 C/ q( T; [
  10. 本地机器,这是我的MySQL安装。 ) I5 p: S# X$ d/ j# [8 B! A
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从2 i+ V4 F2 P: p# ~7 J3 Z- v3 Z
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 9 F- c- q, I" r1 l! I- N& L
  13. 数据库。
    ; `2 K6 f: m8 e3 }
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在/ X5 |5 H* m9 ]
  15. 编写本报告的时候,仍然有太多的问题-检查现状( n: T! [# S& ^% |& l
  16. 在teamspeak论坛,如果你有兴趣。 3 C1 X* ~# i$ W/ P
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ( V' X1 T) ~; |
  18. Borland公司使用。这个司机只能界面与客户端库
    5 }; Z+ A7 d/ K9 k8 c' _
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    7 y, |* O$ A/ V0 c- c2 M
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为# i! m! F% A* B, G
  21. " vendorlib " ,并解数据库连接。 , Z% x# R3 P# k; g
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ! w$ C, i( y$ S

  23. 0 R5 \. `4 Q: C# i8 c
  24. # # #做好工作# # #
    ( ~9 Z: V; x2 [0 c' g# V6 e
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都- I0 f0 s- j/ v5 \7 e6 E& q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    # Z2 B4 }* q* C0 z
  27. 结束: ; W8 U2 a, S& [# \. t7 g+ T
  28. ---削减这里--- 7 @% u4 X% R, X8 b7 \! i
  29. [ dbexpress ] 9 a( @; ?% x$ S* I) D# b
  30. sqldir = mysql_sql * G* ]% f% \* s% t6 ~
  31. drivername = MySQL中, |# t/ ?& b, S1 b; m7 B! R' v- j0 S" g
  32. 数据库= your_database_name_here
    1 F( B3 M& J. x" a
  33. 主机= the_pc_the_mysql - server_is_on * m6 x" ~+ h0 @, h4 @& x/ G/ @
  34. user_name = user_name_on_the_mysql服务器
    6 u& B' {5 D! l% Z1 f
  35. 密码= password_to_go_with_above_user_name
    # g& _8 b4 p: V5 Q
  36. getdriverfunc = getsqldrivermysql / d7 z' q8 Q; U* o8 I
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib + u# `) Y. \9 p) l' e
  38. libraryname = path_to_libsqlmy_libary
    9 h# k- c) i# s$ l3 `& ^# \
  39. 积极= 1 # |; k0 ]* K  a! j/ ?5 N
  40. ---削减这里---   Z" e' d% x- B
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    1 ^% t* r+ R- ?4 T; i
  42. ---例如--- . h3 k  W# w. i! S: s
  43. [ dbexpress ] 3 K% X7 x. B/ a$ c) l4 B( }1 C, g7 E
  44. sqldir = mysql_sql
    8 @# T  ]7 N3 e; b7 Z
  45. drivername = MySQL中5 C0 j* Y  v/ a& C
  46. 数据库=测试& ?- {- x2 \0 Q; f" H5 v2 k
  47. 主机=本地主机
    - \# A4 b& ?1 Q- A2 m9 G
  48. user_name = testuser
    - O! x  J* {8 m+ k* K3 p2 z, Y
  49. 密码= my_password
    9 P( ]8 h' w3 `" Q
  50. getdriverfunc = getsqldrivermysql
    $ T+ }6 f6 q2 O/ i6 V1 E1 M! x
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 $ x8 Y* t2 V6 j7 ~
  52. libraryname =. / libsqlmy.so
    6 f% Q* G3 c# f+ K
  53. 积极= 1 # u0 S8 j9 _8 H
  54. ---例如---
    ; l& N3 Y. P6 w! g) d

  55. + @. L5 F% b' p; x# `2 p0 K
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    * \) U) E+ L+ R
  57. ---例如---
    / Y9 N# b4 s( c4 ?: A& W
  58. [ dbexpress ] . }) ]: @0 ?- I( ?6 P$ }
  59. sqldir = mysql_sql & R' N0 w0 i: ]( S
  60. drivername = MySQL中+ {7 V2 C( `7 I8 W3 M+ U. i5 ^
  61. 数据库=测试5 Y+ |0 |2 G  M
  62. 主机= 127.0.0.1
    ' Q+ D; |- @# ~/ @! u! \! ]9 A
  63. user_name = testuser
    ' n6 O- U5 G  y, G
  64. 密码= my_password
    . [; M  X4 g% W
  65. getdriverfunc = getsqldrivermysql 7 S7 [2 W: i. A% A# e5 N; n4 h6 H
  66. vendorlib = libmysql.dll在9 Z, ^. H+ Q8 f7 w/ w4 G
  67. libraryname = dbexpmysql.dll
    3 k* A, @- v1 ^* k  S! [% J
  68. 积极= 1
    ! p9 t) b, _) l4 S# r. Q+ P" N3 I1 I
  69. ---例如---- : H# V( m3 F+ W' Q5 b6 @/ d0 y
  70. -写在0 2.03.04由p wk.linuxfan
    # \4 K5 f/ C1 ?- [2 D: ^) ?
复制代码
发表于 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
$ X1 ^' ?* Y) Q+ \
" G# G# Z' z; M7 s8 q# Nbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

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

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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