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

2248 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ( X1 u+ G+ A- j" \/ s" l
9 f5 `* ], V* V! s

  1. : p  g3 R+ D2 g
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    5 H- h& k) e, w/ m, {

  3. ( u) @0 m! b( Z
  4. ### What we need ###  W% {# h1 O4 G4 u$ x+ ]4 h2 P
  5. Naturally, we will need a MySQL server to store the data for us, this document " \* X8 y' F) @6 c* A+ A/ H
  6. will not explain how this can be done - there are documents out there for the 3 K& [' R9 ^/ X+ l6 N" z
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    6 q$ O- Y; X  F0 z0 b. h  I
  8. and a user account (username + password) that has the permissions to do stuff
    ! L8 s+ f1 ]$ t5 L
  9. with the database. Additionally, you will need a vendor library installed on the5 i+ m  P: z/ E2 X9 r
  10. local machine, this came with my MySQL install.
    % {" V) J, k/ N/ n5 n( b
  11. These instructions will not tell you how you might transfer your data from the' Y9 z. ~+ p+ a+ Y4 D6 H
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    9 d+ _2 `4 {+ K7 X9 k$ \0 x1 f
  13. database.+ \6 U. H% R0 Z( Z3 P; \9 C/ [
  14. Some users have reported ways to import a SQLite database into MySQL, but at) F; U5 l7 }/ W; @
  15. the time of writing, there are still too many issues - check the current status
    3 l) [4 h( r0 l9 [
  16. in the TeamSpeak forums if you are interested.
    6 k; }& b6 P3 L; h" e
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ( s. j3 }: |/ ^9 E: l
  18. Borland was used. This driver can only interface with the client library that ) J" z/ y, L$ E) N( B& M% Z$ E
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ( ~4 c- J- a5 S* J1 r& X
  20. client library - basically all you have to do is to use a 3.x client library as " r7 e( D2 S' a+ J5 x1 P6 ^- k
  21. "VendorLib" and a 4.x database to connect to.5 e' ?; E4 _. A
  22. If you need more info about dbExpress, you can contact Borland.
    + ?  F) h" \1 M5 F* G8 |

  23. $ r: L9 k# \% E$ T
  24. ### Doing the work ###
    ( f# u& K! F, [/ r8 [/ o
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    : L$ c( J+ }) E4 |
  26. the perquisites right, just open your server.ini file, and add this section at" ?6 ~1 b( j5 }1 g2 \8 ?# @. \' ~
  27. the end:3 T8 g* ~, o$ j( ?% q# `0 s
  28. ---cut here---
    5 s% n. g4 o! n% ]5 m0 e7 Q
  29. [DBEXPRESS]7 ^3 r) T8 E9 M! {) u, u9 L4 B
  30. sqldir=mysql_sql- l& P3 g( X) T$ f' [2 D' _% j
  31. Drivername=mysql2 E8 K5 Z1 ?# @" o( ^+ Z4 z9 r
  32. Database=Your_Database_Name_Here! S% X+ j0 S" S2 o6 U
  33. Hostname=The_PC_the_MySQL-Server_is_on
    8 H) V% j5 P6 e. b6 w- r7 b! Z
  34. User_name=User_name_on_the_MySQL-Server
    $ R9 W* Y) F" t: Q1 X9 c
  35. Password=Password_to_go_with_above_user_name- O9 d. O' c/ [* n7 a3 R: q# F
  36. GetDriverFunc=getSQLDriverMYSQL2 A4 W3 b/ J4 l1 L( R3 O% H
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib0 t( {3 @9 M5 O( [. r& M4 Y
  38. LibraryName=path_to_libsqlmy_libary
    1 P- T2 x+ @+ u9 V  R/ o
  39. Active=1
    ' p& |2 p( O; W  t3 M8 w/ N
  40. ---cut here---9 d' C/ t8 T: [/ ?6 P. ]& K; y
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ; r) @/ t, n! i9 `7 c- M2 P
  42. ---example---0 @& _5 b6 k7 E* L
  43. [DBEXPRESS]: K7 g& ]; l9 e: E4 h
  44. sqldir=mysql_sql; F7 v# _! B+ o# H# V* D( I; L
  45. Drivername=mysql$ p  I1 {. F! Z" d0 ?+ @/ T& x
  46. Database=test* H" h* u7 Z1 F/ E+ P1 F, D; h+ f
  47. Hostname=localhost5 Q- Y4 k: E: c& S/ S+ M
  48. User_name=testuser
    8 S5 Q  D) M: K
  49. Password=my_password, ^$ j3 ~& _0 Y0 [$ e
  50. GetDriverFunc=getSQLDriverMYSQL3 G4 T: _( V9 M
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    $ g: j/ ]/ m/ H: p
  52. LibraryName=./libsqlmy.so0 C7 c4 u: U1 P: ?3 Y  j2 Y5 `
  53. Active=1
    1 E0 C1 A/ y/ N1 H) b" F
  54. ---example---
    # l/ q7 `+ \2 O2 c# C) q

  55. & z! P2 X4 [6 C' J* h8 P) X
  56. On a windows box, also running the MySQL server locally, it would be:
    , G5 \6 p9 {! _' M! C
  57. ---example---2 l1 d% B: Y' r" P
  58. [DBEXPRESS]7 ~0 b, l6 y* _8 {' R7 l
  59. sqldir=mysql_sql
    , b- l% \6 ~+ b& v. x! M
  60. Drivername=mysql8 d8 E, J% u! ~6 d' q0 ~/ I5 W# n% s
  61. Database=test
    * |5 u- A+ \% f( Y) [; E3 F- l
  62. Hostname=127.0.0.1
    4 J2 \4 V- }7 t. ~1 E
  63. User_name=testuser' d: v9 ~& X  }4 N; R8 u9 Q
  64. Password=my_password
    ( q1 }; {$ }( m
  65. GetDriverFunc=getSQLDriverMYSQL9 n( Y1 x  c: l$ F# e
  66. VendorLib=libmysql.dll
    8 ~' R  B! `3 y: P2 u$ N$ N
  67. LibraryName=dbexpmysql.dll
      @. e. g0 e3 l% v/ ^
  68. Active=19 g9 v$ V4 e% @0 ~
  69. ---example----2 [: S5 y) e3 ~% T/ m$ l+ g% Z9 K4 B5 k
  70. - written 02.03.04 by pwk.linuxfan
    - d- w6 c4 [; z3 }

  71. / o* Q  b% @! i$ n' ?' ~' a
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看( f) I! x# }! O
  1. ; D& ^, g) o7 R7 z5 |4 h
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ; X3 s1 q- \  G% v" s6 @& y$ N7 K1 s

  3. ( C0 [. c5 q$ B, r
  4. # # #我们所需要# # # 8 I! U' Z; C& T6 V/ n) s
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    . d  [# d; C+ l# s) h) u% s+ ~6 g
  6. 不会解释如何做到这一点-也有文件存在,为) S5 t" P" o3 A8 N1 l# T
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用! q# V# ~: f2 K& F, Z) U* R* j
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    8 Q+ i6 C* D2 t8 h& h- @9 M
  9. 随着数据库。此外,你需要一个卖方图书馆安装于7 R$ B- j7 I% X
  10. 本地机器,这是我的MySQL安装。
    ' z% V! a8 w% W1 z
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从: H0 R) ?8 V0 K) m
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL + Y& W9 J" P3 {  u. }
  13. 数据库。 9 u( f" t  d6 m: z: W1 f$ {# Q
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    4 V8 ]. n8 a% K1 p' G  H+ ?
  15. 编写本报告的时候,仍然有太多的问题-检查现状
      V. Q) S, M" ]/ p8 X
  16. 在teamspeak论坛,如果你有兴趣。
    ) T% g) V: i! o& S' ^
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ) l( r8 C; r" W  a6 K" l5 s5 @/ y
  18. Borland公司使用。这个司机只能界面与客户端库
    % Z8 s" S, a! ]2 s2 U# H- ^) P
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这8 ?1 M, g  g" Z6 `# e
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为! B( b5 d/ V1 o0 k# |2 @; \. E
  21. " vendorlib " ,并解数据库连接。
    6 m' V8 o1 m/ G9 |
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    - F1 R  v8 t' R* {, c

  23. 0 ^/ Y% g' e. r
  24. # # #做好工作# # #
    * X3 K9 \. a5 T: v
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    / `6 t  ~$ }: E' P' o# ~
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在5 ]  X: n$ g, v' c0 {$ e- a2 ?
  27. 结束: # U3 a4 f* u4 s' o9 p- \
  28. ---削减这里---
      V9 z$ `' v/ B7 C
  29. [ dbexpress ]
    - m! y2 I) S2 m9 m
  30. sqldir = mysql_sql : P  T: g+ w# j4 t9 w* W+ T" O
  31. drivername = MySQL中
    ' l/ x2 V  q! m8 M+ P7 u
  32. 数据库= your_database_name_here
    8 P8 [2 Q1 K( t9 P% t5 e
  33. 主机= the_pc_the_mysql - server_is_on 8 Y- A) W$ a. q; m  e3 o, F. ]) c
  34. user_name = user_name_on_the_mysql服务器
    4 ^, \' i' L* }$ n
  35. 密码= password_to_go_with_above_user_name
    + B; O1 b$ l5 G& q& ]; b1 g
  36. getdriverfunc = getsqldrivermysql
      A) X0 q, Z0 T3 S" A
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib & \$ s9 B0 F' M+ ~: {4 _6 N/ C
  38. libraryname = path_to_libsqlmy_libary
      r) T# p& ^- e3 Y
  39. 积极= 1 + c1 I3 i- Y  @; A
  40. ---削减这里--- $ J% D7 i8 ^$ f3 I
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    $ K  [7 |1 B% `4 E% f6 i( J
  42. ---例如---
    4 ^: [& s8 h, I+ i5 j
  43. [ dbexpress ]
    0 z" V' W; \; ~% L' D
  44. sqldir = mysql_sql : B# m- p# P. C4 @0 l: f3 X) m
  45. drivername = MySQL中
    ! S4 O) }- f' W2 @  G
  46. 数据库=测试
    ) S8 K( k* y% d/ S$ m' q
  47. 主机=本地主机
    3 I7 q* g0 j/ F9 i. f
  48. user_name = testuser ) B1 X" Z* F) a/ e/ l
  49. 密码= my_password
    + f% T- R6 ]; J6 j0 `
  50. getdriverfunc = getsqldrivermysql % a+ N8 p8 i% Z; [2 ?9 X7 Q& @& X
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ' _- s: \- Z4 k1 t, h) w' W
  52. libraryname =. / libsqlmy.so : H5 u4 x2 `& v( @' u" [) R. R
  53. 积极= 1 ; K# X  A4 D9 A- Q6 k/ f5 x* a! Q  C
  54. ---例如---
    - Q% b" `7 |9 }- Q! z1 t
  55. ( l2 t3 S' V9 [- V' O6 x
  56. 对Windows中,也运行MySQL服务器本地的,那就是: # T+ k& T  l/ K8 n
  57. ---例如--- 2 J, H9 ?7 z5 W$ z) g
  58. [ dbexpress ]   A. U4 ]3 O6 X' [0 W
  59. sqldir = mysql_sql . n5 K7 h5 ^1 c7 ?* d. V5 Q
  60. drivername = MySQL中
    ; f9 E+ Y) W& ~+ }
  61. 数据库=测试
    , j1 b$ _% m5 ?) n" t
  62. 主机= 127.0.0.1 # y( b7 T3 C5 f
  63. user_name = testuser ! o5 g& C- R) W/ I
  64. 密码= my_password - ?+ H- _1 V/ t$ {% ]+ h4 P% p& V
  65. getdriverfunc = getsqldrivermysql
    1 b3 D/ V! E% d# q* f3 I. g; X
  66. vendorlib = libmysql.dll在0 P1 c( z5 B" n, T  A
  67. libraryname = dbexpmysql.dll
    5 F, }$ I! m+ d5 z8 N' O% A
  68. 积极= 1
    9 c& z) j+ |) i, g" J2 m6 [
  69. ---例如---- # `8 ]- \( }5 h" r( T! f% }" y
  70. -写在0 2.03.04由p wk.linuxfan0 {$ {  `! G/ |" {4 C5 |* H! 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
# m0 a: x, l, B/ A+ }# I/ Y. y! N" @
& k7 V" W- \3 {- Sbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-30 23:35 , Processed in 0.095563 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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