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

2322 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan - s3 s, C" u& [" q4 t: {
/ x( x/ o/ o) V
  1. / ]7 ?3 _) e+ Z/ y  {8 b! E& u3 l$ B0 Q
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######1 n5 G: f) j. t3 N' u% z, C+ t! u

  3. * ~! r6 p+ u7 f, h7 \+ i/ q, s
  4. ### What we need ###
    9 _. O& x4 E8 E
  5. Naturally, we will need a MySQL server to store the data for us, this document 3 G* N# [: Q+ ^3 s+ ^- l2 D/ j( o
  6. will not explain how this can be done - there are documents out there for the ' M5 w6 l0 |0 T, ]4 I
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    1 p# C0 N, j: [7 ?: [9 R7 P* [1 X
  8. and a user account (username + password) that has the permissions to do stuff
    0 {9 S2 ?2 K) \2 J% ]3 a
  9. with the database. Additionally, you will need a vendor library installed on the
    + N8 ]9 Z! O. G9 k
  10. local machine, this came with my MySQL install.' q. |& I- z" Z% U- z: ~$ a3 w# Y
  11. These instructions will not tell you how you might transfer your data from the
    2 g2 d7 P7 y/ b  ^2 i
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    9 x/ c2 k3 k. m+ W- g& w
  13. database.
    9 @. P/ F8 q8 j3 A
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    7 J' N1 i8 q+ ?6 J+ l
  15. the time of writing, there are still too many issues - check the current status5 g9 d9 j! ^: l7 c' f
  16. in the TeamSpeak forums if you are interested.: W4 N: A/ Q4 n! Z( _
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    1 W$ p! d5 c( S! T+ v
  18. Borland was used. This driver can only interface with the client library that
    & }# h4 r( r5 K$ g6 _: v$ k
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this% I" R: j. o  K4 {
  20. client library - basically all you have to do is to use a 3.x client library as ; `( K1 d3 B" R' X/ Z
  21. "VendorLib" and a 4.x database to connect to.
    9 q% Z& p. n' R# J) _
  22. If you need more info about dbExpress, you can contact Borland.9 }9 H* a7 a" v" }9 B' j

  23. ; {: ?0 D( n' B6 [1 N
  24. ### Doing the work ###' _8 V% I; T8 R' J9 W
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ; a  \# J+ R" Q3 h
  26. the perquisites right, just open your server.ini file, and add this section at
    * n0 t4 W7 H6 k" s* ^! Y& J
  27. the end:  g: r1 j4 `* I/ ^0 Y' g
  28. ---cut here---
    $ k8 J0 A1 w9 f  D
  29. [DBEXPRESS]
    : k7 E. _( |9 o$ M
  30. sqldir=mysql_sql$ v1 m2 L5 i# p& c
  31. Drivername=mysql7 Z- n) e% m: J% M
  32. Database=Your_Database_Name_Here
    ' _% Y0 |9 q2 a0 p: y
  33. Hostname=The_PC_the_MySQL-Server_is_on3 I% [+ \3 \$ v1 M4 ^
  34. User_name=User_name_on_the_MySQL-Server: E# [/ d; h0 w* D) R/ F
  35. Password=Password_to_go_with_above_user_name
    , N; N$ `% V& p! u& k7 q
  36. GetDriverFunc=getSQLDriverMYSQL2 T4 S3 z, D3 E# `- ?0 I
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib1 c0 k. X. U- N) X+ C
  38. LibraryName=path_to_libsqlmy_libary
    3 m, B- W' \; W+ o' E' D
  39. Active=1
    5 }2 T+ o6 d3 K1 ?4 A5 V1 E
  40. ---cut here---
    " k+ x: r/ ^) A+ C
  41. In my environment (a linux box with a MySQL server running locally) I have:, U7 T5 R" S  b4 K) z5 q
  42. ---example---
    . k: [  J$ ]4 \% h
  43. [DBEXPRESS]4 {# k2 N, |% v; X, U
  44. sqldir=mysql_sql
    # K+ N+ `% {  Q. K3 b# x
  45. Drivername=mysql
    " c# b* u. H$ P) n$ T$ }: W  D4 g4 m
  46. Database=test
    & N. |  A4 H  W% U
  47. Hostname=localhost' t, P. o& k( j& M6 s3 W* [
  48. User_name=testuser) ^2 M- w3 D  q2 [% Q4 Q
  49. Password=my_password
    8 B: O, m4 g# q# S. a$ Q6 P
  50. GetDriverFunc=getSQLDriverMYSQL% f" G* l! W' R" A  K
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    + x* t  B1 @: d* t' P
  52. LibraryName=./libsqlmy.so
    5 P' b6 x4 |2 g( c1 d3 e4 o) n
  53. Active=1
    ) k% J& m- e, ?+ K" z. r0 }2 z
  54. ---example---
    7 B+ ^: j# B' h4 I) O* W

  55. + m! Q8 a& ]3 W8 V5 n4 y1 \
  56. On a windows box, also running the MySQL server locally, it would be:9 s1 |- [2 |  |( R, R
  57. ---example---
    - B( i% g0 K( v5 g3 f: _, f: _4 y
  58. [DBEXPRESS]
    6 O' @! m) b* @! w6 L1 I
  59. sqldir=mysql_sql
    4 T$ F+ f) ~) J$ a6 ]% B
  60. Drivername=mysql* f& x# E+ q, |8 ]9 F
  61. Database=test
    7 @6 D& @. x% s
  62. Hostname=127.0.0.17 Q: D# X) T4 l& R
  63. User_name=testuser8 v. c9 k: z9 p' Y  @: q5 N
  64. Password=my_password
    5 j- C* H! Y, C1 F) ]% R
  65. GetDriverFunc=getSQLDriverMYSQL
    3 }' C0 _/ l4 d* O
  66. VendorLib=libmysql.dll& C& }9 K. L2 j- s6 r0 u! U5 O
  67. LibraryName=dbexpmysql.dll
    & }0 c/ f, M( T
  68. Active=12 l& l. c& `- v
  69. ---example----
    7 }* D( y7 Q. E. l" r
  70. - written 02.03.04 by pwk.linuxfan
    + a/ r% {, h) s! Z
  71. 0 ^2 r! }# U  ^+ ?1 W
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
/ u0 @0 R. w. ~  G1 F
  1. 3 H3 c" o9 D: i4 l
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### + R3 d) f/ E; s, n# P, M: x* u
  3. ! u* H  \+ \, H! v% F
  4. # # #我们所需要# # #
    3 Q0 f- x' @5 G" \$ t# F/ i4 p
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件+ R: V, A* F. D* d& O5 a* \
  6. 不会解释如何做到这一点-也有文件存在,为
    8 U2 ]7 g/ n9 C9 q
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    , c( k0 q- K* b8 d( m
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西1 }2 h* @! b# ]9 {3 x5 m; F' K3 U
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    6 Q" P5 D! V. E
  10. 本地机器,这是我的MySQL安装。 - M+ C4 o5 t* J
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从7 ]3 c/ F' F2 {
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 4 }  _$ Y5 d( P$ m0 h. \  {1 S
  13. 数据库。 ) \8 }0 S- g2 Z+ M. O% e
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在: I9 @3 l1 s. \7 E& Y: C$ T
  15. 编写本报告的时候,仍然有太多的问题-检查现状* e" n! @8 z  H, ^1 e* F' Q3 G8 ^
  16. 在teamspeak论坛,如果你有兴趣。
      r  Q9 P, @& k0 N
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    : x& M, e5 p+ W: O. h: R0 M
  18. Borland公司使用。这个司机只能界面与客户端库4 M' Y1 {7 X' f' `, _! |
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ( x3 t! u/ Z5 S, s0 B
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为; r& R8 I  j8 e; ?) w5 R
  21. " vendorlib " ,并解数据库连接。 5 e9 W- I* Z; B# {9 S: G3 [
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 3 A5 @' Y( X; m4 u
  23. 3 M( {; w8 D. T2 l/ j
  24. # # #做好工作# # #
    5 B& u' F( j6 W+ s5 N5 B
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    / O! g9 O0 [3 c. \
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    - m( a* C  {. k" G+ k6 M5 D9 T
  27. 结束: ) d9 B4 a8 V0 |0 a2 I
  28. ---削减这里--- . s5 y# v2 ?! j  v
  29. [ dbexpress ]
    1 s5 u0 N2 z; u7 |* z5 [4 j
  30. sqldir = mysql_sql
    2 z: C: N( y! x- G- \' m
  31. drivername = MySQL中+ J: V  Z; @4 R# u- B0 ^- n' Z* t7 N
  32. 数据库= your_database_name_here % u" \, ~. w6 L7 ~) J, @3 v
  33. 主机= the_pc_the_mysql - server_is_on
    8 f4 [8 X. z5 p5 P! W. ?0 g
  34. user_name = user_name_on_the_mysql服务器3 j9 v* k7 q9 O% Y( ]4 p& J6 y
  35. 密码= password_to_go_with_above_user_name
    & Y" f$ Y' m8 j+ n
  36. getdriverfunc = getsqldrivermysql
    : |6 {$ }* ~0 r$ [: G# L' X
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    $ h9 y- H& p9 e) G' N
  38. libraryname = path_to_libsqlmy_libary , {( M# l3 K3 B. u7 s3 F. A
  39. 积极= 1 7 J+ q  e: T; B. r) |+ E
  40. ---削减这里--- - ]# {. g$ ]0 H2 \7 p
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
      k- K/ E% {3 k
  42. ---例如--- ; u& P0 Q' w$ ~0 [
  43. [ dbexpress ] 3 ^& k: e# i7 u$ t
  44. sqldir = mysql_sql
    ' r# T* K3 Y1 K: {3 N' }/ n* B0 a
  45. drivername = MySQL中9 z& P2 P% k/ m: T  l  b( f% ]
  46. 数据库=测试9 A4 o3 f8 P2 W% k5 D9 S2 y
  47. 主机=本地主机
    $ N: Y& p! t: x
  48. user_name = testuser
    + D8 [0 F% |  m, j4 V" i" g
  49. 密码= my_password
    $ b1 F: |% Z9 v' K* h
  50. getdriverfunc = getsqldrivermysql 4 d9 R; O1 o$ E, C
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ( t# k/ Z$ Y& T( g2 D
  52. libraryname =. / libsqlmy.so
    4 W8 v8 j/ {. x" h7 x/ A
  53. 积极= 1
    " p( y1 `: d- S3 Y- R% F+ _
  54. ---例如---
    - j( P$ z& I8 V. q. i% h% L

  55. 8 S, s3 V2 _# R, ^3 S9 j5 H
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    % f( K, N! j' e0 i6 p
  57. ---例如--- . Q$ Y5 x. G; y2 |
  58. [ dbexpress ] ( Q0 j5 R9 h# [8 N$ e8 K
  59. sqldir = mysql_sql
    ( G, K' e+ E0 w2 q
  60. drivername = MySQL中
    % @. R; ~/ R; U
  61. 数据库=测试
    - Q& m4 g4 p0 {5 U* s- }
  62. 主机= 127.0.0.1 $ g5 O$ N6 ]+ Z# F0 K, T
  63. user_name = testuser 7 ~$ {, u. ~. p
  64. 密码= my_password 1 D+ q- a9 t7 m% h& k
  65. getdriverfunc = getsqldrivermysql
    , j$ b7 Z+ X$ E
  66. vendorlib = libmysql.dll在
      ~, y4 Z# X" y
  67. libraryname = dbexpmysql.dll
    : u  r! a. ~* U
  68. 积极= 1 / w+ J9 \# i! \- d* [; b" ?4 `4 O
  69. ---例如---- ) ^' ^+ @% o" y0 k$ p
  70. -写在0 2.03.04由p wk.linuxfan
    8 Z2 e: l" b  Y! ?3 `) _
复制代码
发表于 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
: U- Q0 ?2 U$ F$ ~
( |, [+ E0 m7 H6 h3 ]but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-21 03:38 , Processed in 0.118294 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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