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

2821 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan , {2 ~1 I: W, b4 g5 M
& X4 `: J" n9 b, Z5 `8 h
  1. # g: H! x7 k) X. ?, O4 {) c
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######8 ~( |& \7 H. p8 b- N& g( E
  3. 4 k  `( s% x" z4 ]' ]' G8 `9 C3 {0 \
  4. ### What we need ###6 H9 f" {: m; Q9 ?7 @" ]
  5. Naturally, we will need a MySQL server to store the data for us, this document ! u' A) l# j8 s4 o7 x5 F' ?, H' x
  6. will not explain how this can be done - there are documents out there for the
    ! n8 Q* T+ W7 C* j& q: b: i
  7. interested. The requirements include a (empty) database for TeamSpeak to use' K0 h$ e$ y  T% L( P
  8. and a user account (username + password) that has the permissions to do stuff
    2 e, C9 O" C8 \' k( H1 S
  9. with the database. Additionally, you will need a vendor library installed on the
    % G! W0 b* L- J( p6 X
  10. local machine, this came with my MySQL install.
    / j9 o( h% n1 \& a- Z  _, C3 U
  11. These instructions will not tell you how you might transfer your data from the
    : I4 ?7 g5 `9 ?
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL- O/ u# [/ t/ k5 L4 W0 |* ^* w
  13. database.
    . g: u0 p; J, _$ m) g
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    4 ^9 h: ]1 \5 `" s: _
  15. the time of writing, there are still too many issues - check the current status9 E0 D) h* ?; S( v
  16. in the TeamSpeak forums if you are interested.' Q; B: w, X8 [! V7 X
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from% L% x# v/ a9 u$ m$ M! t" ?9 P6 |" j
  18. Borland was used. This driver can only interface with the client library that + `7 O- I- a. M! q/ G& G) r
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this; q+ h+ U  @4 _* d/ h
  20. client library - basically all you have to do is to use a 3.x client library as + ?7 {" ?' F% w- H0 \5 N5 v
  21. "VendorLib" and a 4.x database to connect to.& J7 z# k0 \+ O/ p) `' p+ b+ K
  22. If you need more info about dbExpress, you can contact Borland., K7 j- d/ _# B6 R  w
  23. / z9 G4 Z. ^+ I7 B$ K, H2 t6 T
  24. ### Doing the work ###3 C& K: e' r5 C
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all) s% b% j9 \- c; _9 a* v" {* Y* s& j( Z
  26. the perquisites right, just open your server.ini file, and add this section at
    ' n- j# a- I6 `9 i" H
  27. the end:
    9 S( l: N; x2 @5 n
  28. ---cut here---
    3 L5 \5 Q! Z+ l: n8 E
  29. [DBEXPRESS]) B! V' `; r8 y# p
  30. sqldir=mysql_sql
    2 d/ ?- M0 l. J! B
  31. Drivername=mysql
    4 D, ^: P$ T& J
  32. Database=Your_Database_Name_Here
    7 s( L! Q# e- \" i% y
  33. Hostname=The_PC_the_MySQL-Server_is_on# i; z* i) |$ p2 Z# e: r9 h: O
  34. User_name=User_name_on_the_MySQL-Server
    3 N/ f' C* c6 z
  35. Password=Password_to_go_with_above_user_name. e- L8 e5 [# a  {4 J5 p1 M
  36. GetDriverFunc=getSQLDriverMYSQL
    , P$ `  c2 e. f% @) O# @
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib5 p# c* T- r4 y) [: i
  38. LibraryName=path_to_libsqlmy_libary1 _  \( |/ Q7 ]8 |. O
  39. Active=1
    0 R) Z+ w0 W" V# q" B
  40. ---cut here---9 o$ O2 k% m- C# c$ g
  41. In my environment (a linux box with a MySQL server running locally) I have:- c9 r2 m. W8 x6 j9 a) B4 W
  42. ---example---5 H- k9 \$ ~+ o% B
  43. [DBEXPRESS]% J% _; k2 V1 m" P; V2 w
  44. sqldir=mysql_sql$ j9 d) `8 R9 D2 E  d$ d. m
  45. Drivername=mysql
    / T8 ~4 i* @' H
  46. Database=test
    2 t1 e  ?1 a2 n, m( F
  47. Hostname=localhost
    " |- g7 F+ x8 x1 m
  48. User_name=testuser) o/ u, J$ n2 g) a
  49. Password=my_password( [4 x$ U2 L! ?) n5 L" B
  50. GetDriverFunc=getSQLDriverMYSQL, r$ R' U, U% T- d% k
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    9 K  B8 d0 f2 [8 Y
  52. LibraryName=./libsqlmy.so
    - W8 s5 v  y- @
  53. Active=1
    ) G: R7 w* _$ L/ k: ~0 x) M
  54. ---example---3 q7 z: z4 F/ s
  55. 8 ?5 {0 R( y2 h- {' u% e
  56. On a windows box, also running the MySQL server locally, it would be:* k( K- B" ?# A  ^. W
  57. ---example---
    3 |& X) b2 r: A2 [2 g
  58. [DBEXPRESS]
    * B" ]/ i( H6 [; J0 P' p# s8 `
  59. sqldir=mysql_sql& K+ B* B6 A; c  {$ ?
  60. Drivername=mysql
    ) c: T4 c( R  o3 h! w
  61. Database=test: {# }0 b& w- {7 f9 D# m
  62. Hostname=127.0.0.1
    - j) a+ B# z$ N/ L6 M
  63. User_name=testuser
    : N: _, _) R. r
  64. Password=my_password8 a6 n: m5 }. h- L1 Q! e
  65. GetDriverFunc=getSQLDriverMYSQL
    + `& {6 U) }) T7 T, ]6 N$ m
  66. VendorLib=libmysql.dll
    & h3 i3 w" l$ y% X2 s' w5 y4 Q
  67. LibraryName=dbexpmysql.dll, z6 H% K- c/ w, l1 ]
  68. Active=12 v5 u; A8 A( x. ?
  69. ---example----
    ' r5 M  `  F3 G+ G4 h7 B) n( A
  70. - written 02.03.04 by pwk.linuxfan) {3 `2 \! J+ O
  71. 9 ?& e8 \! _5 ]3 d# s% _' C# x; [* P
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
' X9 c% f, r$ N! k/ s

  1. + }3 }* z1 [/ y
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    % q) M  i$ \, m. i  S
  3. 7 R- r$ j4 S  C5 w: @5 r4 Y6 w
  4. # # #我们所需要# # #
    " f: l, }; V+ |/ b4 J
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件( r: j- ?9 f9 W
  6. 不会解释如何做到这一点-也有文件存在,为9 [/ L0 A) Q, j' }& `8 P7 [: J7 h$ o
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    0 X% c( J! X/ _8 b) j" g+ p: H
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西6 b! J  E! ]4 H; x  ?6 `
  9. 随着数据库。此外,你需要一个卖方图书馆安装于/ q* v% i2 {* A  p; _1 C
  10. 本地机器,这是我的MySQL安装。 5 X+ g3 T. z$ c+ w6 O6 n
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从1 w' L) g' {& a/ i2 {( g# l
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ' C  o$ [" r  }5 T  ^2 g4 r
  13. 数据库。
    : {( ^8 r! r4 J* E# ^8 s2 Q: B
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ' Y6 q: G% |& j/ c
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    , D! U; V  D" g( f
  16. 在teamspeak论坛,如果你有兴趣。 $ ]2 P/ M2 V3 d
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机# L& I& z' e" U
  18. Borland公司使用。这个司机只能界面与客户端库
    1 R5 ]- b4 q& z# `$ }
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这) \, }" p  d  s0 a0 S
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为: }/ T1 C) s# H0 [% c
  21. " vendorlib " ,并解数据库连接。
    6 H% V# g, y+ T  ]* m
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 2 N# C3 P  ^0 ]* [1 n$ P: ~

  23. . A, K. {$ U. D, L! p# s# c
  24. # # #做好工作# # #   ?- {  d& p( G/ W+ R2 X" X
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都- H* a/ A9 c) u& X/ {
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    1 u( V2 t, Z2 \; \8 s- j
  27. 结束: & u' G& M( r' H, d9 d6 L1 k
  28. ---削减这里--- 2 I! ^+ e8 D  P8 x0 Z
  29. [ dbexpress ] ( G: [9 C5 P/ R% P$ p
  30. sqldir = mysql_sql " Q; l! h4 E0 h" n3 r% x2 V  z
  31. drivername = MySQL中
    $ U" @  u% M7 C2 q
  32. 数据库= your_database_name_here
    - w; p2 ]5 a; m) z  w9 o
  33. 主机= the_pc_the_mysql - server_is_on ) e; G" D- o( n8 i
  34. user_name = user_name_on_the_mysql服务器
    ' u6 @' ^, N# x/ y) i
  35. 密码= password_to_go_with_above_user_name
    ( t* X% E& P# O0 T  s8 T7 A
  36. getdriverfunc = getsqldrivermysql
    / A) S: [( H' z- U" J3 M
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ' k8 N1 L6 S- g' _& |0 x& y1 {
  38. libraryname = path_to_libsqlmy_libary / C- }+ [9 m1 N% m) u
  39. 积极= 1
    % i% v' b& V! \" }9 J& E1 f; ?6 j
  40. ---削减这里--- 0 b* }' a# k. s9 A2 j4 ?
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 6 Y# l3 R6 i; K8 a& i5 B
  42. ---例如--- ; C, u5 x: @: e! c$ n' L
  43. [ dbexpress ]
    - T0 e$ o8 X: K; L" M( t
  44. sqldir = mysql_sql
    ; T; P( H9 L8 d: j2 E
  45. drivername = MySQL中
    8 `* i8 n' ^9 \8 \& S
  46. 数据库=测试
    ; d; Z$ E: Y: k) T; N. F
  47. 主机=本地主机
    4 G, A3 L: ]& S7 B" _% q, L
  48. user_name = testuser , f8 R; m$ k5 l8 I9 e' w+ D
  49. 密码= my_password ( E  S0 `. I4 M, D0 W, i
  50. getdriverfunc = getsqldrivermysql + Z( p0 P5 G" G0 }% q/ C7 \* G
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 1 J" J2 G( J% u* _5 w
  52. libraryname =. / libsqlmy.so
    # W! T* ]5 o. Z" k2 a: i, D0 T
  53. 积极= 1 % ~, {6 h) m! W: V/ L& ~
  54. ---例如---   ^7 E) a7 c, T3 ]; {4 z! x

  55. $ D4 n, _) f1 B0 [, E4 p5 @
  56. 对Windows中,也运行MySQL服务器本地的,那就是: , A" y* ^0 v" b
  57. ---例如---
    / g- P0 Y& {; D% p/ G% S4 {/ L
  58. [ dbexpress ]
    / e0 W4 x, p& w& x2 {5 ~
  59. sqldir = mysql_sql
    4 S/ P9 L; d5 T! M, l, A7 C
  60. drivername = MySQL中7 R7 o0 _( e" k& o) l
  61. 数据库=测试- p* [; D  ^: O8 }. ]) l% q: n6 v- j
  62. 主机= 127.0.0.1
    ; m  p4 H, u! `7 _
  63. user_name = testuser 8 @. B5 ^- M- p1 X4 H8 @& E# B( u' F
  64. 密码= my_password
    1 _+ k" r0 n5 T/ r4 q2 g
  65. getdriverfunc = getsqldrivermysql
    & t  s& D1 ~2 o: h8 L2 V5 N
  66. vendorlib = libmysql.dll在3 |9 V7 G6 O) }- R! q
  67. libraryname = dbexpmysql.dll
    6 C8 |1 J, c6 M+ S. M8 o7 F
  68. 积极= 1   N7 h0 L+ f/ G* y( w
  69. ---例如---- % F5 \6 \9 t% V! v5 x/ K/ s
  70. -写在0 2.03.04由p wk.linuxfan
    - q$ E: F8 K( {' R; Y2 T% @( O+ g
复制代码
发表于 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
* x9 |" n4 s) z4 u
7 t0 o4 S# E. M! }9 f( t8 ibut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

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

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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