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

3329 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan / A1 t% Q' d0 B( a. M+ t8 K
& ^2 A6 u7 r- L! \
  1. ( O- A! ?7 W4 ]1 Z6 P& [
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    , I* `; Z- |* J' M! L6 R

  3. 6 N; g& P4 g! A4 }. q8 Q
  4. ### What we need ###
    : G( {7 {$ U+ _+ z; c/ I) x
  5. Naturally, we will need a MySQL server to store the data for us, this document % J% J0 K7 m3 {" n; z
  6. will not explain how this can be done - there are documents out there for the
    7 R' f* Y% W, h4 n* w
  7. interested. The requirements include a (empty) database for TeamSpeak to use. S' c$ a1 E) J) t5 f
  8. and a user account (username + password) that has the permissions to do stuff
    % v% t3 q( h- P6 W# j
  9. with the database. Additionally, you will need a vendor library installed on the
    & v* ^2 F: ^1 F3 R0 @+ X
  10. local machine, this came with my MySQL install.: u! p/ V$ t  |3 i
  11. These instructions will not tell you how you might transfer your data from the# s3 f! X: a7 A. ]2 |
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    9 }6 t0 `6 K! Q3 L1 H8 |
  13. database.6 K" i# C$ H, y
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    7 l7 y) E/ B7 i% S9 i
  15. the time of writing, there are still too many issues - check the current status7 J; |2 P! o2 ]# p; ~" M7 Z+ q
  16. in the TeamSpeak forums if you are interested.1 Z2 q9 R! l, G9 h
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from/ j) V& }1 j2 n) }1 c: i2 F' q
  18. Borland was used. This driver can only interface with the client library that
    3 z) @7 ?+ F5 P5 E; F! n
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    1 _( k7 K& ~; {  j. Z( d: Z! o
  20. client library - basically all you have to do is to use a 3.x client library as ! |" t7 L/ R& o0 ~: \7 i# J, h
  21. "VendorLib" and a 4.x database to connect to.
    ( b' W! O1 g4 s0 x1 g" R2 u; ]
  22. If you need more info about dbExpress, you can contact Borland.5 g: t# j6 C8 F$ H# L- \5 z
  23. , o& s+ ?/ @% L7 D
  24. ### Doing the work ###
    ' j, g, M4 c/ _
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    # L- W- u+ h3 A, R
  26. the perquisites right, just open your server.ini file, and add this section at2 B( }( \9 T* C# x. g2 V( @
  27. the end:) J; M; ]. N- j+ _8 ~  C' q2 U3 I# e
  28. ---cut here---+ s& |% ?0 \8 c7 n# K2 y( @
  29. [DBEXPRESS]
    ( ~3 Q- f1 X, K& P( o8 S
  30. sqldir=mysql_sql5 K6 S% l$ K; }  r% }5 q
  31. Drivername=mysql% `8 U: l$ r0 q- l+ o$ n6 _  d
  32. Database=Your_Database_Name_Here/ X; t2 F" E  @  N# B' U: e2 q. Z
  33. Hostname=The_PC_the_MySQL-Server_is_on
    3 c  q9 |: `* A$ L* D4 Q
  34. User_name=User_name_on_the_MySQL-Server' s5 t) n+ h! X4 [# g# q
  35. Password=Password_to_go_with_above_user_name
    ; R0 c+ e( p& F$ H
  36. GetDriverFunc=getSQLDriverMYSQL8 h- N  ~$ Q0 y! f& s; c% a
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib$ x' Y6 b& ^% y. u9 _/ y" \3 J3 j, O
  38. LibraryName=path_to_libsqlmy_libary
    8 g6 ]) ^4 I5 @; S! h
  39. Active=1" o9 ?1 a" W5 l
  40. ---cut here---
    9 F+ d! a2 Q- N: ~7 u, Q; T* o. I1 l
  41. In my environment (a linux box with a MySQL server running locally) I have:7 h/ V  D7 H0 ^
  42. ---example---) @9 F7 H: v( i  w# D
  43. [DBEXPRESS]
    , A* i2 y  d! @1 @8 Q* Z% h& r
  44. sqldir=mysql_sql4 p2 o5 Z2 R" a* s* d6 ?! e
  45. Drivername=mysql! b5 n$ u9 b, ~: d6 M3 I
  46. Database=test0 y  \, A: e- R+ X  S- c9 L
  47. Hostname=localhost
    2 X1 b$ w( [4 `* k' ~/ y
  48. User_name=testuser+ C, \" X8 o4 d7 |2 L
  49. Password=my_password6 N. {3 H4 h! q0 f/ ^8 ~
  50. GetDriverFunc=getSQLDriverMYSQL* _( {  B! E! Q' s. Z3 t
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    0 d, x( t) ~% p; ~4 T8 ^
  52. LibraryName=./libsqlmy.so' k( T# H- V7 v/ q3 f2 F' r
  53. Active=1
    + K" g' P* J4 y& J
  54. ---example---2 k& I6 {, E% P

  55. . |8 g0 i4 V+ B7 v
  56. On a windows box, also running the MySQL server locally, it would be:1 c4 \8 Y/ Y2 x6 N7 m/ T  }, t' }" H
  57. ---example---5 N) @# A3 s! a+ }
  58. [DBEXPRESS]1 X5 r, l: j1 k' y2 m$ e7 s. T- O" K
  59. sqldir=mysql_sql
    5 t/ @0 o" N) G$ t7 |$ Y# a
  60. Drivername=mysql
    " y% R5 n5 ~5 I$ y6 j
  61. Database=test
    8 ]0 |- u8 I/ U5 G# p2 e- m+ R' U
  62. Hostname=127.0.0.1
    3 Z1 D  h: i: b7 r) e+ C
  63. User_name=testuser
    ! E6 j2 {* m9 m# ]( ~4 {/ z
  64. Password=my_password. f0 U5 B" D4 U/ b
  65. GetDriverFunc=getSQLDriverMYSQL& u% b) F5 u2 q! `7 b
  66. VendorLib=libmysql.dll
    ( R# ~2 _1 N5 O8 s3 e. p
  67. LibraryName=dbexpmysql.dll
    : u0 P; N7 ~5 c1 E4 Z
  68. Active=15 \; T; k4 M" s
  69. ---example----
    * D; c! x* U8 ^3 c2 H+ H
  70. - written 02.03.04 by pwk.linuxfan( J* l% r, L( x7 i9 a! {
  71. 5 Z4 J3 U; H( X6 \* Y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看9 c9 m; O' ?2 W8 X: ]: _
  1. ( u; c( u! [. T* ]
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### & O- f# B/ ~9 x! X) {
  3. % b& m) a4 r) c4 [
  4. # # #我们所需要# # # 5 S2 A; M' i/ Q$ B
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    " X/ N, ?# F7 w2 |5 r! j
  6. 不会解释如何做到这一点-也有文件存在,为
    4 G- e8 Z# R' ~  P
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用1 u6 c; s0 ?6 E6 U: ^( E
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    5 \/ l- |1 Y: O9 V) ]3 \+ l6 m* ?
  9. 随着数据库。此外,你需要一个卖方图书馆安装于; H! r5 v* m2 N# c
  10. 本地机器,这是我的MySQL安装。
    ; M% `0 N/ ]0 i7 \2 O' m
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    7 ]% `( O2 G; l# n: Z4 t
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    : o$ w+ P7 x6 V, R% q/ i! u
  13. 数据库。
    % h  }) ^+ ~9 j( c0 b, A! \
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在7 a! H; s: Z$ ?* c+ Y; q
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    0 @) B/ R  s. h1 w: X% d+ v( ]
  16. 在teamspeak论坛,如果你有兴趣。
    ; g) e# T; F7 e( v: s# M' N
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ! [  r3 O6 v: Y( ?* Q6 x
  18. Borland公司使用。这个司机只能界面与客户端库
    2 `/ `8 P% i% l/ P
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    " n; C; ~3 ~: ^6 x; p- }
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    : w; s7 F, T. K7 @3 C& ?9 d/ B0 Y
  21. " vendorlib " ,并解数据库连接。 # `3 J; u, Y$ n; \: t( {, `; C
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 - p7 T: Z/ S7 z* }6 l6 _
  23. % V0 e, O1 c$ t. k9 Y$ Y
  24. # # #做好工作# # # ( X" b2 o% S9 R% b7 I" C6 _' I7 |4 D
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    7 K9 V  q/ |6 L
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    0 \% M- ?9 a9 w5 \  i
  27. 结束: 4 {1 N) m: q. p" p: u' V
  28. ---削减这里--- 2 j  K  S# k: {2 k* y
  29. [ dbexpress ]
    ' M5 R. ^6 S4 ]$ e
  30. sqldir = mysql_sql
      Z& R* u, ?/ x
  31. drivername = MySQL中) c2 i+ e6 N. h  v4 `
  32. 数据库= your_database_name_here / S0 v9 ?2 G. ~# m( ?5 ]
  33. 主机= the_pc_the_mysql - server_is_on
    : }$ {! e" u. K6 {, V1 `8 `/ D
  34. user_name = user_name_on_the_mysql服务器1 x5 L5 H) P& r; j
  35. 密码= password_to_go_with_above_user_name
    : w, m& C! B& C3 K- Y0 _
  36. getdriverfunc = getsqldrivermysql , o( G8 W0 y# \$ }5 d3 Y1 U4 {
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 8 j0 q" x5 c" A- c' x) }/ @1 G$ h
  38. libraryname = path_to_libsqlmy_libary ' R( o+ L- C  A; E# F: E
  39. 积极= 1 9 k! y+ J) t' B" b2 @
  40. ---削减这里--- " B( j* B3 e- B* p
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ) L5 K/ A) ^& R
  42. ---例如---
    ' |( l8 e) @% Y( T/ _& ^
  43. [ dbexpress ]
    2 Z6 t1 q6 i# }  _) O. `" R
  44. sqldir = mysql_sql
    3 t5 Z0 o1 }) E2 |4 \' y- @) r
  45. drivername = MySQL中
    8 ~; J; {% S, Q) `& c1 m
  46. 数据库=测试# U. f3 T7 O* W3 m0 e, n
  47. 主机=本地主机
    - S0 v8 o+ k( M9 L" Z, v' a! Q
  48. user_name = testuser   \  ?" P' ~/ a- X" J
  49. 密码= my_password
    ! O& h: p' Q6 O  F, t/ A& l
  50. getdriverfunc = getsqldrivermysql 9 R2 l& {( q  Z2 h, ?' Y& y  D
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    $ I( @* s2 k$ d
  52. libraryname =. / libsqlmy.so
    : `, h& w# Y/ V# Z% Z$ i: N/ f
  53. 积极= 1
    5 F1 ]. I( z2 u3 }+ p' r# I
  54. ---例如--- , m" A/ S- P) p
  55. / g4 D1 F* R8 B: d
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    5 T* Z" l% y5 `! M$ k% q
  57. ---例如---
    3 k( J- C6 b, g- \
  58. [ dbexpress ] * G3 I3 s# u( t' a
  59. sqldir = mysql_sql
    " i7 P$ e% Y0 Z
  60. drivername = MySQL中
    6 H- z: R( k( D1 a/ o
  61. 数据库=测试
    * z0 d6 h3 S& s/ }9 w
  62. 主机= 127.0.0.1 2 A/ `. u# m5 D* }" ?
  63. user_name = testuser
    " \0 x. {* [- |+ M. ~$ w
  64. 密码= my_password : m! \1 m' e: c+ _& X2 c; Q
  65. getdriverfunc = getsqldrivermysql
    7 B! C9 B, h' c2 l( c: Q' [
  66. vendorlib = libmysql.dll在
    % i+ {9 k8 |% ]! r0 P4 {3 w8 [
  67. libraryname = dbexpmysql.dll % v% J; a3 h3 u# M; S
  68. 积极= 1
    ) ~/ P% J. D% g% p8 I$ g
  69. ---例如---- 4 @% I' i% f7 a1 A8 @9 v* u" Q" ^1 K
  70. -写在0 2.03.04由p wk.linuxfan2 a" I7 r; z6 c0 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
: t' i* i" V, |; F' H
% z+ R7 r  \& d" r! D. r; |$ B8 H( Rbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-13 23:17 , Processed in 0.088832 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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