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

2965 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan : a' t& P* U9 b- h" O- I' ?3 h# t: W
! \) t# p- f& e1 {" a
  1. 3 y2 T( o0 Z$ ?0 F1 V
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######* \+ z/ ]; {! Q( G$ i% U

  3. 1 ?, K% d  W5 ^
  4. ### What we need ###
    / o3 B' }* D9 m! q8 Q' p3 O
  5. Naturally, we will need a MySQL server to store the data for us, this document
    1 b) x3 R+ L% I+ C! b
  6. will not explain how this can be done - there are documents out there for the : M4 F# H1 Y& X- d+ \7 y0 i8 K9 O2 W
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    4 P8 D/ j. d: w, w, D- v& T, j
  8. and a user account (username + password) that has the permissions to do stuff+ K+ }8 Z# _- F$ p7 m
  9. with the database. Additionally, you will need a vendor library installed on the8 v( q- [2 ~  ]- J4 e
  10. local machine, this came with my MySQL install.1 x/ N: Q/ j- i" j( x6 N4 [
  11. These instructions will not tell you how you might transfer your data from the
    : @/ r) g, N1 P% a% Y, d& i* h' `
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    # Q# _5 T  @1 D: a+ U0 q/ R% R
  13. database.
    , @1 A4 H- N- R8 f7 r
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    9 K( H1 q0 n- s3 Y  ?6 d
  15. the time of writing, there are still too many issues - check the current status
    / @1 O  E# \* w5 `( n# R% I
  16. in the TeamSpeak forums if you are interested.
    5 T$ K' k# {3 K
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    . {! h5 v9 p, m/ S; R+ ^
  18. Borland was used. This driver can only interface with the client library that + d3 f4 P( l, Q' c6 V. [
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this- X  L. J6 H' u) q
  20. client library - basically all you have to do is to use a 3.x client library as
    - p. d! C9 o7 u7 y" K
  21. "VendorLib" and a 4.x database to connect to.
    2 K; O% s( E' H  v2 ^6 w- N0 u. L: U
  22. If you need more info about dbExpress, you can contact Borland." d; z2 g5 |, f- ~9 I0 c

  23. " `$ Y& X; {% R3 I& Q8 @
  24. ### Doing the work ###
    + K) c0 Q5 C) R
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all/ f1 y1 f- N( x& N( ?( s$ f  o
  26. the perquisites right, just open your server.ini file, and add this section at
    * Z4 g+ }3 ~8 A( b0 z7 w7 I! _
  27. the end:2 S* [. U/ A; N5 k# _
  28. ---cut here---
    " `4 B9 j8 r$ {; {* w  M7 `  Z- I
  29. [DBEXPRESS]& F, l+ {) B" B- M# v! J
  30. sqldir=mysql_sql
    ( ?3 Q) l) h# [5 _
  31. Drivername=mysql/ P, ^/ x  M& N2 g% y+ W1 Q% o/ ?
  32. Database=Your_Database_Name_Here
    0 o5 l6 L1 x* @( A: p7 P- e% ~
  33. Hostname=The_PC_the_MySQL-Server_is_on: {" @- |# }( w8 q, ]9 n
  34. User_name=User_name_on_the_MySQL-Server* c  G8 V% S/ ?; J8 P0 K
  35. Password=Password_to_go_with_above_user_name
    # r% i4 T1 c! a  Z) ?$ b/ b
  36. GetDriverFunc=getSQLDriverMYSQL
    : G) L) t  ]9 J
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    " N- X, H/ q; {. R* `2 v# m3 k5 H7 n
  38. LibraryName=path_to_libsqlmy_libary
    4 v! s4 k& j6 n: U, T
  39. Active=1
    + {, M* E' y1 r# R& G3 u) e
  40. ---cut here---2 D0 [7 i( c: P4 d0 p9 J4 L7 k
  41. In my environment (a linux box with a MySQL server running locally) I have:
    6 |. b# L9 B1 {; m4 A+ @
  42. ---example---, z# H9 c: c7 ~2 R
  43. [DBEXPRESS]2 g- E; t% p! }; `
  44. sqldir=mysql_sql
    ; |3 }$ b: X% H
  45. Drivername=mysql% S& ~. ~9 |5 ?2 ^
  46. Database=test$ L) }4 M) Q  _
  47. Hostname=localhost
    ) B! Q' e, e# R  W7 o/ m; s- Q! Q
  48. User_name=testuser0 c* w  N( b9 y$ Y* }& R
  49. Password=my_password
    4 x- [* [% A$ A2 [9 }/ {
  50. GetDriverFunc=getSQLDriverMYSQL
    , H& G# w3 M+ T, M# [1 g; V
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0% K3 i8 Z# Y# W9 D. Y
  52. LibraryName=./libsqlmy.so4 h! j( }* X$ }2 N2 M
  53. Active=1
    % w7 A7 `6 n) Q6 J) N& X3 N
  54. ---example---8 d1 T- x5 j% p+ j: g
  55. 2 ~$ Q- E0 ]; B4 ?; F2 ]
  56. On a windows box, also running the MySQL server locally, it would be:' i+ N4 H* z4 s/ T8 I/ i
  57. ---example---- g, K/ L& l! P2 t* {
  58. [DBEXPRESS]& G' p5 `4 r: A4 T/ ~
  59. sqldir=mysql_sql
    ; W- J; m- `7 [- _- u' `0 A
  60. Drivername=mysql3 [2 [9 s( b0 \/ n  T
  61. Database=test
    4 }. z/ l3 \2 v! \/ t! ~
  62. Hostname=127.0.0.1
    ( U* e& ~" q! w
  63. User_name=testuser6 a& \4 R" \5 E. S9 A5 t  D
  64. Password=my_password
    0 P  K& B" q6 p  X
  65. GetDriverFunc=getSQLDriverMYSQL
    % B) l9 ^  b1 S! Y/ d% t
  66. VendorLib=libmysql.dll  }9 _- X: |0 C& S) ~% E
  67. LibraryName=dbexpmysql.dll& U$ e3 U# Y: z
  68. Active=1, u$ V" d/ B( D3 k. A
  69. ---example----
    ) _2 M! e& o. t7 \& I
  70. - written 02.03.04 by pwk.linuxfan
    6 M+ q) T: U* f4 r
  71. " |7 R6 j! q  n9 y, S3 b
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
+ J  x% {) i7 w1 W+ D

  1. # w/ M8 v- Y4 c# y! E& d1 ?
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### : p8 N5 a+ c( L9 V8 _
  3. 1 [4 n2 P& p# @' j) M; q, E. u4 A
  4. # # #我们所需要# # #
    ) w9 g0 v* z* n' O' m1 P2 T8 Q
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件1 d% S. o0 F4 P, q* V0 U
  6. 不会解释如何做到这一点-也有文件存在,为9 ?0 i+ ]' Q  _/ _
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用6 B3 j; }6 C' x! C, s: l3 H
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    # f0 r. z0 I  N3 ?4 ?7 g9 w
  9. 随着数据库。此外,你需要一个卖方图书馆安装于* }. ?) i/ o  B+ A% Y
  10. 本地机器,这是我的MySQL安装。
    4 X! P: d" c/ I5 k0 i( ^
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    : b0 Q; v- D" i! u" K2 ^
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    1 c  X1 m7 D& j# J. S  s$ H/ C
  13. 数据库。   |# @! u' Q# O
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ) E- {' p' b( i
  15. 编写本报告的时候,仍然有太多的问题-检查现状5 G; Z( X5 e  V3 T8 c- X
  16. 在teamspeak论坛,如果你有兴趣。
    : ?2 H0 w- B! s4 k7 u
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    8 [6 B1 j' a0 f3 O9 H( Z
  18. Borland公司使用。这个司机只能界面与客户端库; ^1 `- H; s& k/ N
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这. K' T' U8 h7 A5 ^' k! k# _: K
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    + B: i- V+ u3 B( |/ w+ k; n, w
  21. " vendorlib " ,并解数据库连接。
    8 y1 c2 \5 O' I. W/ \6 N
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    % D/ D$ S3 k2 T' q

  23. , h! F& z# e  `; Y; d# b0 m
  24. # # #做好工作# # #
    5 g$ e1 n0 J6 |( w
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    / h4 P1 r8 I1 k% i8 P- L0 @
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在! i' V- I4 O) C, v+ E9 r
  27. 结束:
    1 P& g/ \/ M( q8 ?+ e
  28. ---削减这里---
    * _0 V6 m- ^! X3 D8 l  T
  29. [ dbexpress ]
    , k3 D" a( R9 N1 [( r
  30. sqldir = mysql_sql
    - Y" |0 W9 r8 ^& m  |: Z2 O
  31. drivername = MySQL中' g! j; j+ [7 }9 z6 j
  32. 数据库= your_database_name_here
    , n: F3 c% C5 u0 h+ B2 f7 ?+ F+ _
  33. 主机= the_pc_the_mysql - server_is_on ! ?/ a3 t( ~1 t5 ], O. L0 C9 u
  34. user_name = user_name_on_the_mysql服务器
    / L4 A; V3 E# j; G4 i
  35. 密码= password_to_go_with_above_user_name
    & |" C* a: z7 M
  36. getdriverfunc = getsqldrivermysql ) X' P( h" t( S: R$ u
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib $ J4 h2 q1 B" ?6 {; x; {
  38. libraryname = path_to_libsqlmy_libary 8 D9 L$ F/ n# M* W: f
  39. 积极= 1 0 n+ S% B; l. w4 j* D4 S" n
  40. ---削减这里---
    % u: E3 |+ B' G  K
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ! b/ i* [7 S# C
  42. ---例如---
    " n+ J( Q8 C. ]( _: }1 T
  43. [ dbexpress ]
    ( Y6 m! @6 J/ k/ d4 J+ ?
  44. sqldir = mysql_sql
    . a+ Q9 t( G! |' g2 Z, V
  45. drivername = MySQL中
    6 |9 W: b/ Y2 R) Y
  46. 数据库=测试
    ' Q8 C" l+ x7 C8 a0 S* |7 ~5 [2 @
  47. 主机=本地主机5 T( M  ], Q, b0 F8 X0 L2 I
  48. user_name = testuser ; {8 b3 }1 ]# Y, J
  49. 密码= my_password
    4 ^# @, t- r2 k/ v+ O* g2 Z
  50. getdriverfunc = getsqldrivermysql
    6 m/ M, z% W/ w6 A) ^; w
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    8 S/ e9 |3 S% [- A+ ^: e  [
  52. libraryname =. / libsqlmy.so 8 J" W/ a6 Z9 G5 ]) N1 o% g) D
  53. 积极= 1 / s# r+ x* `+ L8 C
  54. ---例如--- 0 E' R9 i" w/ i  W7 @% ], X6 m
  55. " [3 g/ v0 v8 }' n' p0 j
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ) b- `+ `7 K" l) z" k
  57. ---例如---
    3 k) W# r9 u( _7 m0 H1 V
  58. [ dbexpress ] * U) \* s$ X, q' w8 z
  59. sqldir = mysql_sql : O2 A+ ?1 q1 E: h& K1 Q8 Z
  60. drivername = MySQL中) l0 c0 V) \2 E$ W2 J5 ]
  61. 数据库=测试
    % `! p7 k' N7 d
  62. 主机= 127.0.0.1
    ' ]5 W$ B( l; L' F) @
  63. user_name = testuser 4 G, X( T: H$ F: W. u) X
  64. 密码= my_password
    ! S; ?+ ?5 e% V* k
  65. getdriverfunc = getsqldrivermysql
    7 Z, L* A1 A$ g+ \1 q( [
  66. vendorlib = libmysql.dll在
    8 _! u. S0 v0 T/ z+ W& Y
  67. libraryname = dbexpmysql.dll
    " I9 i( ^4 e2 W: O! d
  68. 积极= 1 5 y( U1 _/ T; D, E, o  q6 l( r, M7 B
  69. ---例如----
    ' a$ w. ]# f2 _( U
  70. -写在0 2.03.04由p wk.linuxfan
    ! a! {; ]! j# E6 `. b
复制代码
发表于 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
8 P' r# m/ u: y$ g5 |; W9 g8 |) N! u% d' F6 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-8-1 02:41 , Processed in 0.091449 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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