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

2574 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan # K. e& h! o5 y4 x* Q

7 }" c' m7 @( J& k

  1. ( c; S& H4 p) P: z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    * l8 w; o, ~) K7 a& U2 g2 H
  3. & \& x$ @0 T8 F& }# R5 s2 i
  4. ### What we need ###
    7 ~( H6 I; c! _1 Q0 [4 i# p2 E
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ! P! ]- R# J' k' `$ g% }
  6. will not explain how this can be done - there are documents out there for the
    + `* b2 D6 _( ?+ l
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    / p$ c0 c4 l, \+ P
  8. and a user account (username + password) that has the permissions to do stuff( `' l0 {  }! f  e1 }
  9. with the database. Additionally, you will need a vendor library installed on the7 ?8 U: t% e* ^" y# p
  10. local machine, this came with my MySQL install.
    0 h# q0 a; ~6 i8 \4 u) C
  11. These instructions will not tell you how you might transfer your data from the
    ; q' n7 \. p4 P, Q. Q2 t+ O
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL7 c$ P- x0 \9 w3 q% p( V0 `* }
  13. database.
    ) n; u# I) P6 M# b3 b
  14. Some users have reported ways to import a SQLite database into MySQL, but at5 d& {  K. B% ^8 H+ s/ d
  15. the time of writing, there are still too many issues - check the current status
    5 D& E' w! u5 y) @- i* o+ k$ q
  16. in the TeamSpeak forums if you are interested.; E' O" p/ Q4 ~/ _, k
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    * H8 l/ U: W9 V7 @
  18. Borland was used. This driver can only interface with the client library that 0 N& l0 v8 P1 g0 h
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this: C7 C+ B0 q, E( U  t
  20. client library - basically all you have to do is to use a 3.x client library as
    9 e* f2 D% W) ~9 ~- T" z0 t3 i
  21. "VendorLib" and a 4.x database to connect to.
    - f5 L; i3 E1 j+ \" d
  22. If you need more info about dbExpress, you can contact Borland.2 E5 i, i9 t, a

  23. ! P( u1 b" f9 R8 ^3 Q  A3 _
  24. ### Doing the work ###
    $ T! k9 k0 M+ h  x, L9 {
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    - D; T& ~/ i7 E: G0 V+ |
  26. the perquisites right, just open your server.ini file, and add this section at. V  `1 K7 T) I/ T% o+ }4 ]
  27. the end:
    ) G9 i5 q; `& s, \9 g6 t: ^
  28. ---cut here---
    ( `$ Q8 Z- d0 x6 n9 B, l/ x" K
  29. [DBEXPRESS]
    3 ?* z, S6 R- u1 W3 j( n- c
  30. sqldir=mysql_sql
    4 ?6 J- b. |7 h5 e+ @6 {' H6 Q5 @0 J5 b( ]
  31. Drivername=mysql; R( A# r) M3 ^+ s
  32. Database=Your_Database_Name_Here
    ' F8 e2 P/ N& f2 t4 h) e8 i' _9 z
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ( i0 i! L& p1 O* m  K$ D+ d, w
  34. User_name=User_name_on_the_MySQL-Server
    # J, S6 g' S# g( C) V: L
  35. Password=Password_to_go_with_above_user_name
    8 S  X0 B( ?5 `9 ^4 }# S) |
  36. GetDriverFunc=getSQLDriverMYSQL
    * p) ?3 t( E, }0 x9 w: g' j" p
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib5 [! j' G) ?/ {+ O
  38. LibraryName=path_to_libsqlmy_libary' F; n1 C5 m) b) U
  39. Active=1
      `: H6 N5 i5 H9 N8 G3 y
  40. ---cut here---
    ' w" F: ]$ H' ^0 {& Y7 u; ~; f* H
  41. In my environment (a linux box with a MySQL server running locally) I have:
    6 T( H7 G! i, @+ |8 q. d$ j
  42. ---example---
    ) W# l1 A. R$ x0 i7 O1 S
  43. [DBEXPRESS]
    1 y( v! O2 J" s3 m/ V9 H8 w
  44. sqldir=mysql_sql
    : n% C1 Z3 l+ Z! d9 \2 o% P& _
  45. Drivername=mysql
    % `) K5 p1 c1 p
  46. Database=test
    * Z  Z0 x" J& g1 }( z
  47. Hostname=localhost( J: G! }! O( q& p& \1 z  z( K6 i5 y) z
  48. User_name=testuser, `# `. r/ _. k( Q1 H; K6 A& i
  49. Password=my_password: Q; q$ Y& H3 _
  50. GetDriverFunc=getSQLDriverMYSQL
    # Y: I  j7 M2 C5 M
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    - I- }8 L% g/ d
  52. LibraryName=./libsqlmy.so' N4 v7 h. z2 p
  53. Active=1: {, V% y# D7 T1 E8 ^' u# y( Q/ b
  54. ---example---
    5 G  ^! j/ u) _0 _& m& \7 P
  55. . g9 ]) p/ ?3 C0 W5 m
  56. On a windows box, also running the MySQL server locally, it would be:5 u/ n4 k. n1 U  _0 }
  57. ---example---
    ( |3 f7 h8 A& V( ?
  58. [DBEXPRESS]
    7 S1 f% b7 ^8 }6 i, m
  59. sqldir=mysql_sql
    2 n3 p" t- m5 f' r$ q' G0 ]/ d4 f
  60. Drivername=mysql
    - |' |1 q7 c* ~2 a' ^
  61. Database=test) @/ P6 h3 j) m8 X- l, ^  M9 F! |( s
  62. Hostname=127.0.0.1
    9 x0 ~$ Z$ x# b& }$ N3 O5 C7 A8 ]
  63. User_name=testuser
    1 ]5 h, \' R4 ^+ @5 D1 P
  64. Password=my_password
    : u- M* O) k/ }7 ?/ u; K& v/ J
  65. GetDriverFunc=getSQLDriverMYSQL
    * o1 y$ f$ y7 }2 b3 C% Z
  66. VendorLib=libmysql.dll
    0 m; V% S: {, {/ {( D% L5 i4 w
  67. LibraryName=dbexpmysql.dll! _( ~/ J% k9 D- n! p
  68. Active=1
    2 ~0 x2 l* D+ O' x
  69. ---example----' w# ?2 |6 s  D5 }6 T) f
  70. - written 02.03.04 by pwk.linuxfan3 |( }# T; z8 T8 F

  71. $ S. e: Y0 m% y) K6 H4 _
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
6 n  K7 m! L7 ]

  1. # Y  g) e: L9 s+ C$ c
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    , A9 Y1 \3 S& D6 T+ i, q8 @! }( b/ R$ k

  3. $ Z" n) I- R, C; u9 z5 @3 c2 f+ k
  4. # # #我们所需要# # # 2 [+ V% {0 u! v  @; s
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ( j  K, u9 O6 S6 Q' w2 C
  6. 不会解释如何做到这一点-也有文件存在,为$ R" e5 t7 D9 x* M/ c4 O( Q/ p
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ; O6 I$ c% Q( w3 C1 A& z. o# u
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    , j4 X7 y: S: a1 T3 j
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    5 j7 Y+ ^; w% s' x" `
  10. 本地机器,这是我的MySQL安装。 0 z2 G* [: ~' a& I' C$ v
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    # P# S+ K* D4 O) e4 `7 z0 E1 i
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    / r* Z4 L3 H2 E/ U
  13. 数据库。 5 D! m: K6 U( P& J. Z5 U/ [, [' L0 a
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在0 D+ G/ N9 x$ ?( r7 @
  15. 编写本报告的时候,仍然有太多的问题-检查现状; }5 r: s' o" Y8 ?
  16. 在teamspeak论坛,如果你有兴趣。
      C/ q7 F9 C4 A3 H
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机6 R9 S- G# a4 Y! ?: c
  18. Borland公司使用。这个司机只能界面与客户端库, B+ u5 I5 F1 b; ^
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这3 z& f/ Y4 z: Y& ~& w( \1 M
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为- d8 s% q# r! a
  21. " vendorlib " ,并解数据库连接。
    ! `' v4 i) f0 ?# I" I- K* Z; O
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    3 `; c0 f) f- W! }& z9 e: ~7 ]* c6 M

  23. : X6 m/ N$ A1 @2 g
  24. # # #做好工作# # # 1 b2 E' F; t! b3 z2 [
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都& n! K2 w: M: j  d+ k
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在" E6 R9 R( D7 `8 l* l, Z$ T
  27. 结束:
    7 |0 E6 ]& K, Q6 A* |1 f
  28. ---削减这里--- ; ?2 @# X" B" A* ]7 n- e4 f
  29. [ dbexpress ]
    ! [, K) ~; Z+ a) g
  30. sqldir = mysql_sql
    1 L5 y9 S1 R+ l  @
  31. drivername = MySQL中
    ' o; D8 u! r( j- h3 y' G: Q
  32. 数据库= your_database_name_here
    6 x! H; T4 @6 k
  33. 主机= the_pc_the_mysql - server_is_on
    , V% q% v# q3 X! ~( z( y' J: `. _
  34. user_name = user_name_on_the_mysql服务器
    . |% l4 r# N' [; m  W
  35. 密码= password_to_go_with_above_user_name 9 S$ c* W: R+ F7 C
  36. getdriverfunc = getsqldrivermysql
    & W2 ^- _6 H: V7 U
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    - ]$ W6 ?7 }" A, T, u: x, Z9 y* h
  38. libraryname = path_to_libsqlmy_libary
    0 l% O4 f6 f* c6 l# f: k
  39. 积极= 1 # }6 r2 K& X: W! O9 A/ j' _
  40. ---削减这里---
    - X3 L3 B/ i# A1 l3 o. n: u: z" b
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    - U; G3 L# u9 I2 U  e3 ~2 {- F: o2 |; G
  42. ---例如--- 9 i* ^  O! l& P8 Z$ J" R7 \
  43. [ dbexpress ]
    ! x) ~' w0 `& k; o  a& D
  44. sqldir = mysql_sql ) y  [/ b# W/ H, q
  45. drivername = MySQL中" a7 y3 E6 f# o; J; w5 w( b; ?
  46. 数据库=测试9 t! ~; L3 ]# D2 M
  47. 主机=本地主机5 O& B* Q% W# N4 A% T* k: G
  48. user_name = testuser
    3 _9 S' S8 s  @: b
  49. 密码= my_password
    9 f7 a( v# M$ r+ [( _0 E
  50. getdriverfunc = getsqldrivermysql
    2 q2 K# g+ R0 F8 O- i  {2 \
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 $ G, z- \8 B: G0 [# K3 `0 Z
  52. libraryname =. / libsqlmy.so
    # a1 r! F9 G; h% U. ]" i
  53. 积极= 1 5 S2 U7 K( V( E( S
  54. ---例如--- ! }. |/ j# ]8 s: V% \; B
  55. + n6 W  T: Y$ k% I1 a
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    + J0 d: P0 H2 Q6 ^6 C
  57. ---例如--- 8 t/ Q# t6 e8 i" A' D' V8 Z0 O
  58. [ dbexpress ] $ _5 J% z2 p$ s! v' I) D
  59. sqldir = mysql_sql * ^" z; _  j$ J+ ~
  60. drivername = MySQL中
    ) h/ t$ _) Q, P
  61. 数据库=测试
    8 b& A. ^% O4 P
  62. 主机= 127.0.0.1 ! n4 z& O. k. E$ O+ d
  63. user_name = testuser
    6 r- _- }: r" w- x  }) r
  64. 密码= my_password / E! p3 b3 M  ]2 F' l
  65. getdriverfunc = getsqldrivermysql
    0 j0 [1 t; A' b( z0 c8 a
  66. vendorlib = libmysql.dll在
    * l2 _, f( P* L3 f5 M0 X, C
  67. libraryname = dbexpmysql.dll 8 \1 f8 I* W, s" B3 f+ k: b2 Z
  68. 积极= 1
      y" Q7 O% I- D5 p
  69. ---例如----
    4 |$ U  P, g0 B3 V3 D
  70. -写在0 2.03.04由p wk.linuxfan  q. Y# `( l& Q& e9 G$ h* ~
复制代码
发表于 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
: a. J3 a/ j1 c& d" d
. {, X' F9 l9 Q! L3 L2 Nbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-2 19:16 , Processed in 0.093574 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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