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

2657 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
/ [- N0 q! a1 t0 E7 A* K$ b1 l% c; P3 a: q* T! O1 X& g

  1. ) `( n" m6 M) t. A- w% T# {) r
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######7 z% f4 Z8 V) x2 l# D

  3. ( N9 @- F% _  j. h. ~
  4. ### What we need ###
    : S6 L, G  L/ h0 g8 W2 k
  5. Naturally, we will need a MySQL server to store the data for us, this document ! A5 |' L' T& H+ C! i: j$ n- p6 e
  6. will not explain how this can be done - there are documents out there for the
    + [0 d( J9 C; y2 f$ w
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    $ r3 Y, B! V' l3 R9 |
  8. and a user account (username + password) that has the permissions to do stuff
    * u! P; {% ^, I5 L, \, z5 @9 S
  9. with the database. Additionally, you will need a vendor library installed on the
    9 P/ t) Z, y2 W# M: w! R, {
  10. local machine, this came with my MySQL install.
    9 Q* j! L% B  X) k9 q
  11. These instructions will not tell you how you might transfer your data from the
      B: e4 ^8 O1 s( @3 f
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL% ~( ]  y# w: L) y! l
  13. database.* v, H  ?2 E4 A5 R
  14. Some users have reported ways to import a SQLite database into MySQL, but at  p/ j4 D# j$ A. ~, x
  15. the time of writing, there are still too many issues - check the current status
    6 r4 N- [8 @! ?! A) e# b6 D% x
  16. in the TeamSpeak forums if you are interested.. j4 a$ e+ e2 g' l  N
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from9 K) D5 `1 i  ?  ~( l( p5 W6 ~
  18. Borland was used. This driver can only interface with the client library that
    - i8 z' R! _4 n1 h$ ~
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    1 {" e7 `* Y7 {6 W4 V
  20. client library - basically all you have to do is to use a 3.x client library as 0 u2 m: @+ J+ S. k/ v" h
  21. "VendorLib" and a 4.x database to connect to.
    . j! b: h9 u0 n. x/ V( a8 z
  22. If you need more info about dbExpress, you can contact Borland.
    " M8 a0 F$ C9 o: U; P
  23. ( a0 \' E; z% O3 j9 T
  24. ### Doing the work ###8 o! K# e0 h5 V1 @: J! Y
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ( j8 K6 B1 G) X; O3 m) l7 n
  26. the perquisites right, just open your server.ini file, and add this section at. U" i+ r6 i! f6 S
  27. the end:  A* S- P9 R5 V
  28. ---cut here---" v: A$ F8 P- ?9 p
  29. [DBEXPRESS]
    " V: @  q4 ~' F6 F: R4 e
  30. sqldir=mysql_sql
    # _9 |/ d: d& K$ r  v
  31. Drivername=mysql5 w# y! U/ H+ W$ y* G& A" \
  32. Database=Your_Database_Name_Here1 g( S0 e( n1 ~0 s! W% |6 V9 ]
  33. Hostname=The_PC_the_MySQL-Server_is_on1 i: `: q' N+ K, ^1 J6 [
  34. User_name=User_name_on_the_MySQL-Server" C& l) ~; z# E& K; h3 u5 s
  35. Password=Password_to_go_with_above_user_name0 |7 Y3 `+ L' v2 ]/ u- ?
  36. GetDriverFunc=getSQLDriverMYSQL& F+ |, r) J% x
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib; q9 O9 ^3 a* t/ X
  38. LibraryName=path_to_libsqlmy_libary" Z3 J8 M8 ]; Y
  39. Active=1/ }, W0 J$ D2 }1 u5 R" u
  40. ---cut here---
    ! t% ^4 q; {7 B5 h/ Q+ t
  41. In my environment (a linux box with a MySQL server running locally) I have:, d, f% f  m8 w* w. l; R# N7 s
  42. ---example---
    & \+ d  [4 R/ K$ q* C
  43. [DBEXPRESS]
    ( @8 k" u+ ~0 p& R/ I5 u, h% O
  44. sqldir=mysql_sql; B7 E; T: E# h4 Y
  45. Drivername=mysql
    - h3 D' x4 e8 i9 s
  46. Database=test
    % b9 R( _) J6 m6 ^/ K/ n
  47. Hostname=localhost
    % b' U6 R- |! T# U( X
  48. User_name=testuser4 u# B! |# X' L% O2 g
  49. Password=my_password0 x9 e7 j0 M: K, w
  50. GetDriverFunc=getSQLDriverMYSQL  L0 K  @# A; X/ h* {
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    1 G4 d) s+ m+ I% B
  52. LibraryName=./libsqlmy.so
    ! S& `$ @& g4 |% X
  53. Active=1
    6 H' B' a( A( @- q. V6 ^- i. w
  54. ---example---1 L, `# w5 R, P, Y5 t' H9 _. r
  55. ' ]$ k% H) u& K% m+ k# V7 q1 A0 `
  56. On a windows box, also running the MySQL server locally, it would be:( a% B8 X$ S: p
  57. ---example---
    . i- C4 C  B3 j$ ]4 D
  58. [DBEXPRESS]
    & C' a9 B% A: r. ~% g
  59. sqldir=mysql_sql
    " X" {3 \/ n$ U; X* H" C
  60. Drivername=mysql
    9 y, E3 v# Z7 w* W: a! _  h6 C1 s
  61. Database=test' d2 J, A# e# w' H* B' t. o
  62. Hostname=127.0.0.1$ i# K  a! ]; d& s/ T
  63. User_name=testuser8 s3 W6 s6 ^7 J/ i+ n' V$ Z
  64. Password=my_password
    . B6 ?3 c8 V2 m1 i" j$ V0 q
  65. GetDriverFunc=getSQLDriverMYSQL
    8 @5 L, N0 `, v
  66. VendorLib=libmysql.dll
    . {/ ]: E6 U! s
  67. LibraryName=dbexpmysql.dll
    2 E1 B) |$ H7 T- x; X6 r" A
  68. Active=1
    1 G" [* b/ ?- @$ L+ j  U
  69. ---example----
    % r% U8 E" S3 K6 F8 c
  70. - written 02.03.04 by pwk.linuxfan
    4 |' l( N! @8 N) R( a$ l7 ]
  71. 4 i; s+ G3 d$ A
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
' k3 t% p6 g8 d# O1 G/ Z2 p  s
  1. 5 o! z9 ]2 J5 z4 x" h) a) C
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### : \6 r( w: A+ z, @& K! K
  3. 9 s0 ]0 [  n9 E2 l0 `- ?
  4. # # #我们所需要# # # " @: t# A6 e+ M+ g: M/ C9 H, b
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件4 g. ~' k* [# p+ \
  6. 不会解释如何做到这一点-也有文件存在,为
    1 [6 P! U6 {( D. H
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    - r$ H; a* p1 R
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西) d5 ^7 g) B/ Q  }# V
  9. 随着数据库。此外,你需要一个卖方图书馆安装于% g" V) q6 e' e, r( r
  10. 本地机器,这是我的MySQL安装。 ( ~' ]. p1 q! a: D: v* @
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从( Q# D, x6 H4 H! }+ t- ?& W
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 6 N& x9 T& b) K' S) n
  13. 数据库。 4 r' L3 u  K/ ~( ^' G
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    3 C" c: a' w& Y
  15. 编写本报告的时候,仍然有太多的问题-检查现状! u2 x' X+ [  c6 d5 |
  16. 在teamspeak论坛,如果你有兴趣。
      o; U) o3 B# k& v9 G: f
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机6 u2 ?' u3 ?3 Y4 X
  18. Borland公司使用。这个司机只能界面与客户端库
    4 d& @; S; _0 M3 @6 q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这( c% S8 U3 i5 n; h5 E, C% ?- B
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为& ^% I! X3 x2 Z0 R; L5 n
  21. " vendorlib " ,并解数据库连接。 . l) I& l2 W) ?  }. _# b0 F" m
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 # q7 _+ ~3 D6 n$ b6 g2 v3 y

  23. . E+ [8 I8 r$ v: V
  24. # # #做好工作# # #
    3 @6 m" f. n; f/ V
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都) o" ^+ f9 v( `, A6 c7 l. W5 p
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    8 V: [; H; O" _
  27. 结束: . `1 I# n  a6 m, P; r1 D0 t) a5 x/ D
  28. ---削减这里---
    , Q( i9 m! W; ^
  29. [ dbexpress ] ' y7 M  K) L  Y1 A# V, H* A) x
  30. sqldir = mysql_sql
    $ N; @6 W7 F% }) f6 I1 S
  31. drivername = MySQL中8 o$ J! l* c8 O  D( H
  32. 数据库= your_database_name_here " l* z+ x* D0 c$ `
  33. 主机= the_pc_the_mysql - server_is_on
    - H) ~' D$ z; b7 Q' @6 S
  34. user_name = user_name_on_the_mysql服务器
    , l! x& w1 D! Z. Q/ ?1 j4 r" ~
  35. 密码= password_to_go_with_above_user_name
    6 h1 f8 k5 ]6 a% \' I# w
  36. getdriverfunc = getsqldrivermysql
    , q* @) b5 W3 g. S
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 5 r9 n. S% [5 y& F' l
  38. libraryname = path_to_libsqlmy_libary
    " S7 [) C* f% S! A/ }) Q
  39. 积极= 1 2 Z8 X& ^8 H* _+ @
  40. ---削减这里---
    . z1 T/ D* `, p6 h0 q/ M
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 9 k  `5 U7 F4 p/ R5 }  o0 K0 g- g
  42. ---例如--- + W& m& L# V$ x3 j: a4 F
  43. [ dbexpress ] , K2 \" {' s7 b% N) q
  44. sqldir = mysql_sql
    - x( s" }7 W9 _9 W
  45. drivername = MySQL中
    - n/ b- }4 ]4 a( G
  46. 数据库=测试0 p& h: G9 h: M1 H& W+ e- B0 k
  47. 主机=本地主机5 j* @  q7 K% y. O
  48. user_name = testuser ; ?+ ^1 @$ g9 B
  49. 密码= my_password
      }- e+ W5 z' o  u$ Z7 Y0 x! _
  50. getdriverfunc = getsqldrivermysql 1 M% U8 i/ G# Y4 f: B# E2 F
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    . |9 v( ?" K& H3 f, x, t( F
  52. libraryname =. / libsqlmy.so
    : x: [3 b$ i$ ]7 O# h+ t
  53. 积极= 1   t  }/ n6 P6 |5 q
  54. ---例如--- : f  o' a, y8 I

  55. , u( X0 X8 q; w6 Y- ?+ n/ e
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ' e0 Y4 G5 L/ L/ L1 K
  57. ---例如--- , r6 l( j( j! e8 w; w2 T
  58. [ dbexpress ]
    " h/ I% I$ c* D; f' E- N
  59. sqldir = mysql_sql
    $ |, }+ n* c0 W4 Z
  60. drivername = MySQL中) o+ x1 _& ?; [; L; Y( ^% N. B! ?5 T% z
  61. 数据库=测试
    & x# l: A+ p4 b8 y- ?! R0 s( q
  62. 主机= 127.0.0.1 8 L$ J( C* I' I* ^" a2 x) E7 [
  63. user_name = testuser
    ( R0 B1 U; ?1 T* c6 ~& A* u
  64. 密码= my_password ' S$ U4 n' z: f, B$ b  l
  65. getdriverfunc = getsqldrivermysql
    9 M0 Z! Z" x" I0 O$ U1 i  ?) ^( \, F
  66. vendorlib = libmysql.dll在- E. R8 I* F  U$ h5 L$ T
  67. libraryname = dbexpmysql.dll 4 E( F( ?# p& N5 K2 E
  68. 积极= 1 ' k, g" J6 e+ @% e& q
  69. ---例如----
    4 t" M2 A' T' x. ]9 B
  70. -写在0 2.03.04由p wk.linuxfan: w  B, b5 y5 L2 F/ w7 S2 ]
复制代码
发表于 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 words9 j% f5 t, n) b' w
' q$ F$ E3 f2 j! s3 q! W5 s% S3 F
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-23 20:25 , Processed in 0.118141 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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