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

2597 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan * j2 T+ v( ]$ l8 d, h# z
: @1 I" U( a) a  t+ k

  1. 4 V8 \! B0 d6 B  U) W& \+ A6 l
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######- [. k. L: z7 i, _5 ]( z

  3.   u/ i& P/ x: b' t5 H
  4. ### What we need ###
      Y9 w% I& L. C
  5. Naturally, we will need a MySQL server to store the data for us, this document # ^  S* x4 {# U: m: T
  6. will not explain how this can be done - there are documents out there for the % c5 T' f* I6 c% e6 S- a3 O. ?: f
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    + E) s' P# s4 }8 a# Z+ P
  8. and a user account (username + password) that has the permissions to do stuff
    # A# |8 M3 _% U1 t# t2 A1 S
  9. with the database. Additionally, you will need a vendor library installed on the
    5 x1 M3 k6 N7 \2 N0 H0 _/ H
  10. local machine, this came with my MySQL install.
    : Q1 F  g( \& V4 n7 ^
  11. These instructions will not tell you how you might transfer your data from the
    - O* `- D! D7 D( V: O  j
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL5 e5 ]: ]* V/ ]; @4 O
  13. database.
    ( F+ q+ e* c4 g4 i
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    0 C0 v' F, @5 F, Q5 Z: |
  15. the time of writing, there are still too many issues - check the current status" C2 F$ w% _7 a$ c
  16. in the TeamSpeak forums if you are interested.
    % C9 l4 p" w5 T! e8 S
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    + N# _- p3 O8 C' Q$ V/ }
  18. Borland was used. This driver can only interface with the client library that
    ! h. X5 v! x, ^  l8 x  I
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this9 y% o0 l4 m$ W  ]* z
  20. client library - basically all you have to do is to use a 3.x client library as
    6 [8 g6 h- ?, I( j
  21. "VendorLib" and a 4.x database to connect to.5 ^* P& q$ h; a7 r- V) C
  22. If you need more info about dbExpress, you can contact Borland.
    2 R0 A7 L- }4 t2 n2 Q. H4 O
  23. + K& j$ k! p! t6 I$ C: B8 G
  24. ### Doing the work ###2 g5 Y  O6 }$ ^, V5 R
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    " X: x$ O+ J% J' A+ C1 |4 m/ [' a
  26. the perquisites right, just open your server.ini file, and add this section at, x3 r( ?8 E3 ^4 e
  27. the end:
    % w0 _& H7 z, s. E; D& S3 X" S
  28. ---cut here---; p% W( ~; w3 ?' g3 d$ Y% i' P$ Z
  29. [DBEXPRESS]
      w4 h: K- H  m5 j
  30. sqldir=mysql_sql
    " b3 k2 A  P; D% h; O4 u2 E
  31. Drivername=mysql1 {* S0 l0 r- R; x
  32. Database=Your_Database_Name_Here5 ?# _9 N9 n' E! D$ a
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ; E; {- y3 Q- W) F& }' o
  34. User_name=User_name_on_the_MySQL-Server+ @1 n* p7 [& U; Y8 Z; W
  35. Password=Password_to_go_with_above_user_name
    5 A# A- b! Q7 f2 X, |$ V; s" w7 f
  36. GetDriverFunc=getSQLDriverMYSQL8 t& B% u6 ]; S( u
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    $ q7 q0 D1 S: j! k4 H9 C6 w. n1 w
  38. LibraryName=path_to_libsqlmy_libary; ?& q6 D+ x! v2 n. x0 g  X
  39. Active=1
    $ l  `  W9 V' ~! R
  40. ---cut here---
    " Z2 ?' j* }. z9 s
  41. In my environment (a linux box with a MySQL server running locally) I have:
    . L2 C# i% P: O  x+ q# ^, l
  42. ---example---2 ^5 d, M4 b+ k
  43. [DBEXPRESS]
    - @5 Z0 \2 N/ b5 b. i, b. X6 L! E1 t
  44. sqldir=mysql_sql2 N, F6 Z! ^7 S- T& W1 C: r
  45. Drivername=mysql* j: ^( W" y  ~3 @. {0 \
  46. Database=test/ W; V# D9 V9 }* \) Y7 {: A& o& t
  47. Hostname=localhost- W- j. `& N0 b. s# r2 s4 U
  48. User_name=testuser  X2 m- s; I' n6 i: P1 j
  49. Password=my_password0 e" J  j$ M8 ^/ L, @
  50. GetDriverFunc=getSQLDriverMYSQL
    6 r$ W( l; G9 Y' l0 q0 p# g* [& H
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0) p/ X" J. y/ z8 [! p' ?
  52. LibraryName=./libsqlmy.so' t( U3 V  ]! J  _
  53. Active=16 V" d/ l, j& H$ ^4 f6 P) |
  54. ---example---' A& q0 `2 ]* A3 P- i2 o
  55. / X& k6 t2 I+ a. [
  56. On a windows box, also running the MySQL server locally, it would be:( J5 B* I; k% Q: h8 k
  57. ---example---
    ( Q! T" h8 t/ X! p
  58. [DBEXPRESS]0 L$ f" I  d5 w
  59. sqldir=mysql_sql
    5 w& E5 J, K5 g3 q) l6 g+ ]
  60. Drivername=mysql3 W. z8 {% N: \0 G3 [, T+ G1 v/ F  i
  61. Database=test  y  g: M8 v- {2 C9 p
  62. Hostname=127.0.0.1
    6 G7 _! N& f- ]( O
  63. User_name=testuser: U- `2 B0 L+ u6 }- p4 {6 ^
  64. Password=my_password
    ( p0 d& ~, g+ v8 z; B% N3 C  i( n
  65. GetDriverFunc=getSQLDriverMYSQL- m0 a! i2 u% t% p1 O6 t( ~
  66. VendorLib=libmysql.dll
    + x4 J" d; M, D! c. c( h  u
  67. LibraryName=dbexpmysql.dll
    ' e; V  k' O% f# q, p" C4 v7 r
  68. Active=1! z! Q* w8 T9 x- `4 d- S
  69. ---example----8 F. J* E, `  s, P
  70. - written 02.03.04 by pwk.linuxfan7 d# i7 y, a3 M. i" W
  71. , i0 t2 A% G- o" N: y! r
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
. ]: ~  B8 D/ r6 n
  1. 2 I. M$ I. G! l  n1 O9 Z
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 3 o' f* Y# r: Z6 l8 F0 q% A

  3. % A, ~& b- C8 U) k. V9 s* M
  4. # # #我们所需要# # #
    " F: C/ _7 u- p/ |5 X+ \
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件  J* @, _4 N( J( z
  6. 不会解释如何做到这一点-也有文件存在,为
    2 k0 }2 Z" b! Y' u& h; c
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用6 B8 l& Z& U3 L5 D. o7 @
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ' t0 W, _* N: A
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    : \1 y( W2 T# ]( a5 j, W9 N9 y9 a
  10. 本地机器,这是我的MySQL安装。
    9 k( L- L; A1 q% |
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    1 R0 O, k( }1 N) K+ L! r
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    - M+ p: ~6 x7 d, ^) O! T  r
  13. 数据库。 # f7 |5 }3 c7 F8 D: ]; a
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在6 b! F5 \; L# j9 V
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    : D$ s( _' T8 m! ~6 E$ V! `# {
  16. 在teamspeak论坛,如果你有兴趣。 4 b! o2 ?+ t, x  Z  {* q, I, _
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机" ^6 X# |& E  v" h" n$ W5 `
  18. Borland公司使用。这个司机只能界面与客户端库8 \" H% u' h) J7 x4 ]) N) ^% n" R* G3 W
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    8 z5 g* n+ c( K4 t: N
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为- V7 y/ {+ W' M* @* M
  21. " vendorlib " ,并解数据库连接。
    3 A! o& j$ |! T8 Q/ r9 o
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 0 I8 C7 A. ~  a9 |- r  G3 e
  23. 6 u/ i0 d* w' `0 \: X% B- U/ R* R
  24. # # #做好工作# # # . H9 J% V7 j8 l9 X
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都! j" L- U/ h2 M/ [
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在" X/ I1 B+ n( F# v- x
  27. 结束:
    ( N7 |- f; @& ?" l! C! n
  28. ---削减这里---
    & N; D# T0 S, H) G0 H3 }
  29. [ dbexpress ] / ^" y; {5 \' z& s) D1 X% U
  30. sqldir = mysql_sql
    * \! I! V3 x# t; Q2 L1 l- ~
  31. drivername = MySQL中" t* Z$ Z4 T" A" ~$ o
  32. 数据库= your_database_name_here " J, ]) x$ E7 w3 y: R3 j# t" j
  33. 主机= the_pc_the_mysql - server_is_on
    # `- p0 {9 z" m& K( g% N
  34. user_name = user_name_on_the_mysql服务器8 T' @5 \, F* l  R. I5 h6 V
  35. 密码= password_to_go_with_above_user_name 1 j1 I5 ?( a# t; e# a. ?, K
  36. getdriverfunc = getsqldrivermysql 7 {; q2 H: G& S/ m3 c
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib - {) z  Q: N2 i* S" ?( r
  38. libraryname = path_to_libsqlmy_libary
      L' @) a: l% t9 z; q
  39. 积极= 1 9 `$ ]3 F( b4 m6 n
  40. ---削减这里---
    % t5 F/ Y% ?* N  I3 h. F; A( d. c
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: : B" o! ?( z& R8 i: L! _; ]
  42. ---例如---
    " k+ T  v+ T( k! h, g# Z+ v
  43. [ dbexpress ]
    ) I/ r5 l) w9 L
  44. sqldir = mysql_sql , V4 T9 V$ R3 \/ e9 K9 k" G
  45. drivername = MySQL中$ B/ N# {& y, [$ T
  46. 数据库=测试- y7 @0 J0 O5 u% G2 n
  47. 主机=本地主机, m( I; }! W2 [) l: u1 z7 `# w2 c
  48. user_name = testuser
    : P) o5 L. C; |6 q1 A$ n) j% p
  49. 密码= my_password 5 N9 Q6 o- `% i9 ]- b" \
  50. getdriverfunc = getsqldrivermysql : p/ E5 y: l$ T( H8 m" U
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ( F9 ^; S3 y+ T9 Y0 w; _# g: J
  52. libraryname =. / libsqlmy.so   a1 c& S- R4 s( E. c% d8 H
  53. 积极= 1
    - ~. x% I- |. a
  54. ---例如---
    3 `& h* }  X7 B/ a( C1 q

  55. 5 X7 l* D/ f5 A5 l
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    * Z4 z% a4 T' E0 R5 b
  57. ---例如--- - r" Q5 V; w* j/ o1 G
  58. [ dbexpress ]
    , @# s9 c9 y9 c9 g' V* ]$ E' \" E
  59. sqldir = mysql_sql
    - R- ?" a, A0 _  m9 R% V2 t
  60. drivername = MySQL中
    + L3 ]4 F" h! v7 {& n# m2 G
  61. 数据库=测试
    7 h* n- C% r3 x' e/ P6 E+ V
  62. 主机= 127.0.0.1 . O5 \: ~. I$ t( E* r, B: I7 H
  63. user_name = testuser
    4 H6 I# M* R0 D1 Q1 j+ v/ o$ q
  64. 密码= my_password
    , j& M1 i5 N6 R
  65. getdriverfunc = getsqldrivermysql + Q" p, L& q7 i) _  C
  66. vendorlib = libmysql.dll在
    / s  Y' b7 ?; ?9 @
  67. libraryname = dbexpmysql.dll 0 D2 \8 x0 |  [' @. j! [4 D: h
  68. 积极= 1
    0 N% ^* z: F6 F
  69. ---例如---- 7 Y' }' S4 X+ O) b5 J5 d* g$ M& x
  70. -写在0 2.03.04由p wk.linuxfan% {# Q9 H2 `5 b/ y- H4 f
复制代码
发表于 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
: Y" H6 ~0 L: C* Y) y  e4 ~/ i9 T  U
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-9 07:27 , Processed in 0.085843 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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