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

2286 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
7 v  W2 q/ W- P' v2 R  ]( K5 p; [) b$ a) I7 Z  _4 J) c
  1. ) _' `+ w) C. d/ u' \- T6 \
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    % t/ j! s) M7 a! l& U
  3. 0 b4 O. g2 t9 n8 Z7 U- C
  4. ### What we need ###
    . s# P. x7 A# ^
  5. Naturally, we will need a MySQL server to store the data for us, this document
    7 j/ p% W! K7 n& U) ]6 m
  6. will not explain how this can be done - there are documents out there for the 1 G3 \6 x; K- P$ D: ]1 x- ]
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ( O# z# v+ G: L# p/ m
  8. and a user account (username + password) that has the permissions to do stuff
    % h, S0 U) T0 E5 }7 ?. m! U. _. q
  9. with the database. Additionally, you will need a vendor library installed on the
    + g3 U3 m- L2 @3 B& T' u+ _
  10. local machine, this came with my MySQL install.4 F: T% l. O+ T; x, v' |
  11. These instructions will not tell you how you might transfer your data from the% Z0 A! ?5 B# ]
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL% e3 e. m* X) G3 o: s
  13. database.7 P6 b! V- I! J3 F7 e
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    $ \" S, q0 z  [6 s8 p1 k
  15. the time of writing, there are still too many issues - check the current status
    ) Q$ y; r  f( Y7 I
  16. in the TeamSpeak forums if you are interested.
    + g6 p3 a9 J& o9 Y) h' {. I
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    # u; q2 C5 \- f3 E+ s8 \
  18. Borland was used. This driver can only interface with the client library that
    # M# M$ R: H. X* r5 F% S# \
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    & C" L4 O2 }8 I1 s0 Y! H
  20. client library - basically all you have to do is to use a 3.x client library as 2 U' t# Z/ j$ ?2 j* V; D  d! N" A. f9 ^
  21. "VendorLib" and a 4.x database to connect to.+ c% A# d! h, ^
  22. If you need more info about dbExpress, you can contact Borland.6 }3 I8 k- ^5 ~" G

  23. , j9 X- Q# b/ U! ~1 L
  24. ### Doing the work ###* Q% v, I# j, r$ V
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    1 }. ~' Z+ K1 j& ?
  26. the perquisites right, just open your server.ini file, and add this section at
    : j/ Y8 N1 J- R1 ^8 p% ^( q* K) G
  27. the end:
    9 C" Z. e; R0 U6 l7 O
  28. ---cut here---
    2 k$ K* Y* X; V4 d3 \
  29. [DBEXPRESS]) @- ~- |6 d4 }/ N0 b% R
  30. sqldir=mysql_sql
    + i; t, J: M% s0 E' q$ B1 D: g
  31. Drivername=mysql
    % P7 \! B4 b9 r, H( G' b
  32. Database=Your_Database_Name_Here
    - I' m: \3 o5 [- a1 l3 x! K7 z
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ) f1 l: y' T2 e
  34. User_name=User_name_on_the_MySQL-Server' X+ c; w- l. j7 a
  35. Password=Password_to_go_with_above_user_name
    . O1 c8 h& G2 s
  36. GetDriverFunc=getSQLDriverMYSQL, j, k& v% T9 L& {" [. A# B- B7 @
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib8 O, O1 ^0 x, I1 o( o
  38. LibraryName=path_to_libsqlmy_libary/ v2 n1 k0 I% y/ v
  39. Active=1
    - S* \1 ], l$ Y# H% L) N6 y
  40. ---cut here---
    6 K: }4 p0 N, I, k& j8 P  M& g
  41. In my environment (a linux box with a MySQL server running locally) I have:  q0 ^; K* F4 ]# U- Q) G
  42. ---example---
    : h$ S% L! a" u1 i# J8 X2 Q
  43. [DBEXPRESS]+ o: }+ ?- j! e" S
  44. sqldir=mysql_sql8 M6 h8 T! a8 w# ~& m
  45. Drivername=mysql& R, `4 p4 A# o6 `8 P" m  w
  46. Database=test
    7 c6 C* K- \# w& M
  47. Hostname=localhost
    , Y" Z! \) V5 E  k; y
  48. User_name=testuser
    . W# _0 O$ g) G* y
  49. Password=my_password% E" p& C7 y3 j. a$ G
  50. GetDriverFunc=getSQLDriverMYSQL
    : v2 J6 `9 n. d5 q0 D+ ]
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    # k. E. r5 ^; f5 \
  52. LibraryName=./libsqlmy.so8 M0 F8 a  Y: a' C( g
  53. Active=1
      E& ^$ Q3 l, p! k
  54. ---example---
    ! d- e' Y/ `0 _  N! x& P: O1 V

  55. 8 a7 @/ b4 s( n- J
  56. On a windows box, also running the MySQL server locally, it would be:% S6 |; T3 y  }) G& E  m1 N
  57. ---example---( ~2 j" G$ @; k# |7 T
  58. [DBEXPRESS]- t; s2 p& b1 }  L+ I% V
  59. sqldir=mysql_sql
    % Z8 G8 ^6 @% E5 P3 z. s1 S
  60. Drivername=mysql# o0 b* U4 ?" Z2 {9 Q- K4 t
  61. Database=test
    ) }  }. Z9 V( c* H
  62. Hostname=127.0.0.1
    7 i7 \% i8 {9 B8 ?
  63. User_name=testuser
    0 M2 R& g+ H6 r
  64. Password=my_password. X3 D$ [" X9 [
  65. GetDriverFunc=getSQLDriverMYSQL* e, j3 Z" H8 l+ `! E4 f/ R7 C# w$ ^' @
  66. VendorLib=libmysql.dll; m0 j+ Q0 \( k
  67. LibraryName=dbexpmysql.dll
    ' R! I$ J7 N& u  F2 o( R' f
  68. Active=1
    1 s7 k; j% d) O1 W# t1 H2 ^$ \
  69. ---example----2 H& Y3 C7 u- `. l9 r  X% M& Z- K
  70. - written 02.03.04 by pwk.linuxfan) X5 t! P& t0 Y! a/ ~
  71. # ?6 v  [& C  i/ i1 [& L
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看; Y2 z6 t0 U/ ~$ ~' p6 g
  1. - j& D! ]3 W' W
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 7 U5 y; \8 J& M4 f7 G0 q/ P

  3. 8 j- e5 \" {8 L; k4 a! t# D
  4. # # #我们所需要# # # ; u- d! i7 n/ S' @! k
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    $ H3 t- a2 o# p# q- `& F3 b3 U
  6. 不会解释如何做到这一点-也有文件存在,为
    ; [$ h, L# E& o, |. ^6 N
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    % _) X' j+ a5 m0 u$ `
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西( @5 M5 E* Y$ j# D
  9. 随着数据库。此外,你需要一个卖方图书馆安装于$ {" ?7 F- h7 \; J
  10. 本地机器,这是我的MySQL安装。
    . c0 h/ S' ~, x8 a/ y6 b
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    5 O- `! X8 [; G
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    % W  I# p2 b, D& L. ]( k
  13. 数据库。 6 q- x) y9 g5 `* M# T" P- W
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在/ x3 q7 W4 U) j; C* W
  15. 编写本报告的时候,仍然有太多的问题-检查现状" e$ S7 j& F; z# j
  16. 在teamspeak论坛,如果你有兴趣。
    6 n  x: _" R  r+ F
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机1 ~$ W# L% n) \  b9 Q9 S) |
  18. Borland公司使用。这个司机只能界面与客户端库
    - U6 B  U. h/ k3 \1 l) K4 v
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    # g! u* @" I! H% ^/ Z# M( o
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    : H+ i# f- y5 l- _
  21. " vendorlib " ,并解数据库连接。
    4 B$ ^. H6 v9 @1 T! ]% k
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    : _% [5 ~9 U! p. Z4 H
  23. : Q6 Q- X1 \/ u9 j4 `5 Y( H8 p7 G! b
  24. # # #做好工作# # #
    5 F2 e' u! C& h+ K
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都7 h6 g- l3 ^4 w: P9 M1 H
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
      r- l% l; E' q1 s" J
  27. 结束: 4 l. O& \7 x2 @. w3 l3 Y" s" D
  28. ---削减这里---
    2 i  e; q- R7 g6 b
  29. [ dbexpress ]
    . N$ C* G! R* {( o" g2 \
  30. sqldir = mysql_sql . F' v& v  `; \, p: ~$ O. r7 G' l
  31. drivername = MySQL中
    $ R3 W# ]9 B* @" X5 R( H
  32. 数据库= your_database_name_here
    7 m+ l5 |* h4 u  {5 ]4 ?3 h6 O
  33. 主机= the_pc_the_mysql - server_is_on / Q/ Y- B# p: o5 Z. p# n5 ?/ I1 M
  34. user_name = user_name_on_the_mysql服务器
    ' m* G" Z4 [, Q, g2 u( ~
  35. 密码= password_to_go_with_above_user_name
    1 W1 y: [/ E3 L9 e4 v
  36. getdriverfunc = getsqldrivermysql & F3 `1 I6 L  `" X5 S0 x' V
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 2 `% A3 j5 z+ V& m* J; _
  38. libraryname = path_to_libsqlmy_libary 8 [- c5 E1 J+ V$ V" p5 m
  39. 积极= 1   `1 V# I( v. K8 ?7 k" M: {# f% F% N
  40. ---削减这里--- * O1 `& O- c2 ]" R) n
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 5 v, ]" V: u6 u. w% P9 Z
  42. ---例如---
    - k8 d' y3 T3 Z! X. R6 F
  43. [ dbexpress ] 1 C: `! [4 f. L+ @
  44. sqldir = mysql_sql 2 K, q  h" ?+ H1 |
  45. drivername = MySQL中8 F* ^' k" ?( {- o7 h8 ?3 ~
  46. 数据库=测试1 R) w0 @3 I8 b! n; B
  47. 主机=本地主机
    . a/ z9 Y+ z* e$ a: x* \
  48. user_name = testuser
    ' f. `5 Q: J8 D" x) L- j
  49. 密码= my_password ; {% X8 _, [1 i; P; o; A
  50. getdriverfunc = getsqldrivermysql 1 W3 S  P! J: o3 Y/ O
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ; x4 C; O# C9 m$ r' [7 R
  52. libraryname =. / libsqlmy.so , _$ V) g2 H- n  _7 ~
  53. 积极= 1 - {8 _" n2 J( y2 y8 t) {
  54. ---例如---
    7 i- m- v1 x/ I& W! a
  55. $ @: B9 D. s4 G. e# S; ]" \
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 7 h7 R: o" o1 D1 J* f' r
  57. ---例如---
    " h% c* I( p. s
  58. [ dbexpress ]
    7 {) l& _$ V( n  v* U
  59. sqldir = mysql_sql
    ; A$ r4 b. ?5 p* W7 i
  60. drivername = MySQL中9 h$ v- J; ]2 P: }* }, E+ S
  61. 数据库=测试! R$ V/ k( `9 V- x
  62. 主机= 127.0.0.1   m, ^% y; ^* I6 I
  63. user_name = testuser
    * f. Y" @0 f, r9 [4 F' }# O5 x/ J
  64. 密码= my_password # `. M$ [& {2 Q6 U' R/ R* a
  65. getdriverfunc = getsqldrivermysql
    / ]+ R1 @, ]; d1 J# j8 ~
  66. vendorlib = libmysql.dll在' c& j7 v! F1 Z% W9 |/ w2 n
  67. libraryname = dbexpmysql.dll $ [/ C7 u/ V0 n
  68. 积极= 1
    9 J/ c! u2 h: Y9 c( L6 d8 e
  69. ---例如----
    ) |: g  o* B% x2 |4 M
  70. -写在0 2.03.04由p wk.linuxfan
    " c  j, e8 Q( F5 P. z0 X$ w: Q
复制代码
发表于 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+ ?5 w  I  t) k

; y1 q6 K5 K1 U+ w: G. ?but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-12 01:18 , Processed in 0.112290 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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