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

2593 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan % _; O$ \) |1 d& {4 j# ]# H: p

) b, \: O# w) C9 |! f  B
  1. / M2 F( E4 F" X3 `) L. [: j( W$ f
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    " ^# T# E% y- W) n! h

  3. * b; X! ^' D9 K7 Q
  4. ### What we need ###
      W6 g7 H7 i) h' a# b  N6 e" o( t
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ( N3 ?$ X+ y! |
  6. will not explain how this can be done - there are documents out there for the 0 h  O  r3 }0 }$ [6 d7 Z! U8 c) R
  7. interested. The requirements include a (empty) database for TeamSpeak to use) D' v2 b/ p3 @  z) _! }- A& U9 o
  8. and a user account (username + password) that has the permissions to do stuff; N0 n1 N; C) Y; [$ r9 u& H/ Z
  9. with the database. Additionally, you will need a vendor library installed on the8 a, V) B6 Y: H  y& @& B
  10. local machine, this came with my MySQL install." E/ Q! N2 i" J2 G& k( j6 [# e
  11. These instructions will not tell you how you might transfer your data from the
    % J* |( F! r  p1 O+ A3 L( f2 w$ ]6 R
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL  {5 @) o) k7 L3 Z
  13. database.# _$ i0 v5 _7 |! i) }0 q  x7 g5 \
  14. Some users have reported ways to import a SQLite database into MySQL, but at4 T; c3 T% @: u4 O; P! ^& M
  15. the time of writing, there are still too many issues - check the current status
    4 Z+ I3 P# H2 l& I; U
  16. in the TeamSpeak forums if you are interested.
    9 B7 y$ c+ U; F1 B
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ( E+ D! I. Q2 Q" I& I3 a
  18. Borland was used. This driver can only interface with the client library that . f( o; M5 |. n% l
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this9 }- f5 t2 |8 k# U7 K  b
  20. client library - basically all you have to do is to use a 3.x client library as 1 o' h# S% E- \' }7 p
  21. "VendorLib" and a 4.x database to connect to.' l1 {& d+ j+ c, ^* y
  22. If you need more info about dbExpress, you can contact Borland.
    ( U$ F- u7 b3 [) X3 n4 `' c
  23. , R9 X( i/ b5 v# C
  24. ### Doing the work ###
    " F2 s6 `9 g) t
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    7 x7 T" b8 j# B% ]. |- k% R
  26. the perquisites right, just open your server.ini file, and add this section at
    . `( O2 d. @( U
  27. the end:
    % M7 r  M* J3 B& l4 ~' n. g+ Z6 a% i# W
  28. ---cut here---
    7 ^3 `+ f" z6 ^) s
  29. [DBEXPRESS]
    * s" \; w" Z, p5 B  Z! Z6 G
  30. sqldir=mysql_sql5 e% U( s! S7 B5 z3 u- c
  31. Drivername=mysql
    6 f& L! Y3 K3 X; j
  32. Database=Your_Database_Name_Here; i0 O5 H3 K; k& i
  33. Hostname=The_PC_the_MySQL-Server_is_on5 L8 W0 L. C' q
  34. User_name=User_name_on_the_MySQL-Server
      r' w% D! m1 i8 c/ b
  35. Password=Password_to_go_with_above_user_name9 Q  c. r" e5 }9 @1 O
  36. GetDriverFunc=getSQLDriverMYSQL
    * ~* K. Z# y8 a' c" @
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib0 M7 s6 _7 d( f6 Z! J: ~
  38. LibraryName=path_to_libsqlmy_libary% I" n5 J: H9 L% N% P
  39. Active=17 ?8 S7 C1 t% ^, k0 N' `# {; N
  40. ---cut here---  \1 e% ^9 E4 C; y# \
  41. In my environment (a linux box with a MySQL server running locally) I have:, F) y$ s8 t7 t1 h2 P+ m9 S
  42. ---example---' E5 H* v# q# a1 B
  43. [DBEXPRESS], @7 r3 `+ \. s7 v' N
  44. sqldir=mysql_sql4 g- M! w5 t' ]
  45. Drivername=mysql/ P0 ]+ G$ E( b8 B: Q+ l
  46. Database=test( P& J4 b0 j# ?6 q4 a: M% P; N% Q
  47. Hostname=localhost; d0 z7 L( A' z+ i0 C
  48. User_name=testuser. X! {2 ?1 D, ]& }. K8 T. K) q$ ]
  49. Password=my_password* F, \/ R' Y" s5 T) h$ y+ I
  50. GetDriverFunc=getSQLDriverMYSQL7 g6 H6 {0 s3 k9 o
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ( F+ s0 o: w; b6 a- f8 k
  52. LibraryName=./libsqlmy.so
    - x5 `, ]5 x' k, Y* @
  53. Active=13 k! _" T6 V1 x1 L: p, _
  54. ---example---
    " a' B5 A2 v  D0 `6 C

  55. 2 R/ n4 t" i# }7 m, I8 J
  56. On a windows box, also running the MySQL server locally, it would be:
    ! f. i5 f) |* C" m# K
  57. ---example---
    ; s# B: F9 d# w0 N# C
  58. [DBEXPRESS]
    & e' ^8 f2 u) i+ \
  59. sqldir=mysql_sql# c) Y7 ~7 X3 a; q
  60. Drivername=mysql
    $ s: [  u1 q4 m$ B
  61. Database=test5 E" g5 `8 J. A3 s6 E8 _- x
  62. Hostname=127.0.0.1
    4 |6 a5 {) W, }% h7 r" x% Q
  63. User_name=testuser6 y3 n$ D4 k/ t" E1 j, R* \, @
  64. Password=my_password6 {3 c; m$ B' E5 }; u& f8 M' `# V4 u
  65. GetDriverFunc=getSQLDriverMYSQL# e5 {7 T; L9 l. j& j$ K
  66. VendorLib=libmysql.dll
    $ i: i' u, N, ^. T3 `
  67. LibraryName=dbexpmysql.dll) ^( n  W5 ~1 T1 _/ d2 i# D5 `
  68. Active=1; G$ f0 d0 ?. {+ q% a4 R
  69. ---example----
    # x: A) g  }/ n
  70. - written 02.03.04 by pwk.linuxfan
    6 F% p/ V* O/ D3 x3 T1 q% |  Y
  71. : a6 K& i& k7 g/ K( r/ s
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
! e" D2 m7 J6 c) ^, V

  1. 2 ^: l' Z8 l$ N5 [& m
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ; o3 W; d) y0 s) H

  3. + x' y/ u/ ~7 ]; J( ]3 V8 r
  4. # # #我们所需要# # # * C1 S' v1 G& z1 J0 y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ( E6 u5 m( _9 V% Z( u) z
  6. 不会解释如何做到这一点-也有文件存在,为
    4 _: J# F& b0 K
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ( s& D. Y5 W4 E7 u4 E# l, x9 D
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西6 {, V, Z) U7 s- h! `
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    7 P: e* b- K( Q: u
  10. 本地机器,这是我的MySQL安装。
    3 }# _  {# o0 I  c: o& z
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    / `0 Q3 Q: Z% `# |3 `1 ^3 O
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    : m; W  O  n. ?8 B; e1 c# k
  13. 数据库。 ; g' \7 T/ N0 ]) w+ ?' _  j
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在4 I8 H- R: ]8 ]: D# X2 P
  15. 编写本报告的时候,仍然有太多的问题-检查现状* L3 U% ~: l# a% C3 J/ o2 ^; K. a
  16. 在teamspeak论坛,如果你有兴趣。 % ~' _! ?! V) o- _2 K  n
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机: w5 G+ P7 d% ?. B
  18. Borland公司使用。这个司机只能界面与客户端库* {6 j7 S( x, Q: o( h# k
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这0 H- o# x9 j+ C( H2 h. X# f) M% d% P, |
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    . ~/ m! y! t( K0 z7 G7 P& E
  21. " vendorlib " ,并解数据库连接。 - L3 S- W( K' b+ _4 }
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 9 K1 B& p8 w9 ]7 }6 B0 W% n1 Z

  23. 5 W# b( p: e$ r) a, b
  24. # # #做好工作# # # , X! q- i' W  Z
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    / U1 h1 c! r6 S* p0 }; Y, |* s9 N$ a
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在$ S8 O2 h5 z: L
  27. 结束: 1 a9 Y1 P5 s0 @6 C* A# S
  28. ---削减这里---
    $ g  U4 x2 M& v* g
  29. [ dbexpress ] # G# v3 ~% c+ [- Z; f2 _& q
  30. sqldir = mysql_sql - s/ Y; l3 S9 Z% F+ u( e
  31. drivername = MySQL中8 y* P# V& J. H
  32. 数据库= your_database_name_here 0 N9 s/ o/ h, l+ c: q
  33. 主机= the_pc_the_mysql - server_is_on 6 m. W% c4 w! [
  34. user_name = user_name_on_the_mysql服务器
    - @% D3 d; X( c% U! S
  35. 密码= password_to_go_with_above_user_name
    " Y5 j! e$ p7 z% c/ ^4 H
  36. getdriverfunc = getsqldrivermysql
    / [* q% r% F8 D8 x
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib : g) o- ~0 H* J0 @4 O6 L4 N
  38. libraryname = path_to_libsqlmy_libary
    : c6 h3 p) f# y3 ^4 }' \
  39. 积极= 1 4 H; i" Y" @. H7 a
  40. ---削减这里---
    ( c/ X& d9 N1 ?2 P. `* C( H# K
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    & x- P% m! C) A* g
  42. ---例如--- 6 d6 e4 q( {; O$ y$ e
  43. [ dbexpress ]
    4 ^! r+ i/ q/ Y0 s6 E( ~  X# b; F  T# ~
  44. sqldir = mysql_sql " I( C& k2 ]0 d4 y
  45. drivername = MySQL中) A% F7 I" m& _4 G! C  S3 \0 l# b# R
  46. 数据库=测试
    2 D& |+ O$ M6 K' }2 q
  47. 主机=本地主机
    & a2 J# r3 h" R& L# b$ E
  48. user_name = testuser
    1 t& U5 u( H$ A
  49. 密码= my_password
    / f3 O' Z, ?* p% L5 e/ T
  50. getdriverfunc = getsqldrivermysql - }0 V" C1 x) g6 }% Z. _2 V& j
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ) y' K# n! y6 Q4 w% ^
  52. libraryname =. / libsqlmy.so 7 h" D* A$ M7 _( M# T
  53. 积极= 1 . Y( _: E3 p/ L% q+ w" ?3 O
  54. ---例如---
    / g4 p, C# t8 A  k9 }8 Q% ~4 C& {
  55. 7 i1 m0 a3 N" Z" R0 B
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 8 U# m  ^, i# C6 s! _9 y; T/ e. D
  57. ---例如--- ' q7 D# m2 [8 K2 h8 }  ^+ P
  58. [ dbexpress ]
    ; t; Y% S* f/ _( R
  59. sqldir = mysql_sql
    5 n5 W1 ^) h) n8 d3 h# |/ v$ }
  60. drivername = MySQL中
    ' H. M$ O4 T8 X
  61. 数据库=测试
    ' g; R2 F7 I5 N
  62. 主机= 127.0.0.1 $ i# \+ o8 i6 y
  63. user_name = testuser
    - o2 F+ H- y, K4 E+ k
  64. 密码= my_password
    # Y  J/ k3 S( d3 ]  @1 ^
  65. getdriverfunc = getsqldrivermysql 8 |' Y& D0 N; e$ t/ j
  66. vendorlib = libmysql.dll在; z9 P1 T4 B+ h7 y
  67. libraryname = dbexpmysql.dll
    8 Y9 J$ J: d8 [2 N/ @( K
  68. 积极= 1
    $ y! i& N' U! K! C. Q
  69. ---例如---- ! o6 G3 L& {# t" _8 F
  70. -写在0 2.03.04由p wk.linuxfan% a, u  {) p% g7 N
复制代码
发表于 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 words5 w' ~/ I: \+ q) C0 i. O1 N" u

: `& u' f# k& mbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-8 12:55 , Processed in 0.096335 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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