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

3000 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
) D$ f5 q% I0 x! F0 B
* f9 C2 o: {  o& `8 u! f, _
  1. 1 _0 o; P3 x  C9 W- X$ Q
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######8 _7 i  E2 n- s  G: H( N
  3. # c9 S# i4 V8 L* M, b  m0 B2 E2 _# U
  4. ### What we need ###
    . q6 G+ ]& f" `1 o' g5 ~9 G
  5. Naturally, we will need a MySQL server to store the data for us, this document % \# z$ j, Z8 I1 ^# z: \
  6. will not explain how this can be done - there are documents out there for the
    - ^* Z3 y  w. \& K
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    & E, o( u7 |# y5 f) `) q
  8. and a user account (username + password) that has the permissions to do stuff
    ! k5 M- q/ Y0 S  Y
  9. with the database. Additionally, you will need a vendor library installed on the! M% h1 T! ]% F9 C; [# d! m* n
  10. local machine, this came with my MySQL install.  O0 u  V- J0 S& X$ z6 Z1 [
  11. These instructions will not tell you how you might transfer your data from the& B. b5 l: P8 L) J- R* x: O! M
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
      \) Y' p. D! ]0 Z+ ]! g# w7 ~) T
  13. database.
    3 N2 k) v( H7 _; i0 b% _7 [" u
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    % a5 y5 Q% W6 T: p. o. `! k7 L5 d
  15. the time of writing, there are still too many issues - check the current status
    ' n1 ^! S1 B7 p, N! K8 D, s" k
  16. in the TeamSpeak forums if you are interested.2 d9 |3 d4 l1 p& T5 K
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from# O& M$ c  _" X: s0 `5 n9 K
  18. Borland was used. This driver can only interface with the client library that $ U3 }# |. t* G4 ^5 P
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    5 G3 K$ j3 {/ [2 Y* m3 e
  20. client library - basically all you have to do is to use a 3.x client library as
    1 U. z1 x. l9 M' V
  21. "VendorLib" and a 4.x database to connect to.! O. U& i2 }( p& u0 x; Y& x
  22. If you need more info about dbExpress, you can contact Borland.
    # @1 k, K: z9 N9 H4 D7 O0 M" _: {

  23. - n, p8 I3 J+ ~: C0 s
  24. ### Doing the work ###' q- Q+ N6 D: Y
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    2 z( Z' I  T. g. w" a
  26. the perquisites right, just open your server.ini file, and add this section at2 U. x" w" {% a; j3 j' u. Y9 S
  27. the end:4 s4 B( z6 n6 n3 j4 e* R
  28. ---cut here---
    / ^$ ^/ c: E/ S- ]- }0 t( @
  29. [DBEXPRESS]& ~0 x$ }4 f0 A8 s. |0 V8 x
  30. sqldir=mysql_sql2 K, e% |. S  _
  31. Drivername=mysql
    7 o! R8 l4 V5 s7 k3 N8 E
  32. Database=Your_Database_Name_Here
    ( {  u7 ]. ^2 A) ]& p6 @6 _
  33. Hostname=The_PC_the_MySQL-Server_is_on# i4 t' z* @* @; x0 n- f
  34. User_name=User_name_on_the_MySQL-Server- {$ p& z% b2 g) f  P. O
  35. Password=Password_to_go_with_above_user_name" I) A4 q3 W- a) f! J) o. |
  36. GetDriverFunc=getSQLDriverMYSQL0 T0 E; @. T5 M( S# E
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib0 c( |0 `0 m- o6 g( C- V: g0 T6 N
  38. LibraryName=path_to_libsqlmy_libary
    4 G% m/ {, v+ Y, v/ ?
  39. Active=1+ `3 L  X  O: h6 |5 i$ V6 F! u
  40. ---cut here---( u/ [: }- l; F3 w
  41. In my environment (a linux box with a MySQL server running locally) I have:. O, |( k0 H/ f; L
  42. ---example---
    % m8 I7 T: z2 P) X" o' V  L! a
  43. [DBEXPRESS]$ s7 I# X# y' l& B$ T9 o  z0 ^9 D
  44. sqldir=mysql_sql
    ) P4 G! n. J, B5 e3 u
  45. Drivername=mysql
    & R# F- [, D& u" M% g- _
  46. Database=test7 Q* o% H( I* Y( P
  47. Hostname=localhost4 M) |8 @0 g" u+ B0 r
  48. User_name=testuser
    " X# E7 d7 O! f8 n
  49. Password=my_password+ N" S+ Y( o/ o% M, M
  50. GetDriverFunc=getSQLDriverMYSQL4 G/ a5 ]1 e6 V- H$ X
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    & ^$ L3 u3 p. Y8 N
  52. LibraryName=./libsqlmy.so
    + C8 B3 |6 d! s- |8 L/ i4 q9 A3 K
  53. Active=16 C/ k% B$ o# T% s+ |$ M
  54. ---example---
    # a0 L6 n; }: W: A
  55. 8 o" V7 F% @' v
  56. On a windows box, also running the MySQL server locally, it would be:
    $ n5 y( O( C2 \. R
  57. ---example---
    6 T4 P- [  a% V* f6 |% z
  58. [DBEXPRESS]2 a! L6 C9 G; q+ t$ X
  59. sqldir=mysql_sql
    : z: G4 j3 s3 N4 b0 E4 W& O
  60. Drivername=mysql
    4 E$ g# a* Z  D" {7 ^
  61. Database=test' r! I% R: @0 V' A3 w1 Z+ r' I
  62. Hostname=127.0.0.1. F3 \2 f$ u1 h# w
  63. User_name=testuser
    ; \7 J1 d5 S" Y. p) H
  64. Password=my_password9 c8 w6 x3 @& q% I7 T' B
  65. GetDriverFunc=getSQLDriverMYSQL
    & l* Y, ^! A" y5 E5 {
  66. VendorLib=libmysql.dll
    : J6 p. S  `. |! {+ `2 r( m
  67. LibraryName=dbexpmysql.dll
    5 C' W; J* s8 V5 [4 l: b
  68. Active=1' g: u" y$ d. z( X0 s& I
  69. ---example----
    7 ~" v; `7 N+ y1 C( [
  70. - written 02.03.04 by pwk.linuxfan+ ~# L/ M( G" c% D

  71. + ]. w4 G5 [. S) n' n
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
8 O# a1 c5 a+ U6 A/ `2 X) D6 o

  1. , {2 t% h0 U3 L
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    & q  n" W' B% \

  3. 6 o) \3 w+ z8 Q% f3 a
  4. # # #我们所需要# # # 3 a# s8 `8 O3 r* D: ^
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件/ Q: [; `9 D; V8 H2 Z8 n) T
  6. 不会解释如何做到这一点-也有文件存在,为' H  I9 o4 m2 i3 ^% `& m- R
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用  L; \' S! P8 N5 }8 }/ [+ c
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西7 w: ?, t" [* _2 ?# S$ L+ d4 v
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ) P1 p) F2 e7 a! O' C& p$ ?
  10. 本地机器,这是我的MySQL安装。   w; T) g: Q7 O$ O
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    % i8 `( j+ D; e
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL / r' U% a# n' m, f3 D% r
  13. 数据库。
    / `5 R( T+ `7 b& u, X: Z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    5 J  S# E; t1 N* Y4 `3 J
  15. 编写本报告的时候,仍然有太多的问题-检查现状- d- v, R. P8 @/ H1 M$ V" B% l' _
  16. 在teamspeak论坛,如果你有兴趣。 2 [% _9 _3 C3 _
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机+ |* v( Y- X1 p. Q
  18. Borland公司使用。这个司机只能界面与客户端库, w1 R7 Y. e% l% D3 [5 ?/ ^, \4 U
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这5 Q; d7 @7 G3 s* R
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为; p3 e4 m$ K- _9 x( ]4 V! L
  21. " vendorlib " ,并解数据库连接。
    + E" s) S- M4 G. u) |
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    , W+ T. y; d9 A: X8 J/ s. o. ?& ]

  23. ; J% @  u# D' o5 i3 V0 {
  24. # # #做好工作# # #
    . p6 i$ h% R# B3 f3 [+ `
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都% g: e8 _8 \  i+ Z8 Y
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    " U5 W& o0 k6 ~
  27. 结束:
    ! n/ ]" L! G/ C7 c
  28. ---削减这里--- 9 x! P7 r: k: s
  29. [ dbexpress ]
    ! ^5 R# J& W5 v0 i+ c- o% L
  30. sqldir = mysql_sql ' m$ i7 ?, ?, B2 O( s+ H
  31. drivername = MySQL中/ A* s, H1 A) k: T* o9 A
  32. 数据库= your_database_name_here 8 X* O! _  e) F* N$ M  N
  33. 主机= the_pc_the_mysql - server_is_on
    / w5 b% w  r7 r2 I
  34. user_name = user_name_on_the_mysql服务器/ O- B% C! _, G) ~/ j
  35. 密码= password_to_go_with_above_user_name
    & M8 _' {6 D/ `* ?) K7 v* R" B$ d
  36. getdriverfunc = getsqldrivermysql 4 E+ _: ?% t& ]# x2 A3 E/ F; D, o! T
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    4 {3 i; f$ o' ?$ e
  38. libraryname = path_to_libsqlmy_libary
    5 V% Q4 |. K3 ~2 g, H# q
  39. 积极= 1
    4 J2 C  O; D$ }4 f6 P) s* W
  40. ---削减这里---
    & {4 ], P' k$ V2 M& P- ]
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: $ y) l% C  M7 c- f
  42. ---例如---
    7 z& U( ?( L  i& C- }6 g' A) o
  43. [ dbexpress ]   e/ Q+ ^7 y, A5 R# L7 ~2 G
  44. sqldir = mysql_sql / i8 V1 W1 k% U/ W* {
  45. drivername = MySQL中
    ' S9 K" w2 i* h$ i9 R
  46. 数据库=测试- l+ B6 O5 x* G. d- t+ z/ q& `. ?1 Z! h
  47. 主机=本地主机' f- Y, \3 P1 L
  48. user_name = testuser # P* O  [6 g7 U6 g# E
  49. 密码= my_password
    + R6 g' b( S! |1 \6 A2 e2 y0 Z
  50. getdriverfunc = getsqldrivermysql
    0 e$ s. z  M$ O4 \; @: x) v& W
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    1 I  M% g+ h* U; C
  52. libraryname =. / libsqlmy.so
    % m7 Q  }3 D  J
  53. 积极= 1
    " u+ i0 S8 C6 N( R' |# s
  54. ---例如--- , `. J- U) `: b9 q

  55. 8 r* v9 V5 `8 p- K+ f$ P, E2 g
  56. 对Windows中,也运行MySQL服务器本地的,那就是: & i& \0 g! d- g2 M
  57. ---例如--- 8 l" Y  f! A  H# J
  58. [ dbexpress ] : V: B; `6 i, c% g2 d! e  r# z
  59. sqldir = mysql_sql
    6 }2 [6 z1 y! f& t6 g1 C
  60. drivername = MySQL中
    ( g, ?4 l9 {/ ?( P
  61. 数据库=测试
    1 |: D" X0 M  ^8 Y) `" ^
  62. 主机= 127.0.0.1 ; a; x. V5 T: V* e
  63. user_name = testuser
    / E( g9 N3 ?% _$ }
  64. 密码= my_password   D# A# x4 h; N
  65. getdriverfunc = getsqldrivermysql
    ( i$ r' E8 n+ t% u$ ^/ B0 a& K6 @
  66. vendorlib = libmysql.dll在- n7 q+ `& p% G% p6 p0 C3 m" i
  67. libraryname = dbexpmysql.dll
    % V( B, V8 {% B# [
  68. 积极= 1
    ) R! N5 A- v7 R$ M+ P
  69. ---例如----
    4 K. E. J/ j- m3 m0 J+ @
  70. -写在0 2.03.04由p wk.linuxfan* S* |8 A( ^3 @7 t' g
复制代码
发表于 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
8 R+ c, o. G2 G( r& @
& n* ]& ^1 Y3 J9 ybut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-9 09:12 , Processed in 0.107292 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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