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

3254 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan - ^( t0 `1 w9 w9 c' H) }" L

0 I  L' n+ s1 R
  1. & m* e2 m! i! u0 x) q
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ' W) G1 D# A4 B! \
  3. 3 W  `: k, d0 C  Q4 t0 L4 H, l  `
  4. ### What we need ###
    8 d# a; e) X& e2 T8 o
  5. Naturally, we will need a MySQL server to store the data for us, this document / K% E* T  `1 Y% d
  6. will not explain how this can be done - there are documents out there for the
    / N7 r) v2 |/ m; t% a
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    4 ~3 M4 ~' L. A8 {
  8. and a user account (username + password) that has the permissions to do stuff  A0 G" S3 b! N/ W4 D" d
  9. with the database. Additionally, you will need a vendor library installed on the) r. C5 ?8 L& {" s7 |4 m
  10. local machine, this came with my MySQL install.. S3 j7 L1 i- Z
  11. These instructions will not tell you how you might transfer your data from the! ]4 ]3 Y0 Y( v* k. t- g& n* m
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL" [  b, j0 q) L6 T
  13. database.5 v2 Z) r5 P. F
  14. Some users have reported ways to import a SQLite database into MySQL, but at2 |* v! [! j4 C0 l
  15. the time of writing, there are still too many issues - check the current status& B8 _- g' _0 K! ~- e
  16. in the TeamSpeak forums if you are interested.
    ; q6 |+ d5 L, O7 a
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
      o# {1 L- d- o1 l% k" x! b
  18. Borland was used. This driver can only interface with the client library that
    4 f4 [. y" n8 r/ \
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    : r. M9 v& B+ r6 l( G) m/ h
  20. client library - basically all you have to do is to use a 3.x client library as " n& G. N. T/ C
  21. "VendorLib" and a 4.x database to connect to., ]) D, _+ K. ]8 w" H
  22. If you need more info about dbExpress, you can contact Borland.$ N- G- m0 h1 B1 a2 f' H. m* R
  23. 8 m6 W1 d) ?& N! m& L; t7 W
  24. ### Doing the work ###
    ) I; o" q0 J& Q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all6 _/ T, T8 g* q' i* F/ @
  26. the perquisites right, just open your server.ini file, and add this section at( i: O- B7 C  m" C( [. ~
  27. the end:
    + Z: s$ h5 [4 U+ w) R
  28. ---cut here---
    1 P* R4 |5 f6 V; X( H
  29. [DBEXPRESS]
    + |, ]  |: q, I3 Y$ ^! o$ X  ]5 l
  30. sqldir=mysql_sql
    4 Q! w- r% F' |* M
  31. Drivername=mysql
    ! z) E9 k( I0 s4 u- {
  32. Database=Your_Database_Name_Here* }' V  ]# V2 A( w2 Y
  33. Hostname=The_PC_the_MySQL-Server_is_on) ~8 o* M% J+ g/ g. t+ J
  34. User_name=User_name_on_the_MySQL-Server. \) s: v' ^! M
  35. Password=Password_to_go_with_above_user_name. x. n8 L, q  C& j% g; G- j- d
  36. GetDriverFunc=getSQLDriverMYSQL- |' e$ v. p# ^( R( t" A
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    8 B. d( u, N1 J/ s' q" F" d
  38. LibraryName=path_to_libsqlmy_libary: I* Q* A+ K  [: J" q
  39. Active=1
    ' a' b. a: G/ z7 t, l
  40. ---cut here---
    ' M3 w5 U, y( c) q
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ' f' J+ f  B' [1 E
  42. ---example---7 I$ C$ Y7 q. m. i2 Z
  43. [DBEXPRESS]
    6 N" b& X1 v* q1 n
  44. sqldir=mysql_sql9 n/ d5 ~6 j$ x
  45. Drivername=mysql9 `% U. K) E, n! l/ f- o3 ]
  46. Database=test: L1 s: u3 ?( c4 S& k$ ?
  47. Hostname=localhost
    9 c- F: e! \8 h( N! B/ b6 S" f
  48. User_name=testuser
    ) ~0 `2 g6 A( o2 J5 M( S
  49. Password=my_password) D1 L7 c# ?% I, }6 c
  50. GetDriverFunc=getSQLDriverMYSQL1 K7 H6 e9 ^) H, @9 \, E) b
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    1 {* Z/ d  v: e3 R0 A9 \. \
  52. LibraryName=./libsqlmy.so
    5 \$ m/ p7 |, T& q6 ^
  53. Active=19 ~' M$ v7 t0 Q* n% T
  54. ---example---
    ( V3 L9 g$ @+ O' W' k

  55. 7 k  h2 T6 x$ k! Y+ f
  56. On a windows box, also running the MySQL server locally, it would be:
    $ s) b8 w, Q/ D2 g+ j  O0 }( T
  57. ---example---) {" a2 a& ~- V% W9 G9 w
  58. [DBEXPRESS]3 V9 @7 F6 W$ F) W' P7 e+ z4 {
  59. sqldir=mysql_sql$ R+ c3 f5 z" M9 v6 l) s
  60. Drivername=mysql# t$ v, q7 `7 L" T& |. |( k
  61. Database=test: _! _% z. `% {0 O4 `
  62. Hostname=127.0.0.12 K7 J$ l! U# |
  63. User_name=testuser
      u! t/ j  }& k; h3 ]
  64. Password=my_password7 X3 ?; a" g. ^# r  `7 ]
  65. GetDriverFunc=getSQLDriverMYSQL- |9 @9 f; {1 J! o' H, c7 G
  66. VendorLib=libmysql.dll2 v6 c7 `4 Q9 X1 r
  67. LibraryName=dbexpmysql.dll$ A9 I: d5 [% ?
  68. Active=1+ r% f" C2 d9 S; Z* e0 v! d
  69. ---example----
    : }+ P& C3 u8 u7 T6 o9 T) P" T: x
  70. - written 02.03.04 by pwk.linuxfan
    # I, Z# L! g. b: x. |9 {+ L2 Z
  71. 0 b  s9 y& q  {+ x
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看5 T. z: T0 t* W& u) x

  1. 5 z" s& t8 A' e2 o
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 3 y, O% ]7 I# c, F% G+ j

  3. ! T7 G# B0 _: {( b$ P/ g, E
  4. # # #我们所需要# # # - N+ w( d7 X2 _! L. m8 l$ x  t
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件8 ~3 ^5 L; A1 [% I) ~; D% B# O
  6. 不会解释如何做到这一点-也有文件存在,为
    2 ]" L0 [5 ^# c; J
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用, z* e  T" d6 \9 O- s
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    5 |7 p& X; c( j( V7 s" w
  9. 随着数据库。此外,你需要一个卖方图书馆安装于4 j2 B9 a% u2 S
  10. 本地机器,这是我的MySQL安装。
    9 C: k$ g$ a0 ?0 X% }2 ~
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    3 b: s  r7 @0 C; U5 u
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    1 \; T' C( `2 {1 W* s$ u* `6 C
  13. 数据库。
    + S7 C* V, _: ^" j
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    $ Q; `5 s6 Z; Y8 F6 F
  15. 编写本报告的时候,仍然有太多的问题-检查现状/ L" v1 c$ z/ m
  16. 在teamspeak论坛,如果你有兴趣。 6 O' V. b4 X2 F4 ?2 @( R% L% f
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机5 Y* C- {3 d6 W$ P  \
  18. Borland公司使用。这个司机只能界面与客户端库/ y2 x/ Q$ k# b( a# E
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这5 y) D. }, ~5 E( L1 O9 H6 f  B
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为/ w$ d) T$ `  k0 g. e( X
  21. " vendorlib " ,并解数据库连接。 4 Q9 S$ K* x$ e) q) o0 ]" P
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    , `' z1 k2 }. g/ ~& y. f
  23. ( D4 K% ^7 J5 r' r- `, _/ Q
  24. # # #做好工作# # #
    3 |/ z1 K& t* s& T
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    & q6 J+ o7 c; J3 y" |1 _) x
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ( }# @8 |  ?$ q7 A
  27. 结束: ! W2 O  e0 \- @! c
  28. ---削减这里--- : G  |3 m5 r8 R7 L, ]7 b6 X1 L" C
  29. [ dbexpress ]
    0 s6 E$ H+ [& x% C/ I
  30. sqldir = mysql_sql 4 ^6 R' c8 G& t8 U' ~( r* ]( n* ~
  31. drivername = MySQL中' _2 ^1 h3 W6 T
  32. 数据库= your_database_name_here . ^& k, n5 I, W' w3 d
  33. 主机= the_pc_the_mysql - server_is_on
    3 I& L2 l% P3 u' z* c
  34. user_name = user_name_on_the_mysql服务器
    - a/ ~! G6 {2 Z. k- Y* l) l2 G
  35. 密码= password_to_go_with_above_user_name
    5 O' v- D  }% W  y/ M
  36. getdriverfunc = getsqldrivermysql
    8 L, D3 V" F& l+ H
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    6 \- T/ d5 {( |% t0 X3 A2 x! C0 c
  38. libraryname = path_to_libsqlmy_libary
    / W/ ?4 G; \/ n8 W
  39. 积极= 1 : A9 V+ }$ O' Y
  40. ---削减这里---
    ; B1 F1 G# A7 I1 K* b/ n; |
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    5 E" }9 O* d% [8 c, W6 k5 i  Y
  42. ---例如--- ) G0 b0 u! Z: [  K: r" S7 W
  43. [ dbexpress ]
    * ^0 z- D$ Z% @
  44. sqldir = mysql_sql
    6 n5 c+ s8 l, y, Q: H# c: ^
  45. drivername = MySQL中
    . N$ Z/ z$ `  `7 C2 ?1 x/ V4 K
  46. 数据库=测试
    / k( `$ K. R: J6 y3 I3 \/ F
  47. 主机=本地主机8 U1 ]) Z. ]0 }6 a) x6 ~
  48. user_name = testuser $ I" L4 ]- j" J7 e; q! W: M
  49. 密码= my_password
      m6 l2 M3 d  v1 b2 ?  u9 X
  50. getdriverfunc = getsqldrivermysql * v1 P+ x  @9 c9 }) Z" H. k, R% N
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    + C& T( b3 K5 `- i( U
  52. libraryname =. / libsqlmy.so
    % Q2 e8 C  W& V) d% y7 T0 H% n
  53. 积极= 1
    ) \! y( P: e8 W, V) m
  54. ---例如--- 5 o; w- s( O( Y- U* O8 n# u$ H& r
  55.   I. q" ], J4 @! _
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ' ~% G& K8 t/ `3 m
  57. ---例如--- - U! a8 H% |5 X' u' M( x2 O; l
  58. [ dbexpress ] 2 O0 ?8 `/ {/ ?
  59. sqldir = mysql_sql
    2 z/ U# ~/ i6 E/ o
  60. drivername = MySQL中- o$ }: p& [' o
  61. 数据库=测试8 Y( ?, r. b+ Y% ~' w+ B
  62. 主机= 127.0.0.1 " M; o1 {, M7 k3 Q2 Q  Q
  63. user_name = testuser   O  k  c0 q% S' t" ?) Z
  64. 密码= my_password : b& ]. U! b) y6 Y5 P' z- C! V
  65. getdriverfunc = getsqldrivermysql : f1 z- R1 W! W7 d" |
  66. vendorlib = libmysql.dll在
    ; P4 z' u1 M# t4 }7 g' a
  67. libraryname = dbexpmysql.dll * W3 v* a' _8 A1 r
  68. 积极= 1
    ( O9 N3 @& D8 r* {# ~
  69. ---例如----
      n  N0 T! z0 @! F! u4 }/ M: P
  70. -写在0 2.03.04由p wk.linuxfan
    0 j. X, \. W: w/ x4 h# 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 words  Q" M! k. |% e3 D! A9 h& K" u4 |
  Z3 Q" Q4 a7 d' g
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-29 11:44 , Processed in 0.101360 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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