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

2695 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan   @' }. c& O7 |- }" d7 \* i, n

/ g! C/ x) ~$ T- f5 R
  1.   N% |% d- G9 c  @  Q: ~' P# ^& G
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######0 l, T1 |8 a8 z
  3. 0 r- Z+ l, T( C! P$ w
  4. ### What we need ###
    ) J4 f8 h8 p' w3 `0 q
  5. Naturally, we will need a MySQL server to store the data for us, this document   w1 q0 g: K1 B2 E7 i! h
  6. will not explain how this can be done - there are documents out there for the
    4 F2 _) u/ D( a# S; C( _) _; O7 _8 l
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    & `- }) Y5 f0 y, K& p( Z# S7 ]4 l/ p5 m
  8. and a user account (username + password) that has the permissions to do stuff: r2 M+ {# @8 j" ?( m& U' Z+ p
  9. with the database. Additionally, you will need a vendor library installed on the# P( X9 ?- b: x3 l" b+ y0 x1 A7 X- h
  10. local machine, this came with my MySQL install.6 N& E# e* }5 @
  11. These instructions will not tell you how you might transfer your data from the+ u: k' M" Z* D; ?
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    $ J7 \# c& |$ r/ E) f3 ^/ }3 K# e
  13. database.8 e! a$ B; Z8 z  f4 K8 e) j
  14. Some users have reported ways to import a SQLite database into MySQL, but at( m: D4 J* Y2 `( c
  15. the time of writing, there are still too many issues - check the current status! F" ?( o- V. Q3 q% \8 j5 E! {
  16. in the TeamSpeak forums if you are interested.
    7 |: E3 r0 B& \+ L8 ~/ `* l0 W
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from. c, {. u6 s$ t9 Z) c
  18. Borland was used. This driver can only interface with the client library that 0 g8 D+ |  U0 p1 b, y/ x2 o
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    . z- L' @# r! C- H+ C2 m+ o0 _
  20. client library - basically all you have to do is to use a 3.x client library as
    ) R9 M3 @- M' |+ e! b% S& d
  21. "VendorLib" and a 4.x database to connect to.1 X% _  i/ a  ~' Z2 N$ y
  22. If you need more info about dbExpress, you can contact Borland.
    ; W1 e6 W3 p; E$ p
  23. / D" _8 m: @5 Y
  24. ### Doing the work ###
    / Z& [" u* N3 Z. z% g
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all& t" l( n/ n' P" `
  26. the perquisites right, just open your server.ini file, and add this section at% W, T) ?5 M0 Y+ R3 _1 \" d
  27. the end:
    # y, b2 o+ Q- B1 L* Q  M* v0 o: \
  28. ---cut here---
    8 x! M6 q% j7 o6 C; t  J
  29. [DBEXPRESS]
    * l# {) Y' j, L$ n
  30. sqldir=mysql_sql5 ^; N5 [) J( p  X# \2 r
  31. Drivername=mysql/ c0 C0 T* n' i+ }0 H0 _
  32. Database=Your_Database_Name_Here
      {! Y$ I4 T4 \# u1 I
  33. Hostname=The_PC_the_MySQL-Server_is_on; o3 E- X. J* s* ?  v, b3 I# y  G
  34. User_name=User_name_on_the_MySQL-Server
    " T& V( u& b' v8 X, A0 u& g
  35. Password=Password_to_go_with_above_user_name
    - d( S; }- a- P0 I/ ~, [
  36. GetDriverFunc=getSQLDriverMYSQL
    ; b( u8 m$ v0 X- [
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    $ P6 A5 ?6 w4 z7 K
  38. LibraryName=path_to_libsqlmy_libary
    2 L' a3 t5 x2 Y/ D2 U
  39. Active=1- s! k: u7 l! m  W$ Q) ^1 D4 n
  40. ---cut here---! K' i/ r4 z7 S
  41. In my environment (a linux box with a MySQL server running locally) I have:% s  U5 T8 s6 p3 K) ~, a
  42. ---example---4 X! ~4 N# o3 R& o5 A2 C6 x' _
  43. [DBEXPRESS]
    6 {/ C7 d7 @" L* D6 c
  44. sqldir=mysql_sql- u0 Y- e% D) J2 t7 J  p2 @6 r
  45. Drivername=mysql; r, r  V+ v5 A3 t! ^. |- @; L& I' u
  46. Database=test/ B/ H+ ]3 f3 R% k. c' l; {
  47. Hostname=localhost  D! U; l3 d5 `
  48. User_name=testuser
    * L7 W5 u4 F' R) l( ~) U; H
  49. Password=my_password
    5 {/ Z* W" ]) _" ?
  50. GetDriverFunc=getSQLDriverMYSQL# j2 l( ^$ S9 U/ H4 G, C9 T
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0; q+ _+ E) e/ Y1 t: Q0 W: T
  52. LibraryName=./libsqlmy.so* n( o3 X/ h* g3 K* \: v  o+ [) d
  53. Active=1& ~* @. N% j! z- U9 J3 R$ ?( a! \
  54. ---example---
    ' x- H1 k7 t# m, X- ?0 |/ b

  55. % S' K. R5 H; [+ {# {
  56. On a windows box, also running the MySQL server locally, it would be:
    $ ~  W$ _& V( J! V" G# ?; W1 z
  57. ---example---
    ( R# i; k, r+ l5 |+ H" n
  58. [DBEXPRESS]8 {, s/ y: o) `
  59. sqldir=mysql_sql
    & S8 l9 o4 `0 d# q/ |8 {7 p5 t+ h: o
  60. Drivername=mysql& l2 g0 ^. a! `$ v1 H( e
  61. Database=test. S8 m  @+ q: a* ?% d; h9 a
  62. Hostname=127.0.0.1
    1 }  D8 u6 x, Q. Z; ^4 F5 I
  63. User_name=testuser
    6 g- i9 y1 ~) p" _0 B8 P: h
  64. Password=my_password' o5 v7 H5 W8 z  T& V
  65. GetDriverFunc=getSQLDriverMYSQL
    / U0 U# _  w* g/ M) r
  66. VendorLib=libmysql.dll
    ! n) g7 U9 X* Z+ V
  67. LibraryName=dbexpmysql.dll  C& ?; F$ T  r9 G3 F
  68. Active=1
    ; ~5 m" G: T2 X7 r* I2 ~
  69. ---example----
    5 Z( u( F$ Z8 O3 a* ?3 }3 H
  70. - written 02.03.04 by pwk.linuxfan8 k  _1 W$ F# d. Z3 w' x
  71. $ ^! t$ B" m, B5 N
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看  c- ]8 p6 i5 u5 u

  1. , F1 Q1 T, N# J" i0 K1 d( C4 \' M% V! N" S
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    8 C5 S# x6 i2 Z1 d! |% v* ?* F
  3. ( u. l  h  d* u6 |2 e8 J/ ^
  4. # # #我们所需要# # # ) M9 |; u- b6 U* W/ Y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件4 ]6 r! F( N5 N. h- s& c
  6. 不会解释如何做到这一点-也有文件存在,为' N/ q- ~! y) z/ P# X
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用" y4 p2 c% Q, B  a, U0 o
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    - {. p6 |0 N( I7 }- x
  9. 随着数据库。此外,你需要一个卖方图书馆安装于1 S  K3 `! B! y6 K& @) H: a
  10. 本地机器,这是我的MySQL安装。
    ! [/ |' f! F3 Z' U1 y- |
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从3 h  B1 ]$ N6 b4 Q- I1 B
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    3 E' M: o5 E! C0 g5 w3 L
  13. 数据库。
    / l+ f0 A7 t- v/ e$ V( L% j
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ' o1 S# s( Y' u+ q2 X
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    9 v4 V8 g8 m" l! ?$ j/ d
  16. 在teamspeak论坛,如果你有兴趣。
    $ X* q1 f  O% h
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机$ O1 H2 N5 f2 D/ ]
  18. Borland公司使用。这个司机只能界面与客户端库2 i, U) \/ f% I0 o0 A0 ?$ i! F
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这. D- Y! e' L" |. }
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为! z8 N3 ?" D2 x. o: k+ C* X1 W
  21. " vendorlib " ,并解数据库连接。 ' a( U& h& ~, _; L3 Q
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 : Z3 u6 G) n5 D$ ~) z) i
  23. / [* i6 f& h: W8 j  h5 g/ u) H
  24. # # #做好工作# # #
    * i9 Q$ W" P+ y
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    - m* x+ z3 z$ z! B6 ^& e! m
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在; f1 j1 P2 l  R4 G/ b
  27. 结束:
    8 \" [# z* e" q& [' }- e
  28. ---削减这里---
    6 R! U1 M( ]+ Q( {
  29. [ dbexpress ] 9 s5 L4 P0 w% C
  30. sqldir = mysql_sql / r: b* ?6 I4 |
  31. drivername = MySQL中
    $ H, j! c! X9 A. w7 M4 ?
  32. 数据库= your_database_name_here
    1 }! S, G7 N/ M0 b- Y
  33. 主机= the_pc_the_mysql - server_is_on
    # U1 U8 b9 l' y. z/ J: @! {/ t) t
  34. user_name = user_name_on_the_mysql服务器& J1 Z+ `* [. w+ i, A$ r9 f! o
  35. 密码= password_to_go_with_above_user_name 7 o8 ~, u5 q" ^# f0 M) `4 `3 e1 i3 t
  36. getdriverfunc = getsqldrivermysql # q2 P0 }$ _6 d' m
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ' `, a, g' e& F, u  A, H
  38. libraryname = path_to_libsqlmy_libary & s5 l0 _0 m7 D" ]) C: L
  39. 积极= 1
    , @: \: h8 ^. J7 E
  40. ---削减这里--- 3 ?4 x. N: v5 f4 t: }' c7 _
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 5 Q. d' D" y' w& z/ ~: k
  42. ---例如---
    1 w- Z' G( f) x
  43. [ dbexpress ]
    " M! w  M1 t0 ?8 V
  44. sqldir = mysql_sql
    + P7 N1 C* ^7 i5 C8 ~. X' f" X
  45. drivername = MySQL中
    - t" O3 L- ]/ T: d/ x6 j
  46. 数据库=测试$ E- k# E  Z' [6 I5 ?) K' |
  47. 主机=本地主机; A. n  u9 z0 a7 V
  48. user_name = testuser . ~9 s' q3 j0 T! E8 @
  49. 密码= my_password
      \2 G: T0 z, @6 a  a2 Y! ]% z/ c7 z
  50. getdriverfunc = getsqldrivermysql
    ) D2 s9 Q7 p4 B7 G9 V5 F
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 1 S; D  y; E0 s2 H( }
  52. libraryname =. / libsqlmy.so
    $ x  f4 T, L( `+ y1 ^( h
  53. 积极= 1
    + s& _$ Z, X$ A2 H; C
  54. ---例如--- 8 p% u1 ]) q7 x8 R+ Q
  55. 9 L7 @( S: E9 Y' f, e* G5 `
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    % a, n7 S( o  _3 u# u( c
  57. ---例如--- # }; E- f7 C0 J% X/ i+ K
  58. [ dbexpress ] ; |3 x) ]5 i6 p& z8 s( s
  59. sqldir = mysql_sql
    9 R7 Q; l+ O' w8 w3 r( |0 {) Z
  60. drivername = MySQL中) F' }* ]& k3 V
  61. 数据库=测试
    ( `- |8 a# @0 m
  62. 主机= 127.0.0.1 7 ?2 h. M) |2 C  \9 s# G* m# n
  63. user_name = testuser
    / K* Z* y: R7 d4 v2 m  d/ A7 {
  64. 密码= my_password 0 r* `; H3 W$ X2 x. t& _+ z
  65. getdriverfunc = getsqldrivermysql
    " h, i+ Q7 l9 J  u: ~. Z# x
  66. vendorlib = libmysql.dll在
    $ T$ g6 u8 T; @/ P% O% p) M: t! S4 {
  67. libraryname = dbexpmysql.dll - C: k5 B. w( u% m; f0 l$ q
  68. 积极= 1
    ! N3 m) S4 K. X% [' p
  69. ---例如---- 2 Q# t) D! E1 V7 N$ T# f1 }9 y
  70. -写在0 2.03.04由p wk.linuxfan
    2 v' Z. @. ~* }6 N9 l* I
复制代码
发表于 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 words7 N7 e- J  K) Y7 @
% G# |. F+ ?' \5 f
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-2 17:29 , Processed in 0.112094 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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