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

2936 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan % o! {" e: y  _' y' [: z' u& }

5 R0 ^8 S2 j/ v

  1. - S9 j" p- |4 F' U7 W; C- Y
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ' c4 ?. p0 J: T- \  \9 s
  3. 5 P  E7 Q6 n( ~0 R- s, v+ t
  4. ### What we need ###9 u9 V5 k5 L' t! u6 K
  5. Naturally, we will need a MySQL server to store the data for us, this document
    & K  Q& K3 |  t; u: ?: G
  6. will not explain how this can be done - there are documents out there for the 3 p! b( w  x& D9 r, A
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ! J2 j; J/ r5 p4 X7 t
  8. and a user account (username + password) that has the permissions to do stuff
      P7 ~5 c$ S4 q! H  n
  9. with the database. Additionally, you will need a vendor library installed on the0 x3 G3 r  R5 Q" q6 O, T; g! c
  10. local machine, this came with my MySQL install.) Q# i0 ?3 j. L1 @& C' y
  11. These instructions will not tell you how you might transfer your data from the" ^/ Z# V8 Q% Y: g
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
      E) T* \0 q1 q& `5 Z* b
  13. database.
    1 N, H( X& u7 h0 O3 }
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ; D& l8 @: _) d& }, i
  15. the time of writing, there are still too many issues - check the current status
    % B6 T3 S+ G! Y$ x6 f) e4 S1 R
  16. in the TeamSpeak forums if you are interested.
    . `" Q4 C, q2 ]3 [$ u/ ]6 t
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    6 S1 R. M* Y% b6 G% e
  18. Borland was used. This driver can only interface with the client library that - f; f) h" ~& f1 @9 {( m/ T5 d
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this0 {2 q( m/ m+ E' E8 T% V) s
  20. client library - basically all you have to do is to use a 3.x client library as 2 o- O' c! n  C, H& `
  21. "VendorLib" and a 4.x database to connect to.) _2 h. ?% `/ `- e6 ^4 R
  22. If you need more info about dbExpress, you can contact Borland.3 ?( w' ~5 h/ c5 |, ^7 P- v' q9 g

  23. ! q+ p+ f* w% b4 V' t7 R
  24. ### Doing the work ###) W$ w0 [3 p5 ?+ I/ `9 l
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
      d; {- N3 m& S( l0 V. X' R
  26. the perquisites right, just open your server.ini file, and add this section at9 Q" l% p+ V( K6 x% |; ~& T4 J0 {! v3 {
  27. the end:0 H1 Y/ [* ~: |
  28. ---cut here---
      I' A( V( M# J5 y) K$ m- A/ z
  29. [DBEXPRESS]
    & c$ Y2 e8 w) f/ X4 g/ P7 M
  30. sqldir=mysql_sql
    / r4 Y+ s! c9 _  H) o
  31. Drivername=mysql
    : o! x. p8 s6 R+ |( m! {
  32. Database=Your_Database_Name_Here
    - j4 q* b; y* w. f0 u# v5 A
  33. Hostname=The_PC_the_MySQL-Server_is_on
    / q' s  n  R4 @# W. U1 `
  34. User_name=User_name_on_the_MySQL-Server5 Y, U* r$ ?$ F# d4 }$ [" @
  35. Password=Password_to_go_with_above_user_name
    * m7 U  r9 ^5 B! a6 y
  36. GetDriverFunc=getSQLDriverMYSQL" _4 _% ~. V1 g
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib& V3 g9 {% t+ _: `
  38. LibraryName=path_to_libsqlmy_libary
    ! `% `6 Q3 S/ }5 V
  39. Active=1
    ' a. B7 s& \% @- J$ C
  40. ---cut here---
    # P% b; K- @* m+ h% z
  41. In my environment (a linux box with a MySQL server running locally) I have:+ o" f& L6 w' o" b' O
  42. ---example---
    % w& S9 X% l3 t/ F
  43. [DBEXPRESS]5 m& [; c$ R8 h% T
  44. sqldir=mysql_sql* ^5 x# z: k6 `* U
  45. Drivername=mysql
    ' d7 H% Z; p$ l
  46. Database=test+ I% F' W, b& L3 Z- l2 v( p3 V
  47. Hostname=localhost
    ; M5 S2 s! S6 a
  48. User_name=testuser
    ( e4 P/ f- N. K; W* ]
  49. Password=my_password
    1 G! T4 H7 C# Z+ c- Q" P
  50. GetDriverFunc=getSQLDriverMYSQL
    0 c% o+ r  _* I+ L3 i7 _; C1 v
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    9 U# L" U$ w8 {* o. k: \; K9 W! o. B
  52. LibraryName=./libsqlmy.so
    4 ?+ W& g# O/ P3 g
  53. Active=1
    8 F: [+ ]3 n1 E6 J' G  F2 I
  54. ---example---
    2 {% x9 G" s( G5 h
  55. 6 j9 q7 ~4 G: Z0 M' K, O# Q/ j
  56. On a windows box, also running the MySQL server locally, it would be:+ b' h7 c1 F& C4 ]6 X) x; p1 X. s+ n
  57. ---example---
    7 H. \* k5 X+ P0 u
  58. [DBEXPRESS]
    9 c, t  E; Q, P% N: ?7 g1 [3 v
  59. sqldir=mysql_sql
    7 s# ?, F- N6 O" t& q& Y0 Q0 g
  60. Drivername=mysql
    % B3 W% O' X  D. k* c
  61. Database=test* o8 F' Z$ g5 l1 {/ Y
  62. Hostname=127.0.0.1. T) _2 A% k/ h: l& U% b
  63. User_name=testuser
    1 G5 m; ]9 A1 F  f# v
  64. Password=my_password, B* ]7 q" O$ n- l, m8 L
  65. GetDriverFunc=getSQLDriverMYSQL! ]" n* |! ?: D  `: D3 _/ N/ P
  66. VendorLib=libmysql.dll6 }) Z, c9 y9 f( _' O) T
  67. LibraryName=dbexpmysql.dll
      F/ H. a% f5 f5 y
  68. Active=1
    0 w! z) X9 n9 g% ~
  69. ---example----
    & x- N- m! H# ~" n- l
  70. - written 02.03.04 by pwk.linuxfan
    4 p7 t& t8 q+ r+ P
  71. , [4 g. P" B+ m( C
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看  |* Q' {3 ~" k8 r
  1. 2 h: P' i& V+ R) J3 X! U' x
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### + x& v( f4 H0 B  c

  3. 6 @- N4 o) l8 Y" ?5 @
  4. # # #我们所需要# # #
    ' h, k1 P1 f+ o4 E, a- e8 m( S
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    8 `, n% S" p4 N3 h) H0 |9 ]
  6. 不会解释如何做到这一点-也有文件存在,为
    7 d* j3 _: @2 H5 e+ b% O+ [' m
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用! j0 o6 {+ }' ?
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西" J$ b* o" B; `, g  M
  9. 随着数据库。此外,你需要一个卖方图书馆安装于4 c7 w! F: {4 C) c  ]3 Z4 p( q
  10. 本地机器,这是我的MySQL安装。 / g  C4 T; t8 m; g+ m
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
      o* M8 a- Y- v: X0 N9 ^0 {1 A" U; p
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    " J+ t, T. B$ ?; w' Y6 B1 T7 z
  13. 数据库。
    $ Y' `9 a' b  M# d
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在) w0 L+ @& I& ]! X$ F; V0 V
  15. 编写本报告的时候,仍然有太多的问题-检查现状) `# O) u' k. d, |
  16. 在teamspeak论坛,如果你有兴趣。
    6 D' R! r9 z% n9 H* j+ ^
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机% c9 t4 M) p. k. ?( R% w1 f! ~
  18. Borland公司使用。这个司机只能界面与客户端库
    : V" V9 n- Z$ x# T7 Z/ A% `3 i
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这! n' y+ l/ J, V, }
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    : [' }; ?' |/ l8 j- i4 e
  21. " vendorlib " ,并解数据库连接。
    & p8 J8 f9 h) H' k7 m
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    6 ~' ]# P& f9 \! X- z+ k
  23. , b: B# i# @( |" j9 b, q* g
  24. # # #做好工作# # # - x6 {/ g/ v5 [# a+ \. v! X; g9 H+ B
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ; Q# X' Q( T: `( U! `- o7 M, G& E: F; V
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    1 J, r/ |) N0 m3 _
  27. 结束: " P% H" D! P' q
  28. ---削减这里--- 0 ^1 ]. F% y/ a* `
  29. [ dbexpress ]
    7 s; w$ \" o: [# x) ?
  30. sqldir = mysql_sql 7 o! H% w+ M8 T# G
  31. drivername = MySQL中1 I) `8 O' [4 T7 d$ `6 F  X
  32. 数据库= your_database_name_here : F3 Y/ S7 o3 `
  33. 主机= the_pc_the_mysql - server_is_on 0 A; t% T# ?* ^6 a2 }6 r: z7 H2 v
  34. user_name = user_name_on_the_mysql服务器2 p) n& N% @! j! w% v$ t5 `0 y4 ^/ p! a
  35. 密码= password_to_go_with_above_user_name
    % f8 j6 ^; |/ X% z2 q6 C
  36. getdriverfunc = getsqldrivermysql
    % E, [! [: n7 m6 o# T6 g
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
      H) R, i% F5 C: e- u" A
  38. libraryname = path_to_libsqlmy_libary
    7 i" a  p' ^2 F9 _$ ~
  39. 积极= 1
    % c! D3 K, _  @+ V/ `3 p
  40. ---削减这里--- 5 Z6 {' ~# M  h! i' ^. L
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    1 l- y- ?# U) y9 y! B
  42. ---例如--- " |* k# q4 m( H$ i8 `* d  H
  43. [ dbexpress ] : [( ]& f- O& `
  44. sqldir = mysql_sql
    7 t, l+ {) K# b6 U
  45. drivername = MySQL中, V% n2 a' o- B- c6 I
  46. 数据库=测试
    " x( |. F9 u9 F3 P6 D+ V
  47. 主机=本地主机5 s8 K4 E* [) d' L+ h/ p# P! b" N! w
  48. user_name = testuser
    & E1 s5 [0 ]3 X1 ?. k
  49. 密码= my_password # e( v$ t5 v% @! L
  50. getdriverfunc = getsqldrivermysql 6 p; d. c7 \& a) Z% U
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    # @) v$ m5 n6 S8 S$ u* K% c) T
  52. libraryname =. / libsqlmy.so
    0 L! {5 v  `( h8 f
  53. 积极= 1 9 Y  e. S; V/ P9 ]6 J
  54. ---例如---
    2 g" l* p4 Q  J( U& O
  55. ; `0 q* q! d' I$ A
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    2 u+ B/ a6 b$ @3 [% D
  57. ---例如---
    3 \2 G# ~7 K; B7 I
  58. [ dbexpress ] 6 A0 D" {0 S5 m% r! g+ `" S, Q  g
  59. sqldir = mysql_sql ; j- _& Q7 c( ~9 ?, n
  60. drivername = MySQL中* E$ c  D' p4 G6 ~- v9 |- \  T
  61. 数据库=测试" E' q: `' I) ^0 `( `3 [6 U
  62. 主机= 127.0.0.1
    7 A' u+ p! V9 c& k# `0 {' i" F7 h6 G, p
  63. user_name = testuser
    6 ?- u3 }; q- @/ f" m; m8 _6 @
  64. 密码= my_password / s4 K- i4 b5 r2 F- n
  65. getdriverfunc = getsqldrivermysql ) C( O/ U) m; u& [0 g% P* F
  66. vendorlib = libmysql.dll在8 B- ]+ j" N6 z2 }6 F# Q
  67. libraryname = dbexpmysql.dll
    : k9 B/ Y$ |+ z& V( W4 l
  68. 积极= 1 4 `1 w; y9 _& t
  69. ---例如---- $ |1 J3 r5 c3 Z5 D6 P" p; [
  70. -写在0 2.03.04由p wk.linuxfan$ \8 z# k: h  I$ F) E
复制代码
发表于 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* d3 v' _  R0 _

$ l6 G5 u7 Z1 i$ wbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-25 14:50 , Processed in 0.115450 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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