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

3546 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan / |- E0 N" _- ~
. X, r, d# u' h+ ^$ N. M. W% y
  1. $ Z8 U6 E0 y( i/ _- J* ]
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    , Y9 B/ u) O  c+ v/ X7 I. _

  3. $ b$ b3 N8 j9 I$ H: W3 C! H9 u
  4. ### What we need ###
    6 Y$ t2 d6 b1 a; l8 t
  5. Naturally, we will need a MySQL server to store the data for us, this document
    6 r1 ]' b5 h' |3 ^! a
  6. will not explain how this can be done - there are documents out there for the , l0 q- D& m1 m$ Q
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    : F0 F% U; o0 Q- [9 l
  8. and a user account (username + password) that has the permissions to do stuff
    & s  \# ?4 P  \$ f; @' h# o1 t
  9. with the database. Additionally, you will need a vendor library installed on the# V/ I$ M" ]1 h6 z$ _
  10. local machine, this came with my MySQL install.
    " N) O& y* w, M( D9 n9 a
  11. These instructions will not tell you how you might transfer your data from the% D5 Q. ?$ C0 y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    1 C. L* b# x7 l# N2 S/ ?. w
  13. database.
    * n( \. t/ ~, u/ C' J
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    7 B% w$ ~; l& D
  15. the time of writing, there are still too many issues - check the current status
    ( k; }& c4 H7 m: {! @1 t
  16. in the TeamSpeak forums if you are interested.& o) k1 |% V- v1 i  p! Z
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from% P+ Q0 ]4 i' N2 \8 C" e
  18. Borland was used. This driver can only interface with the client library that
    " K9 K  ^9 p7 N, m; Q
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    7 Z9 @( r: H; ?1 y( P# U6 r  H
  20. client library - basically all you have to do is to use a 3.x client library as 7 @# O3 C0 h; N6 E7 B/ |
  21. "VendorLib" and a 4.x database to connect to.
    ! Y5 o1 h% l7 B* U" z" @2 P9 {
  22. If you need more info about dbExpress, you can contact Borland.# s+ m& H3 j6 v( A: x0 r
  23. . A; @& j5 E/ M: G# B* O6 R( r
  24. ### Doing the work ###
    # T! R" F( D4 x1 l
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    : H) K! x4 @8 e. z5 a
  26. the perquisites right, just open your server.ini file, and add this section at
    3 ]& E, X# L, {. N
  27. the end:
    * b0 \5 |2 u8 ]  |7 c6 |! [
  28. ---cut here---3 e, z2 A, u7 V  A! h: k
  29. [DBEXPRESS]
    9 z" i% R' G" Y. [
  30. sqldir=mysql_sql( d1 l9 u: |2 @6 |. G
  31. Drivername=mysql
    7 N1 v6 R' `. H# d: N, b
  32. Database=Your_Database_Name_Here3 Y9 A" K2 l1 r, t
  33. Hostname=The_PC_the_MySQL-Server_is_on
    4 T$ Q. w/ P' [* B6 ]
  34. User_name=User_name_on_the_MySQL-Server- I. c( G, b* ^1 g/ I8 d  r
  35. Password=Password_to_go_with_above_user_name
    . q7 U- C; I8 C6 x. ~+ o/ M
  36. GetDriverFunc=getSQLDriverMYSQL  @2 y- @6 n# `) l% X- I" t
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib( h3 x1 }% n1 `( s( V
  38. LibraryName=path_to_libsqlmy_libary
    ) t* m; B; m/ l
  39. Active=1
    : K& ]3 s0 z1 C' t7 J; A
  40. ---cut here---- L9 m! q, n6 e
  41. In my environment (a linux box with a MySQL server running locally) I have:! l5 E5 L: z, E
  42. ---example---
    8 c- Z9 Q& A; e- b: c2 o
  43. [DBEXPRESS]
    3 x: B9 w) m7 @
  44. sqldir=mysql_sql
    9 N, V6 {  E: p3 Q7 u
  45. Drivername=mysql
    6 i- w" o4 y, [+ ~5 q' F0 S9 V
  46. Database=test& s1 O: h5 H9 @$ O; {
  47. Hostname=localhost3 ^& a$ m: x# O$ L' D. f6 @* t
  48. User_name=testuser8 D4 T/ j6 s+ Q0 w+ y2 H& O
  49. Password=my_password
    5 [3 }, Z+ k' p8 G, w5 |1 Z" `
  50. GetDriverFunc=getSQLDriverMYSQL
    1 W* `( r5 a+ u& z
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0- ]. P7 U# o& P4 G6 \; T6 x
  52. LibraryName=./libsqlmy.so6 A7 G  X' {* v+ @
  53. Active=1, @0 H( S) n, ~
  54. ---example---7 R& t- y$ J8 x6 \( e6 g. X- A
  55. ' m  O. h6 b6 ]' |* q) z7 K2 l2 D0 Z
  56. On a windows box, also running the MySQL server locally, it would be:
    , E) S& Y$ d2 B+ r3 U* u: x) |
  57. ---example---9 A4 D4 A( O8 @; i
  58. [DBEXPRESS]( g% |# J+ a% K) e, d4 O
  59. sqldir=mysql_sql8 U4 D* A# V- {( q2 u
  60. Drivername=mysql
    4 ~  c, V+ L0 J2 I- {  X9 m0 w
  61. Database=test; X$ n4 s5 D! `2 B" J
  62. Hostname=127.0.0.18 @9 W6 t) @9 [& |" J) {
  63. User_name=testuser
    ) b9 s) o: a$ k: Z
  64. Password=my_password3 l0 e, t$ h6 I$ }- z  Q5 r, J4 Z
  65. GetDriverFunc=getSQLDriverMYSQL
    . {) C. R" \. n+ p1 e  X
  66. VendorLib=libmysql.dll. Y; E2 v: k. X- V& i' g
  67. LibraryName=dbexpmysql.dll
    2 Y% Q0 k5 @4 F- Z. \7 ?' h1 z
  68. Active=1
    3 i5 l0 K" |9 Z  l7 ~# P7 U: H$ n
  69. ---example----
    " ]' |5 F, e: q0 G* @; i* g
  70. - written 02.03.04 by pwk.linuxfan: R" R! V/ W& F. w: t
  71.   n, H, |* w9 g" |
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看) _4 y0 S0 l5 g. `2 L; n" u

  1. $ w3 H/ l' ~2 \
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    9 Z9 ~8 m/ u2 [- l. g' y
  3. ! F# M3 c- [1 k. P8 w
  4. # # #我们所需要# # # ! [% F. t/ F; l
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    1 @4 I# l" p. Z+ I# Z; A
  6. 不会解释如何做到这一点-也有文件存在,为
    ! A) a3 o0 i- u( P! ]+ z
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ) f, H0 o5 ~4 S1 |6 C( {
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ! R5 u- x$ o- ]9 c: D; M
  9. 随着数据库。此外,你需要一个卖方图书馆安装于6 V8 Y+ F$ W$ w5 m. A: O, F
  10. 本地机器,这是我的MySQL安装。
    ' Z) Y$ Y+ |) D2 r9 v! f
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从) b9 y: S% K' u% z! u0 y
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ; \5 l7 b3 |. H. k# J
  13. 数据库。
    5 H/ p8 C# |" t: i4 B
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    2 S$ a* H  H4 i% v6 T
  15. 编写本报告的时候,仍然有太多的问题-检查现状% q2 X: |" \8 F- w3 v# X9 O
  16. 在teamspeak论坛,如果你有兴趣。 % w) a5 o7 W2 b) {) K5 ~: k1 |
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机( A: F" w7 J2 n
  18. Borland公司使用。这个司机只能界面与客户端库
    . i2 ^1 \2 b8 A0 _& V$ x/ P9 A
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这3 H% C# d: o* `7 @) \+ o
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ; ?1 {! ^  d. J2 B1 B4 W0 a
  21. " vendorlib " ,并解数据库连接。
    9 G: I6 P( h7 Q! m) u
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    - t8 w5 B" d! ]" ^

  23. 7 |2 J, ]5 ~% f' z: s% j0 c& i4 @; f
  24. # # #做好工作# # # / r0 z0 j# R% U. y
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都. `0 K( J6 x$ S$ @  z9 Q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
      B! l; I. {/ |$ f" O7 F# d/ N
  27. 结束:   o% h7 x7 h  L; r  a+ t" J# e% d( `
  28. ---削减这里--- - g, h) @# G% ^, A+ T. J8 T, S  s
  29. [ dbexpress ] + n: ?2 G- @) `* f  ^2 V
  30. sqldir = mysql_sql . }" P) A+ u7 N  y* j
  31. drivername = MySQL中2 M& ^% f& r+ L2 K" ~% @
  32. 数据库= your_database_name_here ) V: ~& d4 _' l' M8 B& v
  33. 主机= the_pc_the_mysql - server_is_on
    ( Y5 D' R( D& m! T% I" x
  34. user_name = user_name_on_the_mysql服务器& e/ ?2 Z  A; p8 i7 S9 f/ f( m. B
  35. 密码= password_to_go_with_above_user_name
    8 z* K3 d9 _4 ?8 l9 L6 h
  36. getdriverfunc = getsqldrivermysql . l# }8 j: I0 f7 f0 X" G" R5 a
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib / u8 y8 N8 F4 X5 R
  38. libraryname = path_to_libsqlmy_libary
      L" K9 {) Q6 H/ m4 P4 I
  39. 积极= 1
    ! x# ^+ i. A' B. C
  40. ---削减这里--- 4 q2 e/ G+ k- ~( y8 [) p: a
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    5 u7 g; c$ l/ {
  42. ---例如---
    % u9 v8 ~$ a) u* d- u% u3 \) u
  43. [ dbexpress ] ) C, D" k" G9 [, M/ A8 x+ ?9 ^6 y
  44. sqldir = mysql_sql ( Y/ [2 b) C( M
  45. drivername = MySQL中
      l. O5 |# F2 x
  46. 数据库=测试- v5 l$ ]8 q7 Y+ v5 M
  47. 主机=本地主机9 X- }& \3 n. a2 N, z( D* C( _
  48. user_name = testuser / _/ q% O9 e/ D& U0 q
  49. 密码= my_password ! \# L" y- H  S# D% d. ]
  50. getdriverfunc = getsqldrivermysql
    1 ]  y* I" `9 B3 N, H
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 , z( v  ~# x8 A8 f4 O
  52. libraryname =. / libsqlmy.so + Q1 n6 c: K( X; }4 c: ]
  53. 积极= 1 7 e, u6 R% ^+ B: Y4 j) I0 U
  54. ---例如--- - O" Q4 M& [$ u
  55. 2 ~) X7 M, T; s, ?
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    * K6 H0 m" c+ S. N
  57. ---例如--- , z; z' L4 K) `& H" y" c
  58. [ dbexpress ] - b& a- R1 B3 @
  59. sqldir = mysql_sql 9 `: R& U! Q; \5 e$ e5 W  o
  60. drivername = MySQL中* k% i0 Z5 c8 R9 G
  61. 数据库=测试; {# z0 ]: g1 L
  62. 主机= 127.0.0.1 $ H2 W% o: s, @) f
  63. user_name = testuser . K$ t+ A  ^1 D; @/ Z
  64. 密码= my_password % f: p; g# B9 i8 b; D0 T+ b
  65. getdriverfunc = getsqldrivermysql
    - j/ P; V6 I0 a
  66. vendorlib = libmysql.dll在2 G$ q; x- L2 j
  67. libraryname = dbexpmysql.dll
    ' U6 `4 s! q  Z/ a9 s" H0 B1 R: ]& t" q
  68. 积极= 1 9 n# B" f2 B  n
  69. ---例如----
    + r0 x) ~# I; b
  70. -写在0 2.03.04由p wk.linuxfan) i; s' d# V$ J3 F: }& {5 O5 z
复制代码
发表于 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
( x; N2 v1 B4 t2 ]0 Y% h. e! y# ?  D- C& A
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-21 09:44 , Processed in 0.067477 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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