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

2927 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
. r" c8 V$ b0 h* d- B1 H/ C- b2 K2 G: M" r
  1. . ^- r5 }  k$ S/ m1 V* h7 w4 M
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    6 N! ^( g0 P3 A- s
  3. 8 l. F4 k% c/ F5 s6 J
  4. ### What we need ###
    2 r- n* [0 b3 m1 J. s
  5. Naturally, we will need a MySQL server to store the data for us, this document % Z6 H# [* b& f2 A
  6. will not explain how this can be done - there are documents out there for the
    8 c* e1 O/ T# l+ k% f! B8 i1 e+ R4 S  t
  7. interested. The requirements include a (empty) database for TeamSpeak to use! a# l2 q  w. j
  8. and a user account (username + password) that has the permissions to do stuff
    . s, n$ v  S7 D
  9. with the database. Additionally, you will need a vendor library installed on the
    : B* T  q  X; Z
  10. local machine, this came with my MySQL install.% [; W& G+ ]7 w$ _
  11. These instructions will not tell you how you might transfer your data from the
    - e$ {7 }& q4 k/ w8 T0 c
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL% q% j. X% P6 `) f: L) \. G
  13. database.
    # A+ E" A- n6 l* G+ f9 a
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    4 J" B8 d' L, n( {' H; J* H% ]7 V
  15. the time of writing, there are still too many issues - check the current status
    , f: L4 y+ p4 f2 |( j3 V1 o& H
  16. in the TeamSpeak forums if you are interested.
    $ c/ g7 f0 X- b
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from! ~, h) u) d" x# b  _" s
  18. Borland was used. This driver can only interface with the client library that 0 R' _" p- Y: @# ?1 l
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this) z0 j5 J, R7 j
  20. client library - basically all you have to do is to use a 3.x client library as
    / F4 P3 j$ T3 ?- U$ v  d
  21. "VendorLib" and a 4.x database to connect to.
    . w# a$ i8 I* b2 O! M/ Q
  22. If you need more info about dbExpress, you can contact Borland.
    ; G7 ^% ^5 K8 D% g( U

  23. 0 u6 c  @+ \9 Y, }3 s
  24. ### Doing the work ###
    ) E( X' a5 O, E0 i4 u8 Y
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
      I1 @* J: i# k
  26. the perquisites right, just open your server.ini file, and add this section at
    : q" V( ?3 B4 b+ e6 R# I
  27. the end:
    4 E% q2 T5 d5 s) l# Y
  28. ---cut here---# }) b( V! I( t7 U1 C; |/ c: R
  29. [DBEXPRESS]
    8 b8 Q& J* l" @. s  s3 U" b9 l# y5 H
  30. sqldir=mysql_sql
    * D1 \0 S0 n& N4 _; M* ?
  31. Drivername=mysql
    % B# z6 I8 e3 N
  32. Database=Your_Database_Name_Here
    ) @# z& ?& l/ |& y, O+ \
  33. Hostname=The_PC_the_MySQL-Server_is_on- B% w9 p2 P! _$ A" |0 k
  34. User_name=User_name_on_the_MySQL-Server+ J' H2 i8 F, Y' |# K
  35. Password=Password_to_go_with_above_user_name  |% k8 D5 R/ k4 e8 Q4 z2 }
  36. GetDriverFunc=getSQLDriverMYSQL
    5 h. u' E7 i1 |, I
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    4 p4 v( V. D3 q( E7 w
  38. LibraryName=path_to_libsqlmy_libary* _2 t$ C* ]8 |+ b$ Y7 G: V
  39. Active=1
    4 m. e' w/ p6 y' ?, I7 T
  40. ---cut here---
    4 ~, V/ L1 k$ |$ z* B- G; S
  41. In my environment (a linux box with a MySQL server running locally) I have:3 o4 S& j8 u5 W) c! t1 l. B1 {) ~  g
  42. ---example---' F6 L) G9 j9 U" V+ D
  43. [DBEXPRESS]1 z3 n/ H- a" i! a* i
  44. sqldir=mysql_sql+ s9 f# C  r! W5 j, a
  45. Drivername=mysql% z. ^' A. J4 E7 j3 T% y9 f
  46. Database=test# Y- i1 J, \5 A, [" g% V8 l6 Q  C% f. |% G
  47. Hostname=localhost
    - x9 f* \% _" y% m* G! {% \
  48. User_name=testuser
    # q; B) R" n/ {- a  ~
  49. Password=my_password
    8 Z3 ?1 k- C. M* I& }
  50. GetDriverFunc=getSQLDriverMYSQL
    # v1 K) ]7 r+ u  P3 R# x
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0& V, D% k2 f1 |! E+ T4 h: _! y
  52. LibraryName=./libsqlmy.so+ S0 H, W+ Q' F( E! p% |8 Z& j1 U
  53. Active=1
    6 G9 K5 T' ^6 v$ B- q" P* R
  54. ---example---1 B) u/ L; E1 U) n9 c7 y
  55. ) ]8 f9 j; F2 `
  56. On a windows box, also running the MySQL server locally, it would be:
    ' j) ~1 W; l8 h
  57. ---example---4 ^& b$ b% d# Y: _; u# q) @" k* J
  58. [DBEXPRESS], K+ F9 e1 E- d& v* S
  59. sqldir=mysql_sql4 N/ O5 d1 b' f1 q* m" T9 B
  60. Drivername=mysql
    % @! o, ^" x* l. e' j
  61. Database=test
    * u8 L# {, f3 H3 q
  62. Hostname=127.0.0.1/ G6 p$ V' J+ C
  63. User_name=testuser  ^+ N" G( T% j8 `& i# o
  64. Password=my_password' w+ c9 w" D3 l7 C
  65. GetDriverFunc=getSQLDriverMYSQL1 B8 i7 D& }$ ~/ D2 l* z
  66. VendorLib=libmysql.dll
    & x7 C1 C% _$ n' f/ l2 l8 F1 k) \7 o
  67. LibraryName=dbexpmysql.dll
    , a; t3 _& A6 Z, D' C8 T8 r
  68. Active=12 I/ T2 g; m$ f* c3 C* U
  69. ---example----
    ; d5 Y. Z9 Z9 Q' |+ q
  70. - written 02.03.04 by pwk.linuxfan
    % I' T6 I6 J  i8 Z7 u* p8 h
  71. ' X8 z* E" t. `" P" T6 }; W5 X& b
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
0 c) ?- X8 H5 r% \5 f1 d

  1. + \. P, Y0 E2 c/ a7 |
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    : Y) C0 d: m  J/ J* ^2 c+ V
  3. 1 R6 v5 A& h# [& Z
  4. # # #我们所需要# # #
    0 z# X8 ]( k& r; m. i9 P4 l" }
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    % k/ s, U# i6 Q6 o8 @  t% a5 h, ?" {
  6. 不会解释如何做到这一点-也有文件存在,为
    % e: |/ |  S0 }( m4 ]  D: x5 h
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用1 Q# I; H/ b1 [+ m1 H! J
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    8 O5 e  z" I: W" |: Z0 T
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    3 f* m- e. Z: E% j* |
  10. 本地机器,这是我的MySQL安装。 + q5 h2 T; @% r
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    0 P/ Y1 x9 {& |9 I  P3 E
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    3 Y6 C4 o3 Y; [  L3 W6 o
  13. 数据库。
    ) {2 u" Y5 O+ P, v  ~& l8 J, k
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    " N% I2 k. V4 M! [. _
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    * o9 s; k' J5 p) ^# q7 _  m
  16. 在teamspeak论坛,如果你有兴趣。
    * ^5 I% @2 V9 B9 O4 R9 K& A
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    7 }* ?1 M; D& ?) L+ J9 H3 ?$ r; g# N
  18. Borland公司使用。这个司机只能界面与客户端库
    5 w0 A& H7 ], o  Z: h+ t
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    * U: x& c+ Y" M4 I$ y' N
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为' l7 J' k6 ]+ c
  21. " vendorlib " ,并解数据库连接。 $ {' n, }' f! G: j; z
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 2 ]# F9 o" h8 x$ q5 D2 d

  23. 4 T) p5 b& s! O( w; q' d3 a* M3 O
  24. # # #做好工作# # # 3 h4 u9 Q; B% y( p
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都3 o0 v3 Z! z% m4 [8 ]6 w$ B
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在; u) A+ _9 w/ H% F' [' y( B
  27. 结束:
    4 o) z% O5 U3 Q, |: h# [' v
  28. ---削减这里---
    ' D0 d% I% h/ m7 q3 C% F! H
  29. [ dbexpress ] 5 x* H' J- Q# |  W9 X( [8 n3 C3 Q
  30. sqldir = mysql_sql
    3 d4 X( q0 d4 n4 E9 A! e
  31. drivername = MySQL中
    . @6 m1 d* _9 k. z: S& s: f& h7 S9 w
  32. 数据库= your_database_name_here
    ; H7 [2 i% G2 `
  33. 主机= the_pc_the_mysql - server_is_on
    5 o8 m1 z! x/ q
  34. user_name = user_name_on_the_mysql服务器
    , Z2 c4 J' _: n3 F+ c0 [/ Q
  35. 密码= password_to_go_with_above_user_name
    ( e" p  d$ U$ Y, ~: |
  36. getdriverfunc = getsqldrivermysql ! Q& Q7 Q# ]7 `! A6 c5 e8 ?
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    $ P# E+ f: M& t- F4 i) x
  38. libraryname = path_to_libsqlmy_libary
    7 i. n& E8 a5 }6 m
  39. 积极= 1 ( Y! R! g4 c) c
  40. ---削减这里---
    0 w6 F% x9 ]+ l
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    & ^+ T: }) \/ e% p/ s
  42. ---例如---
    / Z2 G7 P! Z6 m2 c7 N8 w" O
  43. [ dbexpress ] 1 ]" j0 y4 E$ w; c5 F& z
  44. sqldir = mysql_sql
    ! _) Q# c; S5 i
  45. drivername = MySQL中1 A# m* Z: U, n/ @" V: b) I
  46. 数据库=测试
      Y: ]9 \( h6 f' }
  47. 主机=本地主机
    * {! `; g4 S9 A6 z7 n5 ]/ i+ ?1 f
  48. user_name = testuser
    6 O5 z6 K6 U* t
  49. 密码= my_password
    9 K' J! ]) I, b! Y4 ]
  50. getdriverfunc = getsqldrivermysql
    % v/ `' P& E# ]$ y' E7 U
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    / T3 c! l% J- H. k
  52. libraryname =. / libsqlmy.so ; z9 x  {( |+ a
  53. 积极= 1 : x' \; a5 Z2 a0 v. c3 o: z, G
  54. ---例如---
    9 G: q( P; Q8 D3 @

  55. $ y5 |0 H! z* S! \
  56. 对Windows中,也运行MySQL服务器本地的,那就是: . a1 n( B0 W) M* f4 s( m% j4 ~5 S
  57. ---例如--- & `/ Y4 u% x( k0 @8 A
  58. [ dbexpress ] + E9 |0 [+ R1 u, ?
  59. sqldir = mysql_sql 0 X' c- a7 V6 `4 v
  60. drivername = MySQL中
    & v% k( `; [' X5 i3 u/ F4 |" @
  61. 数据库=测试( j0 h  z2 }% w7 Y3 L
  62. 主机= 127.0.0.1
    ) |9 p" B6 }1 z1 l5 d, I
  63. user_name = testuser
    : _+ r1 U6 t" o) E  {7 x0 d7 D
  64. 密码= my_password + t2 j* o. T; R, `$ n; L) \9 |
  65. getdriverfunc = getsqldrivermysql / P( I% I7 G" M5 l9 [# |( x8 c, q  A2 x  W
  66. vendorlib = libmysql.dll在# q2 l% ?, Y4 d  Y8 P/ G
  67. libraryname = dbexpmysql.dll
    . t5 B8 k3 L' i) b9 h8 i
  68. 积极= 1   ?+ J* R! z3 k; u6 E- J: _% r" m
  69. ---例如---- 0 m. i/ `- p  h  K  y" v! V
  70. -写在0 2.03.04由p wk.linuxfan
    " a/ I, `! E5 ^; c! O
复制代码
发表于 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
+ F. h. l! c# V" N) `7 ?) J
: |$ y) O3 N  ~$ a2 U# A+ e9 ]* }but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-23 08:06 , Processed in 0.097984 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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