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

2353 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan , G- z) g7 C" g9 c, J; M. g
  l: v* J. c9 _; I9 N, `
  1. 9 J/ s6 V& h1 _  P. @- b
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######: J2 g) y& e4 w" c4 v
  3. ( C& k, K+ Q6 d) f9 c# I! @- W
  4. ### What we need #### `, [7 W" Q. `$ Z4 E% h- Q
  5. Naturally, we will need a MySQL server to store the data for us, this document $ x" S* N- e% P0 J5 I
  6. will not explain how this can be done - there are documents out there for the
    $ U& v4 F* L: N# s# Z7 i& @. w
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    2 `$ }8 {% ^' H9 P1 O; H4 |
  8. and a user account (username + password) that has the permissions to do stuff! B, W8 u9 n. w/ N) d& }& u  W
  9. with the database. Additionally, you will need a vendor library installed on the
    5 G- K. z' r9 ~/ F7 a  r
  10. local machine, this came with my MySQL install.
    * p. C! ?. e0 \# A- }8 m6 `
  11. These instructions will not tell you how you might transfer your data from the1 G; T+ B, Z" G$ S: n' ~
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL8 C% h* E" v/ w$ G1 w0 b
  13. database.
    ) |# p  X7 A! S* ^
  14. Some users have reported ways to import a SQLite database into MySQL, but at6 a- Y3 K! E$ Z% d) w0 @
  15. the time of writing, there are still too many issues - check the current status
    0 Q2 \5 o8 V: V4 B0 @
  16. in the TeamSpeak forums if you are interested.
    % W6 O: c0 y5 v2 @9 E
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    , y+ ?& {: k- ~' y3 c& y
  18. Borland was used. This driver can only interface with the client library that
    ; D6 J3 J3 R3 x' H/ {% P& }
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    # ^$ ~! O* `. X! E0 M3 b0 F4 o2 M
  20. client library - basically all you have to do is to use a 3.x client library as 3 ~; C, S/ g8 `( U- P& R3 E) z% m
  21. "VendorLib" and a 4.x database to connect to.
    ( Z' ]7 t" n9 S% I. M. G
  22. If you need more info about dbExpress, you can contact Borland.! _- t5 h- Y2 S0 i9 B- J

  23. 0 U8 d7 Q6 B5 ~
  24. ### Doing the work ###
    + j0 x. Q! l% b) y) a1 X2 g( s, u
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all& S3 l3 k0 `! M$ p
  26. the perquisites right, just open your server.ini file, and add this section at. E  N0 e. f) g2 ~6 y) S) L1 M
  27. the end:2 |6 c7 H; k% Y0 @
  28. ---cut here---) c9 Q, K* p$ z$ J3 G
  29. [DBEXPRESS]9 ~* c/ l$ P; A5 q3 v2 R& g
  30. sqldir=mysql_sql
    3 L  _/ ?! i# c2 d
  31. Drivername=mysql
    $ x- n$ \( I) e+ K: v/ M  ]
  32. Database=Your_Database_Name_Here
    / Y6 O: t2 O; I3 f% r# a+ f
  33. Hostname=The_PC_the_MySQL-Server_is_on
    $ N1 l! I, C- X9 V0 |0 ^
  34. User_name=User_name_on_the_MySQL-Server: Y, e6 C1 S) t4 p9 C+ J4 [
  35. Password=Password_to_go_with_above_user_name
    4 a: E3 \% d# r
  36. GetDriverFunc=getSQLDriverMYSQL, m, D# d4 ^' Y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    $ }! i5 k: u* P8 ~! b. E% }
  38. LibraryName=path_to_libsqlmy_libary  K2 s: \/ {' z  g# K" o
  39. Active=1
    % U3 ]7 S' F$ Z) J% u
  40. ---cut here---3 B& T/ O1 }5 Y' A/ x
  41. In my environment (a linux box with a MySQL server running locally) I have:
    4 s0 w- M' E, Y4 T8 D6 U
  42. ---example---6 x; `! ~# t5 q* F6 }' y  v
  43. [DBEXPRESS]
      _! M( a; o- F+ O  |* }' |0 d
  44. sqldir=mysql_sql) q. r* `2 }1 ]! n7 \: {$ [
  45. Drivername=mysql2 I& u1 P7 t2 f8 B9 y9 G
  46. Database=test
    & D# j) C6 ], `/ D
  47. Hostname=localhost& c1 {. `% V- X% \3 Q9 R3 p/ R3 o
  48. User_name=testuser
    ! f! L, d7 d: E2 O# l. w7 M
  49. Password=my_password- [8 m4 f& t( I1 W
  50. GetDriverFunc=getSQLDriverMYSQL0 q* a) `* ^/ T9 r: m+ v
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.09 k( S$ }( I/ g7 Z. C7 I
  52. LibraryName=./libsqlmy.so+ R( E$ n: N; N6 H8 a% V
  53. Active=1( @. L' S1 `& U% P
  54. ---example---
    # g- m' ?8 P9 C( X- D

  55. 2 @; T0 }- _+ j) G- ]$ ]; F
  56. On a windows box, also running the MySQL server locally, it would be:
    3 `7 [% B7 @: [) o3 W0 N
  57. ---example---
    ( [" r) P* T/ g1 O5 B
  58. [DBEXPRESS]
    5 Y# b& A: M6 ?1 B5 Z4 k
  59. sqldir=mysql_sql
    1 n  D1 }* k& C% ~
  60. Drivername=mysql
    1 Y6 ~- m( Y5 N7 ]* X
  61. Database=test
    # U" K7 f7 d6 k% \0 T
  62. Hostname=127.0.0.1' Q, H: o7 M6 U& r
  63. User_name=testuser8 z8 S1 H0 K2 G. U) B: P
  64. Password=my_password* C5 H$ y, R, Y- i( u0 W+ P
  65. GetDriverFunc=getSQLDriverMYSQL
    5 n" C- \, z; C9 @
  66. VendorLib=libmysql.dll7 f% h& h6 A5 L$ K# T1 s: ?$ q
  67. LibraryName=dbexpmysql.dll
    4 J5 |. ]. f( T
  68. Active=14 c! b% e$ {/ |; q% w- w. U
  69. ---example----
    9 w- R9 S8 _9 f. t3 w
  70. - written 02.03.04 by pwk.linuxfan/ f. S2 q7 M# l# B/ ]/ K
  71. + ]: e- f2 E5 g  S9 H# C/ I( d$ g
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看% n0 \1 i( D- z4 M
  1. , R3 I, G+ q+ e7 X$ b7 ~# O
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    4 f' Y# Q( E" c& u' ?% H( k+ q

  3. # ~' d& ]) t2 H9 h3 q% {
  4. # # #我们所需要# # #
    " O* p! h2 N2 D0 d; \0 o% k
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件8 W& Z; ]) S$ U
  6. 不会解释如何做到这一点-也有文件存在,为( N. S- @* R' o" T5 k
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用1 z0 B7 o5 S5 c: G7 c
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    / I. g* Q6 D9 C
  9. 随着数据库。此外,你需要一个卖方图书馆安装于* R3 s3 z; j6 m
  10. 本地机器,这是我的MySQL安装。 7 ]3 \& `& U) N# N% G- A+ N
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从- N: z! B2 z' @! g0 x$ K4 d  ^
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
      `6 o$ r9 b& _  e
  13. 数据库。
    ( F) h/ W6 g, B9 `
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在. T, O  p7 W& e# V; o
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ' X  j; Y. a' g. U2 v
  16. 在teamspeak论坛,如果你有兴趣。
    . |& P) D- r) P1 a) X
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    3 I: X9 T! x8 U1 Y8 ^% W2 y
  18. Borland公司使用。这个司机只能界面与客户端库
    # X0 H; Q6 d2 Z, l3 [, q/ J
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ; l5 \6 a3 B0 H! U* [  U, }8 J
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为; g6 ^3 {& }) x  d3 {
  21. " vendorlib " ,并解数据库连接。
    ( R+ G5 M& h( q3 y8 L6 J
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 # _% s: R) q" @2 X( |
  23. 7 l3 r$ `  p& {* e
  24. # # #做好工作# # #
    9 Y  O: X) [, _
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都' t: @4 E# w# Z  T* A
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    # n- @* W' V  p6 |2 M* `" r) O
  27. 结束: / Y8 q( o" @% }% \& M
  28. ---削减这里--- 0 x6 j6 Z5 r7 H
  29. [ dbexpress ]
    $ H/ n, z8 p+ C9 O
  30. sqldir = mysql_sql * a$ l% K5 N  n) \
  31. drivername = MySQL中# M1 T0 S' c- \; |
  32. 数据库= your_database_name_here 2 H1 b" Y) U( j' F7 E0 L& _
  33. 主机= the_pc_the_mysql - server_is_on - H3 U( M, J) M# G3 C
  34. user_name = user_name_on_the_mysql服务器
    , A& i7 K5 u  }5 T; z0 a
  35. 密码= password_to_go_with_above_user_name 2 e5 x2 _& P2 \: ]- R* g
  36. getdriverfunc = getsqldrivermysql 0 V; D3 o7 I$ C: V& Z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    4 B! t2 y3 n9 S! e; k
  38. libraryname = path_to_libsqlmy_libary
    6 a9 c8 ]7 L9 X# y, u! }! {% \% @
  39. 积极= 1 5 D  Z  |0 J( C/ _; v& ^! L  }. p( p. `
  40. ---削减这里---
    2 R  ]& t: ~; b
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    # A7 a7 ?3 j+ A  ~: L; s
  42. ---例如--- 7 Y4 Y1 x/ K1 ]7 s" _) \* F2 {8 ?
  43. [ dbexpress ]
    ) G* Y. Z! u# u! l! ]0 F
  44. sqldir = mysql_sql $ o( X5 G( \3 `" q
  45. drivername = MySQL中0 }: K8 R, `6 O9 P! K
  46. 数据库=测试
    ; {6 \1 Z% i- j/ X
  47. 主机=本地主机
    # z  e) X8 S: e% ?1 j: v3 E9 g
  48. user_name = testuser ( o- t4 s) F, m
  49. 密码= my_password   p8 l4 x1 O9 {% Z5 T# L8 s2 s
  50. getdriverfunc = getsqldrivermysql
    $ r/ b3 Q# i, T. E( [( [' l
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    5 v, P5 ~: H# E7 N
  52. libraryname =. / libsqlmy.so
    / D/ G; x! u; Q8 e* t& d5 N9 ]
  53. 积极= 1
    + A/ n! P& a. {) u9 i
  54. ---例如--- 3 U' `. @8 P8 A- I5 y
  55. ! @: Y$ w; G9 `/ B# [
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    - F5 H7 b( ~8 ?
  57. ---例如--- / B1 C* I* h2 S2 k  C/ z
  58. [ dbexpress ] / N+ v# t. _! R6 g. _7 X4 v
  59. sqldir = mysql_sql
    , y# \, |+ I3 [: j/ o; \9 W+ I
  60. drivername = MySQL中
    ( B, V) f5 G: l
  61. 数据库=测试  X6 k! L, K  p6 q9 K6 H
  62. 主机= 127.0.0.1 4 I, U4 Y- ~5 ~+ w# `5 T
  63. user_name = testuser
    & K1 U  }: `( u! y8 _
  64. 密码= my_password * q/ \' S4 q0 \9 T* E
  65. getdriverfunc = getsqldrivermysql
    9 W0 k% ?# E9 z" n8 A1 {) v
  66. vendorlib = libmysql.dll在
    ! w  K2 b9 [8 n* M
  67. libraryname = dbexpmysql.dll
    7 I! f6 l6 X! Z3 J. Q7 b
  68. 积极= 1 " z/ s+ a6 ]7 p3 x
  69. ---例如----
    3 l( v6 ?) v& s" Q9 {2 a! {; l
  70. -写在0 2.03.04由p wk.linuxfan
    5 E/ t  A" |, W; ~2 L1 ]
复制代码
发表于 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
7 X0 [, J3 w, R; l  b8 d% n' N' e/ p: `" ^/ S  @
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-2 19:44 , Processed in 0.131949 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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