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

2913 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan : ]3 e7 l  x) I) k

8 Y* o+ \  ], D+ B" }

  1. ! x6 K  g1 U( ^& R
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######- O1 S& Q8 w. {. {: S

  3. 9 m* q; r# R; o, V& h
  4. ### What we need ###, W; x9 P0 M, B" v
  5. Naturally, we will need a MySQL server to store the data for us, this document
    8 b2 b4 l! Y! P; D4 |
  6. will not explain how this can be done - there are documents out there for the
    : A1 V# O3 I+ b% d" }
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    6 y$ M5 Y9 F6 f6 w% C2 m' ~* {
  8. and a user account (username + password) that has the permissions to do stuff5 r1 V* C- n! a# p
  9. with the database. Additionally, you will need a vendor library installed on the& [# v( R! {5 T* z7 s
  10. local machine, this came with my MySQL install.2 p: d5 \( S$ b5 k. A9 k0 @
  11. These instructions will not tell you how you might transfer your data from the$ P( _7 Y: C2 y+ u8 j) N
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL4 K( t9 {! u$ C: a6 e
  13. database.6 ~9 E; y2 P2 n- i2 r" G. F
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    9 G4 d/ T  J( G/ K. x3 O  ^
  15. the time of writing, there are still too many issues - check the current status3 c0 c# i8 o% j
  16. in the TeamSpeak forums if you are interested.
    3 z+ t7 f* ]+ z$ x& J, p
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    3 s0 Z4 S, P+ S. r1 L% B$ H1 _
  18. Borland was used. This driver can only interface with the client library that 7 r2 K4 y# N$ D+ p
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ( p3 E- ^7 V# N8 p5 j4 j2 P( ]
  20. client library - basically all you have to do is to use a 3.x client library as
    2 K2 k% Q1 D7 \$ w6 c% M
  21. "VendorLib" and a 4.x database to connect to.! K  q6 z& A0 X, \. k. m
  22. If you need more info about dbExpress, you can contact Borland.
      `% \/ o# Z7 [( y

  23. 5 j6 t: ^( O8 ?2 n  b
  24. ### Doing the work ###
    ) z$ S0 R4 f; E- T; x0 Y
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ( r+ B3 i9 J2 F7 F+ N7 o
  26. the perquisites right, just open your server.ini file, and add this section at
    - D! X4 c' C; G  |# J7 f! E
  27. the end:
    ( u0 o/ f$ R& _/ G' W
  28. ---cut here---
    8 s1 i" c! |0 J2 ]
  29. [DBEXPRESS]& {6 v6 L. U* i" j  ?
  30. sqldir=mysql_sql/ u9 u& N& G3 T$ D$ Q
  31. Drivername=mysql
    1 Y7 O/ h; c1 D; m
  32. Database=Your_Database_Name_Here
    / E; S! k3 ]* L7 l3 G  I6 v
  33. Hostname=The_PC_the_MySQL-Server_is_on8 s- X. S6 ?. s! W
  34. User_name=User_name_on_the_MySQL-Server8 h# S" L: v" R9 A6 u8 [
  35. Password=Password_to_go_with_above_user_name
    6 g# |/ t! ^1 {& g5 g4 ]
  36. GetDriverFunc=getSQLDriverMYSQL
    % i4 `: H8 T* L
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    3 G& E. v* m' B  A6 p9 o
  38. LibraryName=path_to_libsqlmy_libary! f- m. l( e* R) H
  39. Active=11 f0 g' ?& m9 `, @" F$ v' w# j
  40. ---cut here---
    , S/ J7 t5 n" j) x
  41. In my environment (a linux box with a MySQL server running locally) I have:
    , m7 n, ]  {& M& G" p0 k! g8 H/ g
  42. ---example---8 D' y( w- _" ~  ]3 B
  43. [DBEXPRESS]
    6 z+ ?  K+ [9 l- g! z
  44. sqldir=mysql_sql
    5 A5 v$ g' F" J% U8 @7 b+ W
  45. Drivername=mysql
    5 @% f  {6 A+ K* o
  46. Database=test
    & O/ h3 [7 j' h- z
  47. Hostname=localhost% U' F7 u3 @" O
  48. User_name=testuser4 B5 f! s4 a, x9 d, B
  49. Password=my_password# C" K/ i9 h; r& s! J
  50. GetDriverFunc=getSQLDriverMYSQL9 S! ]% |1 c  W  _) N
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    0 k8 V8 y1 E5 ?9 u( N
  52. LibraryName=./libsqlmy.so7 U, I8 A1 ?9 ]- h8 ^) V" _
  53. Active=1
    - P% {  b6 C2 Q7 t# w
  54. ---example---' H3 d- K9 w& F3 N- x
  55. , T: f1 V% Y7 ]. i
  56. On a windows box, also running the MySQL server locally, it would be:
    # A. {9 r, [9 F5 U
  57. ---example---
    9 s# D, J( O8 {3 K6 Q! X
  58. [DBEXPRESS]
    7 ~: V1 u' b; y- f
  59. sqldir=mysql_sql% Q8 Y& E5 g  k# M# x
  60. Drivername=mysql
    ; I4 X0 A8 J# O/ m; H5 a
  61. Database=test2 A) }! s6 O; }, a
  62. Hostname=127.0.0.1
    . m- |4 b1 ?  N( l$ K) X0 g% n
  63. User_name=testuser
    - n. C5 g( E5 i9 p- A4 \- m
  64. Password=my_password
    + ]7 L; o( n" B& J/ C+ W
  65. GetDriverFunc=getSQLDriverMYSQL
    0 W/ D9 q  }. T  }3 V" n
  66. VendorLib=libmysql.dll5 a7 W' x  V, W$ D  \
  67. LibraryName=dbexpmysql.dll
    5 [' L0 r; T7 t. x
  68. Active=1
    6 O8 n/ |' g  q! b- r$ q
  69. ---example----
    2 u$ R, v7 B" F. ^
  70. - written 02.03.04 by pwk.linuxfan" P4 l7 v. W  |; m# ~- h
  71. + l- s( S9 ]9 H0 M# c
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看, R% M  M7 i+ _% r  e' J' }1 L
  1. ( x  K. U, o; p% J9 f2 f
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### : U  O8 d/ A* F. y, _- B

  3. 1 r( {) V5 `7 q9 {5 X. u* F3 \
  4. # # #我们所需要# # # ) J( w. H! H+ y$ \3 \5 Q
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    . X: Z" T* Q" W" r" J( e
  6. 不会解释如何做到这一点-也有文件存在,为2 t  D4 g. B/ y
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用  `4 b6 X7 p; ]7 \
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西! v6 h5 e, ^1 O
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    " j' g# W+ r$ t& k) y6 o- E
  10. 本地机器,这是我的MySQL安装。
    * l$ j/ t6 w% v3 P7 P( ~3 q
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    & E& C$ y6 ?0 l+ L& j) C7 e
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ) A0 h4 R1 b$ Q$ l9 g0 e
  13. 数据库。
    2 t# }. {1 n, Z6 a3 z  p
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在* x2 n; i( P5 G# l: Q# _) L4 y
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    & R  U- e& q/ ^0 U( X9 i, n
  16. 在teamspeak论坛,如果你有兴趣。 3 r9 S5 t1 s" M
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ) I2 Z  z) m$ j" I/ j4 R! G
  18. Borland公司使用。这个司机只能界面与客户端库
    & Z' z3 G4 c0 I: f
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这/ }1 C( {9 ?+ J
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ' `$ ]+ y2 Q' M# }& Q" j
  21. " vendorlib " ,并解数据库连接。
      ]% {4 t# d1 ~# `4 b$ y( h- `+ @
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 / M- \* G! q5 ^6 X  j% j. q: r+ ]

  23.   s7 w6 p+ w: @8 r4 i
  24. # # #做好工作# # # ; d: M+ g0 M- a/ g
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ) v! [: ]+ d' e2 w
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在' w+ T+ @1 W* w7 X7 j* X+ X
  27. 结束:
    % x( V& S0 c% E4 [  `
  28. ---削减这里---
    ; X* T" a4 j2 j, z9 x% h. B- J
  29. [ dbexpress ]
    ! E2 \: {9 F) l9 l; A$ q
  30. sqldir = mysql_sql 9 R* K3 d6 }! g9 q1 ]
  31. drivername = MySQL中
    + h9 a: D" G1 j7 K) D7 u
  32. 数据库= your_database_name_here # Q6 X: {$ s( d% `. i
  33. 主机= the_pc_the_mysql - server_is_on
    ' i, B* \1 N5 v5 G
  34. user_name = user_name_on_the_mysql服务器
    : l+ ~  i. L* k( Y8 A# c
  35. 密码= password_to_go_with_above_user_name 3 N" b  I7 v+ I* K' W1 \
  36. getdriverfunc = getsqldrivermysql 7 B3 B: Z, h2 c# }! A
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 0 H  f- [- d% Y( p# }
  38. libraryname = path_to_libsqlmy_libary   y3 N- D& _( `. I% i2 P
  39. 积极= 1
    ! i" A: b2 U/ c2 b$ B- b+ }5 v$ O
  40. ---削减这里---
    2 x- o3 ^9 R- g/ J, Z8 B
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: - @' N2 k0 J, a1 ]$ Q! ~& W
  42. ---例如---
    & D( ?0 c( y0 k( E8 ^: k, U' ^# |6 |9 c2 I
  43. [ dbexpress ] $ o( r5 z' ~4 d( G
  44. sqldir = mysql_sql * @* p/ N5 S9 [( A2 d5 `8 w
  45. drivername = MySQL中3 n9 b' Q1 W  i# A: _
  46. 数据库=测试3 ?6 ?% a* v( k5 P  v: r
  47. 主机=本地主机
    " m2 T( d% f) d. o; v
  48. user_name = testuser : e$ s: N, @. x
  49. 密码= my_password
    % P; K+ _- a/ j; o
  50. getdriverfunc = getsqldrivermysql , }9 N' z: k& u; t2 W- V
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
      ^( h; }; i7 G( k* p  x$ y) W1 n7 Z9 f
  52. libraryname =. / libsqlmy.so ; m# @! n4 T+ o/ U
  53. 积极= 1
    8 Y6 K/ {% {2 H
  54. ---例如---
    - [- Q( ]+ _( h# w
  55. # r! K) i( i& k6 ~3 q2 F4 d9 E
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    & f0 i% D! C. q1 G/ K4 v% i7 n
  57. ---例如---
    # b$ ?5 B& @, u$ Q$ v% F
  58. [ dbexpress ]
    : w2 v7 c" K3 Y* D
  59. sqldir = mysql_sql , z' T# u/ Q4 s
  60. drivername = MySQL中: O. _7 X" r6 E& q4 V
  61. 数据库=测试) O5 l* e/ R: R0 g+ k& f
  62. 主机= 127.0.0.1
    6 Z3 \  u" F9 ^) W
  63. user_name = testuser % i8 k6 j4 L, W) M& H
  64. 密码= my_password 6 n8 I2 T0 ?7 b$ m% E7 G
  65. getdriverfunc = getsqldrivermysql # T2 q# ?: I, N& {1 h- H
  66. vendorlib = libmysql.dll在) n) @# f8 n+ b: @4 E6 O* p+ J3 C
  67. libraryname = dbexpmysql.dll
    % s( {0 ^9 b. s6 k+ J  J0 |
  68. 积极= 1 8 v: w+ I+ @# h% E8 c  {& P/ p: p" f
  69. ---例如---- + p- l: Q# j( l# J/ E; y
  70. -写在0 2.03.04由p wk.linuxfan7 Y8 i- ^; J/ A2 V) J& h; L" y
复制代码
发表于 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
0 X2 y0 x4 G/ y& H7 z: p6 Q$ [2 |1 ^, n! r: J  L/ A
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-19 15:20 , Processed in 0.096770 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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