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

2926 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan + L9 {! j- E, g8 |# f

: D& V% O+ c* q7 g, g
  1. 0 Y( s; P, m9 x0 M/ o' G
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######) j: Z, G8 @% N/ v' h; K

  3. . s( M' B# P# F: [& [1 P
  4. ### What we need ###
    9 I+ O8 B7 M/ S% {) i
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ' Z1 q# Q# ]4 B8 p- Y
  6. will not explain how this can be done - there are documents out there for the / }8 V" m! |9 V1 L8 F' W
  7. interested. The requirements include a (empty) database for TeamSpeak to use, l( H* o$ [5 w8 h
  8. and a user account (username + password) that has the permissions to do stuff
    % D1 S& ]0 z  y& B
  9. with the database. Additionally, you will need a vendor library installed on the. f% l9 k1 s% m% c3 `
  10. local machine, this came with my MySQL install.
    - f" E/ d/ ]" C  Z* K
  11. These instructions will not tell you how you might transfer your data from the
    + c' a$ e! N  k
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL+ K2 t+ Q. o) \0 c  ]# A
  13. database.
    8 k, T1 Z( N' J7 e
  14. Some users have reported ways to import a SQLite database into MySQL, but at; g) o! ~5 n- S
  15. the time of writing, there are still too many issues - check the current status/ Q; H  {& T; U. F; p8 ~
  16. in the TeamSpeak forums if you are interested.
      g* Y% F$ N" ?2 ^$ M( w
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ( F6 x2 g0 D, o% y0 G( X7 G
  18. Borland was used. This driver can only interface with the client library that ' M, v. W$ v5 z4 n5 g
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this! @" Q7 _4 g" J7 x0 D
  20. client library - basically all you have to do is to use a 3.x client library as " \7 v" m$ L$ d" H0 N
  21. "VendorLib" and a 4.x database to connect to.
    * H/ v5 W7 \2 k5 f1 a
  22. If you need more info about dbExpress, you can contact Borland.
      j) d& ?% D2 h- l
  23. / T! m+ i- i% u' w  m' R
  24. ### Doing the work ###  O* \' [* e0 g* ?+ l! @/ |5 j
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ' B! j" `+ ^( u% G5 f: e- Z( Q
  26. the perquisites right, just open your server.ini file, and add this section at, ?: G; ?2 W$ o
  27. the end:2 P  @# H/ u9 B- h# z
  28. ---cut here---5 d4 J2 U* p( z' b8 D- o: i
  29. [DBEXPRESS]
    ) J7 ]6 V& V6 S6 f  K
  30. sqldir=mysql_sql
    % m. }4 C& n  @8 B
  31. Drivername=mysql
    5 x; b- p2 `8 r3 r
  32. Database=Your_Database_Name_Here
    - l/ i. i+ w+ a9 Q  K: M4 S# q2 g
  33. Hostname=The_PC_the_MySQL-Server_is_on8 V- T' v- R# ?  w7 p8 L
  34. User_name=User_name_on_the_MySQL-Server
    ' i3 o$ `2 S4 s
  35. Password=Password_to_go_with_above_user_name
    $ u1 u. |" [# Z! K, @0 u/ m
  36. GetDriverFunc=getSQLDriverMYSQL
    ' O6 I5 X4 x! {; v' {" H- V; k$ _& M) [1 [
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    & `( h4 V5 B$ d: \+ ^3 R8 Q* h. Z
  38. LibraryName=path_to_libsqlmy_libary) F4 Q5 h  k, g, p
  39. Active=1, e$ n" ]! s$ Q
  40. ---cut here---
    : J2 E6 u$ X9 }* d8 M
  41. In my environment (a linux box with a MySQL server running locally) I have:
    . k' U$ t  F6 T+ k, ?, S
  42. ---example---
    + R2 }: P9 V3 u4 a! j" J& y' O
  43. [DBEXPRESS]
    $ e6 l" w, i1 |  c! G9 z8 J6 A! C( p
  44. sqldir=mysql_sql
    ( z* i( P+ }$ J& j4 j
  45. Drivername=mysql) r" F* u& u+ V# j1 S2 I* d8 `& i
  46. Database=test
    & A$ y! V# E+ ~" h6 x, y/ _
  47. Hostname=localhost" f' B7 A: c4 l
  48. User_name=testuser% r& f& m$ ?8 j4 e, h) }
  49. Password=my_password# O) p, }' [+ X* b" P5 B6 N
  50. GetDriverFunc=getSQLDriverMYSQL
    ! {' U4 a$ H" w& s+ z7 Y2 t- @
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.01 J9 p# U6 g$ }( [6 n2 Q" C
  52. LibraryName=./libsqlmy.so
    # g6 H2 G9 ~$ R
  53. Active=1
    - h" ^1 ?% C/ X+ r8 z3 G+ Z
  54. ---example---! h0 K8 R+ [; e+ m
  55. $ i$ _7 y& d5 O- V
  56. On a windows box, also running the MySQL server locally, it would be:
    ! Z% D$ i' h! ^- f' V7 P8 u7 ?2 V
  57. ---example---
    . S9 y7 S6 G( J0 b  {$ S
  58. [DBEXPRESS]% g( f& a4 N. k9 H1 ~$ P5 J
  59. sqldir=mysql_sql0 _' Z2 K4 ]4 D# Q9 E5 S2 c
  60. Drivername=mysql2 T# O0 W/ T& [  ?/ j! l! x# L# ?
  61. Database=test
    2 h2 y6 k9 o* M' m5 u& I  K3 q
  62. Hostname=127.0.0.1
    3 k5 U, ^' [$ t9 Z& R+ o0 [. `
  63. User_name=testuser* L/ K+ ~" f7 l# _( B
  64. Password=my_password
    7 U" n+ \0 ?  m" L$ N
  65. GetDriverFunc=getSQLDriverMYSQL
    1 C2 d+ F6 Y; ^7 B
  66. VendorLib=libmysql.dll
    % V3 k" C8 x( E  y5 m8 m( h# R# u
  67. LibraryName=dbexpmysql.dll1 D& ~% M6 C/ }% |
  68. Active=1
    * L# j: a" d9 k
  69. ---example----
    # c/ |, i  F: w+ m* ?
  70. - written 02.03.04 by pwk.linuxfan  h; }8 R5 F" h' L8 }

  71. : H# M. B% W! r/ p
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
5 N4 ~: }" E. V& A+ J* C

  1. # C% ]7 ~8 h, V; H& s1 t; z
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### $ J; B  G! v  C' y5 a/ }( r

  3. " n( y  h$ m  U2 Y  M
  4. # # #我们所需要# # # ) v3 {1 F. V- }) j- s
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件  L. y- J; i- K
  6. 不会解释如何做到这一点-也有文件存在,为9 [( C1 B. I: h
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ! y, k+ N& e* L6 E
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西$ D7 i+ g6 H7 t0 X6 q
  9. 随着数据库。此外,你需要一个卖方图书馆安装于3 x% _; S& m' ?1 n# @8 V4 e
  10. 本地机器,这是我的MySQL安装。
    7 ~% [* {) S% }
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从# Z4 G4 h" x5 f8 O$ c/ o: f
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    $ {- h$ a" h0 P: w# L
  13. 数据库。 & p1 G( k& K2 b/ R% E4 Y
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    . g: M1 J% i7 h. P' j8 l; G
  15. 编写本报告的时候,仍然有太多的问题-检查现状& _  I9 }5 W" e2 @- I) t( J
  16. 在teamspeak论坛,如果你有兴趣。 . k  m5 [! S: f* e# q% P( B8 {
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机# t' u: q0 ^" y
  18. Borland公司使用。这个司机只能界面与客户端库
    5 p$ l0 f/ Q$ A' z, W+ w
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    4 J5 E4 w7 v& C+ O! E1 ~
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ! Q7 |" K3 t# E) j  f+ |- @
  21. " vendorlib " ,并解数据库连接。
    7 V9 g2 b( [: Q4 W* R' L7 S0 y! H
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    & q0 f# R1 x  o1 o$ e; p

  23. 5 l$ }6 Q: F. h
  24. # # #做好工作# # # . Z7 R  c& \0 o7 S6 X( j" `5 t
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都  F+ L/ i# M2 B7 n
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    8 F4 h0 n0 J- S9 K0 J3 @  b2 t0 V
  27. 结束: & K1 ?3 H  G9 K2 h5 R' F9 N+ q% J
  28. ---削减这里--- 3 r7 f2 R; g& {- [
  29. [ dbexpress ]
    9 h$ ], V8 L! d: \  v1 L
  30. sqldir = mysql_sql 7 L  f# x+ t+ g' t* G8 C
  31. drivername = MySQL中
    3 x" E" i2 ]. L* C) @6 H4 s
  32. 数据库= your_database_name_here " U+ Y  T6 Y6 s* `6 s- m
  33. 主机= the_pc_the_mysql - server_is_on - |% Y* j0 f  i  B9 l3 `- [
  34. user_name = user_name_on_the_mysql服务器
    1 g1 ]) K! X$ W: G! f
  35. 密码= password_to_go_with_above_user_name
    ) f! j9 M  H% t2 y9 B0 x; y6 m2 }
  36. getdriverfunc = getsqldrivermysql
    " {; E" i8 P+ I; V, N5 V# P
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    % I+ ^/ u8 _+ c9 S8 N8 ~
  38. libraryname = path_to_libsqlmy_libary 9 @3 Q, \6 D8 U5 Z: {+ z
  39. 积极= 1
    6 R( S) c# g3 S! X8 z+ b
  40. ---削减这里--- $ j8 g, v' y2 A% t" F9 z
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 6 p7 _, c( G+ S: N1 \
  42. ---例如---
    / f  @3 v8 ~9 g6 S5 Q
  43. [ dbexpress ]
    # K* e/ p2 ~$ H, z! Y
  44. sqldir = mysql_sql
    + g& C. o1 [" P! i" Q
  45. drivername = MySQL中
    9 [) \9 `, f5 d; D% `
  46. 数据库=测试
    " A! X: f2 t( m, t
  47. 主机=本地主机  f; V7 Q8 s7 _
  48. user_name = testuser . F, z6 T0 {% q
  49. 密码= my_password " R4 C  x) d) _8 i4 N* o
  50. getdriverfunc = getsqldrivermysql * V; v' |6 w5 l: D% ?
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 " _( K! K' q) ~) x, J
  52. libraryname =. / libsqlmy.so . [; ~4 d" A% a4 r9 G! i
  53. 积极= 1 1 T- }# l4 t5 ]9 H4 [; X
  54. ---例如---
    # T8 o7 j) W" w7 W% s5 F9 A4 W7 k( B- i
  55. 7 J2 A4 }; g4 ]: K' b$ e
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    : R- ~4 {* ?6 j
  57. ---例如---
    7 B& @- O7 G! x6 }
  58. [ dbexpress ] , f! z1 z& E# ?( W' g5 O$ l; g
  59. sqldir = mysql_sql 4 g8 s$ ~$ {9 u! t6 \8 o5 O. e$ n( a
  60. drivername = MySQL中2 F# r8 A1 ~3 J0 ]1 W/ l
  61. 数据库=测试- {1 h5 ^  w7 t: d; N& m, v
  62. 主机= 127.0.0.1 9 P, S4 @: I/ |6 W; T& W: e
  63. user_name = testuser 4 r) Z: k9 R9 s$ D2 v! Z7 b- n
  64. 密码= my_password
    ' E, |2 L. a) t* i) {1 r
  65. getdriverfunc = getsqldrivermysql # M6 T$ N, D" i) D4 u
  66. vendorlib = libmysql.dll在
    5 {4 u* B9 P* k( h) {- R9 u7 U% j
  67. libraryname = dbexpmysql.dll 5 _$ O, G5 _  `. {, c
  68. 积极= 1
    2 w2 b$ c7 {7 T
  69. ---例如----
      a( h6 W: y* Y3 l9 V6 {
  70. -写在0 2.03.04由p wk.linuxfan
    , t; H2 @5 ~5 D/ Y0 Z3 K$ z
复制代码
发表于 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
5 U, q/ @- u7 q& h
$ j( {( b! _% \2 ~8 o/ Pbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-23 00:41 , Processed in 0.112713 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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