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

2577 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
9 D5 }& _6 z, J# l  \8 [6 M
5 k3 `$ b6 ]& Y: c1 b* M

  1. ! f8 i) W! a3 O0 l$ U8 D& F4 N
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    9 A1 Y- N9 a; D6 U

  3. 1 \% t% H3 `5 {2 z, j0 ^, s
  4. ### What we need ###3 H  y. Y: J8 A; ?
  5. Naturally, we will need a MySQL server to store the data for us, this document
    5 c& T/ z0 r3 \3 D+ ]5 ^/ A
  6. will not explain how this can be done - there are documents out there for the
    1 @7 @, u% r* @4 @+ \$ V
  7. interested. The requirements include a (empty) database for TeamSpeak to use7 @, w! P7 `! M& \
  8. and a user account (username + password) that has the permissions to do stuff. s, G. o( T$ U7 V/ R" G
  9. with the database. Additionally, you will need a vendor library installed on the9 k2 |/ G7 [% O" M9 H( D' T! @4 j
  10. local machine, this came with my MySQL install.
    , G, s' c& ~' N; K$ p1 j: \
  11. These instructions will not tell you how you might transfer your data from the
    / p+ b6 ?7 t; ~
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    * g% j, I" ?: P1 `* s& K1 N
  13. database.7 k' L' p# C4 e6 s5 v" u
  14. Some users have reported ways to import a SQLite database into MySQL, but at* a9 g  o1 z+ ?+ }
  15. the time of writing, there are still too many issues - check the current status
    : i+ l5 x' m( V8 r/ P
  16. in the TeamSpeak forums if you are interested.
      @( Q5 R) S! m$ H
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ) z7 B# u/ ^5 t& ~! z( f
  18. Borland was used. This driver can only interface with the client library that 9 y1 ^/ Q0 j7 y
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this  B0 r0 j0 x  Q3 Z  f
  20. client library - basically all you have to do is to use a 3.x client library as
    5 T$ n9 k! `/ a9 X* M) r
  21. "VendorLib" and a 4.x database to connect to.; H7 f& r* T' D6 w4 }
  22. If you need more info about dbExpress, you can contact Borland.
    : @/ ^  `+ U4 ]$ j. _5 M% j9 ]0 w; i

  23. # A; r0 D) \# A4 C7 N1 L- y
  24. ### Doing the work ###
    " H7 b+ p) A) I9 _& A
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all9 V' M8 K; L* L4 X( e+ R
  26. the perquisites right, just open your server.ini file, and add this section at
    % V2 S; l) r; b7 x
  27. the end:" R2 ?& E# j/ O, {& I- x/ c. N- m- }
  28. ---cut here---7 C. I6 i7 x6 U
  29. [DBEXPRESS]
    / f* r- `# O) \+ g4 ?  g$ }& h" ^
  30. sqldir=mysql_sql& K- \2 x$ }% q; g# f/ Y
  31. Drivername=mysql8 M$ P1 X4 V5 v3 V
  32. Database=Your_Database_Name_Here' f! \  i  Y" V8 P
  33. Hostname=The_PC_the_MySQL-Server_is_on
    # \! @) D6 r# q+ Q8 X$ K
  34. User_name=User_name_on_the_MySQL-Server, k1 B: q' ~* _  B0 @- E
  35. Password=Password_to_go_with_above_user_name
    9 V, L+ d- ~6 j& N) n9 ]
  36. GetDriverFunc=getSQLDriverMYSQL
    4 f  G% z& k0 c
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    " f# ^) _) `, K; Z; i, m; f
  38. LibraryName=path_to_libsqlmy_libary
    + B' {+ I7 Z! N1 v
  39. Active=1
    1 h$ g- Q$ |/ z' S1 e# ^
  40. ---cut here---
    0 G; t1 ~  c# s
  41. In my environment (a linux box with a MySQL server running locally) I have:3 {: L& W, N2 l0 m9 b
  42. ---example---
    ' ]5 t& w, }7 q7 ^
  43. [DBEXPRESS]
    0 e# {7 t% |- [& R% K; j# q
  44. sqldir=mysql_sql
    . ]5 t4 n3 J) n
  45. Drivername=mysql& |9 r% ]0 g0 \& x
  46. Database=test  ?$ z/ {* Z; T) j
  47. Hostname=localhost# Q: K3 c) A! K; d& D
  48. User_name=testuser
    $ ], J& ]$ |: g. u8 J
  49. Password=my_password  s# R1 Z5 {3 I. x
  50. GetDriverFunc=getSQLDriverMYSQL
    7 G4 v1 N0 M0 A: z6 P8 N" x
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.09 C( O4 F2 X# F# w5 R: ?- X3 p
  52. LibraryName=./libsqlmy.so
    3 \2 x/ @( f, f# n
  53. Active=1
    ! o, |2 S  O: }0 |' a9 `
  54. ---example---
    , ]1 ]5 [4 u; @
  55. ( {% [0 f6 o8 u2 t$ w
  56. On a windows box, also running the MySQL server locally, it would be:8 ~8 s; y7 |: W" {5 ]
  57. ---example---  n9 r9 ?( c. `! _/ Q6 y2 N
  58. [DBEXPRESS]
    3 Q8 N6 L0 Z  @, ?4 F$ T  p! F
  59. sqldir=mysql_sql, f3 L* z' q% P0 h, o4 N
  60. Drivername=mysql( |0 J2 Y5 n& n" R4 ~
  61. Database=test
    + N' a+ a  q8 j6 j
  62. Hostname=127.0.0.1
    % R2 Q' i3 j- _: _0 f
  63. User_name=testuser
    ( [5 ^  y4 Z; L2 F( d5 E2 m
  64. Password=my_password9 u4 v! Z* U1 s2 Z8 U
  65. GetDriverFunc=getSQLDriverMYSQL" F& }+ v- ?8 e( E; E
  66. VendorLib=libmysql.dll
    # v6 K# N0 _, P: ?& K5 u
  67. LibraryName=dbexpmysql.dll
    1 R6 i7 o; u2 M
  68. Active=14 h: J3 R  u" g8 g( T; k
  69. ---example----
    - i) v- t3 ]* |* \$ H
  70. - written 02.03.04 by pwk.linuxfan, e' P* O% Y9 d5 U( i' K- N
  71. 2 C; q9 P4 _2 d. V% p+ h7 C
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
; p+ ]4 J7 S" Y+ b% X0 d

  1. ) b0 ?9 M: R) I2 C; y
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    4 N) W2 h. Z! B& ]2 u1 K3 Z
  3. ( A& |! Z' B! c
  4. # # #我们所需要# # # ) s- r. o( ^) D: ^$ B
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件3 t" l) i2 M6 M6 x- F( X1 j3 o6 X
  6. 不会解释如何做到这一点-也有文件存在,为
    * a1 x8 w( O; k+ |9 l
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用* _6 O/ w) P+ F5 g. S
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西: ^3 Y- n8 n3 @; g
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    3 Y! ^; @* j1 G- Z9 R/ d
  10. 本地机器,这是我的MySQL安装。
    " y* j$ h. [& H. T3 Q
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ; K) @, V5 G8 l- x8 [; Q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    % `# Z# T& U- d
  13. 数据库。
    + b% v( Z* O9 Q. X7 }% ~
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    0 c: q3 a: u0 Q1 G4 @; E
  15. 编写本报告的时候,仍然有太多的问题-检查现状, X7 v$ v$ s* \4 N/ \
  16. 在teamspeak论坛,如果你有兴趣。 " ?* r' H* K+ w9 U/ N
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    % o8 O5 t3 Z; b) B3 j& D
  18. Borland公司使用。这个司机只能界面与客户端库  i2 {0 _" f; @5 l  ^6 n0 p
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这) N, F+ ~. W: Q, P
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为. p' `3 M. D5 C+ u! u1 |
  21. " vendorlib " ,并解数据库连接。 ( W/ T$ u6 |% u$ E7 d0 n
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 # D8 G! ^& P5 K% h) I- ?

  23. - _" Y8 n9 \6 ]4 s
  24. # # #做好工作# # #
    ! y# A  E: X  T& R# H6 i4 Z$ |
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    * k$ l8 B4 V4 h7 Q% A% Q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ) R, }! [, W8 f8 M
  27. 结束: 8 t6 a5 `* M  B' y: q
  28. ---削减这里--- 4 r9 Y, U% q- c
  29. [ dbexpress ]
    + B) y& l) ?  _
  30. sqldir = mysql_sql
    7 _9 V4 M8 o' {; d+ ^' }: P* ?" ]
  31. drivername = MySQL中
    . y: Z0 Q8 M8 _7 n! @7 u( [3 v
  32. 数据库= your_database_name_here % ~0 G- _) f/ E
  33. 主机= the_pc_the_mysql - server_is_on ) R1 r8 M6 O  Y& _1 l7 }
  34. user_name = user_name_on_the_mysql服务器# `8 T* t& v5 o' \6 a; ~4 o
  35. 密码= password_to_go_with_above_user_name 7 H5 X# ^; M+ h# @: m: t
  36. getdriverfunc = getsqldrivermysql
    7 U1 s& E, ?) i1 Z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 5 l! g# x- w  ~9 A
  38. libraryname = path_to_libsqlmy_libary
    - ~/ `7 X. B& U) s% K
  39. 积极= 1 * r2 x" Y4 a/ i; J
  40. ---削减这里---
    - J* ^1 e: F5 c1 p' W0 _
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: . Q& h0 W% X( y  a' E/ y# |2 f
  42. ---例如---
    8 X6 S$ g( b0 a
  43. [ dbexpress ] 0 t3 R2 g: p# I% ]  @
  44. sqldir = mysql_sql
    ' i% `- @- ^3 I2 A$ v. L- F# d
  45. drivername = MySQL中
    * N6 [# y; A1 z2 b1 m2 S5 K! o
  46. 数据库=测试
    + ~0 `- P' B" k  H  u2 W
  47. 主机=本地主机
    + a* e/ ?5 F3 ^+ i4 M
  48. user_name = testuser 5 q" k9 ~' {% j  x. A
  49. 密码= my_password
    ( ]) j( ^* M+ C
  50. getdriverfunc = getsqldrivermysql
    " j6 k. Y# I# }& m$ k: q8 e. T
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 - A* j# z& r- c" @( X
  52. libraryname =. / libsqlmy.so
    ; G; q2 n9 y! B
  53. 积极= 1
    & Q6 Q/ m6 Z* |7 q. _4 i) L
  54. ---例如--- ) ?) g6 J6 I; S& X) w

  55. 1 o& {( v# x1 N3 `  L/ B- U. q
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
      M- T9 H3 D: t. j. Y, F& l
  57. ---例如---
    + D: l: h- K* w
  58. [ dbexpress ]
    ; M* Z2 C! l7 u2 O! h4 a( U
  59. sqldir = mysql_sql
    - l: y$ u6 h$ ?  s: Z4 `
  60. drivername = MySQL中9 o0 S4 P1 n  o  O% f
  61. 数据库=测试
    ; C' t2 r: g5 H* H$ R  Z
  62. 主机= 127.0.0.1
    & P( y+ h/ e9 k1 F; W7 O
  63. user_name = testuser
    ) y5 r; h1 a6 t! h+ C( p4 r
  64. 密码= my_password
    * S) u% u) k4 q4 g
  65. getdriverfunc = getsqldrivermysql 2 ?* N; \$ \# ], c8 n6 w" w/ Q
  66. vendorlib = libmysql.dll在( E3 u; k, U! m' ?+ x- n. J' l
  67. libraryname = dbexpmysql.dll 6 j! x. Z+ Z- Z
  68. 积极= 1 & n! f% S* S8 c% Z8 e% J; H; T
  69. ---例如---- 6 j- w$ j* O# q% h
  70. -写在0 2.03.04由p wk.linuxfan- R3 ~  f& ^4 O9 x* V
复制代码
发表于 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
% R9 i2 E+ J/ F/ ^8 X! H% D) |* B; I( M+ B% w, h
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-3 21:09 , Processed in 0.117408 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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