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

2329 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan / |& d; b3 c# ?; [& r
. O. Y, w; h7 x: q1 z
  1. 7 v( H) J- o) R$ S" E! k# M! ~. [% G
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    & e, D5 b7 x; |9 G# D1 g

  3. * L  r* G$ Z* h: n3 [) y! f
  4. ### What we need ###& ~( ^! b, y& G8 A+ e& S# b. m" K
  5. Naturally, we will need a MySQL server to store the data for us, this document - Y" q' i/ V5 `2 `- ~
  6. will not explain how this can be done - there are documents out there for the
    9 A  Q' j4 @/ ]! O( j" E% V; b5 n( z
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    4 m5 w* k& E+ a1 m# p% C
  8. and a user account (username + password) that has the permissions to do stuff
    * U! ]( l( ^4 W
  9. with the database. Additionally, you will need a vendor library installed on the9 u( R% ^% M- [6 Q1 l  U  b" o
  10. local machine, this came with my MySQL install.7 x5 ~7 |) D( w1 q8 s# z
  11. These instructions will not tell you how you might transfer your data from the
    5 O# H3 x; K8 O( Y$ _! m
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL) o- |" [  l0 M7 ^  H
  13. database.
    + ?0 [$ @' P" K$ v4 W
  14. Some users have reported ways to import a SQLite database into MySQL, but at5 Z* I( x0 G3 O$ p- x
  15. the time of writing, there are still too many issues - check the current status
    ) m) ?0 q. C9 s5 f7 I
  16. in the TeamSpeak forums if you are interested./ p+ O8 j" Q* S% N
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from& _9 G4 Q* \- B1 ~% {1 z1 w
  18. Borland was used. This driver can only interface with the client library that
    9 P' e( _+ M. [4 c6 ?4 u, c
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this, Q) y  d* w7 s# l( A2 ^5 t% @
  20. client library - basically all you have to do is to use a 3.x client library as
    6 O( m1 N4 k6 g
  21. "VendorLib" and a 4.x database to connect to.
    6 e# _/ H/ j7 N7 E0 a
  22. If you need more info about dbExpress, you can contact Borland.$ H# X4 y  |! ~' v$ m

  23. : j1 V& F. ^# X. F5 N+ o( R
  24. ### Doing the work ###
    ' X$ ?, {! ]: r2 N6 [* E
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all& S" r6 q# g9 l
  26. the perquisites right, just open your server.ini file, and add this section at
    5 K! d; c' V! k' e% {% j
  27. the end:0 c. m( R8 @7 M# U& f; y
  28. ---cut here---
    % v8 N; x# `% H* I; t! W
  29. [DBEXPRESS]( h7 G* r! |( B+ a4 m
  30. sqldir=mysql_sql
    ( E, ~5 W; _( k- F1 b5 {/ k
  31. Drivername=mysql  A* p0 }9 T, j
  32. Database=Your_Database_Name_Here0 K; ]& ?0 z# ~4 j
  33. Hostname=The_PC_the_MySQL-Server_is_on
    $ w: F3 P0 S8 Q
  34. User_name=User_name_on_the_MySQL-Server
    8 x7 i" u6 _0 o. D3 Q
  35. Password=Password_to_go_with_above_user_name2 g+ e/ Z; c1 d! l
  36. GetDriverFunc=getSQLDriverMYSQL
    1 {$ d! o1 S* n6 k- x( ]+ |
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    3 }6 o* X/ P, m7 o+ \5 y
  38. LibraryName=path_to_libsqlmy_libary2 i+ ~6 i  H' p
  39. Active=1# E* \$ ]0 a' F. w2 T
  40. ---cut here---' z, L' [! Y2 w
  41. In my environment (a linux box with a MySQL server running locally) I have:" Z1 M) G# W; a& c" V* v$ v- s
  42. ---example---
    # `  ?' v% l/ X" u1 f/ ]
  43. [DBEXPRESS]2 q  B0 ?" t: K) Y+ W! L% c" [
  44. sqldir=mysql_sql
    ) }$ U5 O( H% F# G
  45. Drivername=mysql
    + ~4 J7 s* q" o; d" j# X
  46. Database=test
    8 g4 i8 w* D+ l9 Z, `' S0 W3 H3 Y
  47. Hostname=localhost
    / P* {( C: _2 v, U, {" e
  48. User_name=testuser2 I, N+ i7 q/ ^( w! K  P( A  Y8 N
  49. Password=my_password" {0 d# {! [- p
  50. GetDriverFunc=getSQLDriverMYSQL
    / f. i+ m; W/ W$ H5 E9 Y7 E0 b
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    # ~+ X  m, @. k# ?2 y8 V1 D
  52. LibraryName=./libsqlmy.so) a% E7 {0 i, n0 `: N. Z& S  `7 Y
  53. Active=1
      x( F+ Y1 S/ I( a9 Z# a% x" _
  54. ---example---
    ! u9 d$ X& i' S) ^1 W) \  L
  55.   s6 s4 _% i1 U3 w4 ]
  56. On a windows box, also running the MySQL server locally, it would be:
    ( g5 N- r' g' `' _# X! L8 {
  57. ---example---0 M3 t" U# \( k" z6 W0 u( S! i
  58. [DBEXPRESS]% G& e9 h* Q2 a0 G; \
  59. sqldir=mysql_sql
    5 [. r2 L$ w* H$ t7 B; Z# C
  60. Drivername=mysql
    5 o# ^/ u: a0 q( q
  61. Database=test
    ; l; A: m& Q7 Q+ t5 {$ k% A  E
  62. Hostname=127.0.0.1
    $ x0 v! Y+ o( B8 p4 |! r1 m
  63. User_name=testuser! {1 g  K  s4 L: c* b
  64. Password=my_password
    3 z; R+ P; i5 `6 L' n, ]  V
  65. GetDriverFunc=getSQLDriverMYSQL
    7 }8 l- C2 P# @: I3 ^  g
  66. VendorLib=libmysql.dll. Z# l& }' c& |
  67. LibraryName=dbexpmysql.dll
    # H$ A1 c2 O# X2 f8 a( x7 P
  68. Active=1
    0 X9 S) i4 \- Z6 ]; H. k# ]" @7 `
  69. ---example----
    2 U) V* @% P+ x+ c/ r5 K! `
  70. - written 02.03.04 by pwk.linuxfan- q2 Q# P) F- C* R5 f8 d% }
  71. - H! h: s/ C2 J' p# i+ k
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
1 q: H4 f4 J- e" E

  1. * Z8 S5 T: L, W8 ~/ r4 v$ m
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### & Y9 g, {. H, o. J
  3. % x1 W, M6 R; \" n5 R9 D2 S# l
  4. # # #我们所需要# # #
    9 [& D  D0 H5 g( }2 _4 K
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    : A$ Z4 J  V- q8 P' L% V
  6. 不会解释如何做到这一点-也有文件存在,为
    1 {* R4 ]: c0 U* h" ~
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用/ s: m' q) p7 _) r
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西' F( s2 y5 I& E5 _% p
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    * ^+ i1 u0 ^/ W& u- _# F2 U  X
  10. 本地机器,这是我的MySQL安装。
    + R& L$ W7 b# U! Y  O' u0 s6 ?
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
      d# n; r, c3 {
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL & o- b% l, |6 y" f) w& {
  13. 数据库。 6 \, w; f! S% W5 k
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    / r3 \; q; M- }/ A* k* L
  15. 编写本报告的时候,仍然有太多的问题-检查现状8 p1 R- V' @( H+ G- P' X- `
  16. 在teamspeak论坛,如果你有兴趣。
    . m2 ~$ O7 L7 v( |5 e3 w
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机# y9 Q# n* R8 K: y# P0 |
  18. Borland公司使用。这个司机只能界面与客户端库
    # Y* q0 k6 f; [9 N+ k
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    $ S/ D; R# i3 y* }+ x9 Z2 _( Q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    - k1 x7 j( U) O  a; q: |
  21. " vendorlib " ,并解数据库连接。 " u8 I- W- ]1 P2 {
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    # R1 ^# D" g! E3 j. d9 E7 w  x
  23.   o% @& ?% L6 S: w" x! V6 ~
  24. # # #做好工作# # # $ J3 j0 @3 [$ J* c% K" t" |
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都0 z4 J/ X& X# z7 f0 w  ]1 |6 H3 j
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在# W/ H  K+ M: B$ ?
  27. 结束:
    # \& T1 h# `" C; ]# _
  28. ---削减这里--- # W/ i. U  z) I. Z4 x/ d
  29. [ dbexpress ]
    : S9 F3 [+ ^6 y
  30. sqldir = mysql_sql
    ) |; B! s9 D2 X8 L
  31. drivername = MySQL中
    ' h. T; k; p* r2 X5 h
  32. 数据库= your_database_name_here
    8 ?: O/ w3 q) `+ c7 t
  33. 主机= the_pc_the_mysql - server_is_on
    # k1 o* l5 r% _, [$ D" t
  34. user_name = user_name_on_the_mysql服务器
    : Z/ c7 V) ^! u8 k
  35. 密码= password_to_go_with_above_user_name
    9 s2 R; |$ i+ U9 p( g+ j
  36. getdriverfunc = getsqldrivermysql
    5 A7 T8 Q7 A! |
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib / d4 D' T% w0 o& S+ }- L/ E$ t
  38. libraryname = path_to_libsqlmy_libary
    % p6 f/ ^6 p: K9 M5 }
  39. 积极= 1
    " [7 o4 g& p- i, L: I
  40. ---削减这里--- . }+ ]! p# R6 A' C: B
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    6 e$ U9 T) N% n7 }& U- d
  42. ---例如--- " t" ~1 b* m& ^) ~0 _, r! R
  43. [ dbexpress ]
    9 D- n7 e/ S7 w/ p) e3 m
  44. sqldir = mysql_sql 5 `& b& N: w5 a! M. G1 E
  45. drivername = MySQL中
    " }( V* O& G- h+ T3 {; n0 p
  46. 数据库=测试5 K- V2 E1 G) l$ e
  47. 主机=本地主机
    " n: a$ r: ^* |# O: O# X8 E
  48. user_name = testuser + l7 m& U8 o+ T* F( ~
  49. 密码= my_password 6 T" n8 ~0 k& ^
  50. getdriverfunc = getsqldrivermysql 5 g$ s: ^1 [2 \
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    4 [* Y( `' g$ D0 F
  52. libraryname =. / libsqlmy.so
    8 A0 \* i! K" I0 }
  53. 积极= 1 " @# I0 W  |: t3 |
  54. ---例如---
    - A5 @' S2 |" }

  55. # L$ u* a, V& n5 ~- s
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ! ]9 X5 n2 V+ m; b4 H
  57. ---例如--- 2 X( `' [/ U' Q5 s
  58. [ dbexpress ]   a3 W/ L4 v$ [6 T
  59. sqldir = mysql_sql & j- A, B; D8 F6 `
  60. drivername = MySQL中, _: }; {( C6 h, L; }
  61. 数据库=测试( q; x9 t; w- d: L
  62. 主机= 127.0.0.1
    3 G9 F3 g8 {5 K( G
  63. user_name = testuser ( U! `2 W# T( X
  64. 密码= my_password
    & b- F' g2 J* f
  65. getdriverfunc = getsqldrivermysql
    ! |/ Y  l4 r' [% h$ Q; W
  66. vendorlib = libmysql.dll在
    ) k3 U' q$ g3 Y1 H+ k
  67. libraryname = dbexpmysql.dll * L" V' D/ u' K7 p# i+ F
  68. 积极= 1 ( _+ r7 g- ^/ v5 y8 ?
  69. ---例如---- : k9 j, P; Y. w0 d; W
  70. -写在0 2.03.04由p wk.linuxfan1 ~6 s% L4 m* E" l, Z1 e* S
复制代码
发表于 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. r: g! V7 R  D( V: i/ y$ D* \( I
3 h8 d& N8 \2 Y( c: @+ y2 @' d; ?$ {
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-23 11:20 , Processed in 0.107721 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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