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

3352 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ; B  B6 q+ p' B2 a+ u: \; E
" B& Q8 L: Q1 U
  1. & \  L# b: v% A* F1 J/ n: j
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    4 F* R* |  L8 y- C( }
  3. / x' i; G  S6 q( q7 L- m
  4. ### What we need ###* i0 q' O" B/ `; ?
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ! j8 V" h0 a1 j. [( C& W" J
  6. will not explain how this can be done - there are documents out there for the
    3 _0 b, ?" p+ P; w
  7. interested. The requirements include a (empty) database for TeamSpeak to use: \9 g( }: J, E% z+ \# L% ^
  8. and a user account (username + password) that has the permissions to do stuff
    5 m2 Z9 A0 B  Z
  9. with the database. Additionally, you will need a vendor library installed on the
    3 O; {+ ?4 N$ q2 d0 U
  10. local machine, this came with my MySQL install.: T& j) A% ^7 x; k! s1 n5 O
  11. These instructions will not tell you how you might transfer your data from the/ u9 g, J: ~% F" n1 o
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ( w- g& r  \' k% h- S% D
  13. database.0 F: E$ f6 O) O9 s  b
  14. Some users have reported ways to import a SQLite database into MySQL, but at$ Z/ v7 t6 b" A4 Y
  15. the time of writing, there are still too many issues - check the current status
    0 c! w. R# x. c4 ~! W! \% x2 m
  16. in the TeamSpeak forums if you are interested.6 V" A% x. l* b0 y# Z
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from8 G" ?  f4 t0 N
  18. Borland was used. This driver can only interface with the client library that 6 [4 E0 R% g: }9 g. A% I
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this' d) L# z! u( b' O; b
  20. client library - basically all you have to do is to use a 3.x client library as
    ) E8 x# F: N- L+ B, X" A/ X
  21. "VendorLib" and a 4.x database to connect to.& v+ Z+ e8 T/ x( |) r3 z
  22. If you need more info about dbExpress, you can contact Borland.
    ! F( r- Q1 z4 _8 {% q) W$ U, G
  23. % H% t; w+ X3 x& e; `
  24. ### Doing the work #### b3 N3 g5 x. M) d- P
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all7 V! o1 u2 I! c' J9 S" U1 C
  26. the perquisites right, just open your server.ini file, and add this section at" O5 t! S5 T5 j5 z8 S8 B
  27. the end:
    6 P, @1 W7 l* M4 [+ j& I% \
  28. ---cut here---6 P) t8 n! V# x7 w& v
  29. [DBEXPRESS]
    2 ^7 t& g: Q2 M+ N# b
  30. sqldir=mysql_sql
    * ~2 T6 A1 F: q0 e5 N, d% W
  31. Drivername=mysql
    . w5 h0 g" c. q3 m
  32. Database=Your_Database_Name_Here5 {; S1 B! x/ |+ `% d
  33. Hostname=The_PC_the_MySQL-Server_is_on
    6 Y/ D2 z6 e1 c+ k- A
  34. User_name=User_name_on_the_MySQL-Server! ^4 B- O7 R( u# I5 ~8 G4 a/ G
  35. Password=Password_to_go_with_above_user_name
    1 f* i$ z  |7 S8 C5 k, [
  36. GetDriverFunc=getSQLDriverMYSQL
    4 a0 [* X9 d9 d0 X
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib" K( K7 ^5 n. L% z3 r
  38. LibraryName=path_to_libsqlmy_libary
    # I. f. F# y. k, C. {8 |
  39. Active=1
    & U8 H) e9 ?  B0 L. Q6 W( ?
  40. ---cut here---
    ( i" P) z$ V" j* G
  41. In my environment (a linux box with a MySQL server running locally) I have:! v- ~, d. Q+ a3 H; R5 G  H
  42. ---example---4 k/ c5 A; c+ a! \- L, T
  43. [DBEXPRESS]
    8 y" @. F9 R' \; m# s
  44. sqldir=mysql_sql0 O. S, b2 Q! F  e% T0 H
  45. Drivername=mysql8 g! I& s! R4 @9 |0 Q! f( W. x
  46. Database=test
    # h2 z! [9 |- Y3 q$ H* P% `2 ?
  47. Hostname=localhost
    / @" g+ K. x! B$ H! T
  48. User_name=testuser
    3 `. F0 X* t9 L6 Y* b, K  D
  49. Password=my_password
    3 }- \7 l1 C1 r, C6 U
  50. GetDriverFunc=getSQLDriverMYSQL  i' e6 }/ X# z+ V. ^- G
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.01 g3 |6 t) \2 P
  52. LibraryName=./libsqlmy.so1 X$ B; A5 `( H4 a, K# C4 M4 R5 s
  53. Active=1
    2 T; B1 j" \9 }
  54. ---example---
    9 Y, h: i6 k7 S" C" H

  55. ! @5 K* w# F' ?. o0 z
  56. On a windows box, also running the MySQL server locally, it would be:& Z& r* F9 s  B- k
  57. ---example---
    ; {5 c. J5 h. ]6 b4 m" \
  58. [DBEXPRESS]
    6 ^2 M/ K. x! {% E/ Y" o
  59. sqldir=mysql_sql' F  Q7 D1 @% j, p/ X) w
  60. Drivername=mysql
    5 Q- D8 J, o7 y! |5 F  N' a+ U
  61. Database=test7 {2 h/ d+ e: ?
  62. Hostname=127.0.0.1* e. e) ]: _5 p+ H2 p$ s5 {* h  t
  63. User_name=testuser
    7 @! f6 \, Z) C' ?8 |; S" Z
  64. Password=my_password
    $ l/ }! p, U) t2 l, u3 P5 x
  65. GetDriverFunc=getSQLDriverMYSQL% x/ n) Z/ I& g: H
  66. VendorLib=libmysql.dll' p& G8 e& {- P
  67. LibraryName=dbexpmysql.dll
    * X/ @, c- }0 O- p8 m! b# Y; G
  68. Active=1* H) O$ L1 q5 A+ E: f2 N# @- b7 E
  69. ---example----6 O% M: i; Y9 K# C1 j, Y' M
  70. - written 02.03.04 by pwk.linuxfan
    + r/ o" f, O  J4 B/ Y

  71. + `; T, I' ?) [: F- m; K2 m
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看' ]3 ~5 K1 Q! S  y! q

  1. 7 y! h' A* T( h) \2 K4 P7 m8 i
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ' d1 o" U- `: n7 F
  3. - O, i1 ?  E: g# y- B. H; g( |+ a4 B
  4. # # #我们所需要# # #
    * P* V7 L* I$ c6 W) _/ P' {  B) X
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    * a* J; }0 U# I( b7 N# u
  6. 不会解释如何做到这一点-也有文件存在,为* v* i+ x4 m0 t1 n8 ?7 r
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    % {+ e, @3 ]0 D& b3 q1 P$ h
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西" x( ?; v+ K' K& O, |
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    8 C- C) G$ p" W6 D
  10. 本地机器,这是我的MySQL安装。 & ?& J) @9 K# @" c5 e! u0 N' `5 d9 @
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ' @' k1 \: x! g1 z  F
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    5 ~: ?0 C4 {7 O" F9 ]6 o: b
  13. 数据库。 . @/ e2 a. n8 k' d% {! |
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    5 S  i+ Q8 m9 ~! A% O2 p
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    $ F9 U' j, q( @
  16. 在teamspeak论坛,如果你有兴趣。 # g4 E$ ]8 j3 p
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    # M' Q* H& Z1 G& S
  18. Borland公司使用。这个司机只能界面与客户端库5 o/ {! [+ ]9 D; ]# S' M+ A
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这% [* k: ^7 {; X
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    . s% \& E8 w( S1 e) h0 Y. \
  21. " vendorlib " ,并解数据库连接。 3 N% k+ o7 J/ I. H% t
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
      q) [2 {9 w+ Z; N

  23. - |4 T& G4 f5 M# [1 ?
  24. # # #做好工作# # # ' O/ L8 {+ D4 m( H, ?
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ' A) g; e0 s% @1 P/ }
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    & `9 o1 Z( p& {2 W2 K+ }5 A
  27. 结束: & R( P: d5 e8 l( W! e% l- E( J# C$ X
  28. ---削减这里--- % ]: k/ J8 p; y1 R# c8 s6 z8 m  Z
  29. [ dbexpress ] $ r& k3 B% E# p9 D& E, @) z
  30. sqldir = mysql_sql
    5 `: e$ {0 h, S. s6 ?0 r1 y
  31. drivername = MySQL中# o: y. b, L  K5 d" K
  32. 数据库= your_database_name_here 6 N" S- y8 }: f( l& i. M) V3 d4 t( I
  33. 主机= the_pc_the_mysql - server_is_on
    " P$ E# Z/ K* _/ i% V3 D" M9 w
  34. user_name = user_name_on_the_mysql服务器
    " Q( A* i3 z) c
  35. 密码= password_to_go_with_above_user_name 3 c2 t$ E# I' C; |
  36. getdriverfunc = getsqldrivermysql & @  N1 R4 R) `( I+ Q; c
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ! R) {. G$ F, m0 f7 E/ W' e
  38. libraryname = path_to_libsqlmy_libary
    1 ^& ~* t; x% b$ U
  39. 积极= 1
    0 X! q# g5 n1 s. @7 \0 f, [9 K' }
  40. ---削减这里--- ; _) q( S! f& [5 \
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    $ A9 X. a6 k* E7 i. `, a
  42. ---例如---
    : I% ]  G+ @# T7 Y5 U
  43. [ dbexpress ]
    2 c; x9 [5 p# ]& ?$ b0 E% ^+ q. I
  44. sqldir = mysql_sql
    ( o" C9 d' [# h. o' f' X# u
  45. drivername = MySQL中
    8 i6 L2 m" y& C7 a6 M! o4 Y7 D
  46. 数据库=测试
    4 W3 w5 Q9 a2 ]3 ?$ @+ U" D: z
  47. 主机=本地主机# v, n6 c3 d2 B) `  o: [
  48. user_name = testuser . y/ [) z, @4 `1 X0 i
  49. 密码= my_password
    9 `, y# E9 [: k, E) Y/ Y; H! h" a$ E
  50. getdriverfunc = getsqldrivermysql + ^; x* i) R8 J. r& q% P6 I8 \9 j
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    5 z0 S0 A* H( _" Z
  52. libraryname =. / libsqlmy.so
    : g- U3 x7 x! T* R2 M
  53. 积极= 1 ( d6 m1 I: N! F, o
  54. ---例如--- 5 i9 y7 S7 B( L

  55.   M# z* R$ F' Z! A. m
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    5 L0 h4 X# Y/ y1 \
  57. ---例如--- & z+ K* w, j0 v
  58. [ dbexpress ] % C( H& c4 k$ _( S
  59. sqldir = mysql_sql
    2 O. V" T% a8 m( C
  60. drivername = MySQL中$ @4 `/ n7 g5 U  X1 A" n, y
  61. 数据库=测试& o6 B) D# k/ N, A* j
  62. 主机= 127.0.0.1
    / ]7 x' R/ F* n
  63. user_name = testuser
    . ^3 k* L( @8 d
  64. 密码= my_password
    - c" D4 ^: }' y! Y: ~' F
  65. getdriverfunc = getsqldrivermysql - F1 n1 w: f: M- E
  66. vendorlib = libmysql.dll在0 H% h. w; c5 N5 A- F
  67. libraryname = dbexpmysql.dll
    " ?" v6 u! x6 [7 E2 _3 C" S. l7 X
  68. 积极= 1
    " j% i2 {3 R( E# Y
  69. ---例如---- , t9 O, `; ~4 b9 s
  70. -写在0 2.03.04由p wk.linuxfan
    7 N8 c0 p( ~) ?$ 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 words
  b7 ?' [/ V+ q! @
8 z5 w% [. A0 x1 ubut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-18 01:38 , Processed in 0.088789 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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