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

2848 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan # ?: H2 |4 g. j$ p1 M+ C
! g/ [1 |' Q$ h! w$ W* I% v

  1. ; a/ b; Y8 q* l- U( ~8 E
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    5 {. F$ z! }1 C* L

  3. 6 k8 M) ]. ?4 n) N
  4. ### What we need ###7 H: I3 b+ y' H) T2 U  M: r1 `6 q
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ; ]! C+ ?9 _8 O) M7 q; Z
  6. will not explain how this can be done - there are documents out there for the
    # C, k$ Q* \7 ~2 B4 P
  7. interested. The requirements include a (empty) database for TeamSpeak to use/ q, w# d8 q/ N
  8. and a user account (username + password) that has the permissions to do stuff
    $ T: M9 N3 ^" S8 f# @
  9. with the database. Additionally, you will need a vendor library installed on the: |( B* r5 q4 N: c- q8 q0 c
  10. local machine, this came with my MySQL install.& T, q4 l* c$ C. B' d* k
  11. These instructions will not tell you how you might transfer your data from the/ g$ V+ a& ~& v, B% f2 V1 C# U
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    7 ]/ J. O; S4 x6 C
  13. database.
    # D4 H8 i) m. ?4 n% @
  14. Some users have reported ways to import a SQLite database into MySQL, but at& A, B/ W8 c  Y
  15. the time of writing, there are still too many issues - check the current status
    / I6 s7 k- ?* z& O
  16. in the TeamSpeak forums if you are interested./ s+ }# I0 Q3 \5 O
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from5 W6 q0 d! [# ]$ A2 I, W# N
  18. Borland was used. This driver can only interface with the client library that
    * j& E$ E; C8 ^, x" T
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this# H( t5 |( i, a* ~3 _
  20. client library - basically all you have to do is to use a 3.x client library as ' u- b' d3 Q' E4 J  X* Z
  21. "VendorLib" and a 4.x database to connect to., J8 [0 Z/ z5 x- r" j
  22. If you need more info about dbExpress, you can contact Borland.4 K) d( D( y' c  G

  23. ' |  H8 K" p: q! s
  24. ### Doing the work ###
      }' H4 x9 ]# o
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all$ ^: I3 w/ h! q* M
  26. the perquisites right, just open your server.ini file, and add this section at
      G: N" J/ m( j( H& X
  27. the end:
    $ O$ n) H% o* d7 N
  28. ---cut here---
    ) _- F- J3 V! J( C  M
  29. [DBEXPRESS]
    ! g8 y9 U3 o0 T1 q3 o+ q
  30. sqldir=mysql_sql4 d: J$ _4 z3 o: s
  31. Drivername=mysql7 f7 h, B; Q3 j& H
  32. Database=Your_Database_Name_Here- Q# l) G# k  H! z
  33. Hostname=The_PC_the_MySQL-Server_is_on
    % @/ r7 A: T' N" `7 B, J9 V' V1 j& u. ?
  34. User_name=User_name_on_the_MySQL-Server( G3 ?. W- m. L) a$ _6 I, K- ^8 g) C
  35. Password=Password_to_go_with_above_user_name- L. U/ f1 D2 d9 `
  36. GetDriverFunc=getSQLDriverMYSQL
    , u0 R$ {9 T. p/ @
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib; U% T% @& @; |' x
  38. LibraryName=path_to_libsqlmy_libary
    # N6 a/ T* \6 S" L
  39. Active=1
    & p: `3 F. x( r
  40. ---cut here---
    $ D; s4 P7 D$ r0 Z
  41. In my environment (a linux box with a MySQL server running locally) I have:
    1 P% q: v# O8 X+ A9 F  Z/ A
  42. ---example---
    , h* a. H+ i! N& z- G; T0 H: Z$ }
  43. [DBEXPRESS]  \7 X$ z- h8 d0 W+ @  N
  44. sqldir=mysql_sql
    2 E% O' \  Q/ a# H- O2 f4 x" \
  45. Drivername=mysql
    , T7 E' b/ J; @" e0 e. |
  46. Database=test
    + E# n5 `5 E7 Q  Y- K" ~* a" g4 Y" P
  47. Hostname=localhost
    % p% Z- C( Z; `! Z
  48. User_name=testuser; X5 u( v( N- S% Q
  49. Password=my_password3 l8 x# n. s0 Z& w1 U
  50. GetDriverFunc=getSQLDriverMYSQL
    0 d0 A* x1 B/ {4 S# Y" _
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0- I1 Y7 m5 ]% _1 w9 ~: L' s
  52. LibraryName=./libsqlmy.so
    ' @$ R5 M- _' s( Y6 P+ C1 p/ _% S5 \
  53. Active=1
    , X% X# i1 O: L* d! }7 T, d7 I
  54. ---example---
    1 x) v1 Z5 @* U0 b
  55. ' g; f. [4 t: j# ?* M: @* {7 w
  56. On a windows box, also running the MySQL server locally, it would be:# [$ g3 O1 c5 c, O0 z; x* F+ J0 {
  57. ---example---# [# L* @0 [) P  z( t( L9 ?
  58. [DBEXPRESS]6 V7 ~" I5 ]& |! k1 @7 N
  59. sqldir=mysql_sql: e! [0 O( ~1 k7 Q4 x6 e* J
  60. Drivername=mysql
    ) K# i0 J. H' a( b$ q! d; l* y
  61. Database=test
    1 x8 T( j4 \/ c( T+ L, `
  62. Hostname=127.0.0.14 F- m, P: q3 G1 t/ t* K% g
  63. User_name=testuser- E4 Y" N9 ^2 Y+ l4 ~# b. d$ [
  64. Password=my_password
    4 u( }' Z- P  Z& N
  65. GetDriverFunc=getSQLDriverMYSQL
    . |0 l4 T3 `. p' X7 ?: }. @
  66. VendorLib=libmysql.dll( D& E$ Z4 |- L& \
  67. LibraryName=dbexpmysql.dll2 e  `0 _8 P2 ]6 J
  68. Active=1( v4 c2 c: K4 h2 g, v6 b
  69. ---example----! o, U; @5 L, v# a  a
  70. - written 02.03.04 by pwk.linuxfan
      n; d6 h: J( S  Y! k
  71. ( {- o* i5 A! Q# Z) @  Z0 x
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看/ k" T3 r: K; |% c
  1. + G! x& N. D7 I6 x
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    : C6 J& D- Z" ^) G! i3 J, N+ Y
  3. 3 X! s. V: i8 [
  4. # # #我们所需要# # # 9 i+ y, h# a7 s. k- N- S
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件# U9 Y- c- S3 L1 M" Z
  6. 不会解释如何做到这一点-也有文件存在,为
    9 Z+ w4 l7 z) M1 q5 N0 o- L: D5 \8 |/ t
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用7 v: K' ^0 r3 Z! O' _; a" Q
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    6 U4 m4 p- {4 {6 C* A# K
  9. 随着数据库。此外,你需要一个卖方图书馆安装于# h' }( e" m5 Z2 Y8 K- x
  10. 本地机器,这是我的MySQL安装。 1 L0 K# |& j5 w5 Q  H) h
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    % @4 e# r0 o/ Z1 N, Y2 ]6 p
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ; @4 O$ G( j. n) `. E2 g* Y
  13. 数据库。
    ) E/ q9 {" a! Q! Z) n1 i1 `
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    3 n% C) {% f. Q/ q" Y8 P6 Z* l& g
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ) T+ S' O3 S3 o, D& v! @3 e
  16. 在teamspeak论坛,如果你有兴趣。 & H% c* J' Y! R. c7 M) F+ |
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    * g5 v) P2 v, e$ |/ I8 O; v
  18. Borland公司使用。这个司机只能界面与客户端库
    - x- F% Z6 v, M& o/ Y! n2 ]
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这! g4 S: A( M' ^" g
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为! u6 f; ^; U) Y
  21. " vendorlib " ,并解数据库连接。
    0 i, D7 o- I6 n" O: V* w5 ?
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 0 U" Q) L6 D1 q/ s1 E% I$ |
  23. . H( r* W" u& C
  24. # # #做好工作# # #
    # e0 p4 I& i. y. q! a! K( F
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都$ g' Q; U! \! o4 D! G, B! {
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    4 m* ]" l5 F: D/ P9 a8 b' F+ h: V6 [
  27. 结束:
    5 Q6 ?, q, i) k; U/ z! W/ @! l7 e
  28. ---削减这里---
    2 ?6 |1 }, t$ i
  29. [ dbexpress ] ) l* E6 z7 E$ K3 I% X
  30. sqldir = mysql_sql ! J5 X5 i' U9 d
  31. drivername = MySQL中
    1 @$ |8 [9 ~8 r' ?5 ?
  32. 数据库= your_database_name_here / ]$ {. ~4 b7 }4 [$ L0 z
  33. 主机= the_pc_the_mysql - server_is_on * _0 [9 d1 e& M2 x4 J" O9 I, E
  34. user_name = user_name_on_the_mysql服务器7 P! @/ L: b; t; G) U- P. t
  35. 密码= password_to_go_with_above_user_name
    4 i/ f* K2 ~0 [: ]% \) W0 T4 L
  36. getdriverfunc = getsqldrivermysql
    5 T% k  y) ~( p# K2 f- l
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib % X" P$ J, b8 Q
  38. libraryname = path_to_libsqlmy_libary 5 F% H+ N$ ~- \& r- P
  39. 积极= 1
    6 _2 R( `( v( M- o
  40. ---削减这里---
    2 G$ j9 v/ n! R" ?. a6 W: g
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ; [) g$ o1 S7 }' J
  42. ---例如--- # l8 ?, n# X6 @- E
  43. [ dbexpress ] 9 F) |+ _4 D% K6 H5 M
  44. sqldir = mysql_sql * P. s1 D+ P7 J/ {( j4 d
  45. drivername = MySQL中
    6 }4 }5 {& ^1 _; Y1 M3 U- H' X
  46. 数据库=测试
    ! L  K$ N5 c% h+ C9 H7 w6 j
  47. 主机=本地主机) @# k& L2 z! u
  48. user_name = testuser
    3 \% E: h. ]* `2 R
  49. 密码= my_password
    % g' p3 E7 d; T* A
  50. getdriverfunc = getsqldrivermysql
    , v: w% i9 [5 ~: e: ?! Y2 E7 y
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ! M3 D# X8 P' ?  C, Y2 S; u  w
  52. libraryname =. / libsqlmy.so
    7 \! d5 ]: W- C+ ~( K
  53. 积极= 1 * H6 V& L4 n- R
  54. ---例如---
    # l5 D" u. t. Z5 ]1 u6 _+ b

  55. - z6 @( L* i2 s0 {* ^6 w
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
      m/ U# A% G" L: R7 O2 Q4 S
  57. ---例如---
    $ }6 o( v+ u, U' f: T
  58. [ dbexpress ]   |/ [# M+ X+ c" g/ ~
  59. sqldir = mysql_sql
    : r1 l7 K. \: R$ W2 X# y" y
  60. drivername = MySQL中# G3 n( O+ c8 I  Z
  61. 数据库=测试
    6 G9 W5 G  i  J7 P/ u: \
  62. 主机= 127.0.0.1 + K  i3 I& J) x& D7 _" L
  63. user_name = testuser 6 [  X) k+ n% f- h  H, R
  64. 密码= my_password 0 y5 F$ O( U- f& W: j  W
  65. getdriverfunc = getsqldrivermysql , T: k) m3 n& z
  66. vendorlib = libmysql.dll在6 U/ C: f6 _7 g$ l$ I
  67. libraryname = dbexpmysql.dll
    . {& x) I" m0 E0 b* I- G$ b
  68. 积极= 1 * c% ?: j7 }9 B: O8 M8 Y
  69. ---例如---- 2 r) n, p7 F7 r
  70. -写在0 2.03.04由p wk.linuxfan
    - c1 Y" u5 O; K, o1 V
复制代码
发表于 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
& S1 m' u5 P" L" h8 R7 ~* w  e, {' U' r; j
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-6 03:17 , Processed in 0.096033 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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