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

2444 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
7 j+ s8 i4 m3 E, p& A% l9 }& m% F' M+ r0 ~/ |+ g% D$ G/ o: y
  1.   t0 J- n  G' H$ B  ~" P& T
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    . M* s2 T6 z7 A' r) l
  3. . d: Q" N/ r. N& E+ r# z5 _; G
  4. ### What we need ###
    3 P" i  k( V% [" G$ h+ A% N; }
  5. Naturally, we will need a MySQL server to store the data for us, this document & @$ n+ V. T1 j
  6. will not explain how this can be done - there are documents out there for the ' L9 D- [) `, P1 o3 r
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    5 w3 [2 B' i' m3 L. ^0 b$ |
  8. and a user account (username + password) that has the permissions to do stuff
    ; H/ T4 a8 ~! M& C7 r% A
  9. with the database. Additionally, you will need a vendor library installed on the
    , r! T  g4 k* Z" m( \
  10. local machine, this came with my MySQL install.: |3 S& ~4 ?& v* @% T% O- Q
  11. These instructions will not tell you how you might transfer your data from the+ L5 m& u9 n* i$ Y) i
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ( U% ~2 g1 \( B+ G7 j0 Z3 Y
  13. database.5 t& a, j( l( k
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    6 z  [3 L$ A& `- p9 \0 J' L5 W
  15. the time of writing, there are still too many issues - check the current status
    + m, z9 S, n0 u3 G! B- I
  16. in the TeamSpeak forums if you are interested.
    , \1 J  p0 D( F  W% v( p
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from8 A) R$ w" O2 c5 L) z! w( \/ R
  18. Borland was used. This driver can only interface with the client library that
    % y" P8 z- \9 A6 h6 ~+ m
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this, t0 C& W0 D$ @
  20. client library - basically all you have to do is to use a 3.x client library as
    . g9 R  }$ x( l5 N. x: \
  21. "VendorLib" and a 4.x database to connect to.. r  H2 e7 H3 d" k( _" C
  22. If you need more info about dbExpress, you can contact Borland.! T3 v- H& \" e. U8 u7 }; b: v

  23. $ c  Q: d6 T& |, [5 E: F4 v
  24. ### Doing the work ###. j1 a! ?) Q+ _6 C" k
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all3 r+ b7 g3 ~8 d/ f
  26. the perquisites right, just open your server.ini file, and add this section at5 g8 Y5 _( z; w
  27. the end:
    2 ?/ G/ `- w3 f# D2 R3 v
  28. ---cut here---
    % c. L  A7 s% C7 N# m2 b5 n. v/ R
  29. [DBEXPRESS]
    7 n6 E7 P; r. P+ l4 Y1 F
  30. sqldir=mysql_sql
    8 ^2 N6 A; d, c5 u9 [6 ^9 x
  31. Drivername=mysql
    + t$ S$ O8 I' F  b  ^2 w
  32. Database=Your_Database_Name_Here9 r3 \; u7 U  q. L  D
  33. Hostname=The_PC_the_MySQL-Server_is_on
    0 O/ e8 z1 c$ t
  34. User_name=User_name_on_the_MySQL-Server
    , h6 m$ V! @# c" P2 s
  35. Password=Password_to_go_with_above_user_name
    ( L4 ~  [" M) ?1 ^; k. p
  36. GetDriverFunc=getSQLDriverMYSQL
    5 }4 ~7 `6 _+ s
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ( V+ @! W/ b6 N- I0 W) w, f4 |$ f
  38. LibraryName=path_to_libsqlmy_libary% V2 t/ C% T: Y/ ^
  39. Active=12 G7 Y- Y% ]4 i2 {  n
  40. ---cut here---
    2 U7 V5 x' ?5 s4 A
  41. In my environment (a linux box with a MySQL server running locally) I have:
    + ]6 K4 I% [% d; |
  42. ---example---' a" }) X& b" M& @9 [( `2 Z
  43. [DBEXPRESS]
    , y$ ~0 ?, v( z& s3 R6 @1 y
  44. sqldir=mysql_sql
    0 u$ C- P8 b7 u+ N" g$ Z
  45. Drivername=mysql
    2 X5 i/ @  X) u
  46. Database=test
    / y7 h, H9 `$ N; v
  47. Hostname=localhost
    * f$ H/ L& ^: z" T
  48. User_name=testuser. F8 O8 q& H& S4 Q; j, V- z
  49. Password=my_password
    . A) \( x, Y, a3 t
  50. GetDriverFunc=getSQLDriverMYSQL
    2 i, l3 |& o$ P* n) I
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0  L+ o5 y  ?2 ?4 S9 P
  52. LibraryName=./libsqlmy.so$ R) T# w6 ^% J2 h& x9 E- ]& g: Y/ Y1 c1 q
  53. Active=1
    + Y. u' U7 W% ~0 E/ _2 Z& \/ |
  54. ---example---  x/ c$ \; y& i5 G) f; P

  55. " _" P4 r, c* c  P! u5 d$ w. F
  56. On a windows box, also running the MySQL server locally, it would be:
    3 n% }6 o: Z# e: `
  57. ---example---( q- k3 J* e" ^9 N# C3 H1 E7 v
  58. [DBEXPRESS]. `( d' X# D% C( }/ V
  59. sqldir=mysql_sql
    $ ~6 H( ~5 @% Q5 `) c1 h
  60. Drivername=mysql
    $ R( F7 a( g8 w1 k( W: C
  61. Database=test/ \( O. K5 @% R! g/ T
  62. Hostname=127.0.0.1
    - t; u4 E6 U# A$ ]
  63. User_name=testuser
    ( D4 J! q& `! k; G/ X( M+ T( m8 Q1 ~
  64. Password=my_password
    / O! G- Z# y3 J# a
  65. GetDriverFunc=getSQLDriverMYSQL; \2 Z  R! p" j. v, z0 k1 s' q! ]
  66. VendorLib=libmysql.dll# X- ~5 B1 P0 G4 T( K5 a
  67. LibraryName=dbexpmysql.dll
    * d$ O3 M2 D; X0 |+ P5 g, T6 @
  68. Active=13 ^+ _2 B/ [7 K- v, z: {& i9 s; x
  69. ---example----( R. X8 V$ p# e) D1 s
  70. - written 02.03.04 by pwk.linuxfan: ]' T# [  J3 T  j8 `

  71. . T$ \0 L! U! }
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
+ _7 d- `) L8 W) J5 ?+ E

  1. " U9 @7 g/ [! t) {5 Q6 N9 @" k+ Y
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    2 a/ z7 t8 q0 w+ k
  3. 9 z, J+ d6 A, q) L
  4. # # #我们所需要# # #
    + R2 o% `. n* @! X0 x- w6 C& k
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件! ^" A3 H0 r5 I, e0 R8 h
  6. 不会解释如何做到这一点-也有文件存在,为
    , u9 m) x3 G! Z# x
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ' l/ @' r1 E- n8 K
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西* U2 U8 g3 z) K
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    2 R2 J6 L0 L. E
  10. 本地机器,这是我的MySQL安装。
    , ]# {2 l% D* a2 ~. C
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从& U" ^4 K' }. @0 J
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    % V2 u1 }, `0 f3 w, P
  13. 数据库。
    ! L% A* \$ X; ^7 D0 H
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
      ]' J6 i+ J0 B7 g
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ; W  `0 y( N" Q! M4 S1 T3 e
  16. 在teamspeak论坛,如果你有兴趣。 9 H8 f. t% E1 ^4 q& v
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    9 F2 c( C7 g9 M% x% o* \( {
  18. Borland公司使用。这个司机只能界面与客户端库6 p4 L, G4 u5 G  Q$ }! Y9 T$ h
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这0 t3 G, O; K! _/ n0 Z# d; O
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为, q9 x9 U. u5 r7 H" o- o
  21. " vendorlib " ,并解数据库连接。
    . T0 R5 J# p! C% b9 W" g' o) D
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 . g4 T5 T. e- Q; L8 W. E1 i

  23. / U8 e/ v/ W7 m8 p' l9 Z$ p! ~% p
  24. # # #做好工作# # #
    ' }# Z# w" A' S5 U& ~: v
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ) D, \& `" O8 w7 P4 z5 O
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在, q5 a0 Y2 y! M- K" t
  27. 结束: , K7 \& d& y( B4 ^* d
  28. ---削减这里--- $ B% ~( l% a0 f- P# L; z# N) \
  29. [ dbexpress ]
    * E; c0 \9 y' M
  30. sqldir = mysql_sql
    5 [$ U+ ]. n- I) [
  31. drivername = MySQL中
    ! H7 v, h0 f8 F& x; X1 m8 @
  32. 数据库= your_database_name_here % k; v/ Z( G+ x
  33. 主机= the_pc_the_mysql - server_is_on & |3 E9 t! @( Z& I* J  D
  34. user_name = user_name_on_the_mysql服务器9 n4 m, b8 J2 X
  35. 密码= password_to_go_with_above_user_name
    ! a4 R! Q* q" \+ N
  36. getdriverfunc = getsqldrivermysql
    ' D, d! R2 e8 g) D- m
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    3 A" U: f2 }) H" i9 P" K7 C
  38. libraryname = path_to_libsqlmy_libary 7 h! `* r" p7 ]! `
  39. 积极= 1 5 d& n8 o9 E% D. f, F
  40. ---削减这里---
    9 r: g' }( ^/ B
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    7 h6 i/ q, |) a3 Z' P
  42. ---例如--- & e; Y: I: o4 p* B+ C, t8 f* U
  43. [ dbexpress ]
    : B! }2 K* |4 |: A1 j' w+ K6 N$ v2 i
  44. sqldir = mysql_sql
    ! m$ q2 D" ]" u% `; @. @' A$ k
  45. drivername = MySQL中9 [# e7 }. d' ^8 t) k  k2 h
  46. 数据库=测试$ ^2 ~9 t1 y9 O" w. k: g: C0 O3 x
  47. 主机=本地主机+ U) M% R+ t: R2 y
  48. user_name = testuser
    % C) j1 t, |; U8 ]2 ^8 {
  49. 密码= my_password
    $ b' z0 K' S7 p: g' D# {9 O# |
  50. getdriverfunc = getsqldrivermysql
    0 s1 T' S4 U. x! A* \4 v( G" C
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    % J% h( R7 E: x6 Z9 a
  52. libraryname =. / libsqlmy.so
    3 q; h. k4 v' ]4 |% V+ Y/ w+ B% |
  53. 积极= 1 9 m% Q2 m0 L$ ~# L# K' w0 c- \
  54. ---例如--- * ^" i& ]. A" K3 |0 ]' b/ R

  55. , G9 l2 d) i" k" {0 t8 A
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    6 G( l+ S) O# \! a
  57. ---例如---
    . q. _- h& {* v
  58. [ dbexpress ]
    ; Q9 l# y/ Q) K' \
  59. sqldir = mysql_sql 2 c! b+ ~  G- q+ A
  60. drivername = MySQL中" ~# H: Q+ Q6 ]
  61. 数据库=测试
    0 z: t, j3 z, y' Z
  62. 主机= 127.0.0.1
    3 n" g/ w8 U/ Q
  63. user_name = testuser
    * }5 Y8 b( c/ O. c/ X7 v
  64. 密码= my_password
    7 F' ]! q5 v# w# E
  65. getdriverfunc = getsqldrivermysql
    ' y) f1 H3 F5 Y; t7 K# B9 o4 |
  66. vendorlib = libmysql.dll在* n: @& U, j9 }8 @5 h) u
  67. libraryname = dbexpmysql.dll ' k$ |# E& C1 |9 _0 j: k
  68. 积极= 1 ; H. m: x- Z4 L7 G
  69. ---例如----
    3 U; `8 w9 c$ U& z( s3 Q$ p
  70. -写在0 2.03.04由p wk.linuxfan! [. K& F# g  R1 n  n" V1 K$ }
复制代码
发表于 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/ y0 l/ \6 w9 z8 E
$ c, \3 Y7 S1 F  \6 vbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-4 06:08 , Processed in 0.097525 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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