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

3491 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ) r2 p* R5 N% F. c& i
* t# D& A2 n2 L- ?4 N; M
  1. 7 }) u. n3 g2 T! G; R$ f  k
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ####### N6 U9 ?6 w; S6 v

  3. # E5 A0 o( S! N' y# g9 N9 K
  4. ### What we need ###' D; |4 L; T* S+ O: A, O! \
  5. Naturally, we will need a MySQL server to store the data for us, this document ; F( F" w& \5 \4 x4 ~$ C2 h1 }
  6. will not explain how this can be done - there are documents out there for the ' t+ R- n$ i1 Z- p
  7. interested. The requirements include a (empty) database for TeamSpeak to use( J/ s# t- c$ C5 x* p
  8. and a user account (username + password) that has the permissions to do stuff2 i: k2 a: o( C* J( S) r
  9. with the database. Additionally, you will need a vendor library installed on the
    6 K3 Q0 R9 Z/ [/ |0 X, r2 ]; M0 I
  10. local machine, this came with my MySQL install.
    : b6 u, E: ?; M/ x( |( \
  11. These instructions will not tell you how you might transfer your data from the; I$ y) A6 Q7 Q8 l
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ' D8 Z0 _4 U! Z0 G! K' E' E" N" T' ?" s
  13. database.+ M8 \  K8 t/ m7 q2 O6 u+ T
  14. Some users have reported ways to import a SQLite database into MySQL, but at9 n: D% n2 X) z
  15. the time of writing, there are still too many issues - check the current status
    * J2 o" p) A- x" C) U( q
  16. in the TeamSpeak forums if you are interested.
    ' G' ?, |7 M9 T9 u1 n
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    3 n8 [" ?+ f2 d1 U
  18. Borland was used. This driver can only interface with the client library that ( b1 l6 b3 p1 \$ M
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    # P) z/ F5 n# l' \: k2 ?
  20. client library - basically all you have to do is to use a 3.x client library as * @9 x* `3 F7 N# @- L$ k# t
  21. "VendorLib" and a 4.x database to connect to.1 j( e+ A$ Y  ?# M1 f
  22. If you need more info about dbExpress, you can contact Borland., R. i  u5 m2 g7 H  ~
  23. & w* c! t5 P$ b$ ^2 p5 g0 g1 }
  24. ### Doing the work ###4 n' A5 w9 e& O+ z1 n
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    $ }) B7 Y- Z. O
  26. the perquisites right, just open your server.ini file, and add this section at
    7 t- M; _/ i& p. X) A* F
  27. the end:7 U3 e+ t. Q/ }2 _) i; x# K6 [4 t
  28. ---cut here---
    & d& A9 B+ k7 Z$ b
  29. [DBEXPRESS]! `9 s% A) U9 v4 O5 P  |
  30. sqldir=mysql_sql
    & M# m9 b8 K$ }8 Y
  31. Drivername=mysql
    , s* Y8 P( J: J3 p
  32. Database=Your_Database_Name_Here
    ' r1 \- v" K& v$ u
  33. Hostname=The_PC_the_MySQL-Server_is_on" U0 e% J! b, l
  34. User_name=User_name_on_the_MySQL-Server+ Q' m1 `: E( ]: A/ H
  35. Password=Password_to_go_with_above_user_name
    $ B( G. x, A6 z1 |8 E8 m$ ?3 l# d
  36. GetDriverFunc=getSQLDriverMYSQL. |& l( Y0 b  |
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib0 t/ E+ n8 H+ \* V& S; i2 m
  38. LibraryName=path_to_libsqlmy_libary: i/ K1 E2 y9 L( q: l3 p9 o
  39. Active=14 |9 S% }5 ?( o, O
  40. ---cut here---
    ) ]2 V2 p! b* m0 I
  41. In my environment (a linux box with a MySQL server running locally) I have:
    7 T$ l8 ?* i) b. g+ J
  42. ---example---9 {9 u( r9 W& s* k
  43. [DBEXPRESS]
    5 ]/ X2 V+ J: [. X$ C) o# c
  44. sqldir=mysql_sql$ i3 ?$ d  |: u5 T1 Z2 U: j
  45. Drivername=mysql5 x! _# x* |. F( P; f
  46. Database=test; g5 C1 t4 |" V. B  F) B
  47. Hostname=localhost
    " T. |0 W. u- |$ E9 W3 z3 |
  48. User_name=testuser
    5 d- V6 i! v& Z; i
  49. Password=my_password& Z- C) g: i* h5 f' o
  50. GetDriverFunc=getSQLDriverMYSQL7 X* \9 _  S3 p" D! }% _( w  s" w
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.05 a% {4 J- y4 _1 s
  52. LibraryName=./libsqlmy.so
      z6 |( u, F+ u1 p
  53. Active=1
    0 ?1 d8 Y  ~2 U2 b( U) O5 r% |6 p
  54. ---example---7 ]- M; D# J+ V$ e! c$ }4 |  y' `
  55. & i, l1 A! {. i1 b1 D
  56. On a windows box, also running the MySQL server locally, it would be:% i; E/ U! [2 C/ z( W' {
  57. ---example---. H& b+ p3 v" x- t) I4 Z% l1 {
  58. [DBEXPRESS]
    9 k2 e4 c% z6 Y0 ]1 y0 z# p: Z0 X
  59. sqldir=mysql_sql
    ( X* \: E$ y$ {$ ]& T' r; b
  60. Drivername=mysql
    5 }& N$ ^$ z4 @8 b5 `
  61. Database=test
    + I+ N3 f6 `' a) Q0 d
  62. Hostname=127.0.0.1
    ! R9 L: P8 b( n0 B) n6 g. t+ m
  63. User_name=testuser4 W0 t1 p  ^8 [% B' D6 C
  64. Password=my_password$ C/ _; l( ]) p4 y1 T) V! }
  65. GetDriverFunc=getSQLDriverMYSQL7 F- e4 K0 {1 J, z+ k9 Z
  66. VendorLib=libmysql.dll' X; J; n! ~2 R2 z* I1 z0 q
  67. LibraryName=dbexpmysql.dll' k4 _" m0 J6 Z& t0 u
  68. Active=1$ p) R. ~, b' s
  69. ---example----
    6 n" L2 Z1 a& Y' ^6 ~9 U9 g* @3 g
  70. - written 02.03.04 by pwk.linuxfan' D' I: H  x3 _: x* O
  71. 7 B/ }/ m5 L. \
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看1 N( |) U' U2 c) e( ?

  1. 7 n) {. q. f8 C6 `
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### $ |( U! L- h* n  M
  3. 7 [" s; K8 o( v4 P# u3 D9 l* M& G
  4. # # #我们所需要# # # $ U8 {6 J/ o! \8 x0 l. n# k
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件3 E  s( c$ r( u% t# Q, R- W: N& v" `
  6. 不会解释如何做到这一点-也有文件存在,为
    ) G7 H* H$ h; J) Q
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    2 G4 @8 Z& H9 ~9 v
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    3 d+ _/ m- T- S
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    * y; F- Q/ {, o# n+ c
  10. 本地机器,这是我的MySQL安装。 - _& L3 C; u& n' ?
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从+ P& ^+ Y: l- r; H! v
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 4 S  U' c7 w+ e2 P$ R" u
  13. 数据库。
    % r* q2 n1 H3 R/ u" H
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在9 X: J& ?7 g6 q, ?- F0 T. ?; F6 L
  15. 编写本报告的时候,仍然有太多的问题-检查现状$ f" Y6 {7 F0 h) i. F
  16. 在teamspeak论坛,如果你有兴趣。
    ; v( M* K7 W, l8 D' V
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机8 X* {* B3 w. ]( }* m7 u
  18. Borland公司使用。这个司机只能界面与客户端库* H* ^2 M$ v$ i6 b; h
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    : E2 {9 N' i: A" N$ Y
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    7 i, M4 F4 l7 _- N' y! C
  21. " vendorlib " ,并解数据库连接。
    8 n- m! s6 S5 m; d
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    $ |9 U8 S( }( Y% w; F; q

  23. 9 V) W0 @2 }1 D- v$ x& a
  24. # # #做好工作# # # + m4 \( @: w8 I5 |! O( ~
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    3 _, j" `# Y/ m5 w2 U5 J; M
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    5 \( @' {& W3 S8 Z, v" Q
  27. 结束: 2 {' d- c+ R2 H! T# P; q  I: M; G
  28. ---削减这里--- 7 v& Q1 T" `8 ?" G" ]( D, @
  29. [ dbexpress ] 6 N$ E  ?. S! U8 `
  30. sqldir = mysql_sql 4 z7 t' t, l* l5 k0 x$ ?+ V
  31. drivername = MySQL中
    , ^: D- P# L7 N6 n" [
  32. 数据库= your_database_name_here
    % h$ n0 [! l: G  z% |: B# b% K1 P* y& ]
  33. 主机= the_pc_the_mysql - server_is_on
    5 \6 E8 L0 U- Z1 k- P* I3 H$ z4 @/ O
  34. user_name = user_name_on_the_mysql服务器2 n0 g( G* @( ~( ?$ ^
  35. 密码= password_to_go_with_above_user_name . N4 |+ P7 G8 o, T
  36. getdriverfunc = getsqldrivermysql
    & D3 v6 |+ |: A+ w' o' i' I
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 1 L: v  ~  I  O; y9 k
  38. libraryname = path_to_libsqlmy_libary 3 [- Z, h1 P; U; N' i
  39. 积极= 1 ; _* S8 m+ n) u3 j& |' ^
  40. ---削减这里--- & t9 O' y9 }0 M( I/ ]$ l
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    3 q( r; k* k- g% B5 s' Z
  42. ---例如--- # c' ~4 |5 H  H5 z; N6 ]
  43. [ dbexpress ]
    9 m3 g! i( m$ x6 i* I+ c
  44. sqldir = mysql_sql
    % e- j2 R; C6 l: I9 ^
  45. drivername = MySQL中9 S' l) L4 p  b# U
  46. 数据库=测试
    ( I  B2 m; A. C  `3 i5 \8 {
  47. 主机=本地主机! A8 K- w" a' G4 H3 K
  48. user_name = testuser 1 M( x9 A0 h" Y) n+ s4 w
  49. 密码= my_password
    8 {. j1 p1 k4 X% U. B
  50. getdriverfunc = getsqldrivermysql
      X! A' ~* y2 F0 k( g( f
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    % S/ R8 }* [0 U9 Q3 p# c& C( k2 f1 ^
  52. libraryname =. / libsqlmy.so # ^0 J8 B2 |) h7 {+ k# {! Z! K; \
  53. 积极= 1 6 Y! A7 a0 W3 O
  54. ---例如--- ( h3 T+ a( }/ D4 d6 G
  55. # u# j5 f' ]" F
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    6 O' Q, b& W" e$ x3 ~) B4 a
  57. ---例如--- " u1 O& a# I) I) `/ S
  58. [ dbexpress ]
    + O( }' @9 `! ?6 X2 V2 `2 v
  59. sqldir = mysql_sql : e7 Z0 v' o% b' D. J
  60. drivername = MySQL中
    % [$ P. F/ w; y0 K7 b# e; y
  61. 数据库=测试- z( q+ j/ a1 ^  l8 C* f8 ?% m- B
  62. 主机= 127.0.0.1 ; D( P6 f4 M) L/ s6 G  J
  63. user_name = testuser
    ; P9 V2 ~/ ~9 K$ S% F
  64. 密码= my_password
    8 x- C- s: O/ N( g
  65. getdriverfunc = getsqldrivermysql
    " _7 W; C& t6 r
  66. vendorlib = libmysql.dll在
    ( U1 ~& F0 s3 q: g3 W: v
  67. libraryname = dbexpmysql.dll 6 b' g1 f; E8 E+ O! A+ G& ]9 u
  68. 积极= 1
    2 C1 O/ |+ k0 R8 U. d: x
  69. ---例如---- 9 a. \9 b$ }5 L
  70. -写在0 2.03.04由p wk.linuxfan+ z4 D( a" c$ f
复制代码
发表于 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 words1 @7 G: P* }/ o

& @4 ?3 n$ G. H! w$ ybut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-8 18:30 , Processed in 0.060344 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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