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

2854 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan + |& ^9 W, K3 S9 p

* A/ U+ o/ M! A0 N7 E

  1. % q, U; l2 r# A8 q- D/ A* s$ o$ `
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######& a$ ~6 B% Y* W4 z( B/ A

  3. 2 m# H! q4 }0 V4 K
  4. ### What we need ###9 E' {3 ^$ P+ M( z$ I1 w
  5. Naturally, we will need a MySQL server to store the data for us, this document
    0 ]9 D; m! K* j/ O6 c& b& A- y
  6. will not explain how this can be done - there are documents out there for the
    " Q) j' e+ L/ k
  7. interested. The requirements include a (empty) database for TeamSpeak to use. P) W1 j3 p* C
  8. and a user account (username + password) that has the permissions to do stuff
    6 l( l6 U, t# K4 {/ @/ s1 o
  9. with the database. Additionally, you will need a vendor library installed on the) v) V3 n1 S8 @* R
  10. local machine, this came with my MySQL install.
    2 S$ Z" C# e3 y6 q- @1 x
  11. These instructions will not tell you how you might transfer your data from the$ D8 t  k+ F% b
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL% ]/ ]3 U% U9 n4 w; u1 U
  13. database.
    * x. q- g$ U6 Z! h$ U4 f
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    6 E- b( j+ w; r
  15. the time of writing, there are still too many issues - check the current status
    + e+ Y0 W! h- x6 c0 v1 s  l5 Z8 G
  16. in the TeamSpeak forums if you are interested.0 B, e$ r7 S# X
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ! C4 ^+ Y% J0 A8 R+ {/ n3 o5 s$ w
  18. Borland was used. This driver can only interface with the client library that 1 B! f; f4 p* j8 d! f- M! w# T
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    & r( s  d4 t  b+ Q/ V; [
  20. client library - basically all you have to do is to use a 3.x client library as
    1 ]9 e$ o$ h6 G% ^
  21. "VendorLib" and a 4.x database to connect to.
    1 l- Z( |+ {1 r' m& `0 d6 l4 m9 k
  22. If you need more info about dbExpress, you can contact Borland.
    ! V" l8 H: ^+ |1 j9 Q
  23. ' J9 ~7 z1 `8 f& j( a+ L, @3 F/ U
  24. ### Doing the work ###
    / {* c- F: \- h. d3 g5 Y
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all/ Y1 I5 W' q# ^4 o$ U6 W
  26. the perquisites right, just open your server.ini file, and add this section at
    # Y/ g3 b1 i1 @  m! g
  27. the end:. M5 V& z5 L, J: f$ y3 @9 D1 M
  28. ---cut here---
    ; w; K# c& Y: a& o
  29. [DBEXPRESS]
    1 u9 k( |8 l8 j3 l
  30. sqldir=mysql_sql  D1 L0 ^4 x+ a6 ~# `
  31. Drivername=mysql" |" K% d- U( l) U% {. Q* J
  32. Database=Your_Database_Name_Here
    * b/ @0 ^- a/ W
  33. Hostname=The_PC_the_MySQL-Server_is_on+ Q7 O2 U. |4 p# G7 X4 K0 ~: h3 X3 Y1 ]
  34. User_name=User_name_on_the_MySQL-Server2 a% ]- I1 _* W: |
  35. Password=Password_to_go_with_above_user_name1 Q( L5 M& Z; q+ Y5 V$ Z
  36. GetDriverFunc=getSQLDriverMYSQL) Y3 o7 B0 q! q1 s! ?- l% n) I& e% r' A
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib! B+ K, j& A. B& O2 e2 |3 u
  38. LibraryName=path_to_libsqlmy_libary  q  j8 r1 V' i7 m; O
  39. Active=1# \6 Q1 P3 Z  i9 C) T' x1 A
  40. ---cut here---5 a0 N( T( P& R, H+ `+ i8 y7 b
  41. In my environment (a linux box with a MySQL server running locally) I have:
    & ]  l4 M. z/ F# M/ ]! Q1 N$ M
  42. ---example---( ^6 x& x& [6 q# W% O" q1 p
  43. [DBEXPRESS]
    9 L& g. L) w. {
  44. sqldir=mysql_sql
    : s+ Q$ D9 s+ t
  45. Drivername=mysql* s( u' X9 J- T
  46. Database=test
    ) F/ ]1 h9 T0 M6 A" O+ f
  47. Hostname=localhost+ O4 l9 @& I  `7 l
  48. User_name=testuser' c3 q4 c( Q4 o" I3 f) p& T5 M
  49. Password=my_password
    7 f# A  {( c. x
  50. GetDriverFunc=getSQLDriverMYSQL
      v0 @0 P2 E1 ^4 N
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    & z: ]! c$ X5 Q/ L( O) I
  52. LibraryName=./libsqlmy.so0 b; a; H6 o8 ^. K
  53. Active=18 }+ R: A1 G8 d2 h0 T
  54. ---example---
    * I+ h! [4 ~7 N

  55. , f6 K8 B" q! c' @7 Y; s% F
  56. On a windows box, also running the MySQL server locally, it would be:4 L1 T4 @* x; N6 _9 t4 Q
  57. ---example---6 b4 z5 b$ m1 ]/ b: g; k
  58. [DBEXPRESS]
    7 ]9 w. w# n; }
  59. sqldir=mysql_sql0 d0 v; S+ I' {
  60. Drivername=mysql
    : F0 X, L9 y6 Q  A
  61. Database=test
    1 _$ ~  i! R5 @0 s& s- o7 {8 O
  62. Hostname=127.0.0.1
    ; Y' I, A3 ^( R$ R1 _
  63. User_name=testuser! d" ^: V+ M' L2 W. U0 o
  64. Password=my_password7 T* T( E2 W# ~
  65. GetDriverFunc=getSQLDriverMYSQL, q: c+ v+ g' _- k& D2 s0 k
  66. VendorLib=libmysql.dll& p2 R8 J% }, V$ l0 J' Q  j' X3 t
  67. LibraryName=dbexpmysql.dll0 P: D9 @, R; y
  68. Active=1
    / U6 t5 W. ?' E9 L5 U/ F, r* f
  69. ---example----# H* ^6 ?" c, h
  70. - written 02.03.04 by pwk.linuxfan# Q) Y- @8 @  j, O8 ]! N

  71. 6 \( K& P0 g# f& u) W
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
8 q! W1 t8 M3 q4 h4 O4 P# L
  1. ( i; R/ [3 \: i' ^5 h1 y/ c( W
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    9 I( z' k: q5 I; s, D5 {

  3. ) T' w+ g# u$ p  ^' X) j7 M0 A1 R- V
  4. # # #我们所需要# # #
    4 h) p0 _- b# f1 o4 {$ a
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    4 L1 C/ B/ r' Y- |* Z
  6. 不会解释如何做到这一点-也有文件存在,为
    2 ]! r+ Z; Y* G# j5 w- t! D
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用( j5 a; ?. k, x+ m' H& w9 i
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西. z0 L+ R$ {& P/ Z
  9. 随着数据库。此外,你需要一个卖方图书馆安装于8 U, i" t) G: c
  10. 本地机器,这是我的MySQL安装。
    : O! E. B* \( S6 ]: p
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    % A2 v  W9 v" O% R9 h
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ) s  U% q- P. E
  13. 数据库。 1 X; v( o7 Q( @1 l2 `& V( x
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在6 |- {. ?" D% M# E- e9 w
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    7 V. k/ D( I. \/ y4 N
  16. 在teamspeak论坛,如果你有兴趣。
    1 P  @9 b1 ?* j
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机. K, E# [5 S- o1 u: h3 g/ M
  18. Borland公司使用。这个司机只能界面与客户端库
    0 }- ^& D& K. O- R$ r
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这" w, C0 E7 f# U8 I9 X# U
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为% w: J1 k% R3 @% k
  21. " vendorlib " ,并解数据库连接。 ( o2 \7 U" }: V
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 1 H4 R7 |0 Z  \. Q8 v

  23. 9 e8 ^6 M3 a! `
  24. # # #做好工作# # #
    7 Q6 F2 V3 ~: b& q; K+ }( G
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都9 z( v; J* T- \' r8 J* T
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在; v' `6 }$ f2 G% @8 F  l0 m
  27. 结束:
    ) x, @* M- B0 u) d6 Q7 Z2 n
  28. ---削减这里--- / M8 I" v/ ~3 x; K: p5 c
  29. [ dbexpress ]
    - R' k5 K- b' O! s! L/ a' {% j
  30. sqldir = mysql_sql 4 E. g9 Z. l  g8 u( p! @# {9 l
  31. drivername = MySQL中
    3 x0 A0 B  I2 t
  32. 数据库= your_database_name_here
    . m7 t( M# |% I! S
  33. 主机= the_pc_the_mysql - server_is_on
    4 D) p8 R. N: o3 G
  34. user_name = user_name_on_the_mysql服务器
    9 @% L6 ^+ }2 Z
  35. 密码= password_to_go_with_above_user_name 5 f2 u; f. O5 Q, Y& F  f+ F- v& o
  36. getdriverfunc = getsqldrivermysql
    : o3 v& _3 a' Z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    , a- j  p' Q% q7 c  Z( Z8 J5 {
  38. libraryname = path_to_libsqlmy_libary ; |% M5 F4 Y$ ^$ r3 E4 ]" Z* X
  39. 积极= 1
    & M7 W  F2 T+ c
  40. ---削减这里---
    / b2 X. t4 D2 p5 P
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    & y* u. e6 t: W' {7 t& H
  42. ---例如---
    1 {1 L- Q! G6 [! H! i; |
  43. [ dbexpress ]   E' |& `9 [# c) _
  44. sqldir = mysql_sql
    3 I: n+ i/ p- S( h& h9 E; F4 J
  45. drivername = MySQL中
    $ D  A- h, S6 }7 I& F: f9 q
  46. 数据库=测试
    5 q8 P  T# s1 z) _% o+ l% m' w
  47. 主机=本地主机
    + A8 Z" H6 }7 b. `& x
  48. user_name = testuser
    6 \8 [. ]' P# F. {8 N
  49. 密码= my_password
    7 A' k( N* _4 E. c3 Y" }. X
  50. getdriverfunc = getsqldrivermysql
    ! J9 @& A( m2 L" D
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 7 a2 n+ `3 G% ]2 ~% ~6 w4 O' s; A% Z
  52. libraryname =. / libsqlmy.so
    ) H1 X+ l$ d6 Q- G
  53. 积极= 1
    7 u8 p2 @, b- J& c6 ^, |0 y
  54. ---例如---
    ! H* Z& {5 }; ^  T. P

  55. : p$ X9 K" y4 `. |# B
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    4 x8 E0 c) k! s  M3 G* D7 O
  57. ---例如---
    5 C7 h( ]% E( P- j/ K* \  e
  58. [ dbexpress ]
    ' O& }2 x7 j6 K1 o
  59. sqldir = mysql_sql 2 h$ V  i* ?) L+ O) b
  60. drivername = MySQL中: T9 z, j8 M5 }" X4 [# v+ d
  61. 数据库=测试5 A$ p' f9 ~9 l) ]# |
  62. 主机= 127.0.0.1 ! V; |+ p$ W9 T  h0 B* w" K3 u
  63. user_name = testuser 3 h) n' N8 u* P& I( x) }+ B3 I
  64. 密码= my_password
    % c2 H5 y% H: o7 V+ J! |2 R
  65. getdriverfunc = getsqldrivermysql ; h, h) P% \* r
  66. vendorlib = libmysql.dll在
    ) l7 a8 `9 ^+ F' H' v
  67. libraryname = dbexpmysql.dll
    * i8 {, \3 K) f- n9 g4 e/ J
  68. 积极= 1   V$ o+ R" \& q1 }
  69. ---例如---- - M$ q: p! I* H  n
  70. -写在0 2.03.04由p wk.linuxfan, [3 F* D, ]7 ^$ o1 Z! P9 b6 M" ]
复制代码
发表于 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! \/ o+ W  p( s, P. Q
$ o2 {. l0 e" N( n" p1 P
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-7 09:28 , Processed in 0.112547 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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