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

2347 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 8 [- b, x5 W) G- g; ~; K; [

4 L. }2 j% c+ B9 T

  1. ! W7 J. l6 B- Y& c) P# y5 A. V
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######" x) V% A# j! @0 `+ @2 z1 n1 ]. x

  3. 8 {# S% l1 h- I, ]! b
  4. ### What we need ###- T  h" n# y, f8 n
  5. Naturally, we will need a MySQL server to store the data for us, this document % H8 J( }9 D& a+ p( z" Y! u
  6. will not explain how this can be done - there are documents out there for the + `, U4 Y0 ^- P! g" O5 q# R- b
  7. interested. The requirements include a (empty) database for TeamSpeak to use6 u" P' h! G2 j& L
  8. and a user account (username + password) that has the permissions to do stuff$ [6 t- q" P' f8 f) q. H
  9. with the database. Additionally, you will need a vendor library installed on the2 |" D1 Q' f$ B/ r7 H
  10. local machine, this came with my MySQL install.7 w( j$ n: U4 {- j  ]4 M* A
  11. These instructions will not tell you how you might transfer your data from the! f0 ]8 \/ ]7 \0 d" N& `
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    , B& {% i# p7 z
  13. database.
    9 D  S6 a3 y9 J
  14. Some users have reported ways to import a SQLite database into MySQL, but at1 ^5 U- O; x$ S9 s+ N$ `* \% m
  15. the time of writing, there are still too many issues - check the current status
    / g8 f3 j8 O, \
  16. in the TeamSpeak forums if you are interested.
    2 s8 l# ]4 |) E/ ~3 e# O! [  R
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from2 a5 z) K8 e5 d0 }# f9 K
  18. Borland was used. This driver can only interface with the client library that
    1 ]  H$ D  i. J" ^2 Q+ F: j
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this) r4 `- `  Y' k4 |$ `( h) E
  20. client library - basically all you have to do is to use a 3.x client library as
    $ A( X" }4 ~8 [- [- O
  21. "VendorLib" and a 4.x database to connect to.
    * h* J, D! Z, E- @4 r' y
  22. If you need more info about dbExpress, you can contact Borland.1 J( {. P( n. q8 I6 m8 u

  23. 2 a7 L' |. j' ~6 q' Y9 A& e
  24. ### Doing the work ###
    ( _" i6 ?& h4 r, I
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    4 R( @$ u7 x$ c( K' b8 m  V# l
  26. the perquisites right, just open your server.ini file, and add this section at, @/ O7 }& X/ Y  d* p2 n! O
  27. the end:
    5 h- z4 Z" L2 ~* q: w1 q
  28. ---cut here---
    - i- o) M4 w# J* N" k* C3 o  S1 ~
  29. [DBEXPRESS]
    9 r5 w6 _% _" f% n) X) v
  30. sqldir=mysql_sql$ \0 h+ \9 f$ l. C
  31. Drivername=mysql" ?( v0 c  E* e9 z
  32. Database=Your_Database_Name_Here* @3 O- O" G. p1 Y, j7 T( X7 z
  33. Hostname=The_PC_the_MySQL-Server_is_on
    + ^; g2 x( l, X& q3 h+ {
  34. User_name=User_name_on_the_MySQL-Server% b3 S) ?$ O$ o# ^! E7 m! r
  35. Password=Password_to_go_with_above_user_name& k5 e- {3 {0 _% E0 S% U% T
  36. GetDriverFunc=getSQLDriverMYSQL
    7 p* Z! U2 H! i
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    + E5 a) P9 D$ `, y! m; Z* Y* V
  38. LibraryName=path_to_libsqlmy_libary
    ' m/ W) C( b1 U3 I( V4 _
  39. Active=1; F7 K8 W5 i0 ?4 V
  40. ---cut here---1 S+ p+ y6 M; Z" q, V9 h: f0 ~
  41. In my environment (a linux box with a MySQL server running locally) I have:% l4 N- a' h0 r8 a& \
  42. ---example---
    : U; N2 @; w! a( r5 p' B) C
  43. [DBEXPRESS]
    - F5 u0 b: N6 h& o5 t9 T
  44. sqldir=mysql_sql( t2 {+ l# {/ ]7 v# d. h
  45. Drivername=mysql/ r- _9 g! m% n2 q
  46. Database=test6 h% [0 X- a) b  \
  47. Hostname=localhost
    2 h! E) @8 ^. U  F
  48. User_name=testuser; w8 f: n% ?% P& C% n
  49. Password=my_password% ?4 q$ {9 u$ Z  C, _$ l
  50. GetDriverFunc=getSQLDriverMYSQL
    3 p! Q4 w* ^4 l2 B, Y
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    / u' e- I( {) p: v9 b
  52. LibraryName=./libsqlmy.so
    ( y. A' z: f) o5 k
  53. Active=1
    2 _/ E+ _1 I2 B) Z: i; f
  54. ---example---7 O& P" F8 w( o+ S( h

  55. / D4 M( s- b' M9 u4 }$ h
  56. On a windows box, also running the MySQL server locally, it would be:
    * j" L$ n7 |" e+ z. r2 Y1 r# ^# V
  57. ---example---
    $ f3 g" o. V! w8 x
  58. [DBEXPRESS]
    ) y. e( f$ @; x  m; P# ?
  59. sqldir=mysql_sql
    & ^2 u. A5 i& K
  60. Drivername=mysql% x7 Q: u$ M' Y/ k1 J
  61. Database=test
    " X9 h; [0 B/ V! w9 q: E
  62. Hostname=127.0.0.1
    , v8 i7 r' x4 j+ S% i5 u9 Z  |
  63. User_name=testuser
    ' Q( z$ ~/ C, @* r8 h; S' {
  64. Password=my_password: H# }3 F+ i# N7 K+ t1 A7 L8 z: c* P
  65. GetDriverFunc=getSQLDriverMYSQL- B7 F  w; P; B1 V
  66. VendorLib=libmysql.dll
    $ p0 ~7 d, [# {
  67. LibraryName=dbexpmysql.dll8 @# B" k! \. l$ w3 b; T; K
  68. Active=19 p( }* B6 \" a5 z2 g. I: r& Q
  69. ---example----
    1 U9 k: u8 y& q* A$ R$ L6 m
  70. - written 02.03.04 by pwk.linuxfan
    7 u1 E" |  O! d/ w. N2 X4 k- b

  71. 3 v: l% g% }& p) p
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看* I5 _4 K! x7 q" J( s, J& e" q

  1. ( y9 B& R6 H* I6 f
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    9 S8 K  b3 h' X% ]

  3. * E/ S2 w$ ?: b, b7 w5 `0 N0 t
  4. # # #我们所需要# # #
      N$ M6 Y/ Z7 V9 [0 _1 Z+ U
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    % i( J7 j- W1 |6 m/ z0 A
  6. 不会解释如何做到这一点-也有文件存在,为7 x, u1 _& k! R/ d' v# k
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用! a( [) ^# g( I6 M( w+ s
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西  d" R0 Q, W) J( {* l8 R$ D
  9. 随着数据库。此外,你需要一个卖方图书馆安装于3 Z3 K% G$ v8 c
  10. 本地机器,这是我的MySQL安装。
    ! h7 K3 d5 ?0 F0 i# I
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    9 F8 T! N$ s' Z0 H
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    1 Z# n9 g9 y- X8 S- J
  13. 数据库。 * [& m0 A, H" c# R
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在, ^9 p: l8 i5 m& z. Z
  15. 编写本报告的时候,仍然有太多的问题-检查现状* J* b+ ]( u# d
  16. 在teamspeak论坛,如果你有兴趣。 6 J% s) \, o' H! {
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    8 B  n' j6 |* ~* ^0 u; a
  18. Borland公司使用。这个司机只能界面与客户端库
    " u3 h5 A1 z7 }. L* l0 l4 ]' c
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这  {6 ~# X5 A  Q4 ?0 [6 G
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为) q; |9 x! g( ?4 }% X
  21. " vendorlib " ,并解数据库连接。 / T' Z6 ?) d+ X# K# U: F- P: e
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 - C: K2 V" m% a2 U; A) Z4 d

  23. 8 n1 L+ Q" u+ S' ~6 e+ R
  24. # # #做好工作# # # ! z+ F( d9 `7 e& P5 K6 e! w0 N8 e
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都! g# K/ t* Q  a
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在% x! N9 s% W: R3 Q4 S, @
  27. 结束: 8 P; ]* |# T* g2 I1 P/ g* s
  28. ---削减这里--- 4 z4 W* Y7 i& |. H
  29. [ dbexpress ] ( n: z0 K8 Z; y" k% F
  30. sqldir = mysql_sql * @/ Y! B. R2 a) N4 V: u/ V
  31. drivername = MySQL中
    - q# v" A5 c. w# Q) X
  32. 数据库= your_database_name_here " l, Q5 m. I& v- q' B
  33. 主机= the_pc_the_mysql - server_is_on
    5 Q- o/ S  n: t/ ]
  34. user_name = user_name_on_the_mysql服务器6 U6 z6 o1 K9 P
  35. 密码= password_to_go_with_above_user_name
    % i% v- t5 {- c$ y7 M' ?
  36. getdriverfunc = getsqldrivermysql . i% y  k% \; l8 t) A$ M8 o
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ; v# L- L) o6 s, u& D
  38. libraryname = path_to_libsqlmy_libary
    ' ?6 \! }' ^- t( K6 v6 h
  39. 积极= 1
    ' L/ m$ ~$ ?2 Y8 g6 L& c
  40. ---削减这里--- 0 D# ?% L0 C. J9 s5 R6 }0 ~
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    + w. l  Y! e1 x9 T/ i
  42. ---例如--- $ w* G. Q0 P; X# h, r+ s0 w
  43. [ dbexpress ] ) `! m$ h$ ~9 K8 j+ x
  44. sqldir = mysql_sql
    ; K  g/ n# Q% U- c) y( o* \8 F
  45. drivername = MySQL中) A+ p: G  R& j5 ]
  46. 数据库=测试
    ; ^$ G% v( B( y( h, K
  47. 主机=本地主机
    . t/ j" b4 B) Z: @0 I7 ~4 ^8 r* M. r
  48. user_name = testuser : B; ?7 O  e# Q, u. B- M* l% Q
  49. 密码= my_password   I( q( m3 x( L, f
  50. getdriverfunc = getsqldrivermysql 0 h0 e3 H! N( v6 U* T
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    5 U( E: h# J. q. A
  52. libraryname =. / libsqlmy.so ( T3 l' X9 P9 W  X
  53. 积极= 1 ! \: g+ f( D2 Q5 h  v/ R' ?+ }8 K7 `
  54. ---例如---
    & a, B' x5 q4 A1 b4 ^9 L, B% b

  55. 4 \. g4 M- z1 j  t9 E' T
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ; X: D0 s& g) R
  57. ---例如--- 6 ?$ }! Y. b; c( k/ ~* e) T
  58. [ dbexpress ] ' g! |# U' h, }% Y1 i
  59. sqldir = mysql_sql 3 v: F% O" i1 O+ }5 _& P! F. ]: p
  60. drivername = MySQL中/ {; P5 |3 d1 |" s
  61. 数据库=测试, x' z  b4 @8 l2 h, F; o
  62. 主机= 127.0.0.1 6 `( ]' @% x# v
  63. user_name = testuser
    $ {2 x0 B" Z% p& ~( t
  64. 密码= my_password
    4 _8 _" W% P1 ]6 t8 r
  65. getdriverfunc = getsqldrivermysql
    2 t0 s' ?8 q/ x( x; ^# l! d3 H
  66. vendorlib = libmysql.dll在# V& |! a$ T+ m* I
  67. libraryname = dbexpmysql.dll
    * F3 W8 D( F) g8 `' q9 d
  68. 积极= 1 1 g7 W+ i. v, `9 c
  69. ---例如----
    3 j1 `% ^4 I0 ?( c- D, r1 E
  70. -写在0 2.03.04由p wk.linuxfan8 _+ M2 @/ ?9 Z
复制代码
发表于 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. ?9 M2 R. I- Q( L! K- c8 \
* Z- @5 ~. |$ W3 `
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-28 16:06 , Processed in 0.097405 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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