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

3388 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
# ]$ z- g' k" ?+ x
3 g0 M7 E7 Z& k! G; P7 \2 P9 U
  1. 5 o- G$ P- p1 G  j1 y" o( k) `# W1 ~8 s
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######& V1 s- x4 h4 C; p
  3. 5 B6 h9 B* o, e: a/ M) x7 a
  4. ### What we need ###5 b/ e/ c% v  x: ~, ~- _3 V
  5. Naturally, we will need a MySQL server to store the data for us, this document ) {! D4 `5 B7 _' {& ]4 M
  6. will not explain how this can be done - there are documents out there for the
    # X; p& q- m- F# E) y
  7. interested. The requirements include a (empty) database for TeamSpeak to use0 b3 e! G# N: z$ X* b
  8. and a user account (username + password) that has the permissions to do stuff
    ) N+ c- \. ~2 e+ E) ~; ~
  9. with the database. Additionally, you will need a vendor library installed on the, I: `! o9 J2 M- Q' b5 {+ ^& I  f
  10. local machine, this came with my MySQL install.
    ( J  H& R& x  |  e* D1 r
  11. These instructions will not tell you how you might transfer your data from the
    5 W% b) u, ?* s; m  U) C6 x3 T
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL" F& o/ W1 M" p5 S5 a
  13. database.7 Z6 J! `. D& ~# O) E6 m/ g8 r  o9 u
  14. Some users have reported ways to import a SQLite database into MySQL, but at9 h4 t; o( T) R3 C, i
  15. the time of writing, there are still too many issues - check the current status
    ! a/ K! b, {& y0 l4 x
  16. in the TeamSpeak forums if you are interested.
      _. u3 `$ |2 e( \9 O2 o/ {
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from. A4 j! V9 W' R" z! P
  18. Borland was used. This driver can only interface with the client library that
    ! h  c/ v% m0 g
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this5 d- G: z7 ?, T* f: }/ s
  20. client library - basically all you have to do is to use a 3.x client library as
    , o. t: w/ i7 W9 y6 b
  21. "VendorLib" and a 4.x database to connect to.  {+ x8 D! N! Q, r) `- H  v$ K$ O
  22. If you need more info about dbExpress, you can contact Borland.
    * Z- z& }9 j2 F  _6 x$ x

  23. 0 Z+ C4 a' Z# h4 _+ v
  24. ### Doing the work ###  O4 w& R" H1 E
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    / X9 S" K! V! A% Q- \
  26. the perquisites right, just open your server.ini file, and add this section at
    0 M% q7 [. m0 D
  27. the end:
    3 o. M1 e- `, e% T
  28. ---cut here---8 m4 G) g; j' r+ u4 k4 O7 B! |
  29. [DBEXPRESS]
    2 M; T* `& _5 R2 v
  30. sqldir=mysql_sql  U# o+ J( ]7 Y4 Y& h1 N
  31. Drivername=mysql9 @2 |9 ?6 h' H2 }
  32. Database=Your_Database_Name_Here* @! M) D5 |$ G& b- o# N; q
  33. Hostname=The_PC_the_MySQL-Server_is_on
    * J, c/ X0 t2 K  H5 s
  34. User_name=User_name_on_the_MySQL-Server$ A9 j- m" ^/ d* h4 G$ h4 t
  35. Password=Password_to_go_with_above_user_name
    0 s0 {% d) N) F- A
  36. GetDriverFunc=getSQLDriverMYSQL  c  S) ^9 o5 Z4 }0 i+ B+ f3 L4 J
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib- y. {/ i9 K9 J8 K+ V0 R
  38. LibraryName=path_to_libsqlmy_libary
    - B# |! @& v8 X2 d: b- [
  39. Active=1
    0 `& ]0 J% ~' [  P7 @! A( `
  40. ---cut here---1 x; f2 k# B: Q6 g2 J& l$ ]' N1 F
  41. In my environment (a linux box with a MySQL server running locally) I have:
    8 |# d" m' W3 J0 t7 Z
  42. ---example---9 }  l; f  Y* }: v& ^. Z
  43. [DBEXPRESS]
    $ F1 H9 [1 r5 _+ S5 l- A7 [5 X! w
  44. sqldir=mysql_sql: {  X5 K1 q) k/ C8 g
  45. Drivername=mysql; h5 M' S1 {8 g/ S
  46. Database=test. [/ h  O$ a* s: A
  47. Hostname=localhost6 S* b: L' l! I, d* M1 S# h( |8 y
  48. User_name=testuser
    3 b3 x6 n" V- v
  49. Password=my_password- Z) B) t- F1 l
  50. GetDriverFunc=getSQLDriverMYSQL) N- Q+ ]8 P* u. E. `4 b
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0$ i2 o) n& I0 i3 `9 Q
  52. LibraryName=./libsqlmy.so. n: Q: Y1 r5 T0 }. m
  53. Active=1
    % ^' D6 E- p% X4 h% T6 L' U
  54. ---example---  ^. v! U) T) c
  55. 4 }; S, e3 w5 Z% F, c  f
  56. On a windows box, also running the MySQL server locally, it would be:
    8 ]0 Z  \0 V! Q3 L( T8 L7 I' x
  57. ---example---: O. d1 A* @' I
  58. [DBEXPRESS]) w' Q; s+ e/ |( f% C1 _
  59. sqldir=mysql_sql
    / b5 V9 L2 Q, U
  60. Drivername=mysql! ~1 D/ z! }% u- e
  61. Database=test
    ( D3 e8 Y7 s/ C4 U1 b
  62. Hostname=127.0.0.1
    : k: y4 A+ t3 R
  63. User_name=testuser
    6 S* d' h% ^2 Y/ r; n, q
  64. Password=my_password
    0 i+ n; J8 N# L  Q* R
  65. GetDriverFunc=getSQLDriverMYSQL
    , H$ D8 C; R9 M: c3 i( A% I
  66. VendorLib=libmysql.dll
    % r4 {/ n8 ]2 i) I( a$ J
  67. LibraryName=dbexpmysql.dll
    2 _* P0 W3 O4 ~" c, z% T/ y' X
  68. Active=1
    , j2 j$ \% F# z$ X6 l. ]
  69. ---example----
    * g* F) A0 c! x  w0 z
  70. - written 02.03.04 by pwk.linuxfan
    4 P9 c' m  Z' v( c1 K/ a. a
  71. 0 |3 _! }/ U3 s( o+ C. I& H  u! i
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看3 t- [7 q% P6 z

  1. ( {+ z( d2 T; P0 Y: `  x' \
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 0 J' q5 J: R& p" F8 |( w& L/ J
  3. 0 r5 @" H' V& h
  4. # # #我们所需要# # # ) c  }$ y' b9 I0 }1 L
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件$ \5 T+ ^  T7 I3 d" _* v7 a5 k% j
  6. 不会解释如何做到这一点-也有文件存在,为8 l6 s6 r' i: t
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用. n% B7 {; O% a/ s9 ^' f
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    # R! k- Z* g' b8 O, i0 P  V. Z
  9. 随着数据库。此外,你需要一个卖方图书馆安装于8 H! g6 p- J. E, i! I8 i
  10. 本地机器,这是我的MySQL安装。 ' L1 L+ L- E+ L7 q4 G7 g6 f) c
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    - T4 ~8 H7 ~" w4 J# h
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    * ]5 s& f/ c7 k
  13. 数据库。 1 ], u" ]( m+ v
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    $ I4 j( d, ]: Q4 S
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    - K6 f! n6 t: |# F/ @0 z
  16. 在teamspeak论坛,如果你有兴趣。 ( K. T3 Y3 n( d& k9 n+ _
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机, ~, T! N& _7 a/ A
  18. Borland公司使用。这个司机只能界面与客户端库
    / C* c& c6 b% i5 k( }0 F/ q' ]; O
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    - o1 k' w2 |" y5 z3 K1 H
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    * W* d9 v- c& p% E9 z$ ^3 C
  21. " vendorlib " ,并解数据库连接。
    * F  o2 e; a2 U- Q2 Y& t2 h" L3 f3 z
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 8 W. a( `. I+ |0 O2 S6 S! }

  23. ' V- h" ^/ w2 f$ t+ b
  24. # # #做好工作# # # - s1 G; X: ^' D2 x5 _1 y
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    4 m6 y5 |7 u3 h+ g
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在0 z& [+ I0 J( @8 J* E" r
  27. 结束:
    $ [4 N+ s- ?) n3 h( ]. h5 x2 p- L
  28. ---削减这里---
    3 h5 I! X* s5 z- C5 Z& b
  29. [ dbexpress ] 4 q) z- F0 p3 ?0 e; ?! {. ]0 X
  30. sqldir = mysql_sql
    - O3 j$ G2 z2 e8 l: p4 D
  31. drivername = MySQL中
    8 t7 t3 m" F$ P: k# y1 D
  32. 数据库= your_database_name_here
      l: ?) v% N' N' @1 S2 l/ ?( V: X
  33. 主机= the_pc_the_mysql - server_is_on
    0 u* I! K3 x* e& a. B( a
  34. user_name = user_name_on_the_mysql服务器% `, t# W" l9 X# i9 k" Q! y
  35. 密码= password_to_go_with_above_user_name / m7 d, A5 X' Y, m# \3 p7 q
  36. getdriverfunc = getsqldrivermysql 7 ^" `1 |9 k8 d: k
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ' S& y( x( V5 c6 x8 H/ O9 C
  38. libraryname = path_to_libsqlmy_libary - e9 e2 D+ q. ~9 j) ~
  39. 积极= 1 ; B4 L8 a% k: g3 H* q
  40. ---削减这里--- " v, B$ C4 f/ u' W7 V$ ]
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ! W" d' Z1 ^) r2 g4 a# K
  42. ---例如--- - @+ s5 T( c! B: v& W# p" z+ \
  43. [ dbexpress ] % D- b; `4 R5 B6 @
  44. sqldir = mysql_sql 9 M0 V, l7 n1 {8 ]3 L
  45. drivername = MySQL中; I) q; j+ l" b3 p. N. E  }) \% v
  46. 数据库=测试, e' @) |8 K$ P6 w- |7 I
  47. 主机=本地主机
    8 C3 W6 C3 C# |7 |' ]/ ^1 g) g% F/ t* ?
  48. user_name = testuser
    2 z" \1 f; f3 O& x* S  F
  49. 密码= my_password
    " g( s9 `* q7 r9 D/ I3 K. V
  50. getdriverfunc = getsqldrivermysql
    % Y9 d5 U: k7 W+ s7 y( U* I
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    4 C: O5 A3 L# l* Y; S5 f: [  E
  52. libraryname =. / libsqlmy.so # \2 B/ L9 i) [
  53. 积极= 1 . g7 N9 }/ O6 i4 {- W. N: ~
  54. ---例如---
    2 q" G, v  n/ m% [0 B2 D/ O
  55. " ^) V5 I! R$ e  G4 W+ p7 }; E
  56. 对Windows中,也运行MySQL服务器本地的,那就是: + h6 a: j7 L) u/ w  M
  57. ---例如--- 5 ]; H2 N. g9 H9 V# D
  58. [ dbexpress ]
    0 l$ g/ x9 [" Y; s5 r1 s
  59. sqldir = mysql_sql ) H) o8 o& [! M& r
  60. drivername = MySQL中9 u+ G1 G' e) E; d" c5 i3 A
  61. 数据库=测试; h& ^1 I: g  h" t0 J
  62. 主机= 127.0.0.1 ; G8 `! ?* o4 a/ ^
  63. user_name = testuser
    7 d) Y6 z) `3 X8 ~0 A( |
  64. 密码= my_password / K1 m$ |* V8 ~( T# x% y/ Q
  65. getdriverfunc = getsqldrivermysql
    % y! T. j8 U! Z, P! u; r8 g8 B
  66. vendorlib = libmysql.dll在
    . _& k+ S/ _, `: w* M9 E
  67. libraryname = dbexpmysql.dll 6 ~9 y  h% d2 d& X& I% h3 h7 p. ~
  68. 积极= 1 $ |. ~  g( z/ H7 ~$ [% G( E
  69. ---例如---- 1 G! ^% l5 d0 x1 B, `
  70. -写在0 2.03.04由p wk.linuxfan6 k7 w  s' p$ G! `/ q# l' I# C
复制代码
发表于 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+ K0 m, o7 |" }6 t. e( Z
9 ^  Q( n  H. q6 ?6 {0 Q2 C7 e
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-24 19:58 , Processed in 0.097883 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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