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

2746 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan # J9 F0 L! q0 @3 m. O) |# _
; H2 l7 W  x0 b; M6 m; I2 r

  1. 5 `& R+ {- Z. ?& R  g9 G# h0 W
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######/ ^" K- k+ M  @6 s3 t5 l
  3. ) p: ^- i. m9 r0 ?3 J
  4. ### What we need ###* e0 |) _6 E/ y3 U" A% F: w: i5 {. b4 G
  5. Naturally, we will need a MySQL server to store the data for us, this document 4 A8 F) i" G5 i- }7 b' |1 K& O2 P
  6. will not explain how this can be done - there are documents out there for the ' ^# u; i: `9 \  a0 p8 {
  7. interested. The requirements include a (empty) database for TeamSpeak to use' V1 U" d! H, d! B5 H
  8. and a user account (username + password) that has the permissions to do stuff
    * ]# |# b: Y2 V
  9. with the database. Additionally, you will need a vendor library installed on the7 j4 ?5 I* i+ ?0 K' Y/ I: u
  10. local machine, this came with my MySQL install.6 W0 N# S' b% z
  11. These instructions will not tell you how you might transfer your data from the% c0 z  u: P0 Q' m5 s. E2 s- U
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    * v6 X) [* ^4 j9 C
  13. database." A" M* _0 y! |  n
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ; E4 c2 b+ d+ U
  15. the time of writing, there are still too many issues - check the current status
    , K  M) a3 @" W, n3 {
  16. in the TeamSpeak forums if you are interested.% G: [' G/ l, h$ G# m2 z6 u
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    4 U8 R! W7 C9 \2 j3 }6 \% a) h" \  F
  18. Borland was used. This driver can only interface with the client library that
    1 V- ]) z3 O7 I1 J7 H
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    5 p1 r) D: v; N) ]& A0 {+ D
  20. client library - basically all you have to do is to use a 3.x client library as
    # B# j! P2 ]9 f8 _) ^4 R3 j) i
  21. "VendorLib" and a 4.x database to connect to.
    2 |4 a9 e6 A& @! p% I! j9 u
  22. If you need more info about dbExpress, you can contact Borland.
    : q- L2 w- f7 U6 |) {- g0 F/ C, q
  23. - y% k; X, `+ j+ g6 i) W
  24. ### Doing the work ###
    . s! f% u. L, h6 d  w
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    , ~* l6 s* Y/ i: L
  26. the perquisites right, just open your server.ini file, and add this section at
    / e7 `' }2 A; N8 p8 ?& \
  27. the end:: Y! x. r3 q' |! p- L
  28. ---cut here---
    2 w$ N+ h+ @4 Q' d
  29. [DBEXPRESS]
    3 U- ^% a' R/ v$ }) k/ H
  30. sqldir=mysql_sql
    ' M! l( [& t% C& r& z. T
  31. Drivername=mysql
    / n; f( t/ J4 o8 }. j0 t
  32. Database=Your_Database_Name_Here# A* b' ~/ C: P2 I) d3 C2 C
  33. Hostname=The_PC_the_MySQL-Server_is_on( y# y3 N* g5 X( S" y8 T/ G
  34. User_name=User_name_on_the_MySQL-Server
    , e$ Z) W: S0 V8 n7 o/ d) o
  35. Password=Password_to_go_with_above_user_name) R+ X  D1 {. L1 h# ?
  36. GetDriverFunc=getSQLDriverMYSQL( v, O0 `. j% F) L
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
      Y6 T; N! S' v$ j3 \- M; A
  38. LibraryName=path_to_libsqlmy_libary
    - w$ R! a% [& J$ k
  39. Active=1
    & a; a% l& H6 D- N) g$ G
  40. ---cut here---% B1 I0 R) k; ]# v0 C6 T/ G
  41. In my environment (a linux box with a MySQL server running locally) I have:, N) l& t. m6 \; E" J
  42. ---example---
    + e! B5 l6 W* u+ o/ {
  43. [DBEXPRESS]3 |6 D" H4 I( A; R, l
  44. sqldir=mysql_sql4 ?( d$ f% A0 [, `* l
  45. Drivername=mysql: s0 ^9 q1 X; v
  46. Database=test7 S1 B, W/ ~0 o" J
  47. Hostname=localhost
    . A4 x  [' T$ a/ H% ]7 b) K3 T; @
  48. User_name=testuser% `, ]/ q7 g0 `2 D" U6 l2 L
  49. Password=my_password
    9 u7 a. l" C: e( w/ [
  50. GetDriverFunc=getSQLDriverMYSQL
    8 m5 W' q9 b, z; Q; d
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ( T. G7 {! \' {  P+ ~) O
  52. LibraryName=./libsqlmy.so7 v& {7 @4 @; ^; `8 S3 i; |
  53. Active=1, c: F$ j; s( u; M; ~2 B; p8 |0 y
  54. ---example---- L. W$ f( O9 z1 s4 L

  55. 5 {9 t" w0 y% |$ r+ N. ]3 {
  56. On a windows box, also running the MySQL server locally, it would be:( Q7 D. x( h  J( U/ @. j
  57. ---example---* p1 n% v' M1 f0 B
  58. [DBEXPRESS]7 d1 p* G, J6 h- b8 f' T
  59. sqldir=mysql_sql* K# [3 @4 n8 X8 s: T2 D" Z
  60. Drivername=mysql
    4 C  x* L9 y, H9 d
  61. Database=test& Y2 ?/ `7 c. B% R
  62. Hostname=127.0.0.1
    ; Z) w2 B2 x9 F, W0 ^( |3 A4 S% A
  63. User_name=testuser
    % M( P( Z6 [1 p: j& q8 d
  64. Password=my_password4 \) P: g, ~0 {1 s9 n, q
  65. GetDriverFunc=getSQLDriverMYSQL
    5 q! n- }2 U2 W
  66. VendorLib=libmysql.dll* Q2 {. K! P6 o% ~1 Z6 u: x; d, u8 r
  67. LibraryName=dbexpmysql.dll
    % O& [8 [; x* J" l! V
  68. Active=1
    & B- s9 e  S5 }' |7 c
  69. ---example----
    2 ~( `7 E4 u4 R: c
  70. - written 02.03.04 by pwk.linuxfan1 F0 b4 ?# R* V3 P

  71. 4 l4 [2 c3 M- R! Q7 I1 |0 {" U$ i
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看- x* k: ?$ N: H

  1. 4 z! [, Y7 b) R! X  S
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 7 ~3 X4 M7 w8 X7 v$ W6 q0 F

  3. # S2 S8 i  _* J, W) V
  4. # # #我们所需要# # #
    9 o! F( K9 C4 G/ T5 H5 z% n
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件0 o# W: v0 t1 G6 ~7 g
  6. 不会解释如何做到这一点-也有文件存在,为
    ) F. X) C) J; p+ G
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    " {& g3 H8 K/ u6 n, ?' ]8 b, r
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    6 U7 z0 [) w8 h9 l
  9. 随着数据库。此外,你需要一个卖方图书馆安装于2 h$ q8 Z3 ^1 V" d
  10. 本地机器,这是我的MySQL安装。 ( o% S; e) P6 M" V
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从: T$ L7 T- E. W2 q7 h0 ^5 @7 N2 [
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    , ]# s) ?- P; V8 h1 f' I3 Z
  13. 数据库。
    - A' U( A: B1 l1 ]5 T# J1 D
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在7 a0 ^4 Y# \- l& J1 F0 A
  15. 编写本报告的时候,仍然有太多的问题-检查现状5 b) h* {0 |7 L) p5 h$ ~& v3 j9 [
  16. 在teamspeak论坛,如果你有兴趣。 * ~( C4 M5 o( ~
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机$ N* Q5 G" \' s1 t
  18. Borland公司使用。这个司机只能界面与客户端库
    4 L# c7 d+ u' Y- h3 u6 B5 z
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    8 U9 k& t3 J/ U& v$ o
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为0 W2 [6 C' t6 o( s* S9 y. o
  21. " vendorlib " ,并解数据库连接。 5 C; M5 |' v6 i$ u
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    $ z0 L/ R/ v! i0 |1 ~
  23. & e0 r6 ]3 T, P, r+ l9 G
  24. # # #做好工作# # #
    6 ?1 R. h1 _6 M9 Y
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    , x+ u$ A! V' Q# p) a; M
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    & z8 z6 ?1 s8 k$ a0 A  l  O& R3 ]8 K
  27. 结束: % Z( Z6 V1 U- r$ w4 @
  28. ---削减这里---
    & b, Q, o2 k/ N7 m/ C
  29. [ dbexpress ]
    % v$ F3 I$ ~% }; r+ K
  30. sqldir = mysql_sql ( N1 H" a, J" Y
  31. drivername = MySQL中1 C8 L8 f% {: n3 O
  32. 数据库= your_database_name_here
    # m- H- X3 Q1 x+ {7 I
  33. 主机= the_pc_the_mysql - server_is_on
    + T. o# R2 Q( D9 v
  34. user_name = user_name_on_the_mysql服务器
    - E7 Z9 v; P7 [; K, p+ R1 O( P
  35. 密码= password_to_go_with_above_user_name
    / _. t$ t3 Y8 A' s' u, v
  36. getdriverfunc = getsqldrivermysql & B& ?  G+ C6 y; k8 L  E" c
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ) Y5 s' c) u, u! X7 o3 ?
  38. libraryname = path_to_libsqlmy_libary
    ' p( B$ ^" y. F" J+ p9 v
  39. 积极= 1 8 x" T8 J2 f* P1 S
  40. ---削减这里---
    2 {6 D4 M  h, }- A& s; c' i4 s
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    & w3 w+ T# I; d
  42. ---例如---
    ! ]! h7 z% \4 ^" F+ c; u
  43. [ dbexpress ]
    5 m& N! A5 a' p8 u2 F1 r
  44. sqldir = mysql_sql
    $ M+ P  U8 E- a; @" @# r. g9 O
  45. drivername = MySQL中: E% W) C: o- L& _% b
  46. 数据库=测试, _7 |0 @( X) F4 a
  47. 主机=本地主机) ~6 ^9 C2 R* Q8 x- }
  48. user_name = testuser 3 |! D3 A% j- ^, R- K
  49. 密码= my_password . `2 W7 s# x' w$ [: _' \) @
  50. getdriverfunc = getsqldrivermysql   H) P  F* x+ N" c- W( q
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 * r1 ]' o# E* n+ ^
  52. libraryname =. / libsqlmy.so ( _/ P' h! t  \
  53. 积极= 1
    : p# ]9 }5 M; R* p3 d9 q# {" i
  54. ---例如---
    , B; U8 u: t* z% j

  55. . [( D: H2 a& `9 L; G0 m
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ! s0 ?! c* B0 U* P0 t* |, P) T
  57. ---例如---
    ; I; W" X, o3 B/ w
  58. [ dbexpress ]
    . {9 u5 j* q* X! A, M
  59. sqldir = mysql_sql ; Z1 ^8 g$ G& P( d
  60. drivername = MySQL中
    # k+ T7 g. `& V0 q: Q" j
  61. 数据库=测试) J1 `6 w# @$ `2 Z& G- s
  62. 主机= 127.0.0.1
    ' p; ]; ?' z, S9 g
  63. user_name = testuser
    / y3 ?2 R5 M- i  F- q: w* h6 i8 ]! U
  64. 密码= my_password % ?, @7 i7 x" ~' l
  65. getdriverfunc = getsqldrivermysql 6 V9 x( l, g9 Y: x6 g
  66. vendorlib = libmysql.dll在
    ) s9 R( Y/ ~$ N" B; o
  67. libraryname = dbexpmysql.dll
    $ u% n1 [4 A% x0 X
  68. 积极= 1 5 O& o5 Q8 N; Y- y/ Z' M! i1 x
  69. ---例如----
      Z3 R1 `' p+ e: H  j  [! o2 U
  70. -写在0 2.03.04由p wk.linuxfan
    : I. j& {( u- i+ `( Y" R" P
复制代码
发表于 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! K3 M9 d& B8 m1 o3 M; }0 ?% l
! n( P, J7 `$ R/ @5 Q, H" Y% T
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-11 08:47 , Processed in 0.091388 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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