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

2921 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
( I1 U3 U: x$ s# U* O( X) s) r' Y' K! V5 V3 l% r
  1. 2 C1 h$ X5 j% j, m
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######1 T4 z0 i8 i$ b8 @8 m" C

  3. 0 T0 Y. `: b4 u
  4. ### What we need ###
    - H$ H+ O5 E6 I  W1 H! O! n
  5. Naturally, we will need a MySQL server to store the data for us, this document ' ?6 Y( d: z4 W: f8 S
  6. will not explain how this can be done - there are documents out there for the ( h) h1 u$ e! \# E
  7. interested. The requirements include a (empty) database for TeamSpeak to use# T) t, t* z; H; m: C$ G( ~
  8. and a user account (username + password) that has the permissions to do stuff
    % P% e% T7 U$ w0 ^
  9. with the database. Additionally, you will need a vendor library installed on the
    ' b1 L& ?( l$ D2 D1 o7 O3 B
  10. local machine, this came with my MySQL install.
    ) `) }* l0 Y! U! b' K  W
  11. These instructions will not tell you how you might transfer your data from the
    3 j# j5 R  K8 M! E' b
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ( r% Y% {8 S+ O1 N+ r4 w
  13. database.
    ( ]  E/ U. g$ X; u! ~- Y- j
  14. Some users have reported ways to import a SQLite database into MySQL, but at" e2 c1 _* }+ X3 j" N
  15. the time of writing, there are still too many issues - check the current status1 B" L9 ?$ @# F3 U+ @
  16. in the TeamSpeak forums if you are interested.
    % ~  k$ K4 a2 x1 X4 w
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    . k! H% a# w. `
  18. Borland was used. This driver can only interface with the client library that
    9 y' y* d  `2 b4 t
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    # x% }+ ?& r4 l" C; c
  20. client library - basically all you have to do is to use a 3.x client library as 6 J- C  Y& S+ K' p0 x7 O
  21. "VendorLib" and a 4.x database to connect to.
    5 ]7 ?- [! G3 Y& z4 H
  22. If you need more info about dbExpress, you can contact Borland.2 A' I3 H  G7 E- j

  23. % e3 f: ^7 w6 Z# ^
  24. ### Doing the work ###
    7 y/ X# n0 o4 b7 N
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all, V, j& ?; }2 d- D" @
  26. the perquisites right, just open your server.ini file, and add this section at. K' k9 B3 I9 J: `5 V! i/ a6 @
  27. the end:" T3 i" n! A3 C
  28. ---cut here---0 x! |3 C0 B7 `
  29. [DBEXPRESS]. M1 Y9 ]: Q9 @& E. |
  30. sqldir=mysql_sql. ~/ S7 E! n, P2 |
  31. Drivername=mysql& B/ f/ r9 P& c. S" c- T  k! L( R
  32. Database=Your_Database_Name_Here
    & ?/ j3 |: |' t  a) N
  33. Hostname=The_PC_the_MySQL-Server_is_on" {: w8 J0 z! F( h; Z
  34. User_name=User_name_on_the_MySQL-Server+ [* Z; f1 L5 K5 C$ \
  35. Password=Password_to_go_with_above_user_name
    - F  t4 D+ i% E% |
  36. GetDriverFunc=getSQLDriverMYSQL+ c. L: h+ f1 E
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib9 G3 f8 \7 c* ?2 I
  38. LibraryName=path_to_libsqlmy_libary- _$ r+ ~3 @  ~: B" v- K" h9 Z  V
  39. Active=1
    2 P; m' F/ Y5 o4 o+ W
  40. ---cut here---3 P; d' r$ i; r. y% q
  41. In my environment (a linux box with a MySQL server running locally) I have:3 C, c: g! d4 d) C( E/ O9 d
  42. ---example---9 b: v9 r3 H; c' t" I$ s: p
  43. [DBEXPRESS]
    0 y0 y) C$ |$ P8 A' X. y
  44. sqldir=mysql_sql
    * Y/ k) C+ n- J: r% f
  45. Drivername=mysql
    9 L) I8 ~; k8 p% ^% F
  46. Database=test) Y: A6 U! D6 q) _5 x" ^! k
  47. Hostname=localhost
    6 L% j' W- q7 f
  48. User_name=testuser
    7 ]# [3 W) v) Z5 L2 y! I/ L
  49. Password=my_password% n' Q4 j' H5 E& |2 I
  50. GetDriverFunc=getSQLDriverMYSQL, Q3 J4 p5 }+ K5 c# ?1 }( ?
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.02 {5 L8 H! C7 o- }
  52. LibraryName=./libsqlmy.so6 D4 H! ?* A! z3 E0 v  D5 B
  53. Active=1
    . _9 x5 r3 u- o2 e; p% R
  54. ---example---
    5 k+ Z" V  M) K2 \" J
  55. * Y  ~1 G6 V& d: J4 m
  56. On a windows box, also running the MySQL server locally, it would be:
    3 O' h. n0 c: v. G. c( i
  57. ---example---' ~' ?+ e3 o& ]$ @# G" m
  58. [DBEXPRESS]6 g# b. n" j- {, [$ E8 m5 W. m+ i# A
  59. sqldir=mysql_sql! ^) O2 n+ D/ y% W# s* q' {' G
  60. Drivername=mysql0 m. ~* z! D; |' V, |5 J% x; ?
  61. Database=test
    5 H5 Z' j) T0 _; \
  62. Hostname=127.0.0.1) o" @& Z' M; Z% J
  63. User_name=testuser0 y) z: D/ P- o2 M7 \
  64. Password=my_password
    , P' G7 _# X/ H! m/ H! w# m
  65. GetDriverFunc=getSQLDriverMYSQL! @1 X- m, [1 o: A0 n3 V
  66. VendorLib=libmysql.dll
    ; I/ c- P+ R5 u! T' p
  67. LibraryName=dbexpmysql.dll
    9 N& T9 M, v) J" N( {. z
  68. Active=1
      \8 C1 S2 Z) J% c% `+ X1 x0 k
  69. ---example----
    6 f4 A: ?' Y6 m/ p
  70. - written 02.03.04 by pwk.linuxfan/ h# G: \0 l% E8 K

  71. ) r, C" B3 ]0 }! O- n5 r0 J
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看) [! ^% @. P1 m9 F' W% c

  1. 1 _+ F8 G3 |9 }% Q( l
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 6 a% S/ |8 a8 s! t$ U4 q$ ]) P

  3. + A+ T5 b2 X& G6 x
  4. # # #我们所需要# # #
    & j+ i  b& N3 q( C  u# L  I
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件# H8 w! Z6 h) X  Z" N; Q
  6. 不会解释如何做到这一点-也有文件存在,为
    & {3 P  X4 b5 ]# Y4 [' R) Q# f# d
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    / ~& W6 n5 `% H0 ~
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    " @- I" W3 W/ @" W& p+ w
  9. 随着数据库。此外,你需要一个卖方图书馆安装于6 f, Q/ e& X% E' m/ Y& k
  10. 本地机器,这是我的MySQL安装。 ; o1 f7 ^2 N; V5 q) g
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从8 g, Y5 u3 z! m' d" v* Y# r
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    1 r* m( Z, ]  e+ ^3 u: j9 Y
  13. 数据库。 1 {; s( h& |8 N! D5 U
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    9 y! i* {- G$ T# ~
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    : d- U2 g$ {5 h) S8 [; a. W
  16. 在teamspeak论坛,如果你有兴趣。
    0 c( x  a) g' w2 t: q/ n
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    - t$ Y9 T) y# c
  18. Borland公司使用。这个司机只能界面与客户端库' E! f+ Q, _5 p: }! h
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这+ Z' h$ ^+ f9 |; B1 Z$ v
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为# Y% v, K8 n' E! ~" l
  21. " vendorlib " ,并解数据库连接。 . [6 Y' g4 i0 X; K. P
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ( v$ F$ U7 e/ X8 }- H9 k
  23. % Q# x( \2 `7 H3 n' v6 f
  24. # # #做好工作# # #
    ) M- W4 K0 u# H3 Q8 P0 K3 k* Z
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都8 T. L7 U- c$ W+ n
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ' k0 D, i5 e) T1 `) C: F
  27. 结束: $ E' \( J* G3 r% k0 S9 |2 H
  28. ---削减这里--- ' E( P1 `* e$ A& t
  29. [ dbexpress ]
    # f1 E- W" B& I# \) q2 z! y
  30. sqldir = mysql_sql
      Y4 }: |  c; d& [' B4 {
  31. drivername = MySQL中4 l8 [. U' v3 D7 U% N3 `. [
  32. 数据库= your_database_name_here 7 d) l) ~' j% \/ i7 }  t7 _2 M
  33. 主机= the_pc_the_mysql - server_is_on
    - w- o# l, P5 B: O, x
  34. user_name = user_name_on_the_mysql服务器& ^7 p4 k% B3 z* Q5 S
  35. 密码= password_to_go_with_above_user_name
    1 w( v2 v9 s2 M1 y! z$ {6 N
  36. getdriverfunc = getsqldrivermysql . r. ^4 d, H4 i: P1 r+ x# Y
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    2 c0 r$ g3 I: W, e0 V: h
  38. libraryname = path_to_libsqlmy_libary
    , \& r" ^8 j5 L) T* O4 @5 m
  39. 积极= 1 , x7 H( W: v! Y; }$ L' d
  40. ---削减这里---
    5 m( t. q: M6 j0 {& @- s
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: + @& k9 Y1 w: B
  42. ---例如---
    ' X" g7 \/ _' E; p/ Q. p* `9 O
  43. [ dbexpress ]
    5 ^3 g, t7 H) ~7 j& U/ m% K; c' v
  44. sqldir = mysql_sql 0 x5 a8 J3 K& o' y3 d
  45. drivername = MySQL中$ _6 s4 n" F- k% N" f, n
  46. 数据库=测试, Q8 c' J; F  B2 v8 T+ \' g0 t
  47. 主机=本地主机
    , Z5 o  P& {5 H9 e* L9 \( S
  48. user_name = testuser
    8 X9 M* j  F& I
  49. 密码= my_password & ~# F2 }  J# Y. r' x- F0 C5 `
  50. getdriverfunc = getsqldrivermysql 9 B- z: E5 ^& g  M+ U0 R
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    6 k( k, x2 P+ ~8 ?) Z& z
  52. libraryname =. / libsqlmy.so
    # |0 l5 ~! U1 p4 p
  53. 积极= 1 4 s( I' M) q, h
  54. ---例如---
    ( S7 J% a$ l* y. E2 e& d4 [

  55. ; k& m9 Q. ^* Q- b5 ]
  56. 对Windows中,也运行MySQL服务器本地的,那就是: # |' s% C' U5 h4 q4 U' V( t
  57. ---例如---
    ( w+ d; y3 L: o6 e. ?- L
  58. [ dbexpress ]
    8 p1 e0 h: |" @# F+ b/ O
  59. sqldir = mysql_sql
    * M% R1 x( e3 S4 O% K
  60. drivername = MySQL中+ q9 q$ x) c( [/ ^# }; F8 A( f
  61. 数据库=测试
      \/ V, R1 p1 n/ _7 f( j
  62. 主机= 127.0.0.1
    " C& L( D2 y6 ^$ U
  63. user_name = testuser
    % L: B* Q+ e& t7 G& m' R- v$ ]
  64. 密码= my_password 5 W' x! A" j2 J, \
  65. getdriverfunc = getsqldrivermysql
    ( v. i- K3 v5 j5 ?5 U; a5 r$ h
  66. vendorlib = libmysql.dll在
    ! Z3 w) ^: b( E& ]5 }( l; r
  67. libraryname = dbexpmysql.dll
    ) u  k% O5 `" a; w/ y
  68. 积极= 1
    # }4 j! b. ^0 R! }, p2 V! e  ~6 ]1 n
  69. ---例如----
    # M) O2 @6 [# @
  70. -写在0 2.03.04由p wk.linuxfan* Z& I6 v) ]6 e. 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 words
  ]; r( b, W- w/ Y* z
0 S2 B( h$ g0 h) J/ nbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-21 15:31 , Processed in 0.099912 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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