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

3613 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
* c/ R6 l! @! k; f& Y# l$ l. c  H
  1. + i/ T& z2 Q! ]0 v
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######/ S- \1 p4 h" w, O
  3.   n* H* ?, j# e2 S! N3 `3 n. [
  4. ### What we need ###8 K3 H0 V- ^* ~# @
  5. Naturally, we will need a MySQL server to store the data for us, this document
    $ M: Q% K% C" L4 k. @4 B% n6 [
  6. will not explain how this can be done - there are documents out there for the
    + Q1 E/ `! J" V$ S4 T
  7. interested. The requirements include a (empty) database for TeamSpeak to use6 S0 H1 ~% r4 x% V9 g' R
  8. and a user account (username + password) that has the permissions to do stuff) P8 `8 C; g/ o0 i
  9. with the database. Additionally, you will need a vendor library installed on the3 I+ I' P# w0 n% J5 E
  10. local machine, this came with my MySQL install.
    ( Y! ~: I4 Q6 b/ H
  11. These instructions will not tell you how you might transfer your data from the& C: S$ \+ {! H. ~. u
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    7 h2 e! m8 u) r
  13. database.
    5 j& v1 C2 z/ q6 Y
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    : `! P" }+ F: ^
  15. the time of writing, there are still too many issues - check the current status
    + F) u, G: v9 i; s0 y
  16. in the TeamSpeak forums if you are interested.
    $ l8 N; p- p, o% e
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ! b; U. @6 C& x9 G2 v  S& g
  18. Borland was used. This driver can only interface with the client library that
    + }5 w* u6 V. E
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    + R: l# k  y& _! e  |& {& }% {
  20. client library - basically all you have to do is to use a 3.x client library as ' n$ `$ l' N. A& |9 W
  21. "VendorLib" and a 4.x database to connect to.2 R1 H$ a; c2 G' J* J" I
  22. If you need more info about dbExpress, you can contact Borland.$ p  k$ Y, H0 Z6 n2 z
  23. 3 y3 r& k* z, B2 W0 C
  24. ### Doing the work ###/ Z% M% w1 q8 q4 [+ a7 f
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all" T/ k5 R  s+ Y1 A1 v4 V# `4 f
  26. the perquisites right, just open your server.ini file, and add this section at
    : W4 R3 X$ M8 Y9 u
  27. the end:7 M: t) ^# C/ ~" s
  28. ---cut here---, Q) b  B+ q$ p% x1 k) U
  29. [DBEXPRESS]' X& T) _* \7 \% E: Y
  30. sqldir=mysql_sql
    & T3 \  o3 ~2 ]5 }
  31. Drivername=mysql
    " ^6 M" ?: i4 B  L" k
  32. Database=Your_Database_Name_Here
    ( B! N! b* U: L5 s8 Z
  33. Hostname=The_PC_the_MySQL-Server_is_on
    1 J8 l" I% O4 |2 `7 J
  34. User_name=User_name_on_the_MySQL-Server( e. e, X: G% m& N: d2 |
  35. Password=Password_to_go_with_above_user_name
    8 p4 p# D8 n' z3 i: e' ^: _$ V
  36. GetDriverFunc=getSQLDriverMYSQL
    + O6 ^$ Z, [) c3 x" x8 o! z5 N' a8 o8 J* R
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib) t+ q9 B3 C  s3 _! L7 V
  38. LibraryName=path_to_libsqlmy_libary+ P  ?' I; Z2 ?8 d2 v' T
  39. Active=1
    8 E  |$ V9 K) m3 y
  40. ---cut here---* L/ c7 q6 ]7 |) e( k
  41. In my environment (a linux box with a MySQL server running locally) I have:$ l: n+ k8 h% w5 Y, J2 H
  42. ---example---# c$ g" N+ W8 ]' @
  43. [DBEXPRESS]
    ( M6 g  i; `/ f" w. T
  44. sqldir=mysql_sql' T! W' i) f. f3 ^+ ^1 U; W' R
  45. Drivername=mysql
    / j. w: m& N7 k$ [
  46. Database=test/ @2 k! ~& F* j6 ]/ H/ y+ d! K, U
  47. Hostname=localhost" M6 z) Y+ h. s. P
  48. User_name=testuser
    - B7 C1 T! J) y7 X
  49. Password=my_password* g4 G' T0 R. d" r
  50. GetDriverFunc=getSQLDriverMYSQL! M# A) s" h0 W3 m
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0; W! ^( ]4 u- u8 ~
  52. LibraryName=./libsqlmy.so
    7 W; Z+ E8 W/ [0 i5 A: |* u. J
  53. Active=1& }4 z0 ^: w; a& o+ H" j
  54. ---example---. z4 Z/ J: k2 q7 E8 f) g9 q2 m

  55. $ ~/ r7 D+ e0 Q$ v: b$ Z! y
  56. On a windows box, also running the MySQL server locally, it would be:; [# [7 n0 a! ]1 g0 i1 ?
  57. ---example---
    6 V! ]8 n( a7 v+ l5 e/ U
  58. [DBEXPRESS]
    2 C6 O# o  i1 O8 a$ T
  59. sqldir=mysql_sql; g+ T0 k$ J$ `# T
  60. Drivername=mysql% u( j9 n- |. J% `
  61. Database=test
    * r; i- M4 P, i, B
  62. Hostname=127.0.0.1! D7 [% U$ N# i
  63. User_name=testuser2 h2 K+ ^4 S( ]% e3 g8 M0 Z* Q+ f, ]
  64. Password=my_password$ Z( Y0 D, B$ z& F6 z8 }
  65. GetDriverFunc=getSQLDriverMYSQL
    ; G  u4 W# }, B
  66. VendorLib=libmysql.dll% F# W: X) O1 G; N
  67. LibraryName=dbexpmysql.dll
    . ~7 l& H, N- _1 Y5 ~, D
  68. Active=1
    5 q% w" P+ q! C+ }' a
  69. ---example----5 i8 d, B3 K( b# Z6 ^7 z# c
  70. - written 02.03.04 by pwk.linuxfan6 w8 P+ i+ R2 r: M

  71. 2 M$ W; {6 w, q" s( ~
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看8 I$ O+ |0 X" N* u
  1. 1 U. l1 J0 U0 a$ ~+ A8 U# A# N: \2 N
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    7 M* o3 t' H. `3 |0 N8 E3 g

  3. * i' H, m: H# X/ G9 F' e
  4. # # #我们所需要# # #
    - ?8 Z* x& N4 X# t8 g! d
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
      t7 p1 [; A- I; h
  6. 不会解释如何做到这一点-也有文件存在,为
    " M/ O; ]7 M+ b
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    2 r8 C" G9 D4 J$ u6 S  J
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西& J$ ]' a- P7 \  C, d: D# o1 W
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    3 }( V: p; v- `  S7 k3 U8 X; k
  10. 本地机器,这是我的MySQL安装。
    - F( V% B4 _4 i3 m% m
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    * w) ~3 |9 ~( q9 o
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 8 M* C9 c# A5 p* |5 M5 E& j
  13. 数据库。
    - e: }3 }" ?  F, G  ]
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    % U/ n) }1 A# G3 a
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    0 Y% N/ ~+ H! d; C
  16. 在teamspeak论坛,如果你有兴趣。 * @( @, P+ ?- y# `: G
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ( G. q+ ^+ T% a6 _* q, P
  18. Borland公司使用。这个司机只能界面与客户端库
    5 b5 h/ H: b+ y% Z( r
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    4 K' x2 E  ]5 ^% B: M
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为0 n" T6 S9 U% A
  21. " vendorlib " ,并解数据库连接。 4 ]2 D4 o. M/ t/ _0 o7 c" m" k( a
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 6 T7 `& c  e. \: M; A

  23. 1 N: m, w0 _. F+ L3 e
  24. # # #做好工作# # #
    ( N; m6 E$ G" D/ x1 `
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都' J: G: w6 q1 X( J$ C
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    - w( M; Y# w" ]- i7 q' R# D4 Z2 Q/ ~
  27. 结束:
    6 _0 \( J7 |: P$ Z0 m! d0 Z5 }6 _
  28. ---削减这里--- 5 f, U. I5 F& [" E
  29. [ dbexpress ] 6 K# P# m1 B; e8 c! {
  30. sqldir = mysql_sql
    2 q& M/ `$ N( {* U# g, u4 z
  31. drivername = MySQL中) T) V7 z5 ]" q0 Q$ M1 R1 W/ z$ L+ [
  32. 数据库= your_database_name_here / q* s0 p  t! |) ]1 }/ F
  33. 主机= the_pc_the_mysql - server_is_on 0 f' K* W; }* {9 E. n, r
  34. user_name = user_name_on_the_mysql服务器, e9 k5 F! E4 Q. J) O
  35. 密码= password_to_go_with_above_user_name
    6 Z2 x5 u/ ^' g
  36. getdriverfunc = getsqldrivermysql
    & P* ~( s/ U% q" p: C
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ( V2 v! @: W% M
  38. libraryname = path_to_libsqlmy_libary
    / J8 C; e# [' T
  39. 积极= 1
    0 ~0 x9 q6 ~  T4 A3 \
  40. ---削减这里--- ! y3 G. W1 g0 L" l' X/ h
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 0 J' I1 _: O/ T6 x' h5 M8 l' I
  42. ---例如--- $ c" @8 D; I) p, J6 x
  43. [ dbexpress ]
    0 d( Q3 `3 ]0 e; s8 e, a' r5 t5 D7 s
  44. sqldir = mysql_sql
    ; P9 s  y- |' Z' z
  45. drivername = MySQL中) E+ v9 q* J- @: f
  46. 数据库=测试
    8 W% A4 W/ x& P& w) N- v' n/ b4 X
  47. 主机=本地主机
      ~( m! N, w/ S9 E/ a/ k  ]7 H
  48. user_name = testuser * ]" C6 C; P7 u& g( ^
  49. 密码= my_password 5 I( B: o- Q+ a
  50. getdriverfunc = getsqldrivermysql
    / @; m8 v/ ~' _" k" Y% G" \5 D
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    * s* z$ _0 T  l' _3 R; C5 E  p# K
  52. libraryname =. / libsqlmy.so + g1 p3 k4 `; b8 ]. z5 J
  53. 积极= 1
    ; H6 g* s4 l" O1 u/ z
  54. ---例如---
    ; r, z8 ~5 f3 x: H

  55. + r  w: |2 R5 d$ J) ?% j  x  ?
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    0 X& a# ~, S$ O( c! f
  57. ---例如---
    * Y) P4 T  a& x8 s& v/ E
  58. [ dbexpress ]
    ; A& U/ ~+ z. L& d4 B
  59. sqldir = mysql_sql
    : \$ ?* m0 N! E5 O4 z8 m$ E: z0 A
  60. drivername = MySQL中$ \! J+ A/ O5 K% g2 x
  61. 数据库=测试
    7 l* j) t" C2 h
  62. 主机= 127.0.0.1
    / A0 `4 ]4 ~6 V" I
  63. user_name = testuser # _7 l( W& q/ [* t
  64. 密码= my_password . S/ t+ w! }* [4 V
  65. getdriverfunc = getsqldrivermysql
    ; S+ y4 a" ~) J, c
  66. vendorlib = libmysql.dll在: [$ O- p, E, W1 c0 X1 X
  67. libraryname = dbexpmysql.dll 8 r8 Y$ V" Q. `7 x# i# C: w1 D
  68. 积极= 1
    - h8 _( E$ n$ B! x
  69. ---例如----
    5 }: P, Z& ~) b. {: j
  70. -写在0 2.03.04由p wk.linuxfan# i; e7 d/ D# x+ k) 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
( a" Y( d% V0 L
5 t9 I0 a1 h# W, ?  w- A4 Cbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-12-4 14:46 , Processed in 0.062264 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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