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

2664 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
2 ?7 W  y6 A  A$ k* d" @8 `( f
  1. # e$ \4 @6 {: S* f7 ?( U8 U
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######! ]  C' l% V' L, Z* x
  3. - ?* D) i4 |3 V$ c
  4. ### What we need ###
    0 K& r! a8 i& v6 L+ x$ b5 q$ b
  5. Naturally, we will need a MySQL server to store the data for us, this document # P9 N& N+ G+ b; K2 S
  6. will not explain how this can be done - there are documents out there for the + R, \( q3 x: o0 l' _" @
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ) Z7 J  t8 f. F
  8. and a user account (username + password) that has the permissions to do stuff
    ' j+ z! |! r4 e* Y! a
  9. with the database. Additionally, you will need a vendor library installed on the$ O6 ^. \2 k& |2 X- f, s, H
  10. local machine, this came with my MySQL install.( ~1 N8 g( k# o5 G+ u
  11. These instructions will not tell you how you might transfer your data from the
    - J5 y( }: }$ Z( `
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
      g1 ]+ z/ W, L- X
  13. database.
    - V6 f( \1 n" _  O7 D8 V
  14. Some users have reported ways to import a SQLite database into MySQL, but at6 y2 y- ^( H" i; S# P" C. |4 S7 i
  15. the time of writing, there are still too many issues - check the current status( x: h8 n# X  U1 D+ b
  16. in the TeamSpeak forums if you are interested.  n2 m- e# _* l; d6 y9 s$ b  s
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ! E  j8 X$ z3 g
  18. Borland was used. This driver can only interface with the client library that
    % Z) }. l+ {; O; G
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this2 c& r2 k* _% K
  20. client library - basically all you have to do is to use a 3.x client library as
    ) C% |! C+ [3 `7 a5 o& D" a7 d
  21. "VendorLib" and a 4.x database to connect to.# R" ]9 b+ ?, d- ]3 Y7 D6 ^
  22. If you need more info about dbExpress, you can contact Borland.
    . H, H4 o1 S9 I) L
  23. ' @$ c7 I4 i$ S# C4 W, Y6 E
  24. ### Doing the work ###9 `3 y! j) I1 B% P; [. A
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all/ s, E+ f: L  ?* C) i: d; N
  26. the perquisites right, just open your server.ini file, and add this section at
    2 |0 c5 m1 H' ?+ y6 j0 g& }
  27. the end:, E# G" t7 ^6 V$ ?; V
  28. ---cut here---; d# I0 b! D7 v4 S0 d: u1 z9 Q: f
  29. [DBEXPRESS]
    + k7 j# L; u" b8 f1 t! R
  30. sqldir=mysql_sql; X. `2 ?+ A1 p9 N
  31. Drivername=mysql  Q7 o- ]8 U5 u+ n( J/ B
  32. Database=Your_Database_Name_Here& e$ d* Q/ g0 T6 D; A9 Q
  33. Hostname=The_PC_the_MySQL-Server_is_on& z6 T1 Z; k, N3 n; v' M# r
  34. User_name=User_name_on_the_MySQL-Server1 b" a- t% }* d8 ?7 d7 ~# ^* ]6 r
  35. Password=Password_to_go_with_above_user_name
    2 T# k$ f0 T) `1 I+ Z4 `: N
  36. GetDriverFunc=getSQLDriverMYSQL
      \) A/ D. R# r6 d% [
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib2 R* K* }8 z. J' `* F+ e1 H2 a0 s0 N
  38. LibraryName=path_to_libsqlmy_libary
    5 |6 `6 t! K' d6 U9 |
  39. Active=1
    # P9 v$ ?9 X' \* E
  40. ---cut here---) L( ]$ @& I1 ]5 _- }/ Q
  41. In my environment (a linux box with a MySQL server running locally) I have:
    # c+ {! \* {: s& f
  42. ---example---# [: Y0 c& ~6 o( G7 d& H) f
  43. [DBEXPRESS]9 o  o" p' S5 k! C9 x
  44. sqldir=mysql_sql- B, k3 ~0 A3 x
  45. Drivername=mysql
    & t1 O# }" R& l* Z8 |8 S
  46. Database=test8 C) S" n- x6 J- |  K% Z9 R  m" }% `
  47. Hostname=localhost
    # b4 [' a2 y" _
  48. User_name=testuser% f! f- R& A( i& Q* a' W
  49. Password=my_password4 k1 Y; r* S4 o9 m
  50. GetDriverFunc=getSQLDriverMYSQL9 F* P: i& A) v
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0) {/ @7 V5 s4 c+ }
  52. LibraryName=./libsqlmy.so
    3 c( N; w0 `) ^8 J/ f/ s/ K+ v! i  i
  53. Active=1
    ; R: n0 ~; A! c, `
  54. ---example---: e& E/ d  }& `/ A5 {: u3 h

  55. ! i, h4 b$ K+ I
  56. On a windows box, also running the MySQL server locally, it would be:* r% c* n. C) _# X% a
  57. ---example---
    ' |5 G1 X/ p9 k
  58. [DBEXPRESS]
    5 ~' ]1 c: W/ m  [- c: D
  59. sqldir=mysql_sql
    0 o6 U. @4 N& @( O) l4 I+ ?
  60. Drivername=mysql
    " ~! Q1 F( j4 X+ L9 K6 K
  61. Database=test- c9 n: A7 I9 x) q2 \# ~3 E
  62. Hostname=127.0.0.14 C1 q. f, V4 F
  63. User_name=testuser& F, t3 d; I, {5 m4 s
  64. Password=my_password( \' c  d: K/ x% h
  65. GetDriverFunc=getSQLDriverMYSQL
    : k& B% ~1 @4 F& O, k
  66. VendorLib=libmysql.dll
    % y0 N6 T! J! J( j
  67. LibraryName=dbexpmysql.dll
    + V" K% ^4 [3 T4 E% E& t: |
  68. Active=1
    * G5 @8 S1 B: {# K
  69. ---example----
    7 b" ^6 H5 m2 V7 `
  70. - written 02.03.04 by pwk.linuxfan7 x0 j( R5 `7 o% E; A3 S6 x1 ~1 c! l
  71. 1 D* B0 B, W- c! B! b2 w3 ?0 j
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看- s# }' e7 |& m4 j  g

  1. ' G1 {9 C8 f$ }0 X
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    1 E- u$ R  p$ E

  3. & c8 u) |- _1 @2 r( v; r4 @
  4. # # #我们所需要# # # 4 |! U( w$ u( M6 J
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    9 i% V  }# y+ q0 q2 L
  6. 不会解释如何做到这一点-也有文件存在,为2 l( p7 M" N) a$ w
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ! c* q/ L0 g; O2 y& g2 ?
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西; x& B/ {" x5 x" a
  9. 随着数据库。此外,你需要一个卖方图书馆安装于$ i  U8 B. ^2 _/ i" b# O
  10. 本地机器,这是我的MySQL安装。 , K# B9 M) f$ ~4 s$ s3 e2 ?5 q
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从+ W5 `: C3 a# l: r& J
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL * ~* s( T/ f& n" k, _
  13. 数据库。
    9 }& G/ {2 x  H: A5 A9 G# S
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在1 e7 j' I. h- B3 \7 h$ G
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    0 Z6 u- z, n, l" m. \; }
  16. 在teamspeak论坛,如果你有兴趣。
    ; f/ V& L1 F7 t  n. a* U% n
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    2 f8 k: e. Y9 ?1 Z: j
  18. Borland公司使用。这个司机只能界面与客户端库
    1 U: ?' ?5 g7 C+ C5 U) r. t8 S
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这. S& T1 x& j5 f8 L4 Z! v4 {( Y) B
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为* ^9 E! u1 D9 \) q
  21. " vendorlib " ,并解数据库连接。 4 @: B" X( e/ P  U) m# q! f2 t
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ' V0 g- B0 m% s; a1 @2 o

  23.   d+ q9 b$ j; F% W( u7 Z/ M1 q
  24. # # #做好工作# # # ! l8 x. }& o  J! ^" z) s
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    3 y$ v( {- j7 b' G0 l
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    * ]1 `5 S! \) w/ u
  27. 结束: % l: R5 G2 L2 }5 _  O/ f7 c
  28. ---削减这里---
    ; E  B4 K2 o/ a! F% l1 @, o
  29. [ dbexpress ]
    8 ?: D& S: D7 W  s! ~
  30. sqldir = mysql_sql
    ) _3 L0 S+ T8 x
  31. drivername = MySQL中$ {4 {$ y! j+ P8 D9 I; l2 ?/ V
  32. 数据库= your_database_name_here 7 Z' }) Q. R/ E# D
  33. 主机= the_pc_the_mysql - server_is_on , `- Z1 t. ]- @! E) t
  34. user_name = user_name_on_the_mysql服务器
    + }3 a( P4 e2 t+ ^, |- |% g
  35. 密码= password_to_go_with_above_user_name * p; i' W7 S: ~) p* c
  36. getdriverfunc = getsqldrivermysql * B: ?  o( ^+ P4 a$ ~
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    7 P2 a7 J1 u& j. K) T9 |1 C
  38. libraryname = path_to_libsqlmy_libary * H+ Y! E( d, @2 H( o2 a2 l) e
  39. 积极= 1 * r6 i9 o4 z6 Q; i
  40. ---削减这里---
    " y: P9 B$ q! Q5 J
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ) l3 K% r7 K, H& |! U
  42. ---例如--- & B, u/ ?  w; P
  43. [ dbexpress ] / s8 o8 {# v( j+ V3 G8 V
  44. sqldir = mysql_sql
    & g0 w2 w0 s3 G
  45. drivername = MySQL中) x. t. K, B# L0 n4 n2 ]
  46. 数据库=测试5 Q: m" T- D- D1 ?8 Q
  47. 主机=本地主机3 m% Y' n& V. \! S7 ]% Z
  48. user_name = testuser
    / n+ R$ j: k7 [% s
  49. 密码= my_password 5 x- Z1 W5 N$ b
  50. getdriverfunc = getsqldrivermysql - O' n+ R! g9 N. c/ w
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 - U9 k$ U7 k, ~# B3 t4 x- v
  52. libraryname =. / libsqlmy.so & y7 R1 V- b% x
  53. 积极= 1 $ p8 b/ M. T0 r2 z- h. W
  54. ---例如---
    8 r1 Q1 a4 c, u  \3 Y
  55. 2 Y! o$ k+ A* m" z7 Z
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ( l3 m6 V+ W: D6 j% Z! l# b; c
  57. ---例如--- ( }2 S% u* S0 ]+ k
  58. [ dbexpress ] * y  y6 Z/ K" V' m" ?
  59. sqldir = mysql_sql % \, Q% E/ m3 @; f) M4 f/ v
  60. drivername = MySQL中
    3 x* z; u+ Q0 O/ ?* i  W
  61. 数据库=测试
    ( R+ t; V0 ^% H8 t" F0 ]6 M% ]
  62. 主机= 127.0.0.1
    ) N  C0 W4 ^: F1 |/ w1 l  L; y
  63. user_name = testuser
    8 Z, ^8 \: M/ C
  64. 密码= my_password % g( F- [' F  I2 d
  65. getdriverfunc = getsqldrivermysql # D' p9 W% n- P# p' i" a
  66. vendorlib = libmysql.dll在4 L6 o0 y$ }5 G1 J8 j! ~9 e7 _
  67. libraryname = dbexpmysql.dll   E9 M2 D- \1 I, b; u) ]! g' b
  68. 积极= 1
    . H0 w, A) p: M* c( X. p- e
  69. ---例如----
    0 C  T$ v+ S( g) t2 k/ L
  70. -写在0 2.03.04由p wk.linuxfan
    $ m, I) j/ s# Y
复制代码
发表于 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# U4 l; q. x* H. \; H
% Q, p5 }+ O! C8 a' 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-5-25 22:52 , Processed in 0.101237 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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