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

2619 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
- Z3 S+ \+ C& M
! ]5 A6 t) r+ q9 n
  1. 8 \# d; [1 I$ P' {6 ]. X) L' Q( B. o( D
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ) z2 z# N, W+ f3 v9 w

  3. # ^7 i! W  t: q# u8 l% V) Z
  4. ### What we need ###
    5 b7 F/ b# d/ M% M6 O2 c
  5. Naturally, we will need a MySQL server to store the data for us, this document
    * m9 e+ g1 w, i) ^0 e& w7 F
  6. will not explain how this can be done - there are documents out there for the 3 x7 d4 a3 e7 ~; y& y, S" [) ^
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    4 b2 b4 |' n& F  L- T6 w, N0 k$ o
  8. and a user account (username + password) that has the permissions to do stuff/ H( I) Y# [1 r, ~& y
  9. with the database. Additionally, you will need a vendor library installed on the+ o. S3 w! i9 A' x. o
  10. local machine, this came with my MySQL install.  [" ]) k6 Y8 y& D& b
  11. These instructions will not tell you how you might transfer your data from the$ p& e% W. ]5 A
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL- W. Q% q8 ?8 A; q& C
  13. database.
    ! q. \% W0 g* e& `* h3 K
  14. Some users have reported ways to import a SQLite database into MySQL, but at) v: `# N9 w: l# P
  15. the time of writing, there are still too many issues - check the current status. M& @8 ^2 q' f9 e& C. C0 \
  16. in the TeamSpeak forums if you are interested.
    5 M% k+ w; t, Q# u/ v6 [9 }
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    6 X; Q% W, m+ W# }
  18. Borland was used. This driver can only interface with the client library that 9 L8 E! c0 Q6 P. {5 J
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this+ h+ \6 j* K7 `+ Z
  20. client library - basically all you have to do is to use a 3.x client library as 0 k, V: S0 v  w( j. l! |; L8 x; N1 O2 L
  21. "VendorLib" and a 4.x database to connect to.
    % e5 ~4 M7 b9 I
  22. If you need more info about dbExpress, you can contact Borland.
    8 }! A9 O' d; K$ J$ y

  23. 7 X$ z/ I% a- X5 G) X: j
  24. ### Doing the work ###9 g* R  A' N$ w8 m
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all& U' I; ^; H3 ^
  26. the perquisites right, just open your server.ini file, and add this section at9 ]% o  v( t$ [$ p" u, A$ ~
  27. the end:
    8 [* C! ~$ Z" [
  28. ---cut here---, n5 ~3 H2 w1 n" S2 _$ k2 v8 C6 W9 J
  29. [DBEXPRESS]$ W# i& c) `9 C6 I2 k
  30. sqldir=mysql_sql  d7 J9 P8 l0 g/ K2 L; j* F* m* C
  31. Drivername=mysql
    2 x  ^& T) X$ p* z
  32. Database=Your_Database_Name_Here. I! i$ h' P: l: h$ S3 ^
  33. Hostname=The_PC_the_MySQL-Server_is_on! S( s& a1 x0 Y. u& u! B
  34. User_name=User_name_on_the_MySQL-Server$ E# M8 w$ y9 E, R% m6 S6 e! T
  35. Password=Password_to_go_with_above_user_name) r9 B: `3 {4 r# s; y' [% G& y, X" h
  36. GetDriverFunc=getSQLDriverMYSQL
    : K9 D+ P4 x% T
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib( C" q4 T$ Q. ~; j, z. P) v7 g: i
  38. LibraryName=path_to_libsqlmy_libary" @. z/ d9 o' h
  39. Active=1' a: r, x% s9 @  D/ Z5 e4 q
  40. ---cut here---
    : Y0 w+ a( k: R
  41. In my environment (a linux box with a MySQL server running locally) I have:" b  U5 ^& z# ~/ U' J
  42. ---example---
    2 F& M5 O& B1 B# t$ t8 [0 @" }
  43. [DBEXPRESS]3 s1 W$ a' P( S! x$ u! Y6 v# f: s
  44. sqldir=mysql_sql
    ! {: J% A2 w# b) G3 j) T# D' a) l
  45. Drivername=mysql* ^7 @0 u2 F1 J' j' i- g
  46. Database=test9 P* H2 w  F7 O
  47. Hostname=localhost
    / C* W3 m8 w# T% a& X# B) |: T# r
  48. User_name=testuser2 t- F" ~# z6 V( ^" n& M! J' a
  49. Password=my_password  K* D% [7 C$ u" P
  50. GetDriverFunc=getSQLDriverMYSQL" {; D9 R: R: [! C1 K& v
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.02 G% p# B! R: z+ B: X. X9 O$ T7 C
  52. LibraryName=./libsqlmy.so; Y5 L+ J( X# ~+ v9 S" b6 R
  53. Active=1
    . b$ N, I; u* F0 T8 U
  54. ---example---2 q# I! M3 o- E- f& {3 e
  55. 5 e8 B# a- r7 T; Y* o& t
  56. On a windows box, also running the MySQL server locally, it would be:
    7 V0 e) _2 Q. D
  57. ---example---# n- f1 O% H( y$ ~. y( j3 c
  58. [DBEXPRESS]$ W- V8 x% B' W+ f  y9 z4 Z" D
  59. sqldir=mysql_sql
    & N2 b$ [4 _2 X$ g. u+ ^
  60. Drivername=mysql
    * K8 m6 l6 t4 Z% A- v) h3 p
  61. Database=test
    3 q0 H  }: w$ b
  62. Hostname=127.0.0.1
    0 a$ f% M. f* ?1 L4 n
  63. User_name=testuser! t/ q5 w8 M5 @( o4 t0 E
  64. Password=my_password- q" ?+ h8 l  z" p! U2 W. M
  65. GetDriverFunc=getSQLDriverMYSQL2 o7 w  I. p- {
  66. VendorLib=libmysql.dll
    & |0 I% ~$ c4 l# ]
  67. LibraryName=dbexpmysql.dll
    + y5 q. X7 S7 `3 [' m
  68. Active=1) c9 r4 M- x: s/ J; Q
  69. ---example----
    4 ?% X1 U4 t6 W$ W2 I3 o  W9 u
  70. - written 02.03.04 by pwk.linuxfan+ @* e3 c' a! u7 d' p5 Q

  71. - [# e/ D8 X7 H( F3 G
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看7 u  d8 L6 D# t8 l; l
  1. . H0 L! n1 R9 q% C: i" g; B9 {/ v
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### * y5 f8 ]0 ]& v/ k" s
  3. ' W: M, U8 I7 ~8 \0 W% k! X
  4. # # #我们所需要# # # / Z5 ^* h6 X4 g8 w0 X
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件2 v- x& L0 w' B8 T0 a
  6. 不会解释如何做到这一点-也有文件存在,为5 k5 x+ C) v, k7 }' b" Z% U% f6 P. T
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ; [* J/ V. [3 h) F/ H
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西: W' c; V' d0 m, k
  9. 随着数据库。此外,你需要一个卖方图书馆安装于6 j: [( e$ b" m6 p6 A
  10. 本地机器,这是我的MySQL安装。 - ]1 Q- H9 j6 F
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从  I4 x- E  j0 d
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 7 m  C0 h) J' }  j# F9 b
  13. 数据库。
    + C8 [$ \4 k2 n& n  Q
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ( c5 A/ \9 C% ^0 [0 C
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    . T0 f7 w# e/ n; X+ ?4 c5 s
  16. 在teamspeak论坛,如果你有兴趣。
    8 b% H: L$ ^( M5 `: c
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    / p/ M0 m) a% U# y1 ~
  18. Borland公司使用。这个司机只能界面与客户端库% C" l0 x/ p, e  S
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    $ ]) E6 I* W- Y2 A- W. |+ G6 i
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为4 s; i7 y9 z% @% v/ s
  21. " vendorlib " ,并解数据库连接。 / Y9 J) H  f! x1 I- v( A
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ) y: |5 m$ t# E% X% r$ d- X7 Z

  23. 0 H6 g. ?# C+ y; i
  24. # # #做好工作# # #
    7 j! @+ y0 o- W/ I7 |9 N
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都$ C) C8 h" @* f
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    4 z/ J0 E6 a* v5 N/ S0 U
  27. 结束:
    9 J9 o# D$ E; {* t; z
  28. ---削减这里--- & B$ f9 }0 y+ N; W
  29. [ dbexpress ]   ?9 ]* r$ }& u) p% p' o8 {" ?3 W
  30. sqldir = mysql_sql 1 m3 w$ k4 w0 H8 F* y$ M
  31. drivername = MySQL中
    9 j1 q3 u0 [# T6 c% F! \
  32. 数据库= your_database_name_here 7 ]5 k9 j5 ~' p9 F- @
  33. 主机= the_pc_the_mysql - server_is_on & x$ m  s; j! U4 S& i
  34. user_name = user_name_on_the_mysql服务器
    ! \$ Z- ~5 Z0 X+ C' T. M
  35. 密码= password_to_go_with_above_user_name
    ! i3 C: X6 H  |) E) }) U
  36. getdriverfunc = getsqldrivermysql 8 J3 R" }/ F/ G2 z$ |3 w
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib   B. J7 \: G# `% k5 P
  38. libraryname = path_to_libsqlmy_libary / c, p7 c' ^7 |" `: R
  39. 积极= 1 + J' o' [  _$ F% G* K
  40. ---削减这里--- ; I3 N# V% A& {4 w2 H- ~
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    3 N7 }  l% v. E. {* h& e
  42. ---例如---
    " W# |1 y) |+ g8 A8 w; Z! o% U: F9 ]
  43. [ dbexpress ]
    1 R/ {0 n, X. A$ C3 w+ \
  44. sqldir = mysql_sql
    8 Q* Z2 U5 V6 g9 W. ~3 Z+ C( ]
  45. drivername = MySQL中( C. i( f, F6 j' m
  46. 数据库=测试$ S; D9 N/ j6 f* g$ s$ }1 y
  47. 主机=本地主机+ D  v* n5 x4 M$ v( i
  48. user_name = testuser
    # X( ]  O. r8 L
  49. 密码= my_password
    . q7 @  T1 u' A
  50. getdriverfunc = getsqldrivermysql 6 k; T) ]1 k/ W5 Q# [6 p7 k
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
      r( H/ p7 k# {  C! E2 ?9 J
  52. libraryname =. / libsqlmy.so
    ) P( P( k% W. ]- S9 A, ?2 N
  53. 积极= 1 . C4 a* @. X2 U( i9 P9 E2 r' W
  54. ---例如--- 8 x/ ^" w" a: v% I! L& }' B- a
  55. 5 W% K4 k: y) I2 B  Q3 Q
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    & c/ e' q( [) V& Z1 t) x
  57. ---例如--- & x5 r2 [/ @1 ^- z, q7 T( ~
  58. [ dbexpress ] 3 c( c; m/ i; Y/ Z: v! M1 U" M
  59. sqldir = mysql_sql 8 `$ a3 ]/ M- b/ v3 N& r
  60. drivername = MySQL中8 x" ]2 F1 X2 i. E; ]! s
  61. 数据库=测试' D9 B( P( P5 O! B  ]- j
  62. 主机= 127.0.0.1 & _/ o- |6 g5 V
  63. user_name = testuser # _. a0 l. J6 o
  64. 密码= my_password
    ) J2 p! r  f" @
  65. getdriverfunc = getsqldrivermysql
    ) v0 Q: E6 U5 Z+ j) U& g
  66. vendorlib = libmysql.dll在
      t8 m7 }/ T$ N5 u" F0 p
  67. libraryname = dbexpmysql.dll
    $ r& l* W: I/ _: g. R% O
  68. 积极= 1 ! e* i. L3 W+ N" X
  69. ---例如----
    0 K  J- S0 |( x0 @% t* S
  70. -写在0 2.03.04由p wk.linuxfan
    ! T( p# y7 W; V; L7 K
复制代码
发表于 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
  v7 U5 Q* t; r# C* a# B. @/ C( k8 [6 _* c3 k
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-14 01:40 , Processed in 0.105055 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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