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

3154 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan & Q1 p& l5 T. q8 O
& x! L* y5 R9 }5 L

  1. / }+ K+ C5 ?7 W; i" g: F6 u
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######. J+ K5 D9 Z' }% v

  3. ) w5 w4 m3 k: l0 ]  h% K  k
  4. ### What we need ###
    # ]2 Q! Z0 O0 A( _
  5. Naturally, we will need a MySQL server to store the data for us, this document
      L2 F& a5 X6 h  j3 N6 S/ p( @
  6. will not explain how this can be done - there are documents out there for the " S+ Z/ X& ?& n
  7. interested. The requirements include a (empty) database for TeamSpeak to use6 ]$ h2 i0 p+ L. X
  8. and a user account (username + password) that has the permissions to do stuff
    3 P4 Y( f) @# O8 r% p' \- |3 H& J
  9. with the database. Additionally, you will need a vendor library installed on the, r/ W, }; s4 j# A" r2 B0 A
  10. local machine, this came with my MySQL install.7 f8 V/ @2 O& |$ w( i: _) h8 t& y
  11. These instructions will not tell you how you might transfer your data from the" c+ }" [' ~, B9 U7 b# D
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL% Y6 y7 C- I1 r6 k
  13. database.
    ' c% Y7 X$ A+ D% \1 U
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    0 M  q5 ^0 h2 y- N
  15. the time of writing, there are still too many issues - check the current status
    8 L7 i' s& c/ R  F$ H. M2 J
  16. in the TeamSpeak forums if you are interested.
    ' q1 }( b& ?5 p' x1 z
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from! E5 ?/ n: K1 k7 g. V
  18. Borland was used. This driver can only interface with the client library that
    - n# K/ P) ]# k1 K
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    3 [4 v3 h2 z' c3 q7 v& X# T
  20. client library - basically all you have to do is to use a 3.x client library as
    4 S; T% d! X+ Y
  21. "VendorLib" and a 4.x database to connect to.
    # q+ a& D. E8 t+ Q4 a% F. @
  22. If you need more info about dbExpress, you can contact Borland.
    & H0 B) i/ i  M( @* g/ h* [) W

  23. 9 }) j+ T( i$ M- F
  24. ### Doing the work ###
    " f5 k( Z9 C3 ]$ _0 z9 g* [
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    " g# C: }7 j  V1 N8 C" L- a
  26. the perquisites right, just open your server.ini file, and add this section at
    ) R, N/ d! g, r+ G# h' {
  27. the end:" U# f; ]  W2 ?* r' n
  28. ---cut here---
    . d1 e/ g3 a. S+ S# _. a0 J0 d* l
  29. [DBEXPRESS]5 d5 j0 T) |8 p' H
  30. sqldir=mysql_sql  C; m/ t) M5 W. }
  31. Drivername=mysql
    * U* Z! \" a5 `6 z
  32. Database=Your_Database_Name_Here
    # D: S. s0 e; x+ W" V  f2 ?  m; [1 ?
  33. Hostname=The_PC_the_MySQL-Server_is_on% t# _. Z% e3 c$ o. J
  34. User_name=User_name_on_the_MySQL-Server; P' ?. b9 _( d7 T, H& X
  35. Password=Password_to_go_with_above_user_name
    2 O) q& z; ?. d3 ^
  36. GetDriverFunc=getSQLDriverMYSQL
    9 o* `0 K. B' l) @! p& z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    $ C. w( R- U! A7 l* w( s6 r
  38. LibraryName=path_to_libsqlmy_libary- ]: u; |6 E: S! f9 `; a6 V
  39. Active=1
    " o" {& k+ {- @! m- D! R! F
  40. ---cut here---" _# L! @& X  j
  41. In my environment (a linux box with a MySQL server running locally) I have:! ^: ]3 G1 _2 D& a
  42. ---example---
    4 j1 u7 B3 j( F8 r7 x
  43. [DBEXPRESS]
    8 Z7 O+ e0 w/ B/ X0 t2 E. x3 Q/ U9 p
  44. sqldir=mysql_sql
    ) ^* \5 U! B, }; l8 F. T* k
  45. Drivername=mysql3 C- x% V# r) x4 z
  46. Database=test
    5 n- q  t- n) ^
  47. Hostname=localhost
    # C( L$ @& A8 Z( S/ w
  48. User_name=testuser$ a6 n& k: ~2 H( i  g5 P( p
  49. Password=my_password
    ! R( H& U: C+ X3 I7 R& o5 s
  50. GetDriverFunc=getSQLDriverMYSQL
    8 q' a" @$ ]; c: e5 L
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.01 x# O" O" ~3 {: o; B. A: A6 `5 s
  52. LibraryName=./libsqlmy.so' i( Q) p# A# l5 P/ q6 a. n
  53. Active=1
    $ b* H! [1 q/ I9 p8 [
  54. ---example---
    4 u2 u# K' o- O$ p  E4 p' S+ z

  55. & p/ m, {; H# V
  56. On a windows box, also running the MySQL server locally, it would be:( v) T, P9 g4 U5 @
  57. ---example---
    * [; K! @9 p8 h1 e) @& h, g& o6 V
  58. [DBEXPRESS]4 v9 W6 t" S7 d, p  Y) p
  59. sqldir=mysql_sql
    , c# d4 z! z  m, [
  60. Drivername=mysql
    , g' A6 n9 z; A  {' E
  61. Database=test! a& l8 J8 E1 Q
  62. Hostname=127.0.0.1
    ! E2 E$ m$ I; F
  63. User_name=testuser
    $ t2 v" V. a& S2 @
  64. Password=my_password! m7 D/ H$ t3 v# M
  65. GetDriverFunc=getSQLDriverMYSQL. @" t7 H2 t" M6 X* S* r- y
  66. VendorLib=libmysql.dll7 r8 G+ h- W4 ]) X+ a. u! ~
  67. LibraryName=dbexpmysql.dll% u8 x: P' [6 N, k2 R
  68. Active=1
    ! W. w1 b$ Y* S* x/ j& w
  69. ---example----
    6 s8 d% ]7 Y( V
  70. - written 02.03.04 by pwk.linuxfan, D: [$ o- |' F

  71. ( J+ c: \1 f8 J5 l1 @
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
9 b$ T' j6 ]" N7 G8 D2 |
  1. ' g4 J# U3 R# r: R5 A8 d% u' H
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 3 |. Y- Q- x. W- g

  3. + w, o* C9 t; v' _% ~' w2 `' D
  4. # # #我们所需要# # # ( w3 R2 X8 ~+ T3 I- j0 p2 z
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    + x; G* k! V! B. _% s& M- C
  6. 不会解释如何做到这一点-也有文件存在,为5 E, Q- m3 ]9 m
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    8 Q1 F' ~2 x/ {2 `0 T0 m
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    0 l# k1 t; k; A1 c. {7 w: P: _4 T
  9. 随着数据库。此外,你需要一个卖方图书馆安装于. S$ c4 E1 Y$ M8 W0 _( a8 Y. U
  10. 本地机器,这是我的MySQL安装。
      S. m' l* h- s& b  r
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ! `# J& j/ ~) n  @+ g
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    / r! Y" W) [) X3 P
  13. 数据库。 7 p" p- F, B9 V
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    3 Y3 i/ R& h6 j2 P, q6 U
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ; J9 @4 }+ C; }# n
  16. 在teamspeak论坛,如果你有兴趣。 + \$ r3 F$ }+ A$ c# X; h0 y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机+ P# O8 n9 K6 w) G/ h
  18. Borland公司使用。这个司机只能界面与客户端库$ ?' d. K2 Y) i+ R9 e9 q, d
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这3 t7 g# Z6 P5 h$ K' K
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为7 c, T/ u+ \$ F& b$ {6 S2 V( z' S
  21. " vendorlib " ,并解数据库连接。
    - u! O( g8 o7 L/ B; I
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 4 L) I9 X/ j* y7 |9 f
  23. 0 v9 P& I+ q0 U+ u) D, t7 E2 i  R
  24. # # #做好工作# # # ) m. \( J9 `9 E! _9 q1 }
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    $ T: J5 I( ^8 Q# G! c
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    " z+ t' S: t9 f. e2 P, H3 w
  27. 结束: . Z7 i" J1 `. U) Q2 W8 L
  28. ---削减这里---   k6 o* @8 H; d
  29. [ dbexpress ]
    & r! A3 ^. }$ e! S% W
  30. sqldir = mysql_sql
    ( S  k* S+ s9 K$ \: p' t
  31. drivername = MySQL中$ |) i  r, D! ]" \3 Y( f
  32. 数据库= your_database_name_here
    8 \# w5 }0 M& A9 X9 C9 s8 P
  33. 主机= the_pc_the_mysql - server_is_on
    4 v7 ~! q5 p5 e
  34. user_name = user_name_on_the_mysql服务器' l4 K+ {2 B; j# ^8 l
  35. 密码= password_to_go_with_above_user_name
    & Y; E  o: i% Y3 q) a- W
  36. getdriverfunc = getsqldrivermysql
    ) P& q- @1 h+ ?0 i3 q) w
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ; o0 X0 `4 r( s6 c& V  ?
  38. libraryname = path_to_libsqlmy_libary
    + f: q. E1 l; G8 r3 r
  39. 积极= 1
    4 o4 B0 L  Q5 f
  40. ---削减这里--- 8 {  Z: T3 t- X4 ?5 T
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    % S$ i: `1 P, a2 m9 K
  42. ---例如---
    6 k( E) O1 C/ F7 x# C& K
  43. [ dbexpress ]
    : ]" t, p: V' a5 d( b: p
  44. sqldir = mysql_sql 9 z! s0 w1 J& Y: X: E# Q
  45. drivername = MySQL中
    1 C6 L, _& S. Z9 ?
  46. 数据库=测试1 @6 S1 f! h" b! F. A/ b
  47. 主机=本地主机( r# b, s3 ?/ ~6 ?0 |
  48. user_name = testuser
    5 ~8 p8 D3 _4 B" e2 c! p
  49. 密码= my_password 3 N* X1 I  @' B& K0 p
  50. getdriverfunc = getsqldrivermysql
    ! ~1 W* E8 n7 Y
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ) `0 U! e8 X, N( R1 S( O
  52. libraryname =. / libsqlmy.so
    2 f6 [9 A: ~2 R2 m& o+ |( |% W
  53. 积极= 1
    6 i  S5 U+ u2 k, t( Q
  54. ---例如--- 0 U. a1 Q3 b5 t+ D. @

  55. . K. m9 T8 c* @3 B6 [) y* W1 p: n
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ) c+ f0 j, D3 k' I8 y
  57. ---例如--- % k& V. f% ?. U5 x
  58. [ dbexpress ]
    * O7 e0 b0 ?$ Z2 L. I& i* Q4 i( _
  59. sqldir = mysql_sql 2 j( ^- L: k; u$ p& {% x' O) E
  60. drivername = MySQL中
    # l& V' w2 e/ \8 Q- r/ R
  61. 数据库=测试
    / v* n# G, X$ d+ X& x. M
  62. 主机= 127.0.0.1 4 W" O) C# C1 M
  63. user_name = testuser " z0 s, r# Q- Q- P5 \, l0 `4 @
  64. 密码= my_password - Y9 ~7 y- k  L7 W
  65. getdriverfunc = getsqldrivermysql
    6 s3 S. T9 _: E6 _$ H/ l
  66. vendorlib = libmysql.dll在7 x, O* X9 |- t3 `
  67. libraryname = dbexpmysql.dll
    + T+ Y5 Y9 I' P0 w) t0 e* a0 W( Y# t
  68. 积极= 1
    1 _# l9 W2 y! l- H
  69. ---例如---- ) ~* E& F- q. H% j4 d
  70. -写在0 2.03.04由p wk.linuxfan- @2 m/ a2 u) t4 c  l
复制代码
发表于 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 words4 {2 e0 U6 h" D0 m( o
7 B* b  Q) q7 h+ v4 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-9-12 22:30 , Processed in 0.086106 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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