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

2583 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
. x/ [5 u: n) ^4 q5 i
: [2 N! Y/ {7 E

  1. . t0 ]6 `! k* Z  P+ A
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    5 V/ L& {; v! C. m1 u; o4 _( f

  3. ( ~3 Z1 k4 M! k3 C) s4 V7 r; K6 |
  4. ### What we need ###
    ; ^4 b4 x4 w% u9 z  O* ^- \& ?
  5. Naturally, we will need a MySQL server to store the data for us, this document
    6 r9 A1 S4 w, m. d; w
  6. will not explain how this can be done - there are documents out there for the 7 G$ J7 `/ L; H& |! l1 c' t# n5 C
  7. interested. The requirements include a (empty) database for TeamSpeak to use2 N% I5 _4 C6 T- j, T7 n
  8. and a user account (username + password) that has the permissions to do stuff
    ; q! \  A7 U3 O0 F- z0 W
  9. with the database. Additionally, you will need a vendor library installed on the; H2 U& y3 C+ R1 ~; m
  10. local machine, this came with my MySQL install., ]( v$ Q+ T. k! s1 c2 v
  11. These instructions will not tell you how you might transfer your data from the  U2 J. Y& {9 P' P# S
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    6 B, b4 ~/ r5 Z! p: u2 T
  13. database.( D; c% L) y: A2 Y/ V  K% p' x
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    " C/ N# H0 g, e# u3 r
  15. the time of writing, there are still too many issues - check the current status3 s5 t8 }3 I  G0 X4 C; y
  16. in the TeamSpeak forums if you are interested.
    7 O0 @% Y& q  [# Y# N$ R) M( [
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    : h/ S6 l, A$ ~0 \' T9 y- ^' i
  18. Borland was used. This driver can only interface with the client library that
    * ^6 X! B& R$ X+ `, {
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this% i8 V6 R* c6 }7 y* U# X; |% X
  20. client library - basically all you have to do is to use a 3.x client library as - v4 M8 W: |* I7 F! C2 s
  21. "VendorLib" and a 4.x database to connect to." n2 c. G# T* m/ V
  22. If you need more info about dbExpress, you can contact Borland.
    2 A/ A' d6 ?* P

  23. , S  [$ d8 ?$ j4 ]# l* C
  24. ### Doing the work ###5 z; I; i, f1 A$ I% }3 k
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all; O4 d7 c  I) m6 \
  26. the perquisites right, just open your server.ini file, and add this section at
    # W# e- e" K. ^1 ]) ?3 U
  27. the end:
    : `" Z5 Y- f' e- l, P
  28. ---cut here---2 o6 L$ m9 S. y! }, @# w% @& }
  29. [DBEXPRESS]6 S  k/ ~! T" i! e$ m
  30. sqldir=mysql_sql: b! ~7 g6 c, J3 H4 v" z2 v
  31. Drivername=mysql* N$ d- R- E4 S6 j$ u" c, y- o
  32. Database=Your_Database_Name_Here
    3 l/ r1 X: N! X( e& u
  33. Hostname=The_PC_the_MySQL-Server_is_on: P$ a; q/ o4 p5 f9 o) D5 n9 J
  34. User_name=User_name_on_the_MySQL-Server
    , L. K0 o# S! u4 }4 \
  35. Password=Password_to_go_with_above_user_name& p9 d) \7 A0 n6 _+ f/ g3 o' E
  36. GetDriverFunc=getSQLDriverMYSQL* f# `& B$ b4 {7 b
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib9 c- y; h0 V: ]: s- J5 o; C% W
  38. LibraryName=path_to_libsqlmy_libary+ Q( T0 N1 J; J1 ?0 M8 J
  39. Active=16 W% R9 x/ E" i; l3 S) x. ~
  40. ---cut here---
    8 K( p) N) w9 ^: l7 t9 i; k* O
  41. In my environment (a linux box with a MySQL server running locally) I have:
    + Z  }5 P/ C8 g
  42. ---example---$ h8 d/ H9 P: J" C, E' N
  43. [DBEXPRESS]# d% u4 Y5 h0 [7 q4 A; z8 E% R( L
  44. sqldir=mysql_sql9 Y/ C9 r  k. l) P7 _& D
  45. Drivername=mysql
    7 |  @$ u0 I; Z/ h- R- \
  46. Database=test
    # D" E5 @0 e2 q3 S2 k  S
  47. Hostname=localhost
    ; k6 }# Z% Q- [5 W6 y0 Y, Z+ v. N1 r! T" `
  48. User_name=testuser
    0 P1 n1 z! Z$ [; O
  49. Password=my_password
    ! c( w  Q0 b1 p  S" S
  50. GetDriverFunc=getSQLDriverMYSQL- I$ d5 Y4 C: M' M
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    2 S* {3 O, S: \, W
  52. LibraryName=./libsqlmy.so9 O2 J. q3 y9 S& N; o
  53. Active=1
    ' s# z7 E* }3 e4 t+ y$ @7 y' o3 E( t
  54. ---example---) l* x- @4 t/ ~

  55. * b% @7 x- L( T/ B! _" I2 q
  56. On a windows box, also running the MySQL server locally, it would be:
    # v+ M" T  e; ^) ?+ B
  57. ---example---
    ' ]* z7 t. X* E5 _# s
  58. [DBEXPRESS]( Z: G# \; l. l2 R( I& n
  59. sqldir=mysql_sql
    " Z7 c( r" o' y& U7 O9 Y
  60. Drivername=mysql& B4 \- M! U4 \0 R7 |
  61. Database=test
    + }; z2 M! {& \  P8 x
  62. Hostname=127.0.0.13 g# A- K& T$ ?, i
  63. User_name=testuser
    ( c5 y: V9 n- R. j8 f
  64. Password=my_password
    + K3 m  H' F. l- H4 k) I
  65. GetDriverFunc=getSQLDriverMYSQL
    , p2 m1 z& o+ G0 x; ?' h9 b
  66. VendorLib=libmysql.dll) Z+ w1 `& R, ?& R
  67. LibraryName=dbexpmysql.dll. @) z" @/ _# c3 u
  68. Active=10 l. u% O. e# u1 }
  69. ---example----
    ( ]7 n' n- @. \: ^! g: `5 q4 [
  70. - written 02.03.04 by pwk.linuxfan
    ) T0 B! g) R' F( J1 E
  71. ) K& M2 z+ G8 @
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看2 Q. x, I) k. S4 B7 z; u

  1. ; z7 B8 M+ H: E0 e+ y: o* B
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ( G' o! {% h6 H! U: Z. _; C

  3. ' }3 l' r: _) }) J
  4. # # #我们所需要# # # ' f) t1 B2 Y. [: L: Q$ f
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ) W- \# @+ b# [' g4 [
  6. 不会解释如何做到这一点-也有文件存在,为
    5 Y2 ~* W# N/ g1 x8 d
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    % h5 j# B: \  K- w, N' W3 u
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    5 R& u9 o, x) N0 z3 k( F
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    6 S4 x% ~9 P! A# O1 h
  10. 本地机器,这是我的MySQL安装。
    ' R5 e5 |; Y, [/ B9 {2 ~, O) E% f
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从8 J' R9 K4 g( |! M. S/ L
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    6 r+ X! l7 S) Z7 z
  13. 数据库。
    ) D' }9 @- g# v6 s
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    9 e2 a4 Y' ?, B
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    1 p% I  B/ I, e/ A9 P3 U
  16. 在teamspeak论坛,如果你有兴趣。 # n5 c) ~+ N4 _: ?
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机5 j1 p$ E/ z+ N2 g$ N1 W
  18. Borland公司使用。这个司机只能界面与客户端库
    + c& [* U/ b" O6 m. P7 l- T" S
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ' j7 Y& Q& `' x8 W+ v
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为, q$ V1 e* t! _! h0 E& J& i
  21. " vendorlib " ,并解数据库连接。
    7 V+ O1 ^4 d" G5 r
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    3 C  a7 d2 |8 V" v" G

  23. " T2 ]4 s  d  s5 H
  24. # # #做好工作# # #
      ~" n* Z; `5 Y4 U; C
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都& z. r8 t6 W8 a) b1 ^" U
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ) o5 t; W! e5 Q; U" T  E
  27. 结束: 9 Q' P) B- E) B) a
  28. ---削减这里---
      c; i& w( e6 q1 U& U# H/ L# U
  29. [ dbexpress ]
    4 e# ?# n/ ~  S- p3 Q
  30. sqldir = mysql_sql + |/ \/ e7 v* {
  31. drivername = MySQL中
    " }( m9 v7 U7 t. m
  32. 数据库= your_database_name_here 3 h  ^7 \; \- k# F
  33. 主机= the_pc_the_mysql - server_is_on
    8 t' y' U. q8 N1 E
  34. user_name = user_name_on_the_mysql服务器/ L2 c- P! _( M
  35. 密码= password_to_go_with_above_user_name   \0 a6 ]" K, h1 m  h
  36. getdriverfunc = getsqldrivermysql
    " O# ~6 h- C7 T& r% h) m# _1 H/ m: S
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    / C* h$ D; R5 f9 @: n8 f
  38. libraryname = path_to_libsqlmy_libary 0 }: g1 O* l' G
  39. 积极= 1 * `- t* J+ W7 }% a" U0 T$ Y7 j7 I( t
  40. ---削减这里--- 0 H* [, c( N# N$ \/ E
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ; z4 Q" V6 u! m, k2 ]2 @6 o
  42. ---例如---
    3 ]' [0 d& x! g9 r5 y
  43. [ dbexpress ] + P3 I! W4 ~8 m
  44. sqldir = mysql_sql # u: p' a$ b. K5 h; E6 L; \. \
  45. drivername = MySQL中3 [0 k' {& M3 r$ H* h! Z1 r: l
  46. 数据库=测试) B/ q& B5 w' e2 u6 [# c
  47. 主机=本地主机# d0 M! i. F2 `6 w
  48. user_name = testuser
    % L) k6 N4 t" K. l" \
  49. 密码= my_password 8 f, E3 p: [7 p. D" o2 T8 J
  50. getdriverfunc = getsqldrivermysql
    ! w  @7 |4 S" `0 U- k2 F5 S( T; K
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ; c! q5 ^; v. {0 j4 q1 p! E) Z2 p# F" R
  52. libraryname =. / libsqlmy.so   t8 L" H0 Y6 |, g
  53. 积极= 1
    ' V- K* f" j) B7 E) Y
  54. ---例如---
    3 a# G6 F' B- `- x
  55. & z/ N5 U* K/ w5 g- J) h
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 9 ?; B7 t  a1 D1 o/ n$ \5 n4 w
  57. ---例如--- 7 v, p% O! I( T- H! j4 W3 p# a
  58. [ dbexpress ]
    1 j- w% |. R" ~: K) p2 C
  59. sqldir = mysql_sql 5 y3 }* l5 |. @# _
  60. drivername = MySQL中3 U  h* F5 l* o' ], {
  61. 数据库=测试* ?) q: a' V/ ?- ?! i  e
  62. 主机= 127.0.0.1
    ; b; {9 g* b: O# V) \/ X- S8 B
  63. user_name = testuser
    " D! H0 O! v6 _! H& _. l
  64. 密码= my_password   E5 i: u; n' \1 z' l7 M
  65. getdriverfunc = getsqldrivermysql
    . {9 \1 O8 H2 N6 e& S
  66. vendorlib = libmysql.dll在
    5 p. g3 q" Z- ]4 y. d
  67. libraryname = dbexpmysql.dll * C% p- U( B* U: @6 Y; g
  68. 积极= 1
    % J! U: R/ y0 s
  69. ---例如----
    & p7 B4 z: B5 A+ j
  70. -写在0 2.03.04由p wk.linuxfan
    $ R* `& O+ E8 ^( {/ Y0 C" w5 w% g
复制代码
发表于 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
0 g: p/ J; P/ ^) c# M% |; L* C, g% A5 N
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-5 11:19 , Processed in 0.098899 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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