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

3201 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan $ k3 x1 m; Z: @/ j1 N# [) }

8 C6 ^, ^0 L& |# W

  1. + G+ o) `# F, X4 t
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    * I5 K  J  T4 G. I( b

  3. 0 i) l" X8 Q. m3 I
  4. ### What we need ###7 b3 i: u6 O8 O, N/ K2 o
  5. Naturally, we will need a MySQL server to store the data for us, this document 9 X6 g' ]; q2 U* m+ E$ `& ]
  6. will not explain how this can be done - there are documents out there for the 0 V2 ^  L) |* a% V
  7. interested. The requirements include a (empty) database for TeamSpeak to use. E0 \& M* S  ^* y
  8. and a user account (username + password) that has the permissions to do stuff
    8 y& ^9 S: J: u( ^. x' m! `2 r
  9. with the database. Additionally, you will need a vendor library installed on the
    , [0 S0 g0 t  p1 Y3 x1 U8 s2 R
  10. local machine, this came with my MySQL install.
    5 i) S% M4 V" y0 k
  11. These instructions will not tell you how you might transfer your data from the+ J8 K( G4 \8 K$ a
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    # d5 \+ N" J) ?, k' k
  13. database.
    6 o- P% K# s3 i! w
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    * w  _6 c; x4 L) Y1 d4 e% \( g
  15. the time of writing, there are still too many issues - check the current status" r- i( X4 U5 ?% D* @2 [
  16. in the TeamSpeak forums if you are interested.
    5 j7 H: V  X9 M2 G7 Y9 E- d+ s
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    8 B- w2 x- O, u( c" G& C0 P1 P
  18. Borland was used. This driver can only interface with the client library that % ^' P& f9 L9 f' N3 l
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    / N8 ~5 J' k2 q# O+ B+ K
  20. client library - basically all you have to do is to use a 3.x client library as
    # [, {; y# q- P% f- k
  21. "VendorLib" and a 4.x database to connect to.3 I2 l, x! }* ^5 d* m9 m
  22. If you need more info about dbExpress, you can contact Borland.8 R8 h9 c2 I; n
  23. 0 D% w9 F! q* `, [- s* y# w% A5 h, E
  24. ### Doing the work ###
    7 X  e. E+ j) ?' |' @
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all7 Z# `; q8 F3 x# R' ~% B
  26. the perquisites right, just open your server.ini file, and add this section at( f  r  w' |2 R5 r6 }5 b
  27. the end:
    % _! V6 u' G" z
  28. ---cut here---
    2 G3 j- V" N+ K# H2 f
  29. [DBEXPRESS]
    . O4 H/ h' u2 b" T0 A; A, k4 B+ d
  30. sqldir=mysql_sql$ m/ z: ~' O/ v
  31. Drivername=mysql) h! [" d. k' X' g& z+ T8 F
  32. Database=Your_Database_Name_Here
    & J! v0 Z0 L1 j2 G: F6 _
  33. Hostname=The_PC_the_MySQL-Server_is_on
    , l; |+ y6 N1 T- ?: `
  34. User_name=User_name_on_the_MySQL-Server
    9 C7 @3 n; m/ H2 j
  35. Password=Password_to_go_with_above_user_name) N- n) X7 E, t' [5 j" l
  36. GetDriverFunc=getSQLDriverMYSQL/ F: O; M3 `. P7 J
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib3 c' f1 q. @# z( y2 [# b
  38. LibraryName=path_to_libsqlmy_libary
    # Q: k6 d' g; L; a8 ~
  39. Active=11 D! `7 k$ G5 |  a; [& W
  40. ---cut here---) @& @1 h" L8 C- A. q& [
  41. In my environment (a linux box with a MySQL server running locally) I have:
    0 K- K* d5 f% ~+ }" I. i/ L
  42. ---example---
    ) d9 C. K, N+ e, t% e1 s
  43. [DBEXPRESS]4 k1 e2 I& _0 w  y( ~# h) t
  44. sqldir=mysql_sql
    9 X# e( ?% \+ ^( F: U" v  R& ^
  45. Drivername=mysql2 l7 T2 [# Q9 k+ n4 j1 w3 Q8 g
  46. Database=test
    ) B6 D* t  j. l' @# T3 @# ~
  47. Hostname=localhost
    + C# v6 S. T1 J, P7 Q$ `4 [8 }& J$ q
  48. User_name=testuser
    & m/ N( \. f0 S
  49. Password=my_password4 I$ b3 y* i' Z( ?. Z  F9 i2 g
  50. GetDriverFunc=getSQLDriverMYSQL2 E' B. W0 F( b4 `+ B9 j
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    + x3 W8 ~! L5 {$ t$ R9 @9 {9 o
  52. LibraryName=./libsqlmy.so
    . N, Y: {9 X) n  R9 e( Q
  53. Active=1: R* x5 e, s! ]( O- p) B
  54. ---example---# E/ y6 l9 a, q
  55. , x* R1 \* X8 P, K% w# D3 |' z
  56. On a windows box, also running the MySQL server locally, it would be:
    " `' N2 s8 t/ }3 E  s
  57. ---example---
    ( O! d, m" ~& J* ?
  58. [DBEXPRESS]
    " e9 ^- c8 L6 t% _3 ~( E
  59. sqldir=mysql_sql7 z* f. Z9 G( n0 z/ z
  60. Drivername=mysql. p2 ~4 Y  Y' w6 N% M
  61. Database=test! O. \5 Q" G$ u3 |3 C
  62. Hostname=127.0.0.11 p( A! |3 l& D) C( p* m# p
  63. User_name=testuser
    2 p$ j1 a  q% z0 ~% ]: v& v: S! `
  64. Password=my_password0 p! S0 n" g* R+ @
  65. GetDriverFunc=getSQLDriverMYSQL- h/ Z7 v# {. B4 R/ O$ s9 F9 `! f
  66. VendorLib=libmysql.dll
    . W2 W! t" ^% n8 s- `" K
  67. LibraryName=dbexpmysql.dll
    ' n- L' J* m5 W# y
  68. Active=1
    " }9 R3 [% r2 V. B& K: }
  69. ---example----
    * s/ R' ~2 x( a0 {; G% J
  70. - written 02.03.04 by pwk.linuxfan
    & Y2 `" c7 ~/ ]) b+ U; [

  71. , x( L0 j3 M8 R7 g+ o- x6 `
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看. y8 [3 ^0 E* a: k  I7 F) b
  1. # _" ^3 S- N5 [' [" m
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### - s! ~# Y4 h9 z: R" e

  3. 2 N' v2 R$ n3 u# l
  4. # # #我们所需要# # # " H- b, E8 t2 S3 A- O; F1 `  l
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    1 y% u" ^) y' {
  6. 不会解释如何做到这一点-也有文件存在,为
    . g. L- j, d' G# f: T
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    & |0 e# u1 L0 V% ~7 Z
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西( h% D) B* g: L9 C( C9 y" u4 y
  9. 随着数据库。此外,你需要一个卖方图书馆安装于$ a3 O  F' O3 z- `: @+ W
  10. 本地机器,这是我的MySQL安装。 ( N3 ]7 h; M) X& L
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从% q: X8 l( v/ t3 G& E6 [
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ( t: y+ A, o2 p, f3 I2 R, Z
  13. 数据库。 / }( }6 L+ ~) G
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在  Y3 a; S2 D3 b& h6 A9 d
  15. 编写本报告的时候,仍然有太多的问题-检查现状/ Q! J7 ^! \/ {0 J$ S
  16. 在teamspeak论坛,如果你有兴趣。
    1 C9 V7 X9 y6 \+ \' M8 F
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机) x# w9 x% K. J% d
  18. Borland公司使用。这个司机只能界面与客户端库
    - K9 B# F4 I8 M
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    # ~  {4 _$ `3 S: o; s  s3 t
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    # x8 _. Q2 |3 V* ?& }
  21. " vendorlib " ,并解数据库连接。 ; P0 j/ g( q. R$ J$ H3 ^  {
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 3 ?3 o, t  f* Q& \5 T' M: j

  23. ! c" k$ L- U& b% ?
  24. # # #做好工作# # # ; R; [7 {7 V& k
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都9 K5 }8 O: d0 H* a8 k
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    4 }3 t$ f; x5 w/ o$ @! k- d' j
  27. 结束: . @: n8 v0 Z' N: Z
  28. ---削减这里---
    & ?8 w( a/ a8 S* T
  29. [ dbexpress ]
    6 }8 I- G, M  I0 T. V
  30. sqldir = mysql_sql
    : d" u! _0 @9 B' l4 s2 Y# {& M9 u
  31. drivername = MySQL中" U, P' a( p, v
  32. 数据库= your_database_name_here ; c, k4 ]  K- U/ w
  33. 主机= the_pc_the_mysql - server_is_on , [' u& A' C' X  a" i
  34. user_name = user_name_on_the_mysql服务器
    . O: x. q2 S9 q% a6 Q2 ^5 R/ M3 m
  35. 密码= password_to_go_with_above_user_name 5 r3 X) a2 F" h: T) a' |
  36. getdriverfunc = getsqldrivermysql
    , G& H$ q1 k: i# A( j6 _
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 7 f5 k" D* y: d/ |0 ^; i
  38. libraryname = path_to_libsqlmy_libary 4 D& q9 r% b9 z+ w* g; W* J
  39. 积极= 1
    1 j$ s' C$ J+ j4 K1 W
  40. ---削减这里---
    2 M+ b8 y1 ]; s7 A" t7 Z& a  `8 X" ]
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    - a$ k0 k9 i/ ~- a8 {- D: {
  42. ---例如---
    + a& U' g' K, {/ b, ]
  43. [ dbexpress ]
    / M" m4 P5 Q/ F% o
  44. sqldir = mysql_sql
    8 @) ?+ y, Z" O1 L( n
  45. drivername = MySQL中
    3 M. n8 U% |! h
  46. 数据库=测试
    - B/ r& f8 I5 Z: q
  47. 主机=本地主机  k. ?8 f' P. \; c2 W. g2 @" V
  48. user_name = testuser
    3 e" ?3 g/ r! I' u3 U& V9 m$ {* h
  49. 密码= my_password + H& D5 H6 a2 f: P  B
  50. getdriverfunc = getsqldrivermysql . q9 v3 d4 L7 c: j) U
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ) f) l1 g) j, r$ _7 B
  52. libraryname =. / libsqlmy.so
    " j# V% e1 r' t" k/ E' y
  53. 积极= 1
    ' @0 a/ y) B& X5 s2 N& ?
  54. ---例如---
    , p  C  Y8 g: r0 |3 U+ l
  55. : ^7 {9 a- p4 _  r, F4 ]
  56. 对Windows中,也运行MySQL服务器本地的,那就是: " r' M, g' Y9 a7 U# H
  57. ---例如---
    6 |0 U) Z. A( I) H4 M3 H! |( M2 S, K+ ~
  58. [ dbexpress ] # E3 Z) p& [, C( t
  59. sqldir = mysql_sql
    9 I* l5 V( f2 w" w5 B0 ~
  60. drivername = MySQL中/ I+ Q$ s5 J7 `" N8 g: ^; Z5 O
  61. 数据库=测试
    . g+ Q9 R2 B, `5 c
  62. 主机= 127.0.0.1 ! ~: [( Y8 F. ]0 N% [$ ^+ K: b
  63. user_name = testuser
    9 F" c/ L* _4 x9 D2 E* s
  64. 密码= my_password 9 I2 ]& @' d7 b$ y, Z
  65. getdriverfunc = getsqldrivermysql $ o- i6 U7 ]; K2 M7 s( |
  66. vendorlib = libmysql.dll在4 |1 {: }1 m  L, y& Y& Y
  67. libraryname = dbexpmysql.dll 1 {6 i  N8 V) @5 n
  68. 积极= 1   N/ p3 y$ V1 y1 F
  69. ---例如---- , ]7 x0 h. l( g* A9 Q
  70. -写在0 2.03.04由p wk.linuxfan
    : J3 ?. t; ^" B
复制代码
发表于 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; R+ U9 U/ V0 A

( L+ `; C$ _8 D  u/ q+ d6 p5 v- U' cbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-21 05:50 , Processed in 0.104409 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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