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

2904 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
# Y9 x1 x3 [% y- D# h. L* P" z6 ]4 x; U" Z+ `- e9 {8 ?

  1. ( j" c$ `$ c# U9 n4 E( F, t
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######% n7 O. G/ g8 B0 I5 b5 w: d
  3. ' _5 g9 ]8 T! q; l
  4. ### What we need ###+ A4 D. a( d" ^" R% \; n' |# k
  5. Naturally, we will need a MySQL server to store the data for us, this document
    / u* y5 h  X$ y4 `( o3 g
  6. will not explain how this can be done - there are documents out there for the : V% l+ O; J+ a$ N2 v# b8 u& }
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    / _' a6 ^8 Q6 k, g; ?) J4 ?" O* B
  8. and a user account (username + password) that has the permissions to do stuff# ^9 l$ X. S- W1 Q% |  F
  9. with the database. Additionally, you will need a vendor library installed on the  i; V3 z6 D; S9 y5 ]: `9 I
  10. local machine, this came with my MySQL install." w9 ]" \4 j% T$ J+ e, R# F2 L
  11. These instructions will not tell you how you might transfer your data from the
    . u8 q" ^; A3 P! D! }. _( ]
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    6 A2 q6 Q9 x+ \
  13. database.
    $ C' M4 K0 R+ }+ K; m7 Q
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    : \4 b) l* b' O! _  g
  15. the time of writing, there are still too many issues - check the current status
    ; G& I, b) B+ ?. E7 g
  16. in the TeamSpeak forums if you are interested.
    3 l. `6 {  K( f2 \. d; `
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    . R! U/ K6 M2 t$ T
  18. Borland was used. This driver can only interface with the client library that ' K; }- d# v! N& Y# P% W
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    . W/ b4 a- \0 K% c0 a5 l6 U/ T
  20. client library - basically all you have to do is to use a 3.x client library as
    4 I* n. F$ y& _1 F1 [1 ~
  21. "VendorLib" and a 4.x database to connect to.6 {0 H2 A" P4 @% C% {
  22. If you need more info about dbExpress, you can contact Borland.
    ! p! g1 |8 s8 `: l

  23. , ^7 L8 T% ~% q: Q- D' n5 t7 {
  24. ### Doing the work ###( M' G4 f3 `% n
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all" Y0 {, Y& P3 T; J" N
  26. the perquisites right, just open your server.ini file, and add this section at/ [6 X/ w/ E$ q, i% `% m
  27. the end:
    7 F' E% E$ d9 c5 y7 C
  28. ---cut here---
    1 d0 D2 h) H8 l( b. ~
  29. [DBEXPRESS]! U% r; ?$ K  J* d3 ^) b8 D
  30. sqldir=mysql_sql) H( n; X' D. d: Q" J7 A! l
  31. Drivername=mysql: y8 f6 m: H. v) Q
  32. Database=Your_Database_Name_Here
    0 s. j' s7 e* h. {( T( B  f
  33. Hostname=The_PC_the_MySQL-Server_is_on2 b. ?3 G: Q- h
  34. User_name=User_name_on_the_MySQL-Server
    ' q; U% R$ c  a8 b+ [. |/ T
  35. Password=Password_to_go_with_above_user_name6 a* ~5 @) r' v1 R; i* N
  36. GetDriverFunc=getSQLDriverMYSQL
    ' w9 h2 @1 y8 w0 [5 ^
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ( H) j. C' {. E7 o$ h! v
  38. LibraryName=path_to_libsqlmy_libary- J$ _( X8 @. H9 l% O' L
  39. Active=1$ m' }0 l9 U6 u  @
  40. ---cut here---# D, P3 s3 H. F% K3 H
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ) [. W6 Y, E- n
  42. ---example---2 G/ G. X/ A% m4 A8 H9 k0 h
  43. [DBEXPRESS]8 d* N1 F- G+ I/ Q4 \
  44. sqldir=mysql_sql
    5 [! t3 C7 B8 S0 R7 C6 _
  45. Drivername=mysql- M4 M0 @4 G# R" m
  46. Database=test) O- {3 G& e) j/ u8 h7 U
  47. Hostname=localhost
    , Y, J" {) B. j1 w+ u: c
  48. User_name=testuser1 e/ V. H& P4 Z; l7 `2 F! I- o
  49. Password=my_password
    * f" I+ `+ Z* E: v" P( M
  50. GetDriverFunc=getSQLDriverMYSQL3 e, k" s  p+ d1 S9 `0 z
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    : S5 Q! b  `3 f3 ~- y# ?& C, L
  52. LibraryName=./libsqlmy.so- B3 I2 B5 ~$ W9 X7 \6 q; e* O5 W: w; d' T
  53. Active=17 `6 d% R" x2 k- t
  54. ---example---2 O) D* f' Y3 J: F) H( Y

  55. 4 ~6 a. ^+ T2 X* O5 ?6 ?% ~
  56. On a windows box, also running the MySQL server locally, it would be:) t( d( [$ C0 O4 c) c: `! I5 w
  57. ---example---! z& o2 R' M3 g; Y
  58. [DBEXPRESS]" a( ?" D" x+ h2 P) c( l, a
  59. sqldir=mysql_sql; L( S8 b# |* L& F
  60. Drivername=mysql
    2 G  r% g( w, Y* p
  61. Database=test5 P6 H% _2 {) {6 ^- s- h  t4 d+ z
  62. Hostname=127.0.0.10 c# h) k9 u) D7 W
  63. User_name=testuser/ q; z8 h1 f2 ~6 z
  64. Password=my_password: B. P- c# x) \$ ?
  65. GetDriverFunc=getSQLDriverMYSQL
    - A+ [5 r4 D7 b6 d' k1 U8 i
  66. VendorLib=libmysql.dll9 g' i/ l2 j4 |+ R9 b2 z$ D& O$ @
  67. LibraryName=dbexpmysql.dll
    ) _# J% b% t4 v
  68. Active=1
    & M7 ?! C. e1 x7 ]( W: F  f
  69. ---example----
    2 D; o# T. r( V: N5 R, h
  70. - written 02.03.04 by pwk.linuxfan
    ) V; \' B5 M$ ]

  71. 1 u- ?/ C; ]! @: ]; W0 r
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
! G/ x# [& h9 G5 r
  1. # z" T! a* q) {8 E; w
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 4 R. x& s/ k( i# S+ t; d% w" C! _

  3. 2 P) C2 c! x# d# z/ ^; b
  4. # # #我们所需要# # # 2 B( y4 g2 F% P5 E
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件. K$ a& M7 D6 M6 ]: e/ c* i9 a0 O* Q
  6. 不会解释如何做到这一点-也有文件存在,为7 U, q8 y0 _) D# R' m
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用0 n0 F8 _, w0 F; ]9 Y
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西! k. ]) I* T4 ]# P" \
  9. 随着数据库。此外,你需要一个卖方图书馆安装于* o3 d5 o1 A) o8 q& u; I, T, U
  10. 本地机器,这是我的MySQL安装。
    1 X: g5 T" k( C9 z1 {% G
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ! r# H8 ~! w  v- f
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 8 G& @  U- c% z. C0 B4 _1 `0 s
  13. 数据库。 + a( G" g. j( G8 r
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    1 I0 a2 C  r3 ]* K8 i
  15. 编写本报告的时候,仍然有太多的问题-检查现状* ~, m) z: I, ^. |7 [
  16. 在teamspeak论坛,如果你有兴趣。
    ! q4 l/ w& e' F  Q
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机8 ~3 g1 E7 t+ ^& h! {, \4 h1 g
  18. Borland公司使用。这个司机只能界面与客户端库
    : {( w7 u5 a( g2 k3 D  t/ ~- H
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这) l4 [7 T& P/ B& }+ e, h2 Z5 H* P
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ( W6 }5 R5 w' h) m3 J1 ^8 X5 E
  21. " vendorlib " ,并解数据库连接。
    : |; i$ K* ?( h  m6 r: Q/ q
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 : n6 ?% f" e/ m4 M7 }2 k

  23. & x" b5 b% b! O0 Y* e+ b
  24. # # #做好工作# # #
    4 z, \" ?3 G* d0 p$ j4 }# x
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都  g1 U; D& V2 Z5 f7 G5 p
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在6 u* p, Y7 z4 f
  27. 结束: 3 J; f& h+ |5 Z  Z9 D2 D4 }
  28. ---削减这里---
    & L2 Q: F/ ?9 t  M6 e# j; N8 O
  29. [ dbexpress ] : }* M  M/ L" t9 A7 C# i
  30. sqldir = mysql_sql ) D8 e& y  \7 {' e
  31. drivername = MySQL中
    9 G3 C4 Z# z5 @6 R9 c6 s6 `/ \
  32. 数据库= your_database_name_here
    9 c$ X% B: w' r0 M3 T7 _0 w6 w
  33. 主机= the_pc_the_mysql - server_is_on ) p0 N" a  S; a" G
  34. user_name = user_name_on_the_mysql服务器7 b& w. W  Y7 Z( M9 l
  35. 密码= password_to_go_with_above_user_name % R( Q2 h' t% i% y# [8 b  L
  36. getdriverfunc = getsqldrivermysql
    , V5 t! I: Z; t' H" Q( K" H
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    $ Z. H3 I1 ]4 J: X  I3 x
  38. libraryname = path_to_libsqlmy_libary 2 R) q" t; [7 z
  39. 积极= 1
    1 K8 N# O4 n% j" M" o" B( R9 H
  40. ---削减这里--- - _+ R% ~  a: p9 p& o
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: * `. G3 V2 p7 {$ o
  42. ---例如---
    1 ^# z; T' h$ k5 Z
  43. [ dbexpress ] 8 E% C3 `5 X' ^8 t+ Q0 O& m# d
  44. sqldir = mysql_sql 9 v* P- N- [. G. I$ L
  45. drivername = MySQL中8 V; {! r# ]% E$ T, d
  46. 数据库=测试
    ! D% e1 N/ t) }! Q7 I' d. ?+ ~* ]
  47. 主机=本地主机3 q  f4 X  |8 o' n8 c& M7 O
  48. user_name = testuser * E: }! n$ v. |/ X. @' k/ R" b
  49. 密码= my_password
    ' S7 P+ X8 T; q0 r  n
  50. getdriverfunc = getsqldrivermysql
    7 W5 V/ R1 w8 t8 z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    - i" b0 D! e5 i) X5 _
  52. libraryname =. / libsqlmy.so 8 B: P8 \: d1 ~# q1 q# n* A4 H
  53. 积极= 1
    5 L7 E  A4 ?+ n5 h3 W! q
  54. ---例如---
    / @. t  w3 o, |6 ?+ ~, M

  55. * ?' L' X0 H/ H7 C0 x
  56. 对Windows中,也运行MySQL服务器本地的,那就是: , C& }) |1 x; [) O2 f- g) Z
  57. ---例如---
    , t( h  H1 ?* F4 T
  58. [ dbexpress ] # w9 L- O. H% D- k
  59. sqldir = mysql_sql 1 X# Z: _/ F- ^# Z- B
  60. drivername = MySQL中0 _3 Y2 z% q/ E7 ]" V
  61. 数据库=测试
    , N/ o# O/ K2 J  _: n6 |3 Y2 e
  62. 主机= 127.0.0.1
    7 d% v2 t' K( f. h1 w# e, ^' N9 p
  63. user_name = testuser / Z! v' ]. a9 _* U" `3 I1 g( x
  64. 密码= my_password 8 }6 X/ w/ D) k8 y7 b' _+ u
  65. getdriverfunc = getsqldrivermysql
    9 A* k: @) K9 \) @7 K! A
  66. vendorlib = libmysql.dll在' O# A- o+ V, _5 G! M4 l+ @# E
  67. libraryname = dbexpmysql.dll
    5 V! d- R9 D3 y
  68. 积极= 1 . X- r  B! p3 N
  69. ---例如----
    ! C  K' ~$ o6 n7 C
  70. -写在0 2.03.04由p wk.linuxfan
      s3 a& a2 `6 {* W
复制代码
发表于 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  L$ U  x! [+ W* ?

& ^- Q' p* m$ x& y: Tbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-16 22:08 , Processed in 0.099653 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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