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

2522 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
5 @5 O# i: m$ {( N
- U2 w3 C; T7 S, T' A
  1. " W9 M+ h7 ]/ }7 @9 |& Y8 {' Z( r! p
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######5 ]5 w8 M6 U1 o* _
  3. 8 G, T9 a# t/ X- R) l
  4. ### What we need ###4 K2 z/ V* W8 S! B
  5. Naturally, we will need a MySQL server to store the data for us, this document ; \) y; C5 i7 r/ M* d
  6. will not explain how this can be done - there are documents out there for the 8 \" ]# G4 V( v& q7 C( b3 W
  7. interested. The requirements include a (empty) database for TeamSpeak to use$ u( Z1 a/ @7 p
  8. and a user account (username + password) that has the permissions to do stuff
    5 P. c3 S: I! E# ~/ `
  9. with the database. Additionally, you will need a vendor library installed on the
    ' M! G0 J4 k% A8 S2 B; C4 J% P
  10. local machine, this came with my MySQL install./ H8 e5 t; D0 E* t7 y
  11. These instructions will not tell you how you might transfer your data from the
    ; Y& ]- @. ^" K% t
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    8 u% N; a( m( E& Y8 C& w$ u9 {
  13. database.
    & t$ @1 _+ Z3 R" W% N
  14. Some users have reported ways to import a SQLite database into MySQL, but at/ T9 D3 W' B( m$ ]. l3 W
  15. the time of writing, there are still too many issues - check the current status
    + s6 Q" q" f! `- H9 k
  16. in the TeamSpeak forums if you are interested.
      q* O) V5 e8 L  B0 k* Q0 Z
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from( g9 \* H2 ^/ L5 E. d' }* Y
  18. Borland was used. This driver can only interface with the client library that
    9 G; W) T2 X) f, Y
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this! Z- x' X! H( _1 o9 Q& f7 \
  20. client library - basically all you have to do is to use a 3.x client library as
    % z9 \/ p. ^; N! |
  21. "VendorLib" and a 4.x database to connect to.( S7 W# F# g! r- o2 N2 |# ~
  22. If you need more info about dbExpress, you can contact Borland.( I; W: i- N4 ~9 C! K
  23. 1 F* c+ H9 C" Z
  24. ### Doing the work ###
    ; y: Z4 e0 G/ H, k$ q, a$ Z0 c
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all9 S7 \' g5 N5 f' u! y$ ?
  26. the perquisites right, just open your server.ini file, and add this section at1 m. f: B8 q( E4 X
  27. the end:  I; C) O/ `4 Q( |3 v8 A
  28. ---cut here---; U3 F: K8 q. }7 R) A& y5 _8 _
  29. [DBEXPRESS]
    ) k6 l; `, x# ?: x  A
  30. sqldir=mysql_sql
    $ U# D1 @9 K) N1 _
  31. Drivername=mysql7 g  j+ a2 G# _9 n
  32. Database=Your_Database_Name_Here) V+ ~3 w2 n; q& Q( e% h# a3 |
  33. Hostname=The_PC_the_MySQL-Server_is_on
    2 T) W& X9 y0 P# ]0 c3 G: ]
  34. User_name=User_name_on_the_MySQL-Server1 K, k& v2 p8 e: q) ^
  35. Password=Password_to_go_with_above_user_name* D5 ?. M& h! o! P, L! w1 }5 ^
  36. GetDriverFunc=getSQLDriverMYSQL. s$ C3 [8 C9 ^. _4 ]
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ! |" O" ]- T% _( Y
  38. LibraryName=path_to_libsqlmy_libary7 g4 `. q/ t8 }% F! R- x: K
  39. Active=1
    ; X/ O5 K3 i! ]- _
  40. ---cut here---
    . N/ U; L7 W8 C7 n9 T% L* F2 X8 ^
  41. In my environment (a linux box with a MySQL server running locally) I have:
    & A$ `% u% l6 J+ ]
  42. ---example---
    1 H: l* a5 \1 e! G. h% T( ^! K
  43. [DBEXPRESS]
    $ H6 C& r( e" ~$ j( r7 }
  44. sqldir=mysql_sql9 A" ]7 u$ Y3 w: x- \
  45. Drivername=mysql! \+ t$ `4 _% G3 K6 ~4 Y
  46. Database=test
    # o. R% ?4 F9 ]
  47. Hostname=localhost4 P! B5 ]2 h% W' H
  48. User_name=testuser
      y8 A. D& F( ]) e/ N
  49. Password=my_password
    ; M( N! B1 u9 S% Y6 N0 |3 B
  50. GetDriverFunc=getSQLDriverMYSQL
    / }  c' r( }' t( ]
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.04 k; _# h  S( l2 `8 N( B4 C/ d0 b
  52. LibraryName=./libsqlmy.so; ?: u/ L! j% n0 ~; v0 j
  53. Active=1* g3 z' y* o% |% B9 f9 I; C
  54. ---example---
    # z" b& {( M; S8 i4 W

  55. . k" f+ o, l. p" V  [- {# u5 V- O
  56. On a windows box, also running the MySQL server locally, it would be:9 a$ H2 U0 t7 |; t* \/ d% e
  57. ---example---: o6 a" N  n  L/ G9 |  n. k
  58. [DBEXPRESS]6 r5 A! ^5 N& w! n
  59. sqldir=mysql_sql6 S& S0 V: e$ p
  60. Drivername=mysql0 |5 d& n$ G* {8 `" w
  61. Database=test2 _% c$ q3 i0 j- `+ p/ O' O6 y
  62. Hostname=127.0.0.1
    % o5 z9 y, z) M. O% {- x3 F
  63. User_name=testuser+ J" K  C5 ^; o  A+ c/ d
  64. Password=my_password; R- x) x: J- H  b0 F) L
  65. GetDriverFunc=getSQLDriverMYSQL
    4 V0 l5 V4 |- K0 L2 D, Y2 s
  66. VendorLib=libmysql.dll
    % ~0 G! C( f+ q# Y- X7 [
  67. LibraryName=dbexpmysql.dll
    & P# }% Y; \2 h9 K$ |9 e; [1 [
  68. Active=1
    : `* N% K9 @; h9 l
  69. ---example----
    ) _" b; T: k7 s5 d( @! v
  70. - written 02.03.04 by pwk.linuxfan
      g2 O" K7 {1 `% ?

  71. 5 S# H& x' _2 H; @2 x5 V5 A
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
1 F$ h. z! {5 s# j

  1.   A* p4 W0 j$ W  |$ e- G9 v
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    6 I2 \2 S1 k$ Z0 Q/ j. I$ G# n
  3. 6 ?. D0 w, O+ b9 x& _9 c8 w/ j4 I
  4. # # #我们所需要# # #
    ' k) N7 h) p1 ]3 P% w( Z3 D* y# g
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件3 W8 A0 `: e" \2 K
  6. 不会解释如何做到这一点-也有文件存在,为4 K& v7 f- }- ~& w3 B2 a3 F
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    " C; c' ^" G3 ?" M$ I7 y* A
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    % P8 c3 L7 |/ u  O- [2 {- P
  9. 随着数据库。此外,你需要一个卖方图书馆安装于8 I$ A* ^- \  u0 V! K1 h: D4 d
  10. 本地机器,这是我的MySQL安装。 " i( e4 w4 ~* b2 T
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从+ V" f4 ^6 z& Y5 k/ {# X
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    8 g  K* }, b: Q$ C$ {7 v9 \: Q
  13. 数据库。
    - D1 U7 v& K: B4 B1 e4 B6 t: R3 ^8 t
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    & F4 w  T, L8 C; `
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    4 V  n+ l, j1 I, ^/ ]$ k' y
  16. 在teamspeak论坛,如果你有兴趣。 ) k$ z5 a1 s: T* I
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机) Q! g& n2 R& J5 a
  18. Borland公司使用。这个司机只能界面与客户端库. _) Y$ C+ W0 ]! D) c
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    9 n6 x6 w. {# b6 l
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为5 j: F6 _9 Y! \  l( g
  21. " vendorlib " ,并解数据库连接。 # r. J3 y( X& r5 g. i! S: K& O) g! P
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 2 Y9 o* O, Y# }  G% f
  23. " o2 d. N3 f" f. ?/ G: `+ t
  24. # # #做好工作# # # ) O. T' P. v6 Z! M
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    % t- f$ o6 @+ N/ h) Q$ d2 r
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    + B: A* H! E1 m- ^; i1 A
  27. 结束: 2 H4 G4 u8 K1 K9 a
  28. ---削减这里---
    4 \1 c; {1 f5 ^3 u
  29. [ dbexpress ] ( \. @, C+ v- U' s; `; i
  30. sqldir = mysql_sql ) S0 h4 h( p9 b/ d0 r7 E! N# H
  31. drivername = MySQL中
    . D4 x- }3 y. Y- j
  32. 数据库= your_database_name_here ; `7 a: P+ y# {( Y
  33. 主机= the_pc_the_mysql - server_is_on
    2 P8 A" A* ~8 ^3 i4 ~$ H* [
  34. user_name = user_name_on_the_mysql服务器
    9 g$ g1 v! S! q4 a* ^# ~
  35. 密码= password_to_go_with_above_user_name + J# V# [0 K& p  e: z8 R: r! U" N1 R
  36. getdriverfunc = getsqldrivermysql
    2 Z8 m) t# b' Z- w
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ( T4 l% S1 y* x- u* F4 ]: t1 j3 Z
  38. libraryname = path_to_libsqlmy_libary ( P# F' A% M9 D3 T
  39. 积极= 1 ! w6 j) q4 U' t  }; s
  40. ---削减这里--- ! U+ @5 V% z% F6 g) q+ p+ S1 G
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    7 |) r# n8 Z& C; H
  42. ---例如--- - p2 u9 |9 F, Q* N8 k# h" y; g
  43. [ dbexpress ]
    % O( z. f: n9 f( z4 ?/ Z* Y
  44. sqldir = mysql_sql
    5 u5 P% z" C# I0 ]* ]+ e1 z9 Z
  45. drivername = MySQL中; j% n( L  B/ H- L2 \' j
  46. 数据库=测试
    ) w6 H1 s! c* @, `7 A
  47. 主机=本地主机
    & m! ]+ h8 C; U& q
  48. user_name = testuser : ?1 t& F" L* J6 \: G" S
  49. 密码= my_password # T9 U2 y4 q& `2 _
  50. getdriverfunc = getsqldrivermysql
    7 X" {" F; `( D9 J( j0 T
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 1 s9 u1 t, @, y2 x% ]) P- S6 t
  52. libraryname =. / libsqlmy.so
    7 t% F& @% b& x7 a" q
  53. 积极= 1
    % x8 G; o0 T! I- J; U+ c3 z
  54. ---例如---
    / G. p3 K8 u# t9 s& ^+ E3 T* b3 p! p
  55.   T  B8 K0 w9 q
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 6 D+ {4 ~3 h, a6 ~/ V
  57. ---例如--- ! X. x& d* v8 i. @! Z9 g
  58. [ dbexpress ] & x, E5 S$ h3 C) Z3 C1 {# Q
  59. sqldir = mysql_sql
    / \; i" R/ }% g1 K1 |/ b
  60. drivername = MySQL中# s, ~3 T6 [2 X. _: L4 f! Y
  61. 数据库=测试
    6 ]& P" |& T( U& P- I3 w, F
  62. 主机= 127.0.0.1
    ' e7 K( N$ L% D9 Z* A1 ^
  63. user_name = testuser
    5 {* c9 _4 b& O; J& Q. ?
  64. 密码= my_password ' R; X- A. g$ n
  65. getdriverfunc = getsqldrivermysql + V  P+ R4 i( ^* s7 Q
  66. vendorlib = libmysql.dll在
    ( F3 d: `- t0 H1 A$ m% @6 m! X
  67. libraryname = dbexpmysql.dll % F' p1 B- A6 S5 w* e6 U5 k/ }
  68. 积极= 1 - s" U6 T; |1 C4 ^
  69. ---例如---- 9 A% r' I6 A4 ]- T9 ~& A0 P- `
  70. -写在0 2.03.04由p wk.linuxfan, |1 R7 t. y9 J3 S
复制代码
发表于 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
6 }) K  f) \) @! l% \
9 i4 `& J9 j0 L" D1 s. I; Kbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-16 19:53 , Processed in 0.099173 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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