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

2354 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ; e2 s. }' {8 t- O6 J
' C+ W$ H+ ?4 J) {
  1. , R. U2 n6 Z: k$ i+ f
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######7 E6 x2 f, K; e9 J* l
  3. ! Y! u5 q7 K! A" t8 o
  4. ### What we need ###$ N1 |4 h4 v4 p8 m3 Y/ u9 R
  5. Naturally, we will need a MySQL server to store the data for us, this document
    8 i& t: @/ V6 I2 N& U# S8 z
  6. will not explain how this can be done - there are documents out there for the
    ( ^$ k) A: P0 V
  7. interested. The requirements include a (empty) database for TeamSpeak to use+ _  Y9 u" A, w! M. k% w
  8. and a user account (username + password) that has the permissions to do stuff
    5 q, L. M) o3 t  c. o
  9. with the database. Additionally, you will need a vendor library installed on the6 `- s7 C* R7 L* c
  10. local machine, this came with my MySQL install." A0 z! Z+ a7 z' v9 D. g
  11. These instructions will not tell you how you might transfer your data from the. n6 _8 o/ a, s2 N, A4 g
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL2 G1 a, e1 G6 b) Y# i0 L
  13. database.& e1 G1 Y) j2 d- E$ b* p# `
  14. Some users have reported ways to import a SQLite database into MySQL, but at& \5 p. f6 E* b0 [0 l' @" h: H, L
  15. the time of writing, there are still too many issues - check the current status/ b1 f; U/ t1 x  W: a' c/ O' \
  16. in the TeamSpeak forums if you are interested.
    " F/ k. S5 L9 K* T
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    6 C# }: ^  o# r* W
  18. Borland was used. This driver can only interface with the client library that
    # j; U' B4 W9 r5 e( f
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    / j& k1 q+ H% [6 }1 ^* ]! Z% H8 O; S
  20. client library - basically all you have to do is to use a 3.x client library as - v3 F! V* j! {! }  {  ]
  21. "VendorLib" and a 4.x database to connect to.3 q5 g& M) w8 y5 n" k& w
  22. If you need more info about dbExpress, you can contact Borland.
    4 @3 q: d8 F6 F
  23. 6 t2 S7 A6 N  `
  24. ### Doing the work #### {2 q' T6 g; x: `& l6 b
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    # g3 G; c# X* `$ N9 e- t) F+ Z
  26. the perquisites right, just open your server.ini file, and add this section at" o! I# g; b6 e% w
  27. the end:  m, R2 ^( U) Z% X8 J6 w
  28. ---cut here---7 l) k5 e% ]0 T
  29. [DBEXPRESS]2 D- j' s  |3 k2 A+ ~: }# w
  30. sqldir=mysql_sql
    # o9 \9 t! G/ J7 a/ a  }; D# X2 u
  31. Drivername=mysql! O5 c" ~% \$ H
  32. Database=Your_Database_Name_Here1 C8 \" _  t4 N
  33. Hostname=The_PC_the_MySQL-Server_is_on% J, L( o# W7 Z/ P- X5 m, J; _: |
  34. User_name=User_name_on_the_MySQL-Server5 [: O3 z! J; J1 G6 k- I) t1 H2 ]
  35. Password=Password_to_go_with_above_user_name- F- K) B+ P- ]& B7 b3 m* |2 T
  36. GetDriverFunc=getSQLDriverMYSQL/ U  }7 d# V6 l: S0 v! ?
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib6 l0 o8 M2 R  @3 O  @! T+ k- v
  38. LibraryName=path_to_libsqlmy_libary
    ) ]  x- p! k/ R  Y" }3 d6 i: t% ^
  39. Active=1
    & M" y- N* A+ N3 @6 O' w8 g
  40. ---cut here---
    0 x. L3 Q9 {) W3 j
  41. In my environment (a linux box with a MySQL server running locally) I have:  x- ^' s, O0 A
  42. ---example---, F/ u8 {& ~1 y+ Q
  43. [DBEXPRESS]
    # p) {( Z0 W7 j6 j$ P' d! M
  44. sqldir=mysql_sql
    & v: p. P' n4 M2 e
  45. Drivername=mysql
    2 {2 v# \8 D4 t" H: `8 a0 R
  46. Database=test
    ) m  h7 [) E4 R! b* C2 Y* [
  47. Hostname=localhost0 D! r& D- }% A2 V5 J- k/ S# ~
  48. User_name=testuser% Y( A( N4 |1 R; N$ b
  49. Password=my_password% W6 `1 y3 T& a9 d" W9 u$ Q1 D
  50. GetDriverFunc=getSQLDriverMYSQL( E9 ^4 ^: u; V7 K/ n) U
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    + i8 f5 t$ {6 x! l# z
  52. LibraryName=./libsqlmy.so$ I6 @: W/ H4 B; I: e$ C/ |% [
  53. Active=1
    8 ?- S3 F# M! g" A! {
  54. ---example---
    - x: W$ I4 W! Q

  55. & m3 s  f7 i0 F! y
  56. On a windows box, also running the MySQL server locally, it would be:( r% C# K& f( p8 s0 N& m  z' v
  57. ---example---
    / L" t- @  [9 T# u
  58. [DBEXPRESS]
    ! }; ^( ?2 a$ N# Y9 M
  59. sqldir=mysql_sql
    3 y' M' \* Q7 o8 h
  60. Drivername=mysql2 F) h& r& ]/ |0 T
  61. Database=test, g2 L6 ^  v7 _0 r3 i1 Z1 w
  62. Hostname=127.0.0.1
    6 ^( W$ y9 c! m" c
  63. User_name=testuser
    # x) N0 L3 I7 m' {$ H
  64. Password=my_password( X% `  b/ ^1 P! C4 ~. K
  65. GetDriverFunc=getSQLDriverMYSQL+ \) K/ L# Y6 [# E" k; F  V. `4 l
  66. VendorLib=libmysql.dll5 A4 L1 s6 f1 ?
  67. LibraryName=dbexpmysql.dll4 M: D, u, K+ y* J" x7 p$ n
  68. Active=1
    2 N. Z# |# e! \2 c5 D2 J% w
  69. ---example----* y3 f! t, w; U& U. C7 W
  70. - written 02.03.04 by pwk.linuxfan/ i' D4 w/ q4 R% j2 b

  71. 4 t4 k7 B5 ~% E) R+ t! L- P5 h
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看& Z9 }2 t% A! z  X# O
  1. & K7 f( D) u, ]* R( I) s: t
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    - v+ ~/ v& I- @3 `" N5 {
  3. % x: v, S) I9 d1 l' x" s
  4. # # #我们所需要# # # & G+ {- O. @+ |# R, ^
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件) A* |* N9 ?5 J. K% m8 Q
  6. 不会解释如何做到这一点-也有文件存在,为
    4 ]4 V  x, J1 x% V9 u3 a" h
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用4 E  p6 s/ i* w7 d
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西" B9 P8 B9 O- E8 L( A0 ]) |
  9. 随着数据库。此外,你需要一个卖方图书馆安装于! d  B9 b7 u& G/ Y, e
  10. 本地机器,这是我的MySQL安装。
    6 m( W2 |, C% |
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从/ Y3 i9 q5 B1 `# F; z9 x5 G
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL + b5 Q+ F& E9 p% K
  13. 数据库。
    ; y, r# X" O6 Q. o3 ]
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    1 {3 F2 A* e- n, e# i
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    % q( n2 A3 S4 m2 l/ A0 B6 M
  16. 在teamspeak论坛,如果你有兴趣。 $ b( r5 @7 S4 j8 H: P
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机# H* R1 B4 P+ I7 Q! V* L
  18. Borland公司使用。这个司机只能界面与客户端库( K0 @' E0 e- @4 ]' o: z
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    2 ~. f( P0 a+ z
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ; c2 W- y5 F5 p# O4 @! Z7 x4 ~( i
  21. " vendorlib " ,并解数据库连接。
    & E+ D( Y% T& S
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 $ A1 x7 P3 W. z' n0 A
  23. ( }' q5 o: ^2 y0 D8 p7 a  ?! w
  24. # # #做好工作# # # 9 _7 p- P3 e" `/ y; }" e
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    1 j8 H1 S5 l4 \1 a4 H
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ) R: W" [  V6 b: }  G, E' u5 V
  27. 结束:
    ! c" x7 z, |1 n: b- O. W
  28. ---削减这里---
    ! @' l9 _. Z; M6 `$ Q3 U
  29. [ dbexpress ]
    2 ~8 V- K4 \7 V* ^7 l6 f# x& A% k6 Y
  30. sqldir = mysql_sql % ~! [7 L& p" L/ p0 O5 A, A
  31. drivername = MySQL中
    6 C1 t* R: T0 `/ I# W* w4 U
  32. 数据库= your_database_name_here
    . k8 x0 ]# R4 w7 A* O
  33. 主机= the_pc_the_mysql - server_is_on
    + o; ^4 n8 n7 e. g& k3 f# |
  34. user_name = user_name_on_the_mysql服务器- O9 P4 K# U( X6 C& I
  35. 密码= password_to_go_with_above_user_name
    # ^$ V+ e; Z' a8 T" K1 W" \, \
  36. getdriverfunc = getsqldrivermysql   @. [' ~1 j9 M1 O! ]& ^+ a+ Z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    / \. A8 I5 |- V
  38. libraryname = path_to_libsqlmy_libary
    - C6 S0 i# G8 T
  39. 积极= 1
    ) S3 z4 L  m) X0 R5 C* ]
  40. ---削减这里--- & h8 P, X. D) F5 p: N3 F
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    / _" X3 D: L8 N; X' p2 n2 Q
  42. ---例如---
    ) |2 k6 [2 H4 O6 `2 j# ?$ z
  43. [ dbexpress ]
    + C# C* S$ B9 D, o
  44. sqldir = mysql_sql : _, x7 v  L. v& W
  45. drivername = MySQL中
    " D8 r- _: z  J7 m; ^
  46. 数据库=测试
    8 x. V$ p. d4 |1 ~' `- r2 `
  47. 主机=本地主机
    8 {; t7 O8 A% u# h" m
  48. user_name = testuser
    " t4 T2 n! @- ]) Z
  49. 密码= my_password
    9 ~7 l6 E& t4 b' P
  50. getdriverfunc = getsqldrivermysql
    + `( i$ I4 Q1 g5 ]
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 0 ?! Y- G, u' X
  52. libraryname =. / libsqlmy.so 2 z" A- k: V3 X+ q9 j5 g; i4 j
  53. 积极= 1 4 V4 w2 T7 t" Y9 J' J
  54. ---例如--- . }/ O) o1 J9 Z& `

  55. , ^4 {, Q8 n- g9 {% A( r/ d
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 5 ^1 {# Y' y2 h( H' x
  57. ---例如---
    $ w) U/ j0 F3 ?3 s: J
  58. [ dbexpress ] 0 @: v) L* `/ u" Y+ w/ s
  59. sqldir = mysql_sql
    * O* o' q  o+ |# {  r! W; v; H! m
  60. drivername = MySQL中/ g; r/ S, C  A) J0 @/ S
  61. 数据库=测试
    8 f6 n. \& b' M/ n9 ?3 o* B
  62. 主机= 127.0.0.1 + W- g: G; Q9 r% v3 F0 L
  63. user_name = testuser ' b2 }7 x! n8 [7 a- r
  64. 密码= my_password
    ' \; V( C5 }: D' n" \5 L; T
  65. getdriverfunc = getsqldrivermysql
    " V0 U9 @) D- a) {
  66. vendorlib = libmysql.dll在
    5 j& S. E# H, F0 E8 }" Y4 b+ T
  67. libraryname = dbexpmysql.dll ; A/ Q- d* K- n9 t: I! q- m0 @$ r
  68. 积极= 1 ) Y. k( E( Q* }# t5 V4 E
  69. ---例如---- : h9 m! W, E+ A6 i! U# z8 [
  70. -写在0 2.03.04由p wk.linuxfan% \' a$ j3 @/ n( p
复制代码
发表于 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 z7 P7 z, R% g: Y
1 L9 |2 q  l+ h: c) C+ s* B9 [
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-3 09:41 , Processed in 0.119289 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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