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

2974 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ! E7 j) |( R. X& a: l
* Y8 R, x, q9 P8 z1 P. w& d

  1. ; }# F/ }- P9 R; Y& M# \, \
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    # |% Y0 l, p. T; ~1 u4 b

  3. ! D4 ]) I' p6 A" d( S8 S2 v, I
  4. ### What we need ###1 W  C2 G4 f% g3 k) q0 t) y% R; U$ o
  5. Naturally, we will need a MySQL server to store the data for us, this document
    - F, P8 U- U" a8 S9 P
  6. will not explain how this can be done - there are documents out there for the ( T& c, l9 p0 {
  7. interested. The requirements include a (empty) database for TeamSpeak to use( `& ~: j, Y, d4 G2 D& ]
  8. and a user account (username + password) that has the permissions to do stuff# s# c* w+ c* C& |
  9. with the database. Additionally, you will need a vendor library installed on the1 y( A  T* w& F$ R: ]! {
  10. local machine, this came with my MySQL install.' F4 }; O# S" g+ u8 `* ~/ F4 ]
  11. These instructions will not tell you how you might transfer your data from the, J9 k- o9 W0 `; t
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    / u. k9 R  T0 l3 ]( \4 i  d' A
  13. database.% i( m5 P: z$ a
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    # q, Y9 C; C/ }3 S4 h
  15. the time of writing, there are still too many issues - check the current status. E' J8 l4 @: m$ C& X
  16. in the TeamSpeak forums if you are interested.
    ( v0 Z7 P% R/ ?4 p
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from: q, F% c1 y( j, I! e
  18. Borland was used. This driver can only interface with the client library that
    ( |2 G2 t5 b4 Z7 s) g
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this/ X# m( Z1 I! ^+ ?: h% B
  20. client library - basically all you have to do is to use a 3.x client library as # ]( \! ]& Q3 }* C4 C' }
  21. "VendorLib" and a 4.x database to connect to.' p7 e4 I; M; h% e
  22. If you need more info about dbExpress, you can contact Borland.
    4 }' E8 F' R/ q, R: X

  23. " R& u, M  g% |9 c
  24. ### Doing the work ###
    0 e# |% e, T  V& n* o9 \
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all/ p2 t" H8 E4 B: ^/ y4 i( r+ P
  26. the perquisites right, just open your server.ini file, and add this section at
    9 _+ D" o. ?+ r
  27. the end:
    7 P) B* I/ t. {. F; W
  28. ---cut here---
      z8 m8 g# _4 m. O+ G& R
  29. [DBEXPRESS]
    5 K# Y7 @2 A6 p9 Z
  30. sqldir=mysql_sql
    9 U6 x! w; Y" H9 P" }0 E( s; F" `6 Z
  31. Drivername=mysql
    : j; X* O( ?5 B0 B
  32. Database=Your_Database_Name_Here
    1 l/ @+ Y- z* Z( K: p9 G9 K8 Y
  33. Hostname=The_PC_the_MySQL-Server_is_on
    & u$ Q- @+ Z0 ]
  34. User_name=User_name_on_the_MySQL-Server
    0 C+ d& E8 I1 C% s8 w; }
  35. Password=Password_to_go_with_above_user_name* b/ t" x) D3 V; o8 G$ Y5 x9 i5 N& h
  36. GetDriverFunc=getSQLDriverMYSQL
    ) m: s5 ~2 d$ |' ]  e
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib: u0 F& V! p( C' K
  38. LibraryName=path_to_libsqlmy_libary0 ^! m' q2 |0 [1 o7 f. k
  39. Active=17 v& y1 \1 j0 C% k6 [
  40. ---cut here---
    % h- c0 o4 A7 {6 R/ r+ s2 W$ o
  41. In my environment (a linux box with a MySQL server running locally) I have:- l# B9 P2 i4 Y8 b% m
  42. ---example---7 @9 q) p1 }& Z0 I' T
  43. [DBEXPRESS]1 w# ~, {: U& m" R5 S( `" [
  44. sqldir=mysql_sql1 H1 N6 u" H, n; }* T4 z* Z8 d
  45. Drivername=mysql; g" [4 g8 c4 u# P  o
  46. Database=test
    * G; `) m* O' [% W
  47. Hostname=localhost
    ' H3 \/ v  M3 m4 d
  48. User_name=testuser5 Y5 Q1 c) x7 Q# v
  49. Password=my_password
    7 u1 R; z7 _" b4 F
  50. GetDriverFunc=getSQLDriverMYSQL9 ?" K" \) x% Y& r
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ) K% [+ b3 Q$ M) r3 N$ ^4 ]6 O: O
  52. LibraryName=./libsqlmy.so
    3 A9 v8 }9 S2 ]( H9 k" N
  53. Active=17 F* E  m# J( o" |) N* F* e, {
  54. ---example---
    & o3 T! M, v& @9 T3 [
  55. 2 q( d% e  [* P1 j# C: v! X7 t
  56. On a windows box, also running the MySQL server locally, it would be:; x8 F1 M$ Y3 I; H0 u7 B
  57. ---example---
    3 p: T+ w" z. V, _% C' _( D
  58. [DBEXPRESS]+ g2 F& ^% ]6 E
  59. sqldir=mysql_sql
    + c* k( ?$ B8 k2 r6 q& ~7 s" f
  60. Drivername=mysql
    ( e0 ^/ u; m  C
  61. Database=test
    6 H' O. m* g- b; c/ M( C& x
  62. Hostname=127.0.0.1' G9 X; f8 F6 g6 Q# g& W/ H
  63. User_name=testuser- Z4 z- S/ Y9 X8 u( I/ i8 D" N
  64. Password=my_password& R$ e4 s% h1 i% q9 t) x0 t
  65. GetDriverFunc=getSQLDriverMYSQL
    4 l/ ?' e) v1 ~" U. w3 q& ]1 H
  66. VendorLib=libmysql.dll
      h$ Q" Q: ~( n9 W/ D8 R; R
  67. LibraryName=dbexpmysql.dll  w! j* ?2 q9 @2 p# e% Y
  68. Active=1
    5 n' t& L; H8 G2 q# q
  69. ---example----) C, n  Q. B: }" \- Q( y# A
  70. - written 02.03.04 by pwk.linuxfan6 _/ v9 a% b0 B- W' y
  71. * q) u1 H5 a4 r7 _" n
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
8 C# v- N  B2 v8 H* t1 }6 O
  1. 5 @7 A! }+ Y4 o# f1 O! ^
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ' }$ M9 ~* i9 y& r8 z6 ?2 U

  3. 9 Q8 g9 }2 s1 M- p
  4. # # #我们所需要# # #
    ( ]) Q/ q6 `+ `9 I6 B
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    7 o' W+ S( a8 A/ [: r8 N. l
  6. 不会解释如何做到这一点-也有文件存在,为) P. K9 s& O& `0 O( I7 e9 H
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用: ]) g! o, y' ^/ y% [
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西) Q$ T. G1 C$ S( V
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    8 S! ]6 l' }4 i3 r1 H; O$ V9 S7 D
  10. 本地机器,这是我的MySQL安装。 0 g3 D( m# W! o1 A! a9 P
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从! u+ ]/ f, s# k. C" C
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    : F, z8 I# h  o6 O5 I5 C- ]( @
  13. 数据库。
    ; i/ O# a6 c$ R: k3 O+ G
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    - w0 N5 I3 Y. ~# C" X$ W+ K
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    6 g+ e5 K+ p# Z. f7 `& [) ]- @6 p
  16. 在teamspeak论坛,如果你有兴趣。 " c) w& P4 y1 Q8 I' f: M
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    " v+ G' s3 [) G  H4 X
  18. Borland公司使用。这个司机只能界面与客户端库
    4 Q1 o% c0 d6 p; R* P. `/ @4 V4 c
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    0 w2 j9 v6 j; `0 U  ]
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为# b1 X" w7 Y2 `  ?# Z7 g- U
  21. " vendorlib " ,并解数据库连接。 9 J% \1 W6 L) K
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 , {7 ~2 @  j2 d
  23. ( V; f" ?& E+ V1 Z* m: ^
  24. # # #做好工作# # # + G- r; T  z$ V  {. @. t  O
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都0 c! K3 ^9 N4 j' a; `" H7 q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    $ E( v/ |* d$ M$ M
  27. 结束:
      b1 k! v9 j* ?
  28. ---削减这里---
    % }7 J8 [5 N# u+ m! o( v3 \# I
  29. [ dbexpress ] ; {' q" ?* o& ^  Y
  30. sqldir = mysql_sql
    + D" v0 }( X6 {3 g3 b7 u
  31. drivername = MySQL中
    . B  N( m; a- J( z9 H
  32. 数据库= your_database_name_here . K, J5 w- Q3 y* `
  33. 主机= the_pc_the_mysql - server_is_on * ~- u: c  v& _2 E
  34. user_name = user_name_on_the_mysql服务器' v8 L7 [) D8 {  G2 M- G' z- @
  35. 密码= password_to_go_with_above_user_name
    ' O* y9 P4 }1 W) T/ W) A: T
  36. getdriverfunc = getsqldrivermysql % M0 Z, B0 j' j: E2 B
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    . ^! e* P: G8 s* p$ k9 Q/ m; x
  38. libraryname = path_to_libsqlmy_libary $ `4 B2 Y" r( m9 l  \+ \  F
  39. 积极= 1 & e. E4 ]& E- c2 j% C2 L
  40. ---削减这里--- % G: F9 R7 d- N6 o( |; z
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ; u/ g2 ]1 _( q- H* U2 E
  42. ---例如---
    & A. n( v. q; ?6 [
  43. [ dbexpress ] ) x! u# x' o# [6 D! r& t! T4 V
  44. sqldir = mysql_sql
    ; B% Y  |9 ?- f" P5 h5 B. X
  45. drivername = MySQL中1 F( u" l- w4 G2 f* Y
  46. 数据库=测试' [  X1 N  C' {6 n  y9 H8 o
  47. 主机=本地主机( t3 m# E& q; P/ d. Z$ R. Y; T) }3 m
  48. user_name = testuser # a/ Y2 g! l9 H7 r% l  P
  49. 密码= my_password
    4 v' C9 }" f( E+ n7 ~: x: O+ Q: Q
  50. getdriverfunc = getsqldrivermysql
    : A( {. g1 r# }7 _* Z$ o5 e4 L
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 3 {5 a( g; }5 m9 E1 i
  52. libraryname =. / libsqlmy.so 3 ^5 m" b7 v- R. T% z
  53. 积极= 1
    3 s- |& J+ W% w. P0 Y" ^
  54. ---例如---
    # D0 G0 d& c( W. \; x' o( e' C% R

  55. 2 u  E  m6 B0 ?
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    $ N/ e' I4 v, H( }- }
  57. ---例如---
    1 P. X' p' D2 G9 R8 J
  58. [ dbexpress ] 2 o4 W: H  ?/ a" y5 S
  59. sqldir = mysql_sql
    + g% w1 ^# b- K& w5 t
  60. drivername = MySQL中$ x$ D! d+ W4 p0 `6 @* J2 i, v
  61. 数据库=测试
    1 n- t4 ?7 o! ~, @
  62. 主机= 127.0.0.1   \% }% S, |2 y
  63. user_name = testuser
    $ N. M- C! c; p! V8 z
  64. 密码= my_password 0 e! x: j2 h) m& k
  65. getdriverfunc = getsqldrivermysql
    , Y3 I& Q1 |" c" _; y, _
  66. vendorlib = libmysql.dll在
    1 ]  X1 E1 ?: c# T" B) ?: l
  67. libraryname = dbexpmysql.dll * c+ J3 m& |3 d  B1 p
  68. 积极= 1 * Q, V* [0 t' {
  69. ---例如----
    & y6 z- U, o- O7 x+ Y- g6 {, Q6 T
  70. -写在0 2.03.04由p wk.linuxfan0 {4 t) P! k! a& Y. B9 f. d, s
复制代码
发表于 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
+ t3 ]% h( \# I0 K' E4 h/ }! Z7 X" r( x% ^- |+ V
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

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

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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