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

2958 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
1 w) P1 N# P$ J
: i/ q* `4 ^+ A# T9 F- I

  1. : T* [, _& |2 E
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    1 F& G( F4 ]7 O  t& ~

  3. : K, v4 d" k' @! a0 s# o
  4. ### What we need ###
    $ e3 |, E0 V( W# _% Z8 h
  5. Naturally, we will need a MySQL server to store the data for us, this document
    9 C# f# `( S9 `7 C* `
  6. will not explain how this can be done - there are documents out there for the 2 b4 U! S, q# |- w7 ^0 x* d
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    & ]! \/ {* b6 O
  8. and a user account (username + password) that has the permissions to do stuff1 b5 ^7 Y, c' ]. _7 @, p/ W
  9. with the database. Additionally, you will need a vendor library installed on the9 ?. Q1 p# i) x1 T0 b$ U$ e- U
  10. local machine, this came with my MySQL install.
    8 m- x- Z- ]: L9 g3 k
  11. These instructions will not tell you how you might transfer your data from the
    8 p8 g: x0 u2 ^' c+ `
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ( X: ^' b! J  u* @  t# Q
  13. database.
    ' F6 D& L* O: w! L8 h% |
  14. Some users have reported ways to import a SQLite database into MySQL, but at5 H" k3 f8 C; U  c& \. _
  15. the time of writing, there are still too many issues - check the current status1 n- M7 s) o$ L3 _* W
  16. in the TeamSpeak forums if you are interested.! o3 P% {: o( L% [# X) L
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    : j1 |$ B! [* z5 ?) X1 \' S
  18. Borland was used. This driver can only interface with the client library that
    : z/ D4 p% e  d) ~
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    " x1 T6 _% |1 z: z& J( E- Q
  20. client library - basically all you have to do is to use a 3.x client library as , L/ @( h0 N, M
  21. "VendorLib" and a 4.x database to connect to.6 s2 K2 z4 Q, i+ ~
  22. If you need more info about dbExpress, you can contact Borland.
    ; C; E3 f# G: L3 a' A/ G' R# H6 a# J
  23. ' R& w! Q- j$ b4 T
  24. ### Doing the work ###
    , ~( v" m* C# n' k% f3 y5 a) U
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all( {5 m* [0 d8 `, Q, c  ~
  26. the perquisites right, just open your server.ini file, and add this section at
    + `  @! ~; P6 S4 O' }
  27. the end:& K* O0 d8 S  K% }1 H- _7 f5 c9 w
  28. ---cut here---
    0 E3 n2 f8 U1 {% n6 N
  29. [DBEXPRESS]9 A# o. r+ o0 E
  30. sqldir=mysql_sql
    4 R" M. W1 ^4 O2 o+ W" N
  31. Drivername=mysql3 m1 P4 S+ W2 F) ~6 J
  32. Database=Your_Database_Name_Here
    " t$ s! z4 \% i! }: o9 z9 }
  33. Hostname=The_PC_the_MySQL-Server_is_on
    + a0 Q8 i8 c, x: z% D
  34. User_name=User_name_on_the_MySQL-Server1 P" L3 ^3 @  o+ T
  35. Password=Password_to_go_with_above_user_name2 |" A: m5 u& `
  36. GetDriverFunc=getSQLDriverMYSQL+ q! E3 i+ w& g6 R/ |& N: f
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ( W" s& U8 J1 ^* [
  38. LibraryName=path_to_libsqlmy_libary; ?6 R  ?& v' I- U
  39. Active=1
    + F1 Z; Z$ b/ d
  40. ---cut here---. [" X6 v' [$ p! f, e
  41. In my environment (a linux box with a MySQL server running locally) I have:: o- t" V" n) g
  42. ---example---
      y# _2 x6 R3 m6 y
  43. [DBEXPRESS]3 J% y; b) i# y; _0 _5 p( c4 N
  44. sqldir=mysql_sql+ [, g7 v. M' m8 Y9 n
  45. Drivername=mysql
    4 @" a! N" R  m4 i
  46. Database=test
    7 q3 g  W7 K, \$ \: d
  47. Hostname=localhost
    + `( Z1 k) B1 N' X6 t- E7 \# l1 h
  48. User_name=testuser- ~3 T1 J, r* M! m
  49. Password=my_password2 Q' }! B+ P5 a" z1 b: N# U
  50. GetDriverFunc=getSQLDriverMYSQL$ k) ~" `9 K% c( k( {3 H
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.00 q2 _" D) c. Y$ D) W8 U* t$ M: ]8 S
  52. LibraryName=./libsqlmy.so
    , G, S; S1 O/ `. u/ _9 D& {0 G+ L) D: H5 m
  53. Active=1( h+ h' n- ^5 e6 D8 y
  54. ---example---  N  l) x  z+ j2 Z( E! F; S( a4 i
  55. . j5 P% ?4 G: M: K+ c! ?
  56. On a windows box, also running the MySQL server locally, it would be:
    . `8 P; @) r9 h0 X3 I
  57. ---example---
    4 Z  c" |2 _7 z2 m! C) M: D2 I
  58. [DBEXPRESS]+ X2 Q; n& C1 ^- n1 H, c
  59. sqldir=mysql_sql. e& D/ u% K. H8 P
  60. Drivername=mysql
    ; W( I5 `: T; E* u5 w7 T) U$ j" x
  61. Database=test
    - s" [8 L& r9 ]7 t* E% W& T, S- v
  62. Hostname=127.0.0.1
    % a, O& c2 }7 {  h7 a; @
  63. User_name=testuser0 o2 o& A- K. b
  64. Password=my_password
    4 V# B4 I& n2 |! a  j
  65. GetDriverFunc=getSQLDriverMYSQL- ~+ {, A% X% L; X/ T
  66. VendorLib=libmysql.dll
    ) s1 g) s! [1 z/ Z; Z  F
  67. LibraryName=dbexpmysql.dll/ L5 c) j& E- S) Q
  68. Active=1
    2 D/ @9 ?, u. I6 b, j; F
  69. ---example----+ `+ s* J' ~' j% y* {. d' }7 v4 s
  70. - written 02.03.04 by pwk.linuxfan6 Q9 D- ~2 M, D  l- Q

  71. 7 U8 ~% k! @6 c% _
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
$ v% G5 V2 |4 _6 q

  1. / U9 I6 ^' s( s2 I$ ]- P
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 1 N5 ?& o* Y. C& Z5 r9 D8 c) W
  3. % \, h# A0 l; @, z% ]) ~
  4. # # #我们所需要# # #
    4 \+ H6 m, a7 i) R* K. b. X
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ' V  B) o" F% m# x: ]& {' q
  6. 不会解释如何做到这一点-也有文件存在,为6 n  e, S0 C( Z& y
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用4 q; s& _4 P+ i0 h
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西% O& N% p8 k% V+ H' l3 ?: t
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    / m. w% C" |) F8 @
  10. 本地机器,这是我的MySQL安装。
    7 E, F" w/ g# W* g# g9 J. ^
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    $ Q& K! E# y% b( k. `% V1 b+ t3 B
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 2 r7 `7 c! ~$ P' \
  13. 数据库。 1 p3 Q, R6 y. u$ y& `  X4 k
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    & p0 e1 u) {5 u0 g. S
  15. 编写本报告的时候,仍然有太多的问题-检查现状  g1 o% ^. b8 ^9 a0 s- T
  16. 在teamspeak论坛,如果你有兴趣。
    8 F8 `) C7 n, O! m7 Z1 c$ {! [4 m
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机" C. o1 h2 o) d% a) p, G
  18. Borland公司使用。这个司机只能界面与客户端库% t. M' v4 x1 F4 ?5 S
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这+ [# o8 H2 b" h  r
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    , N+ }, ?/ R/ S7 c
  21. " vendorlib " ,并解数据库连接。 ) z0 V% s4 P# [
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。   T- v$ K2 r& L6 [/ l

  23. / L+ y( [" C- R( W
  24. # # #做好工作# # # 7 j9 E3 D2 O" ]1 ~, i, A! J' j
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    : e7 Q  `; j. M3 |  p
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在! M+ v4 b4 w  J% I3 g  z
  27. 结束:
    7 N4 L0 j8 q. a1 k6 R/ d$ B
  28. ---削减这里---
    ' g! k+ N8 M2 R) {$ U$ R
  29. [ dbexpress ]
    ' i) D1 W0 [; ]4 k0 f
  30. sqldir = mysql_sql
    . k; a  b0 h* W& h5 n* {
  31. drivername = MySQL中
    - ^0 ?& v0 y  {- s/ ?9 N
  32. 数据库= your_database_name_here
    0 o9 Y, i  V7 k5 ^/ \- Q
  33. 主机= the_pc_the_mysql - server_is_on 2 P+ G1 E4 e. I7 G/ V
  34. user_name = user_name_on_the_mysql服务器
    / C/ ^- S& G. _5 T
  35. 密码= password_to_go_with_above_user_name
    + X& H' V1 z# @5 J1 c
  36. getdriverfunc = getsqldrivermysql   q( ^3 e- [6 x! k  V
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    6 H2 V7 I2 O1 J7 s) U5 Z
  38. libraryname = path_to_libsqlmy_libary
    2 P2 H- @) x. X( D+ _
  39. 积极= 1 9 h3 z5 b2 y0 W
  40. ---削减这里---
    : p; f! m9 @2 m8 T" ]( ~
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ; U; x# A* R& o' m+ X  l
  42. ---例如---
    3 V, [' s/ t9 K/ {4 p4 F
  43. [ dbexpress ] 5 D8 `3 x% `# T- L$ U5 x
  44. sqldir = mysql_sql
    ; s" \4 a+ W$ t8 [" U/ `
  45. drivername = MySQL中" {. m- ~1 v1 B, x( ]5 I
  46. 数据库=测试
    , g/ R' M+ U* ^" Q( G% y2 G
  47. 主机=本地主机
    ) E; O0 a0 O$ D1 N3 q: d
  48. user_name = testuser . j  \3 `' {( T, S" {
  49. 密码= my_password , Z, G. e9 I3 F% q
  50. getdriverfunc = getsqldrivermysql 1 s% _, p$ w5 `9 a/ Y
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ' s; ]. B$ U' n- f3 |- U
  52. libraryname =. / libsqlmy.so 6 b. T6 N) ^3 ?9 I# K& }( R
  53. 积极= 1
    9 K3 W# ~4 ?  ~9 I$ i/ d
  54. ---例如---
    - @: c9 k! T$ S- c: {1 z: T
  55. $ r& S5 r9 n2 L5 K- @2 K! ]
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ' S- k+ w- ^  ~! `3 {$ i: p
  57. ---例如--- 9 x3 d8 N2 Q6 E' t8 M! Y  o
  58. [ dbexpress ] 2 K. P: g& E, y, j, y6 l/ e
  59. sqldir = mysql_sql ; o; V+ M& G5 T2 a6 k  Z: Q& C
  60. drivername = MySQL中- `. T+ K4 M# I8 R2 K5 n3 w
  61. 数据库=测试/ R. y2 o; C4 b
  62. 主机= 127.0.0.1 9 Q; x' k4 i* R% U
  63. user_name = testuser ! O: B- Q) H7 j+ Z8 m$ v$ D
  64. 密码= my_password
    $ y0 ~3 x3 i) ^) P( G' E! u+ h
  65. getdriverfunc = getsqldrivermysql
    ! O) B" b; V: ?1 q5 l( I/ d) K
  66. vendorlib = libmysql.dll在! }& R+ Z/ S) u+ T2 L' A1 i
  67. libraryname = dbexpmysql.dll
    1 T8 g& c! @8 t5 J8 M( ~
  68. 积极= 1 % J) J& V' }: Q5 x% f- ~
  69. ---例如----
    , d' Y5 s$ r/ b$ u
  70. -写在0 2.03.04由p wk.linuxfan
    % l9 d; c% E/ a0 m  T
复制代码
发表于 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
; |/ f& _4 L9 z$ G, Q5 g& D. \* w3 v
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-31 07:31 , Processed in 0.107089 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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