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

2392 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
4 D( x5 `0 f5 k; a1 H, V! Q9 ~6 g! n5 m# {% U

  1. + l! I7 O+ t7 L# d1 Z. F" U
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######/ u2 o/ ^. j3 }. O! F9 `* F- Q
  3.   J+ t+ k' T0 R+ j+ d* ~
  4. ### What we need ###
    - ]1 @4 i' f9 f1 x* E# P
  5. Naturally, we will need a MySQL server to store the data for us, this document
    0 A5 \/ H: t, u* a2 l, I
  6. will not explain how this can be done - there are documents out there for the
    0 z! Q: G+ a9 W+ \: |9 E$ L
  7. interested. The requirements include a (empty) database for TeamSpeak to use/ Q0 ^- n" Z7 }3 T( k2 @5 P
  8. and a user account (username + password) that has the permissions to do stuff
    0 H' o; H" q4 B6 D4 ]9 B
  9. with the database. Additionally, you will need a vendor library installed on the
    - y: q' H5 G1 O6 i% q
  10. local machine, this came with my MySQL install.
    ! B/ P" \3 U4 g! ^% j* ]
  11. These instructions will not tell you how you might transfer your data from the, x) K+ l% s% Y- D+ M
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL7 d4 M8 A4 R; A9 r- ?
  13. database.
    ) @* l9 ^( y, s& \6 z& G
  14. Some users have reported ways to import a SQLite database into MySQL, but at8 q3 `: j* c4 p" D! K: Z; ~
  15. the time of writing, there are still too many issues - check the current status
    3 F( U. ?* T1 o+ L: V2 D
  16. in the TeamSpeak forums if you are interested.
    . s5 Y( p) {7 i3 k
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from3 a/ ^; d1 ^( j4 A. d4 H8 U
  18. Borland was used. This driver can only interface with the client library that 8 l* r- B' K4 i8 U" P: ~3 i3 f( U
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this) I5 m' ~9 n. ~* s. j9 Z9 i
  20. client library - basically all you have to do is to use a 3.x client library as
    , X0 f: S, _# e* `+ T
  21. "VendorLib" and a 4.x database to connect to.8 T7 {6 L' |% p' e- `  Y2 j
  22. If you need more info about dbExpress, you can contact Borland., I; f# X( Y( U, w* {, U% B  R

  23. ; {7 u3 t8 {- r0 J7 Q1 b6 X
  24. ### Doing the work ###
    ! u* m; T9 p5 p
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all; w0 L7 b6 Q/ j9 D) O( K6 E
  26. the perquisites right, just open your server.ini file, and add this section at
    . N1 V  g: W5 @" g# |  o. @1 h
  27. the end:
    ( s' B1 l; T8 e5 G
  28. ---cut here---
    : n$ v& S9 [3 G8 o0 ^& x
  29. [DBEXPRESS]
    $ M) O3 u4 o+ f5 O4 W: M
  30. sqldir=mysql_sql3 A2 @6 x  a/ U6 `0 S
  31. Drivername=mysql
    : d3 `2 G5 P+ Y* F
  32. Database=Your_Database_Name_Here
    ( U% V8 t' ?5 ~( C8 @% k
  33. Hostname=The_PC_the_MySQL-Server_is_on2 M& P1 R5 S5 U2 I) ^
  34. User_name=User_name_on_the_MySQL-Server
    2 j9 N! X- \% ?4 u
  35. Password=Password_to_go_with_above_user_name, g4 F4 ^. {/ y/ d& A, ?
  36. GetDriverFunc=getSQLDriverMYSQL$ ~. r* y  B) X% p6 D
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    0 s/ j8 Z- P7 l% ]5 O
  38. LibraryName=path_to_libsqlmy_libary/ _& f* U/ H* X# K' b' ]
  39. Active=1
    & X6 I" |  ~+ r  O
  40. ---cut here---
    ! M- i" |4 l6 T& a
  41. In my environment (a linux box with a MySQL server running locally) I have:( w% T( O: M: R9 T/ }) h0 h
  42. ---example---, C4 ?# B, W% O: S% ]( s; k6 T
  43. [DBEXPRESS]1 n! v/ f. ^- P0 ]5 W3 }' l
  44. sqldir=mysql_sql% }$ Z+ l; N' N& u9 y3 k
  45. Drivername=mysql# K! ^1 k/ D. ~# q& D( s
  46. Database=test. ~5 g' u  E: L$ |, b
  47. Hostname=localhost: c$ Q# s5 J% e
  48. User_name=testuser
    * P1 a' m, e+ F( ]2 b) d9 Z
  49. Password=my_password/ E$ G4 X2 N! K
  50. GetDriverFunc=getSQLDriverMYSQL. D+ ^, \$ R6 a! y
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ! `  [6 A4 D  k2 K) f1 G
  52. LibraryName=./libsqlmy.so! c9 y7 g) _+ E+ o
  53. Active=15 B; J3 K& L& u6 O3 {# z7 d
  54. ---example---9 p1 F$ k- f4 V0 y7 k8 A

  55. 2 @, z# `% H5 |( N
  56. On a windows box, also running the MySQL server locally, it would be:
    * Z, e4 ]) _8 R: ]! S' n( T
  57. ---example---
    ' B( H: Y; ^6 k0 i! Q# L
  58. [DBEXPRESS]( A. n1 b& h- @# u! L
  59. sqldir=mysql_sql
    % K1 _9 u$ \. }  p0 ]( r! K4 e5 \2 t
  60. Drivername=mysql# T# `7 e4 o, T! |
  61. Database=test
    1 y6 v! u1 I5 g! Q
  62. Hostname=127.0.0.1
    ! {4 p; q! b$ {) `% v: U# l
  63. User_name=testuser, J9 |- f& P5 u# o% b% `
  64. Password=my_password! H: j& H+ k0 u3 M1 L/ E6 }
  65. GetDriverFunc=getSQLDriverMYSQL8 t1 T5 s; O0 U3 s$ I
  66. VendorLib=libmysql.dll
    4 |' ?0 o, Q/ T/ K! `9 Y
  67. LibraryName=dbexpmysql.dll
    : P+ z, X6 W% ^! \
  68. Active=1
    2 u( o! v; Y  q; A
  69. ---example----- s0 q7 k+ ~* W( _
  70. - written 02.03.04 by pwk.linuxfan
    # C% l- Q; X3 D, ]5 S4 S4 f

  71. # D% @+ x6 T' n; ^/ M" p
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看$ ?5 w3 w' z$ W& T  L; B2 {
  1. ' o5 |& e, a& u* t8 ]% P. |
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    5 _# t$ `7 J, c# |# l- C* V' o! R

  3. $ \) V' ^' P- q( T; |" C- ]
  4. # # #我们所需要# # #
    2 w9 f: U  W/ r/ f; M) s5 P
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ! a; W/ ^0 |# w5 D, ?* H
  6. 不会解释如何做到这一点-也有文件存在,为
    ; a$ j# O  a& ?% \8 P" ~+ U
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用6 j4 c' N' k' d7 W0 g
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    2 e+ o: K& D1 j7 u- C# Z7 S
  9. 随着数据库。此外,你需要一个卖方图书馆安装于& ?+ A$ {$ q4 R+ L; O  `
  10. 本地机器,这是我的MySQL安装。 . v( T6 i% K9 y; U8 R% q! f8 P
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从& k- y8 P- [- w" C: }8 p
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    6 M# t1 l+ ?! b2 ]% X7 a
  13. 数据库。 9 B* S4 ]  c* O7 X
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    0 ]& @$ Q, K/ u" ~7 X
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    , @* g* I4 d7 p: F7 @) U
  16. 在teamspeak论坛,如果你有兴趣。
    / [5 p7 M! n$ @2 d3 H% G9 f- D/ r
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机* u" W9 \+ d' Q
  18. Borland公司使用。这个司机只能界面与客户端库
    5 d: t# }( @' `& l. L' W4 t' k# E
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这$ E0 I7 r3 l: U- ~" A; B, P
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为5 T& Z4 K) q% I- C# h" ~3 F
  21. " vendorlib " ,并解数据库连接。
    ! }$ l; N5 ]9 O: t4 ]
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 1 d! B3 K% C$ i$ E! X* h7 L
  23. % b+ ?/ r/ x: Y! L) ^: e( C
  24. # # #做好工作# # # 6 |' \( H9 c+ X* i; z5 h" v
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    , B, {; G- f9 b5 J
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在3 E  m4 p, f. K6 j  e1 W' w7 \4 J: @% r
  27. 结束:
    % s5 M2 g- O( y* }0 ]+ _9 q
  28. ---削减这里---
    ( L2 D3 Z1 _: P
  29. [ dbexpress ]
    5 k/ I  q* t0 h2 h
  30. sqldir = mysql_sql ! z5 q; d+ l1 f, w3 ~
  31. drivername = MySQL中
    $ d* O# T6 |1 r" p
  32. 数据库= your_database_name_here $ F5 `% x7 m  I: A, K. N# R1 }
  33. 主机= the_pc_the_mysql - server_is_on   Q7 H" f/ }) L0 ]( ~
  34. user_name = user_name_on_the_mysql服务器
    6 f8 p4 o% z4 G( r% m
  35. 密码= password_to_go_with_above_user_name
    ' ^/ @4 v% {% V# ]! Y/ c* |
  36. getdriverfunc = getsqldrivermysql
    & n( B% x! ~& F+ O0 u
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 4 I3 G6 }/ c/ ?+ x7 @! W* I- R
  38. libraryname = path_to_libsqlmy_libary
    . i# `# F1 T& T& q7 }+ k
  39. 积极= 1   Q  u; G( q0 {) s( r; o0 h) v
  40. ---削减这里--- & i+ j8 C" E7 n) \/ I
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    , @- [1 k. o% `  J1 n0 m' W" @
  42. ---例如--- 5 y( S$ v' e* G. E1 h' k
  43. [ dbexpress ]
    6 C8 @7 W  X0 [7 O% @' n$ |& Y7 e) r
  44. sqldir = mysql_sql 7 t, f8 F* V8 w+ h( h/ ?' v" v
  45. drivername = MySQL中+ e6 x6 U% o* I' e7 O; h
  46. 数据库=测试
    ) I( X) ]! i8 g; X' M  T' T+ C
  47. 主机=本地主机1 P8 F! ?7 h+ ~2 m3 z! V
  48. user_name = testuser
    . o" b! a; T# G. _% m% ?8 q
  49. 密码= my_password
    / S7 \, d( m  |" R
  50. getdriverfunc = getsqldrivermysql
    6 J9 h5 L/ L8 R8 l
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 5 a- `6 j+ m. D1 Q- `* _2 J+ f2 @
  52. libraryname =. / libsqlmy.so
    ' F  Q2 e" m4 S
  53. 积极= 1
    & p! Y( `! l) h* J1 Q7 J3 l
  54. ---例如--- " \8 W7 b- F' p# ]' e: B( ]" X
  55. 0 c. x/ L2 l# \. a& d
  56. 对Windows中,也运行MySQL服务器本地的,那就是: / l8 L+ d/ V5 }2 m$ M4 x
  57. ---例如--- ' g& M! v3 [9 }3 f) x- z; Y0 X7 @
  58. [ dbexpress ] 8 a7 i; A. e- q; p
  59. sqldir = mysql_sql   S* T1 n7 R. l
  60. drivername = MySQL中0 q; g  l$ S3 z: y# s
  61. 数据库=测试
    1 p* x0 i0 C1 l, [/ V5 n% I
  62. 主机= 127.0.0.1   w& s6 @( i1 D2 @
  63. user_name = testuser
    & z7 d9 [; ?) q3 }% l: L
  64. 密码= my_password 8 t) |0 `" |; y2 r
  65. getdriverfunc = getsqldrivermysql ! U' T# |" ]) B  b& L: L
  66. vendorlib = libmysql.dll在
    & A- s" b  f) d7 Y3 p
  67. libraryname = dbexpmysql.dll
    , E- \* u+ o5 i7 V
  68. 积极= 1
    & G8 L5 D/ x+ u) p3 l9 V* e) S
  69. ---例如----
    1 k" J* a: z, I& h5 o% ]5 d2 b
  70. -写在0 2.03.04由p wk.linuxfan/ {& e% C0 @1 |3 v
复制代码
发表于 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 words9 j0 {' [5 w9 s  r. `
; Y0 ~1 ]  y: d, {" f+ q
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-17 03:24 , Processed in 0.090930 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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