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

2222 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
; }7 L9 L; ?. |1 X
- _: U9 R. [+ f" u6 H3 S% U
  1. " z1 ^) W8 ]: m! b0 t6 B
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    0 b% _, F0 e! I& A1 U# d
  3. & p2 N3 @9 t8 K9 y* B+ A
  4. ### What we need ###
      c* R$ F* j+ y/ A7 H& P! t( ^
  5. Naturally, we will need a MySQL server to store the data for us, this document
      k, k$ [4 t8 |& [* A) E
  6. will not explain how this can be done - there are documents out there for the 8 o* u2 S* c% @% S, N& @7 P7 M
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    . O" S! I2 h& a
  8. and a user account (username + password) that has the permissions to do stuff
    4 k" o" u. D9 z" P
  9. with the database. Additionally, you will need a vendor library installed on the/ |3 `2 r2 V2 p3 i) u6 r5 x
  10. local machine, this came with my MySQL install.
    " L( {9 @: G! F% @) h4 w  o, k
  11. These instructions will not tell you how you might transfer your data from the) }' h0 y& A5 j
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ; I4 u4 v+ f, j& B9 X- m
  13. database.
    % w0 d+ `  h. N" w, `; F
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    9 f& }! G( o7 o; \: x
  15. the time of writing, there are still too many issues - check the current status
    # g8 V" P0 C/ n8 c( ]' l9 ?
  16. in the TeamSpeak forums if you are interested.2 @5 F0 n4 g7 {8 _
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ' E- ^, V6 P3 [. a8 u% b
  18. Borland was used. This driver can only interface with the client library that
    % l/ Q" v0 l3 R. k
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
      i% p  B6 u. g5 H: s" {
  20. client library - basically all you have to do is to use a 3.x client library as ! B5 W5 y! c" w2 |
  21. "VendorLib" and a 4.x database to connect to.
    3 W: N6 w( q5 ?0 l- g. M- N- s* h
  22. If you need more info about dbExpress, you can contact Borland.
    ) O& f6 j  w0 v* S

  23. ; N  q* k7 {; j
  24. ### Doing the work ###% Y1 K( Z! ?  i  P
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all- n- L/ c- Q9 s! T
  26. the perquisites right, just open your server.ini file, and add this section at
    ) h- o5 G) c/ [) K6 Z8 v% \
  27. the end:
    * o7 P1 p" x- t% `; {
  28. ---cut here---
    . C' {4 ~+ B7 o
  29. [DBEXPRESS]1 d. I  I5 q& N5 ?6 }. L
  30. sqldir=mysql_sql0 R# F( S, h6 n) P
  31. Drivername=mysql
    : J: d9 O( |# l" y! J) e: T1 P: y8 N
  32. Database=Your_Database_Name_Here  f$ _; [0 W5 P. D- u  N; H6 n
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ; @& q6 a  B' R
  34. User_name=User_name_on_the_MySQL-Server
    ' ?; @+ P8 F: }0 ~' @1 E& N. q/ K. ~
  35. Password=Password_to_go_with_above_user_name
    + D/ s/ l! Q6 a$ Y
  36. GetDriverFunc=getSQLDriverMYSQL
    $ m% h5 `+ j1 d- ^% S
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    / W' b9 n- P! R5 |' _' \* L
  38. LibraryName=path_to_libsqlmy_libary! T) I. f+ }  P3 B* v
  39. Active=1
    7 ?1 F) m" k$ Y- @* X) F+ L
  40. ---cut here---( n: o5 _7 Y2 v( O
  41. In my environment (a linux box with a MySQL server running locally) I have:$ i1 U9 e0 G  [" m
  42. ---example---
    : z( x* ^  i, O* }) m! k
  43. [DBEXPRESS]
    ! k: v# F. Z! D# K8 w4 a' [, `
  44. sqldir=mysql_sql
    8 i, b) h( h- S! r) P( @
  45. Drivername=mysql- p8 C2 V: F8 m3 }4 l# [
  46. Database=test
    , {% ]+ V& N8 H
  47. Hostname=localhost' R6 G: W5 ?3 w" M9 z
  48. User_name=testuser( m; A; z) F& F* `9 Z# O# t; R
  49. Password=my_password
    9 o" `* y: F3 T0 c; T
  50. GetDriverFunc=getSQLDriverMYSQL; X+ i  Q. M; M/ m
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    8 g; V! [7 a$ h: w. s; m) s
  52. LibraryName=./libsqlmy.so! N/ L" `; l, D7 d2 t2 D
  53. Active=1
    9 i9 E3 N. s/ _- r9 ~
  54. ---example---# T8 ^0 s9 u2 r6 }3 t

  55. 9 d) y- K9 ^* h3 }% v
  56. On a windows box, also running the MySQL server locally, it would be:
    : x+ ~; T( t" k
  57. ---example---
    % R. s( q* V9 u* C& }0 o
  58. [DBEXPRESS]
    + u8 y0 t$ s& e% x& W
  59. sqldir=mysql_sql
    6 j: O* A2 u0 E' Z
  60. Drivername=mysql, {: l" B" R% p% n$ h- p5 o9 c8 ]
  61. Database=test
    ) b4 Q# l. j! k5 d, W* e
  62. Hostname=127.0.0.1
    4 t: y9 u6 s, Z9 H3 e6 n' t' S$ E
  63. User_name=testuser
    ( ], V6 y0 F' `7 W
  64. Password=my_password
    6 l" }+ _9 O; q( z+ l
  65. GetDriverFunc=getSQLDriverMYSQL
    # w) y$ P8 p" F4 |0 Z
  66. VendorLib=libmysql.dll
    4 E8 q% v* l" F0 [4 U% M+ P& O; B
  67. LibraryName=dbexpmysql.dll
    - v9 |: b8 Q$ H6 ]. b# k
  68. Active=13 a6 E' s% Y: q; ~9 J
  69. ---example----
    & t! |- G9 W* l. K# j
  70. - written 02.03.04 by pwk.linuxfan! C; t$ @( t& b0 c  N' c

  71. 7 z: D* d6 n0 [5 U; k$ f0 D& B
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看' e$ l3 {$ g/ ~2 r' B& |
  1. 4 S* o( K) r7 r, o. `
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######   c" M, b3 i0 @# r! b

  3. 4 g& `1 C2 f% a( u
  4. # # #我们所需要# # # ! x! d) F4 \0 D  E+ F% j
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    $ |. o3 J/ q) T/ d6 Q, D
  6. 不会解释如何做到这一点-也有文件存在,为3 A3 P; t; u: x  k9 N4 S
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    . ]) ]9 |* Q: I
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西/ ]; E1 W2 H3 Q8 W! j( i( _4 x
  9. 随着数据库。此外,你需要一个卖方图书馆安装于1 l" y/ K: a2 S
  10. 本地机器,这是我的MySQL安装。
    # T& x9 l5 p0 B$ o0 J1 c8 ]  j
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从% t8 g$ W4 L. Z
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 9 u7 Y8 E  z# P5 c- c+ r
  13. 数据库。
    ; O& X" |. f) F5 K' _% E
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ) {$ W) m! v$ l" E5 |& A
  15. 编写本报告的时候,仍然有太多的问题-检查现状% z0 b. h: _: c( i  _1 ~9 r
  16. 在teamspeak论坛,如果你有兴趣。 ' g3 W: ^6 K6 x) P/ l
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机" F! f- U( W, N2 `7 z( W. X+ J9 F
  18. Borland公司使用。这个司机只能界面与客户端库; c9 \% e1 t) m% y3 R: i
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这; j' |, j/ S7 c; B6 G3 p4 @' ~* \3 G
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为$ f* o9 j% ^9 ]
  21. " vendorlib " ,并解数据库连接。
    7 [2 z# A5 O: m% @
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    + e# J- @$ p4 @$ Z

  23. ' i: f2 X& \9 ~* L
  24. # # #做好工作# # #
    3 v1 H: x' D, M$ P. R. D: z
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都' f$ X5 R- n; q9 U- r4 U+ K
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    & j& u1 p! ^( m( W
  27. 结束: ) v* N( g) B8 ~- l$ `6 p0 p
  28. ---削减这里--- : j, u. H+ s( v+ ?' w- J6 D
  29. [ dbexpress ]
    2 ]8 n: w  O; h/ X# f6 v
  30. sqldir = mysql_sql
    ! o0 `$ Q1 C; I, @
  31. drivername = MySQL中" P% u- p5 _: z
  32. 数据库= your_database_name_here ( b9 l* }8 N, s8 {( r) h
  33. 主机= the_pc_the_mysql - server_is_on ; s. [# J) `. |$ [# E9 \5 l
  34. user_name = user_name_on_the_mysql服务器- C# h2 H) c* r, y: p! Y
  35. 密码= password_to_go_with_above_user_name , j0 O5 p6 m% Y6 n7 E* @
  36. getdriverfunc = getsqldrivermysql % E! |. U5 c/ l/ m% p
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib # O& J+ H, A5 N& B. N
  38. libraryname = path_to_libsqlmy_libary
    3 U3 I4 f! G* c8 Q2 G4 M
  39. 积极= 1 , p4 w  e) x! @1 s( [/ A5 m
  40. ---削减这里---
    ) ~8 c4 k  U# ^2 X
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    * M6 v7 U; }0 p
  42. ---例如---
    + O8 q2 x/ B, I' g
  43. [ dbexpress ] 1 V6 r* `/ t8 [1 F* }
  44. sqldir = mysql_sql
    2 H' }/ p- [4 j
  45. drivername = MySQL中$ r; g$ c7 |0 ?4 |$ k
  46. 数据库=测试/ h- p" P' Z0 G. i* _
  47. 主机=本地主机( x" `9 P6 a7 n
  48. user_name = testuser
    2 P, g/ s1 m) f" |% D) z8 c! I
  49. 密码= my_password 2 `: C' K) e! |: f/ \$ E
  50. getdriverfunc = getsqldrivermysql
    7 y0 N# f, @' O* @
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 3 `+ _( V- R9 c( T  A; l- D; Q& f$ h+ |
  52. libraryname =. / libsqlmy.so & F, i7 Q( c: x" k
  53. 积极= 1
    0 B/ o9 v- C4 E9 e) i
  54. ---例如---
    + i; A: Z0 Z( h1 I0 A( X

  55. / S& y1 _# v2 f: e& y% k% E0 Z( Y
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    % ?5 v  l: \4 ]8 r
  57. ---例如--- * I) i& {9 x$ f' n2 [. n
  58. [ dbexpress ] ! L; x" @2 a+ _  [
  59. sqldir = mysql_sql # A5 u! z  T/ ], n8 ~
  60. drivername = MySQL中
    9 E2 R- d* ]  Z8 x5 Y
  61. 数据库=测试
    . _5 a) W2 o( X5 S! V
  62. 主机= 127.0.0.1
    3 P6 _6 a+ s1 X
  63. user_name = testuser
    3 Z6 {# H1 [# ]7 n) D. A
  64. 密码= my_password
    ! w/ f( @& \# E
  65. getdriverfunc = getsqldrivermysql - o9 R- B0 S  B" R- Q2 E) G" i
  66. vendorlib = libmysql.dll在3 s6 E7 b& a' Z: M  Z
  67. libraryname = dbexpmysql.dll % }# \5 c8 z: b: N& M3 M$ g
  68. 积极= 1 , u% j+ l- x* O" l! Z: i9 W( |" v
  69. ---例如----
    ! L: X$ U& l  g, z5 ~* o
  70. -写在0 2.03.04由p wk.linuxfan
    * S6 G% X9 h! Z: I+ P* x
复制代码
发表于 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 words1 m. T( t, q6 D. ?2 _5 Y$ M- R& n8 [
' }( `- p$ G7 Z& y! ^: A
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-22 20:20 , Processed in 0.098658 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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