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

3522 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
7 p6 G( i: d6 W2 H. Z; Z. G* C
+ N* Y# F0 M) u1 _( c

  1. ( ]0 k% ^1 a2 X( b
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    9 P  X* y$ f: f* q8 X: \, s
  3. ' l+ i$ k- }8 O$ y8 L% e' Y
  4. ### What we need ###
    + w! V% X. i) r+ S' e. w
  5. Naturally, we will need a MySQL server to store the data for us, this document
    " M& c3 Q' |& K' q
  6. will not explain how this can be done - there are documents out there for the
    # o: H4 s+ i9 U# F4 J4 \
  7. interested. The requirements include a (empty) database for TeamSpeak to use% i/ j* ?: e4 S4 v: L+ L$ R
  8. and a user account (username + password) that has the permissions to do stuff5 |6 K9 H0 ]* L( {- u; E3 I
  9. with the database. Additionally, you will need a vendor library installed on the# Y9 G) J7 i8 w7 k( `. P
  10. local machine, this came with my MySQL install.2 B, \" ]- A$ h9 \' T
  11. These instructions will not tell you how you might transfer your data from the3 u9 k9 }1 v; z! y* o1 c
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    - U# S) |$ Z: `( ~- `  T
  13. database.; _) W. P; J' `( R7 W9 b
  14. Some users have reported ways to import a SQLite database into MySQL, but at. s/ w. p0 i1 j- N8 J
  15. the time of writing, there are still too many issues - check the current status
    * W7 J" {2 O7 e, O
  16. in the TeamSpeak forums if you are interested.  L5 @) U* V0 I' I5 N& C& I
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from/ p3 l- I, j- x: E
  18. Borland was used. This driver can only interface with the client library that $ X" g8 S6 W3 I7 q7 Q9 _' h0 w
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    , W) w2 s7 @5 P) e
  20. client library - basically all you have to do is to use a 3.x client library as ( X" v- f* x3 S) }7 z5 u
  21. "VendorLib" and a 4.x database to connect to.
    # ^5 v0 T+ P6 p2 E5 l
  22. If you need more info about dbExpress, you can contact Borland.
    * ]* p" [3 N& H. }

  23. 4 {* o( ^1 \! s  E5 v% J8 n9 A
  24. ### Doing the work ###
    " Z. l  F  g; h3 z# ~9 `; ?  ?
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    . y  V7 `( f% c, z# S* c
  26. the perquisites right, just open your server.ini file, and add this section at8 ?, S$ ]5 j+ U) \& b- J
  27. the end:; F+ j7 K4 k, U
  28. ---cut here---
    - X& y5 Q' x1 X  z& o
  29. [DBEXPRESS]
    ) o# o7 ]4 y# p* d1 \$ _& O8 o
  30. sqldir=mysql_sql% ~  |# p% P6 E3 L. K% U
  31. Drivername=mysql
    , e) G' {) m0 J6 Y- }
  32. Database=Your_Database_Name_Here, [+ F0 z; H/ O4 f( M
  33. Hostname=The_PC_the_MySQL-Server_is_on8 e4 g* F( ^( L6 V3 I
  34. User_name=User_name_on_the_MySQL-Server% r6 f& {8 S5 W/ p  m
  35. Password=Password_to_go_with_above_user_name5 E2 l( A& d- B
  36. GetDriverFunc=getSQLDriverMYSQL6 d3 H) \0 v! e! K& O+ d- g+ v
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    1 E8 {1 e% M) i4 u! e
  38. LibraryName=path_to_libsqlmy_libary8 f' y. U+ g# J: n5 K2 w3 E% @6 Q
  39. Active=1$ P; S# \+ |: {) Z, w( [
  40. ---cut here---
    4 X) Z+ k6 i$ T: b* z! p. V3 q/ J  s
  41. In my environment (a linux box with a MySQL server running locally) I have:2 r0 v% [: _$ m! R5 }
  42. ---example---
    7 P, h$ A$ m1 ]9 H
  43. [DBEXPRESS]
    . \" j" R) c' ^+ K( C! i
  44. sqldir=mysql_sql3 ~  Z3 Z& S9 v: ?
  45. Drivername=mysql
    9 _4 Q" T8 q) d+ e  r$ g
  46. Database=test* ]3 U( Q  m" d4 d
  47. Hostname=localhost
    . [0 u, X2 i6 V' q! U; j6 N8 B
  48. User_name=testuser+ Y2 l% F% ~/ W3 _
  49. Password=my_password" @/ v9 a( f6 O% _* [. f
  50. GetDriverFunc=getSQLDriverMYSQL# h. S/ \" l8 B
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    , t" K/ \* W8 {2 e( U
  52. LibraryName=./libsqlmy.so# ~  c, |5 N0 A* p& x. m7 Z
  53. Active=1
    ) K+ C& v' x8 ~9 _
  54. ---example---
    ) J) n8 X# n' @( d& D
  55. 4 e& Y- X- _9 d5 R
  56. On a windows box, also running the MySQL server locally, it would be:
    / `3 @# \' d9 Y- O
  57. ---example---
    & g/ X1 O* h. a1 d' h* v# x( ~
  58. [DBEXPRESS]
    - v8 F7 @5 `, M- I" O1 d
  59. sqldir=mysql_sql' ~0 Z" N2 D) B8 ~$ P5 o
  60. Drivername=mysql
    * m$ {7 ?7 z" G& S
  61. Database=test- [- Q9 b: n( N4 y7 Y; W" q
  62. Hostname=127.0.0.1
    & ^- y1 `! ~  J4 \
  63. User_name=testuser! @; i8 U3 N& d
  64. Password=my_password
    1 _8 C& [9 h0 t% c0 ^3 C& X
  65. GetDriverFunc=getSQLDriverMYSQL6 u3 _' i& R( \% \- v! ]3 N
  66. VendorLib=libmysql.dll  S% p* N  n( C  P
  67. LibraryName=dbexpmysql.dll
    + P/ k4 j# n$ V$ h
  68. Active=1$ e( C0 r7 C  M: |' r; a
  69. ---example----
    7 D# d- Q/ M+ y  \
  70. - written 02.03.04 by pwk.linuxfan
    . n/ U/ E- X$ \  d/ [
  71. ' _' h- O# w8 B
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
/ A: u; N) t' d! u& Q8 s0 t
  1. " x  ]: |' H2 ~4 f0 \8 e6 a9 T
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    0 |8 c3 ]7 Q: Z& }; L

  3. 0 J/ O1 s- f6 l" |
  4. # # #我们所需要# # #
    6 x) i" X( B0 H
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    . x6 W) T1 x/ m+ O
  6. 不会解释如何做到这一点-也有文件存在,为+ g: h5 R9 x5 i- y1 a; |
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用* _0 O% R! ?  M0 j& u
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西1 ^  J! i. w7 H0 }1 f$ T8 q
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    & W; t6 n$ O3 Z" B' e2 \0 e
  10. 本地机器,这是我的MySQL安装。
    + Q* u" r" [. P8 @5 [% O
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从/ Y: K4 m6 ^, v2 l
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    / [8 [3 {! y$ m) V* X
  13. 数据库。
    * c3 x( E, s: Z0 |
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在" d/ s# m8 n; E9 D, _5 n& F) v$ ]2 ]( r
  15. 编写本报告的时候,仍然有太多的问题-检查现状" L% }' E1 n- u* a+ I7 r, j* P
  16. 在teamspeak论坛,如果你有兴趣。
    - [9 G4 W4 F3 w$ c0 M- q
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机0 n! Z" Q! U$ x4 b0 a4 u
  18. Borland公司使用。这个司机只能界面与客户端库2 [) d$ O0 o2 m( t* T* w
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    * P, J1 M6 n5 C! Q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
      U9 m8 J6 ?+ }2 u# [
  21. " vendorlib " ,并解数据库连接。
    ) @& q. Y  J( J$ S% x
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 + J8 r/ R4 t. J$ G4 O5 I
  23. 1 P9 |. T% Q  \' X
  24. # # #做好工作# # #
    0 l3 m6 y1 i3 y* [6 [! D
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    1 }% I0 c# R0 `2 M# ~3 b
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在" `) ]' Z$ e. j$ ]2 f: e& F4 ~
  27. 结束:
    ) e0 F. Y* W9 L1 N
  28. ---削减这里---
    4 y+ \1 P* i7 O, t+ O0 D
  29. [ dbexpress ]
    3 i+ h! u  a3 s; t3 Z4 H
  30. sqldir = mysql_sql 7 h+ h5 }: g  N: b
  31. drivername = MySQL中& o+ U' {# T$ O# ^
  32. 数据库= your_database_name_here
    3 G) u! }3 L* c9 R$ F
  33. 主机= the_pc_the_mysql - server_is_on
    * d. i: C+ x$ y* t- G
  34. user_name = user_name_on_the_mysql服务器
    8 F' g( A8 _4 C  p
  35. 密码= password_to_go_with_above_user_name
    : Z/ m! `; k4 C2 {6 y2 `; I/ w5 o8 C
  36. getdriverfunc = getsqldrivermysql
    " I8 a7 r1 D6 h) j' N5 i; Z- M
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    # @- z' x: p" M7 O
  38. libraryname = path_to_libsqlmy_libary / f2 h0 _, m1 m  ?7 B9 ?; a
  39. 积极= 1 ' |7 p3 L4 f. I3 a4 F
  40. ---削减这里--- * D! K8 \4 y7 _$ m  Y  u
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    # [' E! Z" y/ D% {0 K+ S8 }
  42. ---例如---
    1 S7 a2 m7 U$ ^9 ^6 @
  43. [ dbexpress ] & |* F0 k: l" |' n& ]
  44. sqldir = mysql_sql / Q" D% p* u- [3 i. Z* D5 v* x, S* M
  45. drivername = MySQL中
    5 z& Z5 k% q  \- G* Q2 J. c6 u( T
  46. 数据库=测试
    ' D% t3 ?/ N. D$ d" y2 [
  47. 主机=本地主机
    / S8 n5 T% {# k8 T0 O) S
  48. user_name = testuser
    2 C5 n+ t; [7 q. n; e5 f6 w$ d8 Z
  49. 密码= my_password
    6 U- }, V: z0 Q/ M
  50. getdriverfunc = getsqldrivermysql , F1 i. {4 F5 c4 i' m1 f: N8 b
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    9 H. P( B3 |/ n9 g% _* C( t3 `
  52. libraryname =. / libsqlmy.so
      d+ {7 Z; A$ {4 c2 Z
  53. 积极= 1 8 ?& J+ {# w- W) z
  54. ---例如---
    ) S7 \" ~' t7 @% A' `. N: J

  55. - k5 L! Q: Z( [2 d) `' P$ i
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 9 A+ B0 G' t3 c3 U4 H) N7 x
  57. ---例如---
    : f0 @+ a3 Y8 {; ^
  58. [ dbexpress ]
    ; V  U' k+ r: T& }
  59. sqldir = mysql_sql
    7 M! z! `; T& h
  60. drivername = MySQL中) e4 F6 Q/ a$ a% a8 x9 L
  61. 数据库=测试
    5 Q" R6 Y, \+ R6 h( F. E
  62. 主机= 127.0.0.1
    7 d" C2 r; t! i: q1 F! ^* Z# o$ E/ ?
  63. user_name = testuser 2 L% m( h/ d, E4 j- u' ~
  64. 密码= my_password 9 s2 N+ N! t8 a$ b# F3 T. c
  65. getdriverfunc = getsqldrivermysql : _: ^/ g, b- m6 R3 B4 b
  66. vendorlib = libmysql.dll在
    $ b* b: C2 l# w% F
  67. libraryname = dbexpmysql.dll
    5 V" g/ L; f4 x, @8 a7 F
  68. 积极= 1
    + y, q5 ~/ Y2 A9 q' t7 m% X4 e/ d6 H
  69. ---例如----
    # H) B  a5 I" \: E* h
  70. -写在0 2.03.04由p wk.linuxfan7 P% O% g9 c) O/ G" t- r
复制代码
发表于 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$ ^1 r# n) B2 u* d8 R9 Z' G4 e
6 Z& n! }5 M0 [$ Q4 S' t0 K
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-15 18:46 , Processed in 0.070066 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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