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

3162 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
6 {* ~" I; p9 Z! Q1 f: @! C' W+ J1 g! c* m* ^6 V, \; ~' D
  1. / u. C7 o" v" m9 Z' C* N3 v
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    4 E. K) ~( d5 I$ T$ F

  3. . m6 T/ F  H/ b5 l; s
  4. ### What we need ###" X5 A& b  O" z* C5 n' l
  5. Naturally, we will need a MySQL server to store the data for us, this document
    - o* R4 X5 ]2 U- s2 o9 o+ k
  6. will not explain how this can be done - there are documents out there for the
    6 X6 m3 I/ j  G) ~2 U; ~; ]9 ~
  7. interested. The requirements include a (empty) database for TeamSpeak to use3 p0 M- b: n; E  J; E& f' Y4 R
  8. and a user account (username + password) that has the permissions to do stuff8 S" w" a% ^% l4 |; C. a/ ]. [( @
  9. with the database. Additionally, you will need a vendor library installed on the* b3 m  K+ `' E- q/ Y- u' L
  10. local machine, this came with my MySQL install.
      ~. L) M5 k5 v: g" ~
  11. These instructions will not tell you how you might transfer your data from the
    8 s! m- K. N7 U* z* w
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    8 ^% B- _) H( k, a& Y
  13. database.
    : \$ j, q( z2 {( D/ v; W
  14. Some users have reported ways to import a SQLite database into MySQL, but at/ z( y  o- Y' a) E# u7 _' E
  15. the time of writing, there are still too many issues - check the current status# n; c9 s$ O8 ]! @6 w# B
  16. in the TeamSpeak forums if you are interested.3 H+ N; C7 Y0 T% g
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from. c9 W6 M- j$ P1 }* s) H  V' t' s
  18. Borland was used. This driver can only interface with the client library that
    7 x9 u, y  O1 f9 z, [' @; n
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    % G3 N6 l! f6 x- |: |9 v. |7 e
  20. client library - basically all you have to do is to use a 3.x client library as 9 h( T% K$ {) j" P7 @
  21. "VendorLib" and a 4.x database to connect to.6 R9 r1 E1 S/ p  Z
  22. If you need more info about dbExpress, you can contact Borland.
    0 p# Z5 H& [4 r4 ~+ x

  23. 6 n1 u8 e- o1 |& A" o, v& w/ q$ v
  24. ### Doing the work ###
    9 l0 R" b# }6 K+ L/ Y6 c
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all% p7 {9 k7 ]+ c$ e) ^: {) V
  26. the perquisites right, just open your server.ini file, and add this section at
    9 c# W4 t' e& c' s1 v! G8 F
  27. the end:* A( J; i' K* I4 R
  28. ---cut here---
    7 p0 K4 W$ _4 _0 s4 t
  29. [DBEXPRESS]
    # k) d* C4 O8 r
  30. sqldir=mysql_sql2 o4 U! G5 ?! w$ H1 z; \
  31. Drivername=mysql
    7 h) G4 i; x9 u- [
  32. Database=Your_Database_Name_Here
    * }9 d, y; V( d8 Q% R
  33. Hostname=The_PC_the_MySQL-Server_is_on
    4 _( w9 X; v/ `, A+ n' I# H
  34. User_name=User_name_on_the_MySQL-Server! Q% p  _/ j9 p- u* I7 N& e
  35. Password=Password_to_go_with_above_user_name
    : b' v; E6 }4 q+ g  |& z0 G  q- n
  36. GetDriverFunc=getSQLDriverMYSQL
    - [: ?' F" d; g3 H+ f7 l8 U
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib3 `, X! J" \& I7 P8 ], u* `
  38. LibraryName=path_to_libsqlmy_libary
    * |9 G1 p  t, O! R
  39. Active=1
    / F4 _* H6 V# O
  40. ---cut here---
    9 g/ r, ]% g: F9 m
  41. In my environment (a linux box with a MySQL server running locally) I have:
    * R' G1 ^+ e! S
  42. ---example---
    * @5 Z. D1 P" p2 R) y
  43. [DBEXPRESS]* c$ [1 a8 g7 t. p
  44. sqldir=mysql_sql  U" Z6 |7 ^) K4 V4 ~* [8 L
  45. Drivername=mysql; j$ T7 B) e, L2 \( U& B# g
  46. Database=test
      M8 Y& ^! J3 d7 J& H' a. M0 Y
  47. Hostname=localhost
    ; G# q7 ]/ e( Q& e8 V6 h; z
  48. User_name=testuser+ y: x. M( ~( l% |: J
  49. Password=my_password
    1 L8 ^8 G9 P& \. v% L" T
  50. GetDriverFunc=getSQLDriverMYSQL, L4 D& ]+ h4 a$ \; {( w
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    8 ~* {1 K3 Q# F0 E; {( o' n/ m
  52. LibraryName=./libsqlmy.so" p( m" I, |/ Y3 x
  53. Active=1
    , H& [, |2 n7 T: z, k: m% I0 k% \; r
  54. ---example---
    % L/ x1 d3 ?9 G4 ~+ E. _
  55. 2 {& D& V9 v# a2 y
  56. On a windows box, also running the MySQL server locally, it would be:
    0 X- `1 E' m% V$ r; J
  57. ---example---9 s6 K  d* x% x0 t9 o$ n, c# ]& l
  58. [DBEXPRESS]
    5 h! X' S; C" z  q7 y8 u/ L" w% p
  59. sqldir=mysql_sql3 t0 L: M$ C; e& u  D
  60. Drivername=mysql
    / Z/ m) Z. q+ ~8 s/ A' m4 _
  61. Database=test
    8 B+ s0 O+ _2 J" A- ]
  62. Hostname=127.0.0.1
    # M. Y: I8 Y2 m. X4 S5 d) C
  63. User_name=testuser
    + T; m. x* x" t; O, c0 w8 @
  64. Password=my_password
    4 o% j6 u* `, @# r0 q2 c) i
  65. GetDriverFunc=getSQLDriverMYSQL
    ! a7 g. L2 L* r2 i; y0 b( ]
  66. VendorLib=libmysql.dll" p" a$ D8 g2 H9 V4 S. F& W
  67. LibraryName=dbexpmysql.dll
    ; ~, B0 t+ A- }+ [' n4 b
  68. Active=1
    0 r) r0 }( |2 Q: V& W6 \
  69. ---example----: a' ^9 i$ m( Y4 k. ]
  70. - written 02.03.04 by pwk.linuxfan
    ' K$ L0 |. P; V( h7 v8 i% H3 s( s

  71. : X2 ]7 A8 ~: Z5 s# f0 q/ H
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看0 O; s( c3 Y0 f6 W& ?' E0 U

  1. 4 F; K6 E! D' R! Q" T9 r
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    . u0 {4 S0 J+ k, F' P, P3 X( s. c

  3. . F. z5 c& {/ Y1 |
  4. # # #我们所需要# # #
    8 ^6 L, ?2 Q7 W! s% ]
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ) n$ m: f. B( v0 X' y
  6. 不会解释如何做到这一点-也有文件存在,为. Y* ~* f7 V" Q* v' H
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    * w% ?# B" P& T# O
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    7 o* N' u6 [2 j1 `9 Z4 N: r8 Y, r
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    % r9 g8 N% n! w/ ]3 F) H1 B
  10. 本地机器,这是我的MySQL安装。 ' u; o' h! p- f( e- n* J% |' D: B
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从; H% ~' X& n4 n" u/ B# g
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    / R' `5 y9 p* V& H6 K" d1 y
  13. 数据库。
    , {6 S* T& Y# j  |( o1 S3 }7 l! M
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在$ N3 H2 H7 R' G' z
  15. 编写本报告的时候,仍然有太多的问题-检查现状: b/ K5 W4 D7 x7 W
  16. 在teamspeak论坛,如果你有兴趣。
    . [- V  O( g! {( c6 W- f* Z
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机! i3 G4 H* H6 P* N
  18. Borland公司使用。这个司机只能界面与客户端库* q" T% e1 d' M* J
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
      n; S3 S* p' ^; r4 N  T9 q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为9 D1 Q, J; k! t5 Z& f$ t) w- q
  21. " vendorlib " ,并解数据库连接。
    / N4 \- r/ B" V
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    : G! |0 j" I) `

  23. # ]3 q2 o. f* o
  24. # # #做好工作# # # ) s$ a( L0 B% I% N2 R, N9 t
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都- X3 t* Q; u& x5 [; Z+ o  Z+ \
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在* h. W  _% E% t9 |. R
  27. 结束:
    , ?9 \( n: B' p4 N( O
  28. ---削减这里---
    9 K# y# i" {9 M0 b  b. X
  29. [ dbexpress ]   w% _, |% S7 f( O+ R, ^& b7 s% d
  30. sqldir = mysql_sql
    7 d5 b8 p6 e/ ?% h' Z
  31. drivername = MySQL中
    # P- y/ J  w/ \% J" u7 i4 C3 D7 x
  32. 数据库= your_database_name_here
    : \( m- X! \2 g) Y9 |# T
  33. 主机= the_pc_the_mysql - server_is_on
    8 q6 e; L) J2 Q! w# e
  34. user_name = user_name_on_the_mysql服务器5 G  c; O. G1 v- s3 C) P  R" `: X; x
  35. 密码= password_to_go_with_above_user_name
    + e7 w4 d) j" N, P2 n7 X& V* h
  36. getdriverfunc = getsqldrivermysql 4 `1 `$ i' b+ b
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 7 h" ]4 Q" {7 S7 a! s
  38. libraryname = path_to_libsqlmy_libary + H$ `& a3 G' J+ o8 V
  39. 积极= 1
    ; P% s( w0 J! k, @. p+ L# e
  40. ---削减这里--- : i+ S" @! Z1 G9 Z/ N' Q% c
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    $ p5 c6 ]) b7 g8 H& F
  42. ---例如---
    - x' z7 Z3 J  c" o1 d- t5 {, C
  43. [ dbexpress ]
    9 {9 s! U2 U" ~& r7 ]2 ^
  44. sqldir = mysql_sql
    9 z  k+ Y  C7 V( u
  45. drivername = MySQL中" z& T* p$ f9 O# E5 Z* r  y
  46. 数据库=测试
    ! P  _0 L3 h/ G5 n5 [" h
  47. 主机=本地主机! t) y9 A5 m8 g
  48. user_name = testuser
    2 r" e; r4 R) Z6 V
  49. 密码= my_password ( R; G# Z1 u8 w2 f. I
  50. getdriverfunc = getsqldrivermysql
    6 m; D! m  n$ q; X: |5 |3 Q8 H
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    % }5 f$ Z; m3 Y! N. i9 g
  52. libraryname =. / libsqlmy.so
    : E0 _# M7 Z1 i# E' \. b# h$ v7 u
  53. 积极= 1
    : g4 v3 T: Y5 E5 ^
  54. ---例如---
      j8 {' k9 S6 B. `- y3 y

  55. 0 [5 \( j* ?5 U
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ; u1 O+ v1 t6 L) J
  57. ---例如---
    : ?8 f, e8 @! K0 O# L7 ]& J( A
  58. [ dbexpress ] 5 ?* W$ x1 q6 @6 [0 u% {  y( `# b
  59. sqldir = mysql_sql
    ' R( C: a, C9 {/ G4 M2 C* m
  60. drivername = MySQL中
    7 V: Q9 u/ u+ Y
  61. 数据库=测试
    7 p& b, n' W" z# Y1 U
  62. 主机= 127.0.0.1
      A$ {4 N6 l1 b( Z
  63. user_name = testuser 2 U8 h5 ?  z/ Z! H) w
  64. 密码= my_password
    1 p5 @8 F  ?! K
  65. getdriverfunc = getsqldrivermysql
    * _2 Q4 x! h9 M7 U
  66. vendorlib = libmysql.dll在
    ) F" D* j; _' n7 U* r
  67. libraryname = dbexpmysql.dll & L2 L. h1 C2 g, W& w, P& F/ M
  68. 积极= 1 / Z8 X* D; \. D& u7 n$ P( u3 B
  69. ---例如---- " B% A9 x2 y) x& j; r
  70. -写在0 2.03.04由p wk.linuxfan; v' g5 E' B# W: O3 _9 C$ G# p
复制代码
发表于 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
5 j, `, r( w  n( `; Q/ ]: ~1 q+ o8 x( [
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-14 16:38 , Processed in 0.092594 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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