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

2765 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan * o! A- ?; Z" m, P  _3 m8 k
* @8 ~& P& }# b* @

  1. " B) U& [9 \$ C) Q, g7 x
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######8 |- e1 w# K6 h5 {# ?4 |. f
  3. " \  `/ ^* {& R6 q
  4. ### What we need #### A& ?( |6 m6 e: h
  5. Naturally, we will need a MySQL server to store the data for us, this document . \, r; M# q4 C& J1 P/ V/ ?
  6. will not explain how this can be done - there are documents out there for the 6 O, I# d6 w' h  S, I
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ' i7 S7 J& x8 a7 Y
  8. and a user account (username + password) that has the permissions to do stuff
    ) Q5 H5 h: _9 `  |" R0 @
  9. with the database. Additionally, you will need a vendor library installed on the
    1 `/ h$ @. e/ O4 L2 y+ M
  10. local machine, this came with my MySQL install.
    ( ]. ~6 Y: @/ J) q' d5 x) [
  11. These instructions will not tell you how you might transfer your data from the
    ! J* b! O( O8 \: ?& L# _( [
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL$ v2 N- A4 k; @# w# L
  13. database.' h' E) e) t  C/ F  {; W
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    * k% @$ u, I5 P7 s8 _
  15. the time of writing, there are still too many issues - check the current status$ K' G" {. x% X3 n+ I
  16. in the TeamSpeak forums if you are interested.& g* P* @, C7 L2 m
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    % H3 h; j. v* b$ {3 X' y* S; o
  18. Borland was used. This driver can only interface with the client library that ' |) {$ u4 e  \& @) z: p/ ~+ A. W
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this  C! L- ~( |# C
  20. client library - basically all you have to do is to use a 3.x client library as ' j$ |0 j2 X9 d! p
  21. "VendorLib" and a 4.x database to connect to.
    8 z! b( f2 l$ ^9 _
  22. If you need more info about dbExpress, you can contact Borland.
    0 o6 k( z4 F6 y1 \- j: G

  23. 7 p- z& ~( P2 L9 Q/ a  s
  24. ### Doing the work ###
    1 l4 _# n( g1 U9 [
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all1 i* D7 P" v+ i: n1 N) E
  26. the perquisites right, just open your server.ini file, and add this section at  P- F) A0 r' k# m9 ?; c( u( Y# v
  27. the end:
    2 u7 h! A' V4 F' R( `* b, [
  28. ---cut here---  p% o5 S8 V5 E# h5 H2 ~# w
  29. [DBEXPRESS]" j! O6 t2 f- \4 @5 ~$ N4 u
  30. sqldir=mysql_sql2 B$ X! V5 ?' ^! M
  31. Drivername=mysql9 n2 E* Y; w7 Q2 B
  32. Database=Your_Database_Name_Here
    + I, H5 p, I; `8 ]. u, U
  33. Hostname=The_PC_the_MySQL-Server_is_on2 T9 A- k+ P3 Q& `2 q
  34. User_name=User_name_on_the_MySQL-Server
    6 ^* `; I  |: o) Z9 h) r  P5 W
  35. Password=Password_to_go_with_above_user_name
    . @+ R+ H8 ?# `4 U
  36. GetDriverFunc=getSQLDriverMYSQL
    ! Z' _7 e, f% {- @( H( |1 i  K
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    6 H- }5 |! o& p4 a) P
  38. LibraryName=path_to_libsqlmy_libary
    1 e$ S0 o: J5 T  y+ ]# Q
  39. Active=1
    2 _/ q4 g5 Y1 X$ U
  40. ---cut here---  R8 _# }' N; y1 l. [. J% z. ^
  41. In my environment (a linux box with a MySQL server running locally) I have:' a  g1 I  j- ?- _2 w. Q
  42. ---example---' d9 i, J9 ^" V0 t; s+ t% s
  43. [DBEXPRESS]
    " }# |# F$ w2 ~0 N) Q  z
  44. sqldir=mysql_sql& z1 \! B6 X. W( w5 u  H& w" H/ B
  45. Drivername=mysql
    2 a2 n  @7 j+ U0 I7 a, f9 A: F
  46. Database=test
    / s% O7 }5 y& i; J; w4 U
  47. Hostname=localhost
    3 s2 x0 `) v( }0 V4 r8 Z$ U: J% @
  48. User_name=testuser' V- W7 w0 d: T  Q
  49. Password=my_password
    1 n) d0 N# t1 T0 f" |, X: _
  50. GetDriverFunc=getSQLDriverMYSQL% |* U) p' h0 i) F  J
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0) i: A' V1 Y% V/ T$ h
  52. LibraryName=./libsqlmy.so  u' m1 Z, [- ^0 n- l8 {' E
  53. Active=1
    + e( h% k3 ~! c$ S( ]4 c0 r+ F8 P
  54. ---example---8 e8 G) r# l; R7 H/ r  X
  55. ! B. A/ e* _2 I  h- g/ R& s% E
  56. On a windows box, also running the MySQL server locally, it would be:% k  q; K$ o9 i" j, [
  57. ---example---  r' i  E( R. G  Z& \8 }1 J4 B
  58. [DBEXPRESS]/ z( a- h2 n" u
  59. sqldir=mysql_sql
    . G$ i4 L8 n6 ]( N- u1 k
  60. Drivername=mysql
    3 c0 b5 @  ?, G
  61. Database=test# [' j& D) A8 |& ?1 c
  62. Hostname=127.0.0.1
    4 A7 t! x/ Y2 b, p
  63. User_name=testuser
    0 h3 g" k( T1 e2 G* b
  64. Password=my_password$ `4 d4 P5 B: m: }7 \! W2 S* z, M
  65. GetDriverFunc=getSQLDriverMYSQL8 u; L- m, a1 e; N7 a
  66. VendorLib=libmysql.dll, K& m% \; e* p0 y& e; t) o% f
  67. LibraryName=dbexpmysql.dll8 Q/ R; N8 c* a
  68. Active=1+ Q+ ^. ~1 h( a8 h1 x2 f! B5 t" m
  69. ---example----; l5 F' h# _3 i2 y5 W1 i0 L
  70. - written 02.03.04 by pwk.linuxfan( G0 b" Y! d; b1 h% I% g

  71. # Z( `! d: k, B3 U7 m( P
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
& p6 T$ V2 }1 M, o( W( J+ z
  1. ' ^! m& j* W* l. y! T
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    + u6 m) }9 o9 t" |: J6 u  B
  3. $ b5 t$ O$ U" A/ O
  4. # # #我们所需要# # # 6 Q" [4 _( U5 b, V
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ; z* O5 o; Z9 ?/ ~% n- E4 b) H, \/ M
  6. 不会解释如何做到这一点-也有文件存在,为5 [7 w+ \! F  E# A
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用" C9 {$ T$ K, S+ G
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西# t/ T$ u* a$ `, ]( \* B9 s
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    7 i/ {$ q! A5 F- B
  10. 本地机器,这是我的MySQL安装。
    : y( ]7 b% H# Q, |; c6 \1 \2 S
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从2 e4 w2 k. H( D- T6 d- a3 F
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 0 [# E5 o  D3 ]( m( ^
  13. 数据库。
    1 k  [: u9 V- V% m1 ^3 e- ^4 P
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    3 Z: b* X& K9 `' h
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    6 d* X: Z5 O% W
  16. 在teamspeak论坛,如果你有兴趣。 - q$ Z  F4 H/ r
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    8 X" }! v7 w/ r4 a8 e2 h! Y
  18. Borland公司使用。这个司机只能界面与客户端库
    ; m, }0 O- ?5 q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这' A% j( S, f# D9 j! V! V
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为. j: e9 J2 w% }. |
  21. " vendorlib " ,并解数据库连接。
    ) q' f8 H& J) K- E
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 / [% K# d' W8 k( ^$ b, P7 w

  23. : M. H" J. C0 v
  24. # # #做好工作# # #
    8 H: b" u, U7 n# Q. |
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    + A* @0 u6 X( o& B
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在4 N. F$ p1 q1 W' I
  27. 结束:   _( _/ t) A" Q$ z  E  a+ h
  28. ---削减这里--- + V: r! o# }, J
  29. [ dbexpress ]
    + B' t; I5 b1 n) q5 T
  30. sqldir = mysql_sql + g  U0 n7 F, J3 c: |. G3 t7 h
  31. drivername = MySQL中
    7 [2 L5 a. G7 q  P; c
  32. 数据库= your_database_name_here " x+ W) C: U' h: o8 Y1 M, a
  33. 主机= the_pc_the_mysql - server_is_on
    # g) X  ?; w, L6 M+ o1 W9 o2 n
  34. user_name = user_name_on_the_mysql服务器- o) K7 T# b8 W1 [5 B3 r
  35. 密码= password_to_go_with_above_user_name 4 I& @* b! m! F
  36. getdriverfunc = getsqldrivermysql
    8 m! I& t9 F8 Y* b
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib - @  W: h/ W/ h5 Q9 @
  38. libraryname = path_to_libsqlmy_libary
    1 }# W' B# N6 S" ~4 |8 ^( c) l
  39. 积极= 1 % V6 I! q. L; q% H, f
  40. ---削减这里--- / A8 c& m( z/ h0 T' T
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    + f3 u( k, v8 l& }2 ?6 L8 B( \* ^
  42. ---例如---
    % _6 O* Z! v8 {7 b- l, d4 f) W
  43. [ dbexpress ] 2 |1 P9 x: k: K4 N2 T0 @: R2 R
  44. sqldir = mysql_sql
    $ t9 ]: d8 f# X6 g6 s7 K
  45. drivername = MySQL中
    # D: L% F. P& C2 F
  46. 数据库=测试
    : P. |5 R6 D# p
  47. 主机=本地主机
    0 E% d6 i: v  ^
  48. user_name = testuser
    ; M+ ^6 z( y* l. a  m
  49. 密码= my_password
    ! m) Q6 K6 D, Q7 K+ A
  50. getdriverfunc = getsqldrivermysql 9 @, \: k! ]& U% \8 l. F/ O" Y5 m
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    $ V0 c9 j4 l. u3 p6 Q) [
  52. libraryname =. / libsqlmy.so
    1 K4 U9 c2 }+ H, k  d7 f/ O3 j
  53. 积极= 1 7 C8 d1 P5 T$ ]; Z, j
  54. ---例如--- $ `2 P; ^* x& G) o3 |; i' P) R" f

  55. : _9 F. C- f: i7 r4 H: Y- `' W2 g
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 9 \3 e# d/ B+ g! v, |6 Z* ?9 b1 S
  57. ---例如---
    * L5 t; o- i8 E7 b0 ^6 j3 z
  58. [ dbexpress ]
    " L3 B. }/ N8 U8 I, k* l" \
  59. sqldir = mysql_sql 5 l8 o0 n' ~+ N$ `
  60. drivername = MySQL中: k; M# _* O& B  O/ @1 [
  61. 数据库=测试# h7 c) t5 H9 r4 ]$ V  [
  62. 主机= 127.0.0.1
    3 u9 B% F" a  T) E) d( W+ Y1 {
  63. user_name = testuser
    - \* T- H! ~/ g6 R" ~
  64. 密码= my_password 7 p  i# t( T5 w$ Q( N( {
  65. getdriverfunc = getsqldrivermysql " \, v' B, U8 f6 g; R
  66. vendorlib = libmysql.dll在
    : U6 Q0 d+ W* @/ ~
  67. libraryname = dbexpmysql.dll 4 L% o/ a* h% ]5 L8 W. w0 v. a2 r
  68. 积极= 1 $ ~: l5 W0 k2 M
  69. ---例如----
    * e; m) X9 }, N9 A5 D, z4 O5 e
  70. -写在0 2.03.04由p wk.linuxfan1 u/ T+ @( i# {& |
复制代码
发表于 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
  k- r1 }  [* P2 |, r7 Z. w, J* q0 G  ]: B, X: z
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-16 00:47 , Processed in 0.096640 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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