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

3495 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
2 A$ b1 V' a7 r- r. Y  Y7 ^5 g/ o$ }) Y; J7 o2 o

  1. ! s- T0 h( ]; C9 C! w& J! i- W, @
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    5 ^3 q6 B. q/ D# y0 X

  3. 4 {  M+ Q$ b' a) ]( }
  4. ### What we need ###
    0 q) u$ F, l, x8 h" }0 ?
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ( a' u* ?4 J7 U: ]- I, @
  6. will not explain how this can be done - there are documents out there for the
    8 j! x9 Q1 U2 v  y5 j. @& g! ^4 }6 B
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    & M1 i* k; j0 w  {
  8. and a user account (username + password) that has the permissions to do stuff
    , ?  m% |4 O1 U$ f% I
  9. with the database. Additionally, you will need a vendor library installed on the
    , d. h! D4 R6 x; W3 }
  10. local machine, this came with my MySQL install.  t  b5 E6 r# |8 B: b2 u
  11. These instructions will not tell you how you might transfer your data from the& l& x4 `4 Z9 b7 K; g2 G! S
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ! a7 N- v6 }; A3 E2 ~% r* T
  13. database.
    7 P1 i! Q7 L5 u# h
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ) Y* l1 |2 X+ f' |
  15. the time of writing, there are still too many issues - check the current status7 H$ [0 }- `, Y8 G
  16. in the TeamSpeak forums if you are interested.& t  Y1 k$ ^+ E" z! C; O+ V
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from# p4 n/ P! N* ]9 U/ c. J
  18. Borland was used. This driver can only interface with the client library that
    2 `( b# D3 H; S
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this9 ]6 {1 n. T: ~1 a
  20. client library - basically all you have to do is to use a 3.x client library as
    " ]8 V3 _5 L) V, Z
  21. "VendorLib" and a 4.x database to connect to.1 F% h, C0 v4 E; K
  22. If you need more info about dbExpress, you can contact Borland.3 T8 B" R; N4 n$ F4 R$ Q: f
  23. ( h. ]9 R0 n+ ?: M
  24. ### Doing the work ###5 x6 h- l" \+ e. [' t. M
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all4 {, I" |9 }1 w) r
  26. the perquisites right, just open your server.ini file, and add this section at3 ]1 G1 v1 `8 D6 h( ]
  27. the end:: V+ ]$ u3 P$ o, _8 A0 ^
  28. ---cut here---' [) z" o) X) ?! `% Q0 U5 m# C
  29. [DBEXPRESS]6 w0 n% o# q0 U: e7 a! u
  30. sqldir=mysql_sql" b1 v6 |$ y; |8 l2 h& t0 w
  31. Drivername=mysql$ q! h7 n$ L, h& D
  32. Database=Your_Database_Name_Here/ p. V4 f% E9 B; Z4 ~  S: r6 J, y
  33. Hostname=The_PC_the_MySQL-Server_is_on* h- y: i+ w8 M3 A. t0 D3 a& H
  34. User_name=User_name_on_the_MySQL-Server
    # q5 n4 ~4 }1 Z+ w& I. v
  35. Password=Password_to_go_with_above_user_name
    * L5 t( u' y& E: J% f
  36. GetDriverFunc=getSQLDriverMYSQL
    : _% L- }# ^. W; X! r
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    9 h4 P. \/ J' n' w! ?% w& g3 R
  38. LibraryName=path_to_libsqlmy_libary
    2 |$ V6 x7 A- I. n
  39. Active=1
    ) s4 c, V3 {. x; ~* I8 Q3 R- M8 r' @
  40. ---cut here---% d6 z- d8 b$ o8 r0 X; X- ]
  41. In my environment (a linux box with a MySQL server running locally) I have:/ z- S5 R/ a) Q9 ?! G& v; |4 f
  42. ---example---
    / O! l4 p5 J" P) i8 e8 f3 {
  43. [DBEXPRESS]
    5 C- L8 E# |7 ^7 U4 m# ~
  44. sqldir=mysql_sql& o1 F4 n# r# E/ E4 }: b( o3 B
  45. Drivername=mysql+ Y8 i+ k2 b& H4 ^( z( ^8 }! u
  46. Database=test
    * D& T) P' Z+ o) Z: R
  47. Hostname=localhost
    7 N$ K4 t9 b* F* X- F
  48. User_name=testuser
      F$ D$ M* l1 A" k* V' k
  49. Password=my_password* ]8 u  R% O9 [" I, G
  50. GetDriverFunc=getSQLDriverMYSQL  Q* W! k8 e  J" K( {1 n: d
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    / l  U. l( @0 Z5 A( p
  52. LibraryName=./libsqlmy.so
    7 }- T  l7 G2 J# }5 c  Z# m
  53. Active=1
    0 ?6 D3 q' \& h1 R7 C3 X, v5 a
  54. ---example---5 f, i" p, D- M& ?( T# y
  55. $ B0 a4 a* j5 }. f% `4 Q. a6 H; @* h
  56. On a windows box, also running the MySQL server locally, it would be:
    : d/ Z; V1 z+ \7 \6 A5 [
  57. ---example---4 Z# N4 x; ?( y8 w. j, D4 s7 m
  58. [DBEXPRESS]. o' T. x1 l' z" d' J; K
  59. sqldir=mysql_sql
    ! Q1 J$ t  d  g" J7 B5 S& v! i
  60. Drivername=mysql
    & s" ]4 V1 i2 [& P
  61. Database=test" y; ^: R# `* ?7 r; m
  62. Hostname=127.0.0.18 [8 T  J1 I4 M" z
  63. User_name=testuser
    3 k' T) u- t, u1 C
  64. Password=my_password1 O2 z; c! P3 {9 h# @
  65. GetDriverFunc=getSQLDriverMYSQL
      W3 }' W# ^5 k( Q' f2 M
  66. VendorLib=libmysql.dll6 R/ R& {  r$ [% u
  67. LibraryName=dbexpmysql.dll2 N4 o. A8 v9 ?; b' |: I  |
  68. Active=1
    " F; S7 h; x0 I9 [8 A; v$ A8 b$ E0 ^
  69. ---example----
    4 H$ c' K& V" y8 c2 |5 G
  70. - written 02.03.04 by pwk.linuxfan9 T6 ^. }. k, C7 p# W6 ~( G3 r# M

  71. 5 {6 @! V+ o& s* M+ t! n& ]( _
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
7 ]* R. r4 J, T% s# k

  1. ' P; E" i  r, ?5 x3 c' j* q& \
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### % E* G2 o& Y6 r& h

  3. 6 D2 s% M& l2 a3 u, \
  4. # # #我们所需要# # # 8 U4 W4 k" @: C. ?
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    & {8 O- a- g( n5 g
  6. 不会解释如何做到这一点-也有文件存在,为2 a! G9 ^0 D) F, E1 {
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ; q# P: X7 T# d/ k5 o
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西) k5 X. m* i) _2 f) Y; J6 A
  9. 随着数据库。此外,你需要一个卖方图书馆安装于4 @* [+ \  G+ P1 X( ?0 ]+ Y
  10. 本地机器,这是我的MySQL安装。 : r1 ?9 t" L  D
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    / @% I, Y1 l- a' `% r8 Y
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL # H& D& Z* q; [; _9 I- Y2 V
  13. 数据库。 4 F$ W" y/ y4 m
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    5 |1 n( k0 P& F" I) D. K5 T
  15. 编写本报告的时候,仍然有太多的问题-检查现状  V6 a! X+ P$ n
  16. 在teamspeak论坛,如果你有兴趣。
    + n7 @4 D, Y% L, n% b1 J
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    / `: I  j4 P/ C
  18. Borland公司使用。这个司机只能界面与客户端库+ M2 [9 m. D. d# s% o+ G- T7 n, ~
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这" Y9 ~, j, X) v& v& n6 }
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为! c& o6 C- `& x9 p/ y7 o6 J7 u
  21. " vendorlib " ,并解数据库连接。 1 U5 l6 B, r1 L
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 - {, C8 @  K/ [7 p  [$ P- u8 U
  23.   F) L8 m/ D: _6 m% O6 w$ y
  24. # # #做好工作# # #
    ) x* S8 q! O4 |' S$ C
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ' I' W9 |$ e- c* B
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在) d9 h% h% j. e* R( o: f
  27. 结束:
    ' S0 `% w  m. l/ v3 A
  28. ---削减这里---
    6 Y0 `/ @2 C5 J3 x; h, J; ?
  29. [ dbexpress ]
    9 o1 H* W& U+ t) p! y- P
  30. sqldir = mysql_sql 0 p; ^$ I+ C6 L! E+ Z  p
  31. drivername = MySQL中* ?/ _8 S/ @) \7 i  X2 A
  32. 数据库= your_database_name_here
    $ X& ?+ K! E4 M7 i4 m$ j" D
  33. 主机= the_pc_the_mysql - server_is_on : u, o- R* x$ P4 n( ?6 f7 z
  34. user_name = user_name_on_the_mysql服务器. g7 Q" g8 P% ?( d& {8 N4 s8 y
  35. 密码= password_to_go_with_above_user_name # h/ T+ u. G4 s; p7 [
  36. getdriverfunc = getsqldrivermysql
    + C$ W9 e" \+ e
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib , D7 z, B5 n/ V0 N
  38. libraryname = path_to_libsqlmy_libary
      V7 t# k2 I8 L  l
  39. 积极= 1
    9 X9 |+ l6 ]1 v2 f
  40. ---削减这里--- , B. t4 M7 T( }: @/ Z. t& [7 {( J
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ; B+ e+ ?" t7 r: z' M$ Y% F
  42. ---例如---
    0 ~9 q; |( Z0 I, g  O
  43. [ dbexpress ] 8 f0 b' ^9 f$ z4 d6 i" T& d! w
  44. sqldir = mysql_sql
    ! o& ~4 a5 A0 ^, G
  45. drivername = MySQL中) B& E7 L& k* i* p9 g% Q
  46. 数据库=测试, I! j; v6 u3 A, P
  47. 主机=本地主机/ e7 d5 p' S7 {' Y; B! B9 {
  48. user_name = testuser
    " T( n) a4 m1 `7 N
  49. 密码= my_password : {( h+ v( I: y: ^& j
  50. getdriverfunc = getsqldrivermysql
    ) [* K- c9 A' G/ z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 * r+ b! s1 Z2 t: y
  52. libraryname =. / libsqlmy.so 8 k; V% Q+ T1 p, a  j8 }
  53. 积极= 1
    0 D/ ]4 [# V" n* G$ U
  54. ---例如---
    * p/ M0 j* Z  }' {# |

  55. # x0 U& _( A" D" F  N
  56. 对Windows中,也运行MySQL服务器本地的,那就是: , C/ u2 p% }7 _
  57. ---例如---
    & s2 j  Z7 U$ |& R9 b6 S$ g0 @
  58. [ dbexpress ] $ b( J1 V9 `) S( Z3 J0 _
  59. sqldir = mysql_sql ' L: ^4 \( I3 w& t, d
  60. drivername = MySQL中
    1 }5 E1 Z! y% h2 m: C
  61. 数据库=测试  w- `' N; A% v5 O; @+ u  `
  62. 主机= 127.0.0.1
    ( [/ l  f: G! u. Y
  63. user_name = testuser ' r* H3 M" b- v7 _2 G/ q
  64. 密码= my_password 8 Y. K$ ~, c" j, t; Q  z1 \3 X
  65. getdriverfunc = getsqldrivermysql
    2 g3 p1 G: ^, \% |# l" Y
  66. vendorlib = libmysql.dll在) j9 x" S* p& W3 Y  @% F, Y
  67. libraryname = dbexpmysql.dll
    $ p2 u' V3 R0 Y, B
  68. 积极= 1
    0 F6 s) _5 \- \( I8 l( }
  69. ---例如---- 0 H( ^+ t. v/ \) ^8 S5 D9 O3 |- N
  70. -写在0 2.03.04由p wk.linuxfan
    3 b& ^! D, m: M1 u3 B
复制代码
发表于 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/ y- e; y* A& Q- d% f

0 n1 A1 L1 \2 x" T/ R0 F- c) {3 `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-9 20:29 , Processed in 0.058188 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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