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

2733 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
4 J1 s" M" N+ a6 e( c4 }0 [
1 e9 ?& S5 w3 T# \& ]6 F4 j# ^
  1. 2 Y0 [& E% I0 S& f* g  R4 r2 N4 N, a
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######& A7 C% r3 Z; ~4 [1 U) S

  3. 9 q: q: C0 q5 V# v
  4. ### What we need ###
    ) D: a; X% k! ^4 A6 c/ _
  5. Naturally, we will need a MySQL server to store the data for us, this document . M4 k+ `6 I$ Z( h5 v7 N1 L; A
  6. will not explain how this can be done - there are documents out there for the 4 b/ B! i. L+ M2 {. L0 v
  7. interested. The requirements include a (empty) database for TeamSpeak to use& {; X% v" Z5 C/ H& g" R4 M
  8. and a user account (username + password) that has the permissions to do stuff  D8 M2 f& b  d, w0 x7 l
  9. with the database. Additionally, you will need a vendor library installed on the
    " n4 X. O" E2 s( F3 h
  10. local machine, this came with my MySQL install.
    7 a7 j0 t# e# k  }+ t
  11. These instructions will not tell you how you might transfer your data from the
    + R$ V1 X9 ^$ r
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL) ?1 T( C. C: k+ d
  13. database.
    3 g, J6 l6 G6 o( [
  14. Some users have reported ways to import a SQLite database into MySQL, but at; {9 h+ i9 x& T6 L$ _4 H8 C, [# S
  15. the time of writing, there are still too many issues - check the current status' F. R# B2 Q% m: G
  16. in the TeamSpeak forums if you are interested.
      ^( [7 ]* Q( V
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    4 r  p: L; F$ S1 u
  18. Borland was used. This driver can only interface with the client library that
    / x/ G6 a5 q$ j, l; B( A' k
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    : r  L, V' Z% p
  20. client library - basically all you have to do is to use a 3.x client library as
    ! O, S! I8 @2 U( u% f: B( ^
  21. "VendorLib" and a 4.x database to connect to.9 y. W4 M; ^1 I5 Q) ^6 N' ?: }8 T  X$ ?
  22. If you need more info about dbExpress, you can contact Borland.- F% d: `3 R( l/ m) e3 g! I5 H

  23. 3 G9 a2 F3 J- l1 W, Z8 Z
  24. ### Doing the work ###
    3 g: O" i: O% n' p* j# y+ I9 Z9 C
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all3 @0 ]0 T4 s3 n6 W/ k( y8 T7 B. e6 i" }
  26. the perquisites right, just open your server.ini file, and add this section at8 i9 ?1 v' V5 k
  27. the end:
    1 G& T0 P/ p& A! A
  28. ---cut here---" ?) r7 v- A" G& I7 b" Z
  29. [DBEXPRESS]+ G! p6 J" G9 c
  30. sqldir=mysql_sql
    0 R- F4 ^( I3 ?( C
  31. Drivername=mysql
    : b! J! O; E2 L: j  \5 d# w
  32. Database=Your_Database_Name_Here
    % Z8 U* l7 D+ C/ `
  33. Hostname=The_PC_the_MySQL-Server_is_on% R" m" D' E, \  D, V
  34. User_name=User_name_on_the_MySQL-Server$ P. Y( c) o3 a5 r
  35. Password=Password_to_go_with_above_user_name  \. D5 Q( N9 y1 B2 l" I2 u
  36. GetDriverFunc=getSQLDriverMYSQL
    ' o4 R# w6 ]# t- r+ r# P5 N
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
      ?+ E8 j4 d# @9 @4 S5 I5 X
  38. LibraryName=path_to_libsqlmy_libary
    ) W: C2 V3 K8 y4 x% Q
  39. Active=1  w; X1 _$ i6 e0 n2 E2 ?4 S( z# ~! \
  40. ---cut here---2 E! L$ e* b) L$ L6 f1 _& p. x" c
  41. In my environment (a linux box with a MySQL server running locally) I have:6 k+ s- W! `) l3 F4 U9 W
  42. ---example---+ D8 e) t* i9 v, B4 J
  43. [DBEXPRESS]
    ' ?4 ~& K+ s, k8 f0 s9 {. Z7 ^: P
  44. sqldir=mysql_sql, I8 {( {5 v. k4 N  s+ S
  45. Drivername=mysql8 a$ G2 N4 W% I
  46. Database=test# i" c; m0 u) G0 K3 T) A9 ~
  47. Hostname=localhost+ h/ \8 K! o; J4 A7 X' f% R
  48. User_name=testuser5 b3 h  X$ P7 x1 h# @: N% _- ]8 K* E
  49. Password=my_password
    . b- ~2 x/ P, `# A- m1 m, v
  50. GetDriverFunc=getSQLDriverMYSQL
      K6 z7 W- p6 O* F/ a
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    $ B1 V3 ~, }7 @* B# E. m
  52. LibraryName=./libsqlmy.so
    0 s( l: B- t9 m- V
  53. Active=1
    * R/ J) n* z$ c" N& a
  54. ---example---/ e8 Q  X6 }- h8 T& l; k

  55. / z5 a: b; b/ n
  56. On a windows box, also running the MySQL server locally, it would be:
    . Y) R/ Q6 |* Z7 F; p  E, y1 f: h: u* P
  57. ---example---
      @( k' t, \1 D6 C! m5 U4 s
  58. [DBEXPRESS]; e8 A5 v* v* ~: m
  59. sqldir=mysql_sql& ~8 W" f+ ]$ @, X2 i  U7 s
  60. Drivername=mysql
    " Q4 m1 y3 j) `  z0 M
  61. Database=test2 i; J" c& ?* r* G$ |1 U
  62. Hostname=127.0.0.1$ k9 A0 k$ \; @; ~4 c' Q
  63. User_name=testuser* u. z7 V3 K" Z" ^
  64. Password=my_password
      K0 K0 Z! S- _+ q! X2 S2 ^3 a: g! t
  65. GetDriverFunc=getSQLDriverMYSQL- ?! S/ Y* _+ p2 F- z  j
  66. VendorLib=libmysql.dll4 J/ \% I1 Y9 w% `. f
  67. LibraryName=dbexpmysql.dll
    ' D9 c/ N# R. q6 \2 l* f
  68. Active=1/ s! a/ M* u. u) M  o  i' h% g
  69. ---example----$ k+ @+ D7 T7 w, E- P! q1 h6 L
  70. - written 02.03.04 by pwk.linuxfan
    : f- l7 P9 ]- u1 N1 K( k

  71. 9 Y- g, E) v; Z# [2 {4 |( n
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
6 k7 g0 \" ]+ [4 m* n- K

  1. , H8 Y+ @6 a- a+ F
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    2 l* U  c# ]: r9 Z' E+ C, p
  3. $ n) u- u+ [9 K* ^
  4. # # #我们所需要# # # , E1 D5 M# ]) ^( U" O- K
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件' `  }0 T* n. |& \
  6. 不会解释如何做到这一点-也有文件存在,为
    0 s1 U8 d' T0 _8 R7 R5 ~
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用8 f2 F2 o4 Q+ V: w4 V- w% X& |
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    6 ]$ o3 y. h& D- _6 c) r# i) c$ O- H
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ' y! V4 C- b; q6 v2 u8 I
  10. 本地机器,这是我的MySQL安装。
    * a4 _6 E9 h  u( L6 \9 f. w$ E
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    " t/ S2 b& z2 p  }' s. N
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
      e' g  c7 j; ^- }" s  L% L
  13. 数据库。 : T8 Q" \3 S7 o; H  J5 B+ j
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在4 C/ N8 N7 q4 F3 s
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ( Z% z/ q+ Q! b! w! r4 E
  16. 在teamspeak论坛,如果你有兴趣。 & s+ l. S; G- ^# t
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    6 _+ C- s2 U/ e; v6 Y1 l
  18. Borland公司使用。这个司机只能界面与客户端库& m; J/ @% [2 u9 m! D* {
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    5 ~$ b9 ^! V- Y+ [! d
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为5 Z* O* R9 E) E% K/ O3 ^  \
  21. " vendorlib " ,并解数据库连接。 " Z' U1 x% F2 D) `, o
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    , r/ \/ f  Y8 m" r2 K) }9 u

  23. $ K# E8 r( F1 L* W# j1 K  T9 f
  24. # # #做好工作# # # 1 k2 A$ s) _/ U: F+ X' _9 z# n( Q
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    6 r' P7 o1 x' q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在2 t& Z: g& t% @% b' f
  27. 结束: . `/ W- `* l/ X
  28. ---削减这里---
    " P- J$ j7 H7 g
  29. [ dbexpress ]
    + U0 X& p- `, P1 y, ~' A$ j0 t
  30. sqldir = mysql_sql
    $ I* I1 K, T; q0 z4 c3 b8 \) l% q
  31. drivername = MySQL中  h9 q& l3 q8 l( G% V
  32. 数据库= your_database_name_here , K2 W  |7 H0 ?% k; D9 E
  33. 主机= the_pc_the_mysql - server_is_on , e$ a9 }% Q) U2 R0 i
  34. user_name = user_name_on_the_mysql服务器% p; `1 ^0 P: q% E% x! X3 W
  35. 密码= password_to_go_with_above_user_name
    3 \- `1 m! H$ d" V( s
  36. getdriverfunc = getsqldrivermysql ) j1 Z) q* {7 S+ e/ ]" l( f3 _
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    & j( Y/ N3 `: a/ T  `* q
  38. libraryname = path_to_libsqlmy_libary
    % |+ x6 E2 _7 ~+ G1 V3 d8 \
  39. 积极= 1
    " ]. v. ^' }! ]
  40. ---削减这里---
    3 c7 a/ T5 W; y5 @( j  }# T
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: & s" _2 x6 D3 j1 V/ T2 T
  42. ---例如--- 2 H7 O. e$ b, a
  43. [ dbexpress ]
    & m5 F+ B. g2 u1 B6 Z. k2 X  z" I. G
  44. sqldir = mysql_sql
    * U: _7 M4 t9 R: |) W0 J' w
  45. drivername = MySQL中
    . z2 E1 K' o9 N! r
  46. 数据库=测试, b% J, i& [$ j% c" }$ J5 L! E- s' n3 j
  47. 主机=本地主机
    0 p7 T: O8 Y, N, ?: g5 C1 G  z1 L
  48. user_name = testuser
    4 P$ }( y+ g. Z" ?/ z
  49. 密码= my_password
    1 J! l  ]) O$ L
  50. getdriverfunc = getsqldrivermysql / \7 h5 J, }: i, q- C+ _2 j
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    . u9 ?3 x# |8 D1 V' T1 U
  52. libraryname =. / libsqlmy.so
    / i9 G$ L1 R7 q
  53. 积极= 1
      f- S; i' N2 E1 K; x' a. b9 ]
  54. ---例如---
    ; A3 E8 J- i. [# O
  55. 6 I0 L9 q! K# X
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    + q- s8 g7 O; v  g; c0 d
  57. ---例如---
    6 b$ N! l; f- u7 L
  58. [ dbexpress ] 3 Q' q  ]4 t+ v6 r7 l
  59. sqldir = mysql_sql
    ( _' I' T; e' G2 K9 u
  60. drivername = MySQL中
    $ w: n; z4 }6 {2 e" M6 }) C* ?
  61. 数据库=测试
    * ^% Z# {; |, j3 W0 m! K
  62. 主机= 127.0.0.1
    % j' D' u, m4 m- V
  63. user_name = testuser
    # t' p! n5 j2 h$ ~% o
  64. 密码= my_password
    3 |0 r6 g  M2 n/ [- C9 W
  65. getdriverfunc = getsqldrivermysql
    + \2 H( h) m; \! _$ ^3 [
  66. vendorlib = libmysql.dll在
    4 s& C. x& J; x' R
  67. libraryname = dbexpmysql.dll / H. E/ ?7 a! M8 H& q' q& F/ Y
  68. 积极= 1 * F4 y; Y7 j1 E2 e
  69. ---例如----
    ' p5 ?* k5 X' X3 s- H5 ~  |
  70. -写在0 2.03.04由p wk.linuxfan3 a. c7 M3 [3 i2 ^& d2 W
复制代码
发表于 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
  H2 v4 Z' Y6 ~6 m2 R5 X0 M: G  L- s+ c: D# m
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-9 21:23 , Processed in 0.112668 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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