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

3605 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 5 t9 I& E8 b. T. ]8 x6 W7 y6 F

- `3 d4 R( q. e9 z( F

  1. & g; P" M" ?7 y( {9 A
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    2 \- [& P5 @8 w! {: R
  3. - g  r( u4 h$ o- Q, ?
  4. ### What we need ###( |& `; T! F3 U7 `& A# B
  5. Naturally, we will need a MySQL server to store the data for us, this document
    * a( V, i' P' u
  6. will not explain how this can be done - there are documents out there for the
    ; C1 k  w/ q( _* p
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    - g& ?4 q: K1 O- ^2 a
  8. and a user account (username + password) that has the permissions to do stuff( F5 o3 n! O; {' ~
  9. with the database. Additionally, you will need a vendor library installed on the
    0 N# I  u4 f" i. q0 D
  10. local machine, this came with my MySQL install.
    7 }0 \0 F$ ?) D
  11. These instructions will not tell you how you might transfer your data from the
    ' }2 ~3 m+ W5 T0 K
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL# T/ U1 K( ^% S/ L+ v2 Q
  13. database.3 {. h3 e4 Y. X/ V/ Z
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    9 P% d# H3 }0 k2 r/ q
  15. the time of writing, there are still too many issues - check the current status' M" \4 P* B' Y! }+ H7 H$ I
  16. in the TeamSpeak forums if you are interested.4 P4 o& F, y: x$ o+ g; m
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from! z3 O, @9 W. m& U6 j; E
  18. Borland was used. This driver can only interface with the client library that
    0 j$ R4 E. t1 e. M
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    / m8 W# J; p! }& ^, {  E0 u. [
  20. client library - basically all you have to do is to use a 3.x client library as
    4 D$ e+ s6 y9 C6 ]
  21. "VendorLib" and a 4.x database to connect to.. u# x4 c1 |% c8 J5 x
  22. If you need more info about dbExpress, you can contact Borland.  [* c5 L. v. k$ J5 t% O$ B
  23. ) L/ R6 m/ e. [" @; t6 {
  24. ### Doing the work ###
    4 e$ A/ R$ X0 b" [
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    , K. S' ]9 D) Q3 ^3 n9 ~5 a( x
  26. the perquisites right, just open your server.ini file, and add this section at& A& K* c; e- h8 P9 `5 s; z. H, c
  27. the end:/ S+ B% H8 k. m9 f( ]& U. m
  28. ---cut here---9 ]: w7 i& @& E. P. \$ Q
  29. [DBEXPRESS]
    ' t+ |1 b" X# d0 ~: D" Z
  30. sqldir=mysql_sql+ T, t* ^1 j' k$ I" Y' R! l
  31. Drivername=mysql( t2 \2 i1 U7 J; S
  32. Database=Your_Database_Name_Here4 ?8 z( T) A/ D8 m! |. e
  33. Hostname=The_PC_the_MySQL-Server_is_on' S% Y* z% b5 f" ~" i
  34. User_name=User_name_on_the_MySQL-Server" s5 T- D/ t& A, z& a
  35. Password=Password_to_go_with_above_user_name; x  ^; Y  `% G/ U7 ~+ G- x
  36. GetDriverFunc=getSQLDriverMYSQL
    & F9 \* f5 T' Z- V
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib3 N) q$ ]1 U/ S# U# B6 O$ f
  38. LibraryName=path_to_libsqlmy_libary
    ) L: L+ u, C: E5 P" \
  39. Active=1) |$ l6 U, z0 y8 G
  40. ---cut here---
    9 @" e$ W+ R. J5 M: ~* m
  41. In my environment (a linux box with a MySQL server running locally) I have:
    , |" r/ s( n9 M; A# N
  42. ---example---  Z' K: _4 f& x6 u  z
  43. [DBEXPRESS]
    , Q; ]9 `% e$ h+ Y9 [
  44. sqldir=mysql_sql
      X$ o* k1 ?( F/ {; U
  45. Drivername=mysql$ n. j7 G" [/ q) f' F: ?
  46. Database=test
    3 S: u' t7 M9 p8 y' l& u
  47. Hostname=localhost6 f  Y3 ?5 S4 _* g* q) ?
  48. User_name=testuser
    0 \: K$ {5 }+ ?8 y; D' |
  49. Password=my_password
    ( p+ z& E* v% `, r) i7 u
  50. GetDriverFunc=getSQLDriverMYSQL
    . u$ J8 o! X4 Y6 A) W- T" \: a- p5 B
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.04 _+ Y; N6 ^4 I! {8 @
  52. LibraryName=./libsqlmy.so4 _. j" G% k# w8 O. ^* d' i8 Y
  53. Active=1
    / Z0 j1 D6 Y4 h
  54. ---example---9 y! G" w9 \& g5 y8 i: \- n
  55. 9 q! z( D7 ]4 ~/ ^( Z% S; c5 M
  56. On a windows box, also running the MySQL server locally, it would be:
    # O- b: X- [8 s( n7 d
  57. ---example---& b; u8 S+ k/ g7 C/ T3 {
  58. [DBEXPRESS]7 c* X0 k: D( O* I0 s
  59. sqldir=mysql_sql
    ) D8 _% d/ ?  G8 B1 g/ P
  60. Drivername=mysql
      s1 d& A2 C8 ]5 U
  61. Database=test$ B  t& A$ `; t6 [: f3 O# E
  62. Hostname=127.0.0.1
    ' R6 _) g$ a3 N- p) h8 n) L4 c$ F
  63. User_name=testuser
    % c' H3 C0 V: M/ g8 L" ?" l
  64. Password=my_password
    # P2 Y' N: n5 S! u
  65. GetDriverFunc=getSQLDriverMYSQL
    3 S+ C, w; f+ `# |0 O* L
  66. VendorLib=libmysql.dll6 ~7 G: G- z. o  I5 |% C
  67. LibraryName=dbexpmysql.dll
    7 l- ^7 @+ o/ T! M3 j! t, v: o
  68. Active=1
    7 \5 p% K, @. F" ^
  69. ---example----
    " b3 T% B+ `/ x
  70. - written 02.03.04 by pwk.linuxfan
      H+ q% P' b$ k+ k$ f

  71. 3 N/ i. D  D2 y* f/ J
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
- Q$ V) D% B5 U' X+ ]9 ^

  1. % P8 Y+ A! F( F
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    9 u9 P+ y; I" w
  3. ! N+ U! E; N8 C9 G3 \# C
  4. # # #我们所需要# # #
    . q3 S6 j7 m) r% D
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件* Y' K. g0 Z: R$ g8 t5 [& |( o5 X
  6. 不会解释如何做到这一点-也有文件存在,为1 d0 Q; D. R" i$ s
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ( u6 i: j7 D+ ^& |, c
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    2 ^# i) V* n' H0 f" X% I/ Z3 d
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    , _$ l0 X: k1 |/ C/ d
  10. 本地机器,这是我的MySQL安装。
    * ~0 L# a' L  |" s$ p3 z
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从, C* Y& k% f) o  B2 V
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 0 F, C, }4 t) [9 S7 w
  13. 数据库。 8 m$ `# }( g  Y! ~% d* p
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在. _$ l0 Z1 j8 v& z: b  K% z
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    8 y6 p+ J/ w/ X+ ^5 o
  16. 在teamspeak论坛,如果你有兴趣。 9 C8 x  j! X8 |* b$ h* e. i3 {
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机" Y2 h1 q/ \0 ?* k) g' d& @
  18. Borland公司使用。这个司机只能界面与客户端库
    ' }, k) S0 ~5 D9 L
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这* ?. h; ?4 y( T: C; g6 S; d
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ' o% r! {. H; N! P  z+ [/ A
  21. " vendorlib " ,并解数据库连接。 % w! ^- d4 @* v7 {
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 , P' C( Z1 V: |. F
  23. + C; }, C' |' i" b/ q
  24. # # #做好工作# # #
    " \7 b$ h5 f& S* }' ]
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都( s. @9 h$ ]3 e" x& l# q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在: m4 g+ w, r" u* z+ `9 Q
  27. 结束: 1 z3 `/ X0 D1 u7 W
  28. ---削减这里--- 7 x  n3 X6 C8 c* Y3 Y
  29. [ dbexpress ] ; J% C+ E; [: S. p6 J
  30. sqldir = mysql_sql - g8 b  t4 L& P7 D: `- Z
  31. drivername = MySQL中6 q4 `$ C* k" g" L: S
  32. 数据库= your_database_name_here
    - e* p4 a, t  m0 |8 B- _# r
  33. 主机= the_pc_the_mysql - server_is_on " L) n6 n" l6 I
  34. user_name = user_name_on_the_mysql服务器
    5 O0 U8 E) H8 ^% ^
  35. 密码= password_to_go_with_above_user_name
    + g: l$ i; G- I9 `0 u" v: D
  36. getdriverfunc = getsqldrivermysql
    ! C. R' x* e1 H
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 2 u. F) M9 D( U$ T
  38. libraryname = path_to_libsqlmy_libary $ n/ r6 F( n% S% V( b
  39. 积极= 1
    ! s. L/ x5 D, c* v- ^
  40. ---削减这里---
    ' j3 A, ]8 K6 n7 j' o5 w9 i
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: $ d; I/ v  `1 V& P/ T
  42. ---例如--- 8 _8 I5 y& W9 o4 d+ |; H, @! y
  43. [ dbexpress ]
    2 a4 v) h6 n$ G: U0 n" ^" M
  44. sqldir = mysql_sql
    . e% }( Z/ |' r+ e5 u+ M
  45. drivername = MySQL中
    * d% `# C2 [% _9 L4 }- C+ z
  46. 数据库=测试
    5 t3 a/ n7 \8 J
  47. 主机=本地主机( O6 q9 |2 C% d
  48. user_name = testuser
    & r- K4 S- o1 A7 Q% D
  49. 密码= my_password 8 C: P- T( p1 E5 v0 F( k" N
  50. getdriverfunc = getsqldrivermysql - G( ~9 C% F' }* p; J
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 1 J# u. ]# O# r. O/ ^$ [2 I
  52. libraryname =. / libsqlmy.so # R* j! f- `% j
  53. 积极= 1 6 t6 q8 i" x& w7 D2 r6 U$ o* c( ]
  54. ---例如---
    3 D" ]6 n' y. N+ Z# q
  55. 6 ~% R8 i! Q! P
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ( b4 a- {! P* G
  57. ---例如---
    ) m, _4 D; E2 G0 b, P# F& G6 V7 J3 o
  58. [ dbexpress ] ' z/ c1 S0 K+ }8 b7 B; O' i- X
  59. sqldir = mysql_sql 5 b1 b. ?0 v' D( R. O. _# b
  60. drivername = MySQL中/ K' k1 l. P$ J
  61. 数据库=测试
    2 h8 c) t' g$ N" A' W* l# I/ a/ p
  62. 主机= 127.0.0.1
    4 d- s/ d" Q  o8 |9 D2 @
  63. user_name = testuser 2 v- l4 |) b( |# |! i" Q
  64. 密码= my_password
    2 W+ z1 B# j, K4 }3 C
  65. getdriverfunc = getsqldrivermysql
    2 E- ~* \0 `5 K9 b! p, h2 Q  T9 a
  66. vendorlib = libmysql.dll在; M- ]! b' V0 }, W7 k, w  Z
  67. libraryname = dbexpmysql.dll , h5 z& J7 n* a+ z+ W
  68. 积极= 1
    $ z! E: V5 i6 N( n
  69. ---例如----
    % i! q+ n" y0 E" r, ~9 D
  70. -写在0 2.03.04由p wk.linuxfan/ k- N" N5 I, `( k
复制代码
发表于 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
8 U% j6 \6 c" d+ m3 t1 C+ z# }: W& O4 N# g# A
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-12-2 21:07 , Processed in 0.069650 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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