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

2914 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ; {  A# H6 r' X1 M5 r) f+ t
' e( r* s( b; \3 l
  1. . v  x$ N7 a  U6 K+ x: x
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######  w% z1 Y/ g6 F3 x/ k: F
  3. % v0 c$ U2 {" w. F' }- m. q( |
  4. ### What we need ###
    : h4 Q6 g- |$ f+ i; |9 a1 Y
  5. Naturally, we will need a MySQL server to store the data for us, this document
    9 s( m" K& ]# e5 w- S( b
  6. will not explain how this can be done - there are documents out there for the 6 x7 N7 k7 t$ `; B$ y; w1 N; ?# Z# \
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    + V$ O% J6 |: U7 ]: m
  8. and a user account (username + password) that has the permissions to do stuff
    2 k2 `6 w4 N, ~2 L! _1 n! K5 l/ M
  9. with the database. Additionally, you will need a vendor library installed on the
    1 _- r- H/ t7 k6 B% c
  10. local machine, this came with my MySQL install.$ n  h# H, r1 }$ k* s8 J, H$ z& p
  11. These instructions will not tell you how you might transfer your data from the/ J: T8 ^2 p7 }5 @0 M. N* `
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    7 `+ S, X; n' d  |; z
  13. database.5 J7 r1 j9 I, D4 E3 P
  14. Some users have reported ways to import a SQLite database into MySQL, but at0 Z$ B9 `0 m' o7 S  r" P$ d) b! h
  15. the time of writing, there are still too many issues - check the current status; P, _* K6 q/ t7 Y) T; L3 p
  16. in the TeamSpeak forums if you are interested.
    / b' e. k1 y8 O' e. T6 E6 A
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    8 U% F% z5 \5 T  S/ m, Q
  18. Borland was used. This driver can only interface with the client library that 6 l* _8 b* }' ]+ u9 P9 S! v4 C
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ! z- ^. ]; Z" b% P- @
  20. client library - basically all you have to do is to use a 3.x client library as
    4 A5 _4 O7 [/ E3 I4 @7 E
  21. "VendorLib" and a 4.x database to connect to.
    0 v4 [2 J( \0 r- e% @" a3 ]
  22. If you need more info about dbExpress, you can contact Borland.
    6 X# i5 v; A# w. @8 h
  23. % z+ b: R6 `8 s9 r6 v
  24. ### Doing the work ###1 H$ `: g- a, S; n
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all5 r6 k7 _1 b- c; L8 e6 x
  26. the perquisites right, just open your server.ini file, and add this section at0 p7 O5 G3 x6 M- k" p
  27. the end:: y7 w$ C* ^( p8 b& Z) C
  28. ---cut here---% q! O# [% t! S2 d
  29. [DBEXPRESS]
    7 s) m; M+ m$ O* v
  30. sqldir=mysql_sql. j+ Q) l. }) \8 u5 a$ n  |
  31. Drivername=mysql/ H. y  r5 ?9 |+ u  j9 n. O
  32. Database=Your_Database_Name_Here" z& `- b! R! E( O, H  }+ d
  33. Hostname=The_PC_the_MySQL-Server_is_on
    4 L, E2 @3 i# F9 g2 i0 o' d* j
  34. User_name=User_name_on_the_MySQL-Server& `- a) I' q* ?: t
  35. Password=Password_to_go_with_above_user_name
    / l# q; W+ V5 t: M# e3 g
  36. GetDriverFunc=getSQLDriverMYSQL
    ( H& ?# G+ I. o" N4 R
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ! f6 ]- r/ D  c6 E7 k, j+ d) W
  38. LibraryName=path_to_libsqlmy_libary: h1 v3 b- s$ ]3 j. M% Q
  39. Active=1
    # {% X3 p3 p+ y% u
  40. ---cut here---
    2 X% E+ O" {- q2 m& S' E6 i
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ( w: G3 k$ ^2 |* f# A
  42. ---example---5 ~$ q! j. A: l/ M# u5 p
  43. [DBEXPRESS]
    % p* Y8 R( z0 e1 G2 c5 X& Y
  44. sqldir=mysql_sql
    + x8 ~" D% U0 U9 I
  45. Drivername=mysql/ D  u0 _5 H) }
  46. Database=test
    . h4 v( L( v# }3 q
  47. Hostname=localhost. j8 n. U) f6 H- L+ p9 U
  48. User_name=testuser$ N/ D1 W9 H- X% l
  49. Password=my_password
    ! Z- O2 p8 _4 U# E5 G& L" z8 x
  50. GetDriverFunc=getSQLDriverMYSQL
    3 P# u+ a$ v" c& b. D* k5 ]- h* g4 o
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ! }% |3 X! ~! E; g' r# ]9 h
  52. LibraryName=./libsqlmy.so, m9 E% N  d- I
  53. Active=14 y" x. ], d5 ?1 G
  54. ---example---8 `- s: N. e! i! l0 u' F2 ^6 e% c
  55. ; j/ X# ]1 D$ m! L) x
  56. On a windows box, also running the MySQL server locally, it would be:9 e  |6 |1 O* Z6 o
  57. ---example---
    6 B- i# W/ j' `! E2 V
  58. [DBEXPRESS]( B, m, B) [4 T6 p  B4 A
  59. sqldir=mysql_sql9 M3 O" T# l7 ~/ r: F
  60. Drivername=mysql
    ! E' ]# Y$ F& b% ?! L. q
  61. Database=test
    0 w, }# O' \9 V: i
  62. Hostname=127.0.0.1
    ; T4 h; G9 H% \' H4 v
  63. User_name=testuser* P# M- ^. r. N; O% d! K+ `
  64. Password=my_password
    1 b$ k- _( L/ H+ i5 X* O) R
  65. GetDriverFunc=getSQLDriverMYSQL) E3 ?* Q6 f: M) ^8 E0 }$ @
  66. VendorLib=libmysql.dll
    2 I. q; ^, u; d  V) w6 }2 C5 Z3 Y2 X
  67. LibraryName=dbexpmysql.dll: y9 d4 y" W1 c4 A, t+ i# Z' i
  68. Active=1
    * f: v; Y+ `- B' K# W3 L
  69. ---example----7 \9 B; z# b1 X& a( }1 U
  70. - written 02.03.04 by pwk.linuxfan
    1 g6 ^: b  I: n! |& p) b* p

  71. # d5 F3 |) I2 Y" B
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
; d5 ]6 j( q; `: A+ F

  1.   R8 S) Q7 o: u, d' k3 s
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### " w- i# g( x0 Q! l' M% j

  3. - r& d( C$ R5 e5 }) q& s: H
  4. # # #我们所需要# # #
    , o8 |# A6 g4 @4 i5 u
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件3 r9 ^; B$ r. x6 C- [- P
  6. 不会解释如何做到这一点-也有文件存在,为% h( {6 J# J+ E, |* p
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用. b  o- J4 M+ }( T
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西. o3 v, P' q' _3 g
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    9 g& s+ `& [! {6 D8 g2 m! U
  10. 本地机器,这是我的MySQL安装。
    2 I- M% |4 a3 ]- n- W% R
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    8 I) r( R! O& I' M- j& P
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL & B! L" ?& D! c* ^; C
  13. 数据库。 4 p0 w8 A) G0 a3 v' C
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在4 r4 f4 k1 q$ [; r# ]- Y5 W
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    % v  B7 y) J0 d0 T8 e) f
  16. 在teamspeak论坛,如果你有兴趣。 0 b) C3 [; x; }
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机% ]- b! ~) C8 Y+ x
  18. Borland公司使用。这个司机只能界面与客户端库
    ; u+ X- o( E% f" x
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这& v: \" M2 h2 e$ z8 G
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    8 e( ?5 m. q& ~6 M
  21. " vendorlib " ,并解数据库连接。 $ v$ |3 \0 x% I- Z/ C6 _
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    9 D, B. B& U$ c

  23. 0 I: b7 h# f4 a/ S, m* Z
  24. # # #做好工作# # #
    $ B% i3 ]% `/ R1 p' C3 I
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    + e9 k9 r* i- C* R
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在3 {+ _- |$ E# I" I
  27. 结束:
    " X6 Q$ k# u& [' Q6 b
  28. ---削减这里--- - Z3 i8 [3 V; X( _0 R
  29. [ dbexpress ]
    / c  T  J+ i8 S' G
  30. sqldir = mysql_sql # E" J2 S  H# y
  31. drivername = MySQL中
    ! c7 n; t% ^2 G- b! M
  32. 数据库= your_database_name_here - i0 w& S/ `5 A; a5 t
  33. 主机= the_pc_the_mysql - server_is_on
    3 E  R2 A; V- I$ S6 M
  34. user_name = user_name_on_the_mysql服务器. S9 m6 T" U; k
  35. 密码= password_to_go_with_above_user_name 6 w9 `! |5 O# |0 U
  36. getdriverfunc = getsqldrivermysql 3 E3 m1 d3 R3 J  ^
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    - z# M! l' t# m" C5 |
  38. libraryname = path_to_libsqlmy_libary
    - w1 }  o" q7 f- w( t" A6 l
  39. 积极= 1 # P, m8 s3 l( Y1 i" v
  40. ---削减这里--- " _1 K6 @) P/ |7 j  Z: [. L0 v9 ^
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    / X% |1 U8 q; s: x
  42. ---例如--- / I8 \, Z5 n: Z2 Y
  43. [ dbexpress ] 4 f1 e0 z: f  h- s0 U. q
  44. sqldir = mysql_sql
    2 _/ L% I' T9 N7 C
  45. drivername = MySQL中
    5 {0 g% p" U! {$ p
  46. 数据库=测试
    2 b3 j( v  b: a" W1 m7 t
  47. 主机=本地主机1 G! ^  U3 U9 W. s2 }9 S
  48. user_name = testuser
    ' L3 b& R0 h' u
  49. 密码= my_password
    ; T3 l% f8 e( C0 h+ d
  50. getdriverfunc = getsqldrivermysql ; C! u. _# l& t7 M) [1 @* }" u
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 1 |( G0 l8 d* z3 o- H8 ~
  52. libraryname =. / libsqlmy.so
    - W& l2 ^  A6 @; F9 ?- |0 P8 n
  53. 积极= 1
      R1 a( M# D: p; p3 T$ Z
  54. ---例如---
    . t8 w& t9 T$ @; t8 `* B
  55. + u9 D4 V" J: W, h
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    8 i# V& }# o) w$ M5 a
  57. ---例如---
    9 m4 s  V5 Y( e; Q3 n& R
  58. [ dbexpress ] 0 h2 C1 W) T6 S" k2 R" J
  59. sqldir = mysql_sql ' a; j: H  V6 R" y' l0 t2 ?
  60. drivername = MySQL中
    8 g! J& K& `$ {8 m' D  T
  61. 数据库=测试
    : S8 w& o1 G) `  s1 Q4 J7 c% G2 v
  62. 主机= 127.0.0.1 0 g9 H1 i1 r: T
  63. user_name = testuser
    ! n" q0 O; _: s3 J) D
  64. 密码= my_password # h  r3 ^- ~5 U% ], X8 Y8 e
  65. getdriverfunc = getsqldrivermysql
    # R$ Y) C3 m9 }: ]) T
  66. vendorlib = libmysql.dll在/ r- ^( j* X2 F. g& Z
  67. libraryname = dbexpmysql.dll 0 e2 W: \# W' k' x9 [7 G" w
  68. 积极= 1
    . n+ k# I$ q" J5 x# G" ?
  69. ---例如----
    . p) I) n% ?, ^' I* z$ g
  70. -写在0 2.03.04由p wk.linuxfan3 i/ E5 G$ y. G" u9 e9 H; b# j
复制代码
发表于 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 words6 F2 ]+ y* [3 P7 Z! `7 d

( r/ C! w/ l+ ~but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-19 21:43 , Processed in 0.102418 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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