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

2910 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
) ]8 ^7 V( b# k3 t- C( z! U; z5 [9 u0 Z: G* D4 V0 U9 @
  1. 0 ]4 e' u' ^) y' i. W' U. k
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######$ J  s7 o# P  d+ A5 }0 f' o% C% b
  3. 6 }2 `3 a& b- F  d  Z9 e9 Q/ {
  4. ### What we need ###
    4 C8 Q7 K! z$ ^) _7 L7 u9 h
  5. Naturally, we will need a MySQL server to store the data for us, this document 7 |8 ~( b" e$ E0 b
  6. will not explain how this can be done - there are documents out there for the
    , R' a7 @* m8 g( s2 G( G
  7. interested. The requirements include a (empty) database for TeamSpeak to use" e6 d3 L; _. o  b
  8. and a user account (username + password) that has the permissions to do stuff
    8 D% O% ~( a; n  X1 S  j
  9. with the database. Additionally, you will need a vendor library installed on the% S& e& F! z. [( G. p6 {4 x) }
  10. local machine, this came with my MySQL install.+ k8 R- s/ r: K; E! U  m" T
  11. These instructions will not tell you how you might transfer your data from the
    1 B& g% X& k, ?% x
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL* W  V) }, H( f( n" g  I3 }
  13. database.& i* |( S1 k( p) G* ?8 B
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    0 e0 v8 Q' o+ ~( E& M  V: L5 _
  15. the time of writing, there are still too many issues - check the current status6 d$ u4 a1 N1 Q
  16. in the TeamSpeak forums if you are interested.
    : j7 C& S7 O2 ~
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from( u' O4 z$ e* L
  18. Borland was used. This driver can only interface with the client library that
    + J7 n& r+ [) n7 Q
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this1 Y/ B. _" t- L& s
  20. client library - basically all you have to do is to use a 3.x client library as 3 x- M- Q2 {) S' k. \8 L2 I8 N
  21. "VendorLib" and a 4.x database to connect to.
    " H! ~$ @3 A" e/ d9 ^
  22. If you need more info about dbExpress, you can contact Borland., ]' X' Q: l6 j2 p  J) c# H
  23. 8 {4 w2 V6 \6 `  x
  24. ### Doing the work ###( s+ j$ c0 i5 |* x, y3 |0 A3 f2 `
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all& I5 i8 y7 ]$ U% J! @2 C4 c
  26. the perquisites right, just open your server.ini file, and add this section at, ]. H4 \, |# h  ^9 r9 j
  27. the end:+ J6 _* e- C) z7 X0 ]" D, l
  28. ---cut here---& \/ x, U- A. T4 {/ m
  29. [DBEXPRESS]9 B8 G( M3 K! |: D
  30. sqldir=mysql_sql, h9 q8 l4 l) W  ~/ |( B1 x( r
  31. Drivername=mysql
    % p8 v: t. x' O
  32. Database=Your_Database_Name_Here8 }" U7 A, C2 b/ q
  33. Hostname=The_PC_the_MySQL-Server_is_on+ _/ H2 `5 v! ^8 V% A9 g
  34. User_name=User_name_on_the_MySQL-Server+ V6 o4 r6 L0 M0 J" O7 K4 r9 i, e
  35. Password=Password_to_go_with_above_user_name
    ! Y4 p3 l! e) T+ W0 q2 ?
  36. GetDriverFunc=getSQLDriverMYSQL
    : D, r/ {7 E+ e& i4 F
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib5 h9 B/ ]& x3 ^+ o
  38. LibraryName=path_to_libsqlmy_libary
    ' o: P/ ?. Q  U- v2 ^+ r4 V& _. M1 s
  39. Active=1
    1 w- U9 ]! J( u
  40. ---cut here---# K. R% y' a/ i6 f( J* `
  41. In my environment (a linux box with a MySQL server running locally) I have:0 I5 G# y5 c& f) E3 M* x
  42. ---example---* C) I* r5 {5 v* @( H5 P% Y0 d
  43. [DBEXPRESS]
    6 O+ f: r8 f6 X1 F
  44. sqldir=mysql_sql
    . g" t# e7 L% t$ M) ]& t& [; s
  45. Drivername=mysql5 |! L& k! g$ ^4 a7 p+ {! O2 \
  46. Database=test& ~. n. \0 F  r! b, F) R
  47. Hostname=localhost/ S* L5 o  p9 ?" b: @  K* I% n
  48. User_name=testuser* F. d6 o+ ]$ C8 G/ ]
  49. Password=my_password
    6 t/ c, z6 B' Q1 O0 a3 v9 k6 a+ u
  50. GetDriverFunc=getSQLDriverMYSQL
    1 k. M" T% X- k+ z
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    & K* m" H9 D# Z8 f
  52. LibraryName=./libsqlmy.so, i+ D7 R( K: |7 N7 X
  53. Active=1
    ; ^' V$ A/ Q, I
  54. ---example---
    7 A/ h) ~* P, v

  55. * X5 m( D; c+ S  {" _, }
  56. On a windows box, also running the MySQL server locally, it would be:
    ( z5 r* q8 t8 v! D- }4 N7 p2 O  t
  57. ---example---4 F  v' A1 {5 A4 d  F
  58. [DBEXPRESS]  M7 I6 m! l4 j" {, r# P- b
  59. sqldir=mysql_sql' s& G* _5 O7 i6 U3 X- [
  60. Drivername=mysql3 h. y) j! y" A: q
  61. Database=test
    & u$ k6 v; h8 w6 {* |
  62. Hostname=127.0.0.1
    4 d/ |/ k" `6 L3 I# Y" B" ]
  63. User_name=testuser& n1 D' V$ }& m  R- \
  64. Password=my_password
    7 r* Z1 R7 l# }4 h$ r) t
  65. GetDriverFunc=getSQLDriverMYSQL
    + g" ~9 \) E' n# H7 k
  66. VendorLib=libmysql.dll
    " O) b1 F* w/ s1 _3 p) e
  67. LibraryName=dbexpmysql.dll
    , {6 F- f! w2 B1 k* D
  68. Active=1
    + Z7 h- |- a! v" i: C3 e( ]
  69. ---example----
    * N4 }$ ]4 U2 ^; V. I. f. O  ^- ?0 |
  70. - written 02.03.04 by pwk.linuxfan# Q1 s6 k8 T4 c7 E

  71. # E8 f$ P+ X, t9 J5 d  S
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看8 |! W' u) f  d# B
  1. ! r' Z' T( R+ k0 j
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    : E# ^2 I$ k8 Z2 ]" q

  3. ( _& Q  y. Z# c$ @/ y
  4. # # #我们所需要# # #
    9 s  K8 {% B  h5 g/ T- E+ u3 Q
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    1 |  W# m6 O, O1 _
  6. 不会解释如何做到这一点-也有文件存在,为
    7 U" S5 K& e8 Y, L7 V' h  M
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    8 \' ~# y- y2 w# W
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西. D3 e+ z* B! t9 T! p
  9. 随着数据库。此外,你需要一个卖方图书馆安装于9 ?+ z; e4 Y: Z( y" w/ j
  10. 本地机器,这是我的MySQL安装。
    & H8 C* p3 _# n) C3 T$ [2 d
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从. z; D$ q+ T" Q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
      v5 K2 t- n" Y+ v2 S) o% E: p2 v
  13. 数据库。 0 _1 z. ]( h- e, t. r4 L3 I9 `& X, z' a
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在& [8 L5 V. E% o# y7 I
  15. 编写本报告的时候,仍然有太多的问题-检查现状! g- E: F: I" x* x( c
  16. 在teamspeak论坛,如果你有兴趣。
    # R  Y$ r1 o. A1 ]# Y9 S  @
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    $ g5 [) w# R! O6 h6 m
  18. Borland公司使用。这个司机只能界面与客户端库. d% c+ q' `% i8 }: [
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这; R4 t4 R  N7 G" g+ T; F
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    - P! L! |( a. @* L: o9 V. i
  21. " vendorlib " ,并解数据库连接。
    # O3 r6 x4 {- e/ ^6 Y! H$ d( C
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 8 z1 u3 y9 l2 l
  23. 9 \5 V* G( ?, h  A
  24. # # #做好工作# # # 6 q5 F- D3 M7 Q) J+ {
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    . `$ i. m- E, K8 x
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ' R; ]* p1 J+ V6 a+ n8 z& ?9 P
  27. 结束:
    ( P: y# v$ Q* W# x. d. [* d
  28. ---削减这里--- 7 o+ C/ C# O0 P: ]& X
  29. [ dbexpress ] ( k3 P  l+ _* n# o$ ~& g  _% y
  30. sqldir = mysql_sql
    5 S% p# p2 `- m0 M; Z' H
  31. drivername = MySQL中
    5 Y: e3 o) |- }. |
  32. 数据库= your_database_name_here
    1 K, A# P- [2 j7 @5 m( h9 A1 v
  33. 主机= the_pc_the_mysql - server_is_on
      Y8 C1 ?" c) L% j
  34. user_name = user_name_on_the_mysql服务器
    5 F0 ?( y" J8 o
  35. 密码= password_to_go_with_above_user_name
    , ?6 _- Y: p% ~3 `" V- v
  36. getdriverfunc = getsqldrivermysql
      h: a- R0 j0 q$ G" r* ?
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    + A- I2 |, F  T' e. S6 ^. X& U
  38. libraryname = path_to_libsqlmy_libary " |. ^- W1 r; v. y4 m
  39. 积极= 1 3 y( z1 V( }5 N/ x  a% ~
  40. ---削减这里---
    ; m* i, D+ ?$ ^4 W
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    3 q5 Q- B6 [, j- s7 z
  42. ---例如--- % o; e9 g* }' k$ A
  43. [ dbexpress ] 8 u' [5 S" A- l2 ^) }0 V
  44. sqldir = mysql_sql
    % t  X8 F1 s: }' o8 I
  45. drivername = MySQL中4 M$ |8 J, [$ u1 I* ^: d1 q
  46. 数据库=测试
    ) b% @. C7 i4 D7 _) u0 C
  47. 主机=本地主机
      A' |, G# O+ S5 e
  48. user_name = testuser 0 Q# o0 z5 L* Z1 d+ T
  49. 密码= my_password 4 u# j4 B5 n8 f  `
  50. getdriverfunc = getsqldrivermysql : d$ e' Q) c# W3 q+ o1 B" ?' u
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ) D' u# f8 V& V6 w+ {" Y
  52. libraryname =. / libsqlmy.so 2 W/ N) A1 @" k7 S- t; [, ]
  53. 积极= 1
    ) u! V8 g4 B1 V2 y( m
  54. ---例如--- 1 q+ ^, D# r: p5 q$ B% E
  55. % {7 V1 `& X- `
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
      {+ h$ P7 H4 z+ [: a
  57. ---例如--- . V7 H2 U0 V$ k3 u. a( h6 g
  58. [ dbexpress ] ; ^- g: n. }: s/ d/ H# I
  59. sqldir = mysql_sql : V, c, S) p9 s
  60. drivername = MySQL中
    . g. m! e$ q- e: A" Z. H. G, V
  61. 数据库=测试
    2 i" g  [8 X( @) l0 L* `
  62. 主机= 127.0.0.1
    " J5 s. W- [, ~5 M! g7 l
  63. user_name = testuser
    6 {' `3 ?, R) d6 ?- s
  64. 密码= my_password
    ' h5 B. j: I6 g+ f
  65. getdriverfunc = getsqldrivermysql
    : h1 A% v% Q. r3 M  a& `) Y
  66. vendorlib = libmysql.dll在
    ( [' B4 z: Q3 {6 Y9 R( R$ \$ ]
  67. libraryname = dbexpmysql.dll
    , l0 `/ L( p" p/ N8 U
  68. 积极= 1
    ! P2 d1 R$ S& j, \. Z
  69. ---例如---- * i1 X" s2 L& N% \
  70. -写在0 2.03.04由p wk.linuxfan' K5 U# k7 w3 ?% w4 a
复制代码
发表于 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
$ s) f8 p5 ], D8 x. u% z2 l# r( A' G) j
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-18 18:02 , Processed in 0.106832 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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