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

3336 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
- Y/ R7 Y9 |$ h0 G) b6 x5 [- w/ r$ j  r5 U8 d8 y; o8 K
  1. 9 Z% C% y! V! ?! `# E
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######5 Y% W+ q1 {1 {3 u0 S% ?$ h

  3. ( c! J$ t; D6 k' c; G7 i0 r! T9 t( t
  4. ### What we need ###. h* o* [8 v' J, D/ |
  5. Naturally, we will need a MySQL server to store the data for us, this document / U7 q! x) T! P( l5 F
  6. will not explain how this can be done - there are documents out there for the
    5 j& e, R3 i8 K
  7. interested. The requirements include a (empty) database for TeamSpeak to use' M0 s2 G3 e! v# H- K
  8. and a user account (username + password) that has the permissions to do stuff
    4 _$ H1 b5 x5 s& N
  9. with the database. Additionally, you will need a vendor library installed on the
    . v$ d1 Y7 ~" M7 J; \; d- `
  10. local machine, this came with my MySQL install.4 a5 w6 P- Z: }: Y) B% {- {. L6 j
  11. These instructions will not tell you how you might transfer your data from the: c9 }! h2 E/ N. M) H4 d8 ?; P
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL6 D3 a3 z) `7 d+ q/ L# }' {2 i
  13. database." y" @* b7 Y. G8 n* z. L& a- p
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ) b1 p* K$ V% f! U; }
  15. the time of writing, there are still too many issues - check the current status2 Q* I8 i# _, m
  16. in the TeamSpeak forums if you are interested.- m. J) Y- i' Z9 u+ S
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from5 H7 q1 [( A$ T( T9 y( ]$ X4 M) W
  18. Borland was used. This driver can only interface with the client library that   _9 w% n& r7 Q
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this$ M1 _9 S4 ?$ a- s
  20. client library - basically all you have to do is to use a 3.x client library as
      I7 [' i) |$ r, j3 _0 z6 O
  21. "VendorLib" and a 4.x database to connect to.
    0 B) L7 q) G5 w: o: l/ z. d% H" X
  22. If you need more info about dbExpress, you can contact Borland.6 _, T$ V; K' [5 V2 j

  23. ( Q# q3 h' {9 W9 B) Q
  24. ### Doing the work ###7 }) f" a' A8 l0 K, b5 z1 q4 i
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    & G& V; i# k8 l3 c- L
  26. the perquisites right, just open your server.ini file, and add this section at1 o* L" x6 y+ {5 x
  27. the end:
    ' C6 r$ @3 G$ p4 T
  28. ---cut here---" q; p+ R8 g: @: }; Y0 H8 F4 l
  29. [DBEXPRESS]
    1 C% \6 o* A7 v$ }
  30. sqldir=mysql_sql0 W! L7 S( P! V- R
  31. Drivername=mysql5 d: @7 ?  f& O* M* t( x
  32. Database=Your_Database_Name_Here
    / q- D8 e" J) J5 F& g3 k
  33. Hostname=The_PC_the_MySQL-Server_is_on
    9 i6 n9 |5 I, e
  34. User_name=User_name_on_the_MySQL-Server
    4 e2 X* G& e- T5 Q! ]" T3 ?0 A- `
  35. Password=Password_to_go_with_above_user_name& d$ e9 G5 u0 F2 a8 q! w1 e6 A
  36. GetDriverFunc=getSQLDriverMYSQL3 u( |2 H/ d- K- @9 W1 L+ ^  G7 A
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib9 ]: J4 v) G) H7 j4 I
  38. LibraryName=path_to_libsqlmy_libary0 @% u; H7 W/ H. M; I% f8 z* j+ E
  39. Active=1- \6 r1 K4 |* E/ v& e7 O
  40. ---cut here---
    & ^& o: r- `0 |( R9 B: B( m
  41. In my environment (a linux box with a MySQL server running locally) I have:
      ?2 d/ z- ~/ J0 \/ e4 y! V, ]5 i
  42. ---example---! O8 o% j) [' q1 O# c5 N
  43. [DBEXPRESS]% W7 P, n0 z  K- F2 K+ x
  44. sqldir=mysql_sql
    . O5 ^2 C! [; t: J3 ?& l$ e
  45. Drivername=mysql0 e4 [; t3 |, d) W
  46. Database=test
    " u5 N, K5 [# S/ p
  47. Hostname=localhost
    9 D2 r) ?% W8 f! y; B% c- m
  48. User_name=testuser0 c4 |4 o! ]1 j! x7 v: ~
  49. Password=my_password
    ( \9 a& L0 V* V
  50. GetDriverFunc=getSQLDriverMYSQL
    2 z: p  }$ w: |
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0% Y; C0 H1 R+ a5 k
  52. LibraryName=./libsqlmy.so5 @" ?2 x" k4 |, V) S
  53. Active=1& e9 e' P1 X  R' \7 b
  54. ---example---+ e4 T6 V4 x5 ?- K( [7 O; X
  55. , d+ @- a" t5 _2 v- l9 M4 |- q
  56. On a windows box, also running the MySQL server locally, it would be:2 U6 u$ e3 U# w9 n  J
  57. ---example---: c3 H8 K: G: A: Y/ E
  58. [DBEXPRESS]
    ! r; }0 U4 y1 V1 V+ `# E* X
  59. sqldir=mysql_sql
    : y  m- Q: V: n: N6 Z4 ?6 j$ q
  60. Drivername=mysql/ ]% ~$ B! s3 M' s2 I" X
  61. Database=test+ g& I9 W4 W: G9 f$ d! `
  62. Hostname=127.0.0.15 p9 K) q* u% ?5 [- J. n
  63. User_name=testuser
    2 N& T* @5 u* s1 @+ m) B; D+ _
  64. Password=my_password
    3 T9 \" d5 y3 x) J" m$ A, G+ |
  65. GetDriverFunc=getSQLDriverMYSQL
    ! @8 \. [1 W; ^. b  v, [% u
  66. VendorLib=libmysql.dll
    7 `5 J: R7 x: `; _& |0 R) ~; q/ k
  67. LibraryName=dbexpmysql.dll
    7 r7 k; n' ~; _
  68. Active=1
    ' \: X* ~8 e' [- h- D4 M
  69. ---example----
    & S5 u8 w; v* l- I
  70. - written 02.03.04 by pwk.linuxfan
    ' y  \* L' r3 Q
  71. ( l' [7 H  E, R' F- E( P+ x7 m* n
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
% \6 l! g( \3 `! l$ L

  1. , v; q: \" M' H; N) G9 d) ?
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ( A- F* P1 I' h5 M! r

  3. ! G5 J0 }: F' Z. n' S# f
  4. # # #我们所需要# # # / G& `" C2 B0 j6 T
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    7 i8 i% P. `% ]- \
  6. 不会解释如何做到这一点-也有文件存在,为
    7 P/ w0 R/ m& v
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用6 j5 T2 Y! N- F
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西3 ?8 }! D- ?7 m, K$ X
  9. 随着数据库。此外,你需要一个卖方图书馆安装于: o- c" Z+ P$ ^5 Z
  10. 本地机器,这是我的MySQL安装。
    3 @$ f  j( Y8 i2 r7 H7 v
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从/ B6 N3 i: z$ x4 P/ z  e4 M2 O- O
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    # i+ c8 e/ i1 S2 G$ i
  13. 数据库。
    # I7 q  n0 x4 a2 v; o1 A0 q9 z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    0 D3 e6 Y' g4 t( s/ b; V8 p' ~
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    - a) x  o0 N7 a# [* {' }( m  X
  16. 在teamspeak论坛,如果你有兴趣。
    ! K# i# {4 i5 a( W; u2 f
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ! c" h& [* _1 @0 S2 G
  18. Borland公司使用。这个司机只能界面与客户端库) a! C, h* ~! q5 ^4 v
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这$ T( T0 K( q" E2 i4 H  D
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为  l) t: U0 j( g" B2 j+ G5 ~
  21. " vendorlib " ,并解数据库连接。 - ]! A" m( f" ]: v: t$ i* u5 F; r" v
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 1 G0 d4 }2 N: _- N2 z0 ]
  23. - _. l2 w0 o: k9 \0 b/ G
  24. # # #做好工作# # #
    . ]; d( J+ w' V$ ]' h+ _- g; h0 z6 U
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都( i/ o  H4 R' }" C0 i' F: P. I
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    1 r9 c$ ~. {; u$ ?9 o
  27. 结束:
    8 |- c- u, a& Y6 X+ o1 s
  28. ---削减这里---
    8 }9 U- _) t6 E9 E
  29. [ dbexpress ]
    " P! H& Q" v% j+ ?
  30. sqldir = mysql_sql 3 T  W* R# _4 n
  31. drivername = MySQL中
    ; ~) a& ^- w8 H. {4 G
  32. 数据库= your_database_name_here
    6 a- B2 S  j: X! T& k8 I
  33. 主机= the_pc_the_mysql - server_is_on - d# k4 O9 R0 w. b% o: q% ~- O
  34. user_name = user_name_on_the_mysql服务器) r% ?6 r: h3 r3 u' K- W" H
  35. 密码= password_to_go_with_above_user_name
    , J6 q2 }: Q; r/ D8 \0 a; M
  36. getdriverfunc = getsqldrivermysql 0 z+ k' G% ~( \" a- E) C% C8 K
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    . p8 t/ p0 [5 Z+ m
  38. libraryname = path_to_libsqlmy_libary * H0 W- g5 L; J7 H9 Z; d
  39. 积极= 1
    ' g) l! _9 g- p8 X
  40. ---削减这里---   M. x2 D( B* z2 t) w- N) Q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    / H2 [$ k9 S/ T. L4 _! A
  42. ---例如---
    ) x. ~7 m. P5 G: V8 \0 U' Z
  43. [ dbexpress ] : J7 Y2 N) E" h% W' c7 P! C: n
  44. sqldir = mysql_sql $ c0 Z1 I/ u$ S& H* D) ~
  45. drivername = MySQL中
    ) N9 Y5 B* K3 \
  46. 数据库=测试
    2 @! [" k8 h: P
  47. 主机=本地主机
    % Q. b4 c& Y- [; B' H8 l9 _
  48. user_name = testuser
    " g0 Q3 ]6 e& o- S1 [
  49. 密码= my_password
    ! y- u5 B# Z; r% L3 z+ O
  50. getdriverfunc = getsqldrivermysql
    % y/ t0 s. j: l* T
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ! H; x4 z4 B0 }! s
  52. libraryname =. / libsqlmy.so
    7 ?+ b6 R* m; q5 n# e1 \
  53. 积极= 1 9 `; K+ N2 Z2 ?/ ~
  54. ---例如--- " Y5 `9 T- B) ]* f
  55. 7 a* d6 F4 e7 `' ]+ \, q, F% _
  56. 对Windows中,也运行MySQL服务器本地的,那就是: * N. _0 _* T6 p& r* }  o
  57. ---例如---
    / ~% h2 u' v" f% D8 J) H
  58. [ dbexpress ]
    " k7 J" K  \: U" I0 R
  59. sqldir = mysql_sql ; {" r" _0 C8 r: ]  q
  60. drivername = MySQL中
    " N2 b  I! k% @9 t) }
  61. 数据库=测试3 s& ]& L, O; }- Q
  62. 主机= 127.0.0.1
    ; L+ s# w2 i1 j* w  |
  63. user_name = testuser
    3 S0 Z4 u' |+ `" C  O
  64. 密码= my_password
    2 I* {, n, A7 a; W7 L# V" q4 g4 E- k
  65. getdriverfunc = getsqldrivermysql
    - K5 N; N  d4 ^, I" {& d1 q
  66. vendorlib = libmysql.dll在
    1 C" ]& d- V3 `7 U: g
  67. libraryname = dbexpmysql.dll
    # g& @2 W4 T, ]% P7 x
  68. 积极= 1
    # O' V- M) U4 }4 J6 B( w
  69. ---例如---- ' X4 Q7 B* Y, P0 J5 c
  70. -写在0 2.03.04由p wk.linuxfan6 _. f( l% j% Y* C$ ^' l
复制代码
发表于 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
, n; f- E% w: G7 {
1 T5 z/ ]/ T6 \/ z* F6 Xbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-15 19:30 , Processed in 0.101227 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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