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

2960 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
# R% b" c. K; Y" k$ `
* R) W+ D9 R# S) r) _* P
  1. + k& b3 e: b: z& ~1 X. j' t
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######; M7 r( ~: }. u6 S. u

  3. 2 a+ x. m  i6 R, I  q9 T! f+ ?
  4. ### What we need ###2 y+ u, e2 ?4 q8 r
  5. Naturally, we will need a MySQL server to store the data for us, this document * P$ S8 [- p8 O- i/ o; t
  6. will not explain how this can be done - there are documents out there for the
    3 a3 c9 t9 g6 i3 W# c8 I
  7. interested. The requirements include a (empty) database for TeamSpeak to use* ^( f$ j4 |3 s. [' p
  8. and a user account (username + password) that has the permissions to do stuff0 h2 [# `5 l( W# \1 E5 O
  9. with the database. Additionally, you will need a vendor library installed on the5 H( _+ I9 ^  ^7 ~! ?4 ?: k( H
  10. local machine, this came with my MySQL install.2 P  ^1 b+ h; f' {% Y
  11. These instructions will not tell you how you might transfer your data from the
    / t& D3 }  u8 O3 o6 ?/ b7 u
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    6 D7 f& r# C! Q- i
  13. database.# z" @7 ~; J1 `2 q2 t" q
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    % G- U" ^. d) Y, [! u
  15. the time of writing, there are still too many issues - check the current status+ m+ B+ S, n! O& T- q9 A* I
  16. in the TeamSpeak forums if you are interested.
    ' m8 s2 P, N. ^$ d# R
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ) y  ~0 L0 {* C  W) I# u
  18. Borland was used. This driver can only interface with the client library that
    9 s" {% j1 }0 }0 n
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ; C5 [( P1 ^& D' b
  20. client library - basically all you have to do is to use a 3.x client library as
    ( y9 ~7 }0 Z( v0 U" g
  21. "VendorLib" and a 4.x database to connect to.
    / C5 E! ^5 z- `- g" `( @" L
  22. If you need more info about dbExpress, you can contact Borland.; q! M7 N& R  P0 D5 s

  23. # A+ S5 }* c3 @* @9 y5 O) I
  24. ### Doing the work ###
    # l8 Q! y0 c$ e5 u9 c8 g( d3 @
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    / K7 `* j4 `1 Q5 l4 U
  26. the perquisites right, just open your server.ini file, and add this section at8 E) u9 X4 p8 M& `3 f$ S4 [
  27. the end:
    6 m7 d2 W; ?6 K
  28. ---cut here---
    ; a" |, b( N4 w# B
  29. [DBEXPRESS]% a- X" j% l0 ]9 ?1 {- c5 I
  30. sqldir=mysql_sql; A" a8 z6 I8 x- }: k
  31. Drivername=mysql4 L9 v# {( U3 Q# V
  32. Database=Your_Database_Name_Here
    5 u3 r$ Q. W( f  D" b# R
  33. Hostname=The_PC_the_MySQL-Server_is_on
    , _: u! c6 }* t, v2 x
  34. User_name=User_name_on_the_MySQL-Server
    + ~5 d% Y8 M- Y4 g- p
  35. Password=Password_to_go_with_above_user_name
    & E5 J# ?& }) u5 i5 U. k. r( A
  36. GetDriverFunc=getSQLDriverMYSQL
    $ D) k1 c9 K+ C6 V
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib8 W" ?1 ~+ m8 \* i) Z+ W$ g4 E
  38. LibraryName=path_to_libsqlmy_libary# W( a' f6 w+ Q$ w2 b( i$ [
  39. Active=1: S" r4 Q1 m! z1 D$ \; }0 O- M
  40. ---cut here---
    . J* Y* z0 v" N# y+ l4 N
  41. In my environment (a linux box with a MySQL server running locally) I have:* |& R6 n) o0 S" X3 j4 Z4 A3 M
  42. ---example---0 V  {  g' K7 G# W
  43. [DBEXPRESS]$ c% @& Y: N7 G+ K$ Y
  44. sqldir=mysql_sql
    7 j, \; ~" f: O( ]3 W; H( P
  45. Drivername=mysql
    3 A. Q: u7 W, x* E1 B
  46. Database=test8 }" K7 O' a' r5 `
  47. Hostname=localhost
    9 R' t3 @2 \. Z2 Q5 ?0 a
  48. User_name=testuser% n+ s$ {2 R- R  x. D
  49. Password=my_password, u9 Q$ y7 L- K" e4 s; l4 h
  50. GetDriverFunc=getSQLDriverMYSQL2 X# W' n. M% h' X
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0( s  c9 U; d* ~8 Q
  52. LibraryName=./libsqlmy.so
    ' E7 y8 f6 Z6 W# u/ h( ^9 ^' \
  53. Active=1
    ( ?" j: P6 C; {  W
  54. ---example---5 @' `# G5 N3 y& y# Z" i

  55. % Q6 W  H. `$ V3 s
  56. On a windows box, also running the MySQL server locally, it would be:! u/ x& F: E9 w* R3 B, q; K7 I
  57. ---example---
    2 Z  T% }) S: z& ^2 y
  58. [DBEXPRESS]: T$ J5 D# B' N
  59. sqldir=mysql_sql
      s# s  Z9 d7 X2 S9 B. \
  60. Drivername=mysql
    ; Y8 `$ {, R% z* K$ F6 ^+ p# n
  61. Database=test. X$ q1 l. t/ N- X  G* D
  62. Hostname=127.0.0.14 x# |1 Q2 X- g& z8 u- {2 Y. K
  63. User_name=testuser. s2 ~# N5 s9 L$ x
  64. Password=my_password
    1 R  |+ [8 M( Q9 {2 @$ \
  65. GetDriverFunc=getSQLDriverMYSQL. U3 c( T- ^4 d, K4 y1 ?3 Y4 g7 i
  66. VendorLib=libmysql.dll; F* U+ }0 {% L0 l
  67. LibraryName=dbexpmysql.dll
    5 j" e, U% q! ^: E/ d2 G
  68. Active=1. V8 w2 M3 W7 d' Q: P4 D* \( o
  69. ---example----
    6 D; O! V5 y: I  F
  70. - written 02.03.04 by pwk.linuxfan
    - H& m% {1 k+ `

  71. 8 E$ u% V2 t# E- D& v
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看9 @7 ~0 q/ M0 c1 C
  1. 1 a; S" _  A' ?, [9 u* F
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 3 d9 i+ M; t' d' P+ ~; K
  3. ( n# f' u% T- s2 _2 ?" ~4 H+ j: O' P
  4. # # #我们所需要# # #
    7 B, v' }' ]% T; F! V: c" R5 X1 l+ m4 Q
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    3 I6 E& g! F& x8 }
  6. 不会解释如何做到这一点-也有文件存在,为' M+ f5 y, H- r' r+ b1 W: c
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用3 v, P* r7 `7 ^- f6 c
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
      S1 T7 B& R2 Y$ k
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    3 T+ ?9 o+ K% `; q9 H/ C/ S
  10. 本地机器,这是我的MySQL安装。 0 b% f4 y% }) h9 M, ~" P7 |, e
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从1 [1 u# o' a+ [& i0 N
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    4 u2 f% s( H. ^
  13. 数据库。 7 J2 _0 r. H& q) n
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在, v/ v- T) c( ?% Q* F1 B, l
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    + o5 |+ Y  ?1 b( Z( Q, x# V' I
  16. 在teamspeak论坛,如果你有兴趣。
      t; a; v) B' Z/ Z$ F; k& X% D
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    . G6 X$ }4 ]" z6 H( y$ A
  18. Borland公司使用。这个司机只能界面与客户端库
    4 z3 H4 y6 N# B! R0 Y( m8 G* O
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    7 q9 f1 W5 X- _4 q# M; D
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    3 I6 w. z2 Z" t+ P3 B8 R2 B# x
  21. " vendorlib " ,并解数据库连接。
    ( |+ p9 ]) W4 _# e! p/ ~/ @
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    1 _7 H( E5 q9 R6 q0 A* P1 N
  23. ; c5 R1 x0 ^# w* ^
  24. # # #做好工作# # # 1 \9 r) w# X1 [
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都* `* c1 s" v3 s
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在0 v! t9 m  f9 t- |# o
  27. 结束: % P- L0 k5 G: p4 T+ p
  28. ---削减这里---
    * v9 Q) d" F. F$ u( x; g( k
  29. [ dbexpress ] 1 U( b% c% h7 p/ O. p1 S
  30. sqldir = mysql_sql ; j, p  b' H: k
  31. drivername = MySQL中( A8 O4 W/ k* h: n+ k3 H( l: ~
  32. 数据库= your_database_name_here
    * E; W2 u' I# P0 w- u* X, m
  33. 主机= the_pc_the_mysql - server_is_on & E- r- d* i: g. d
  34. user_name = user_name_on_the_mysql服务器7 _* ~' i- }1 n, \9 K! U
  35. 密码= password_to_go_with_above_user_name . y- ]5 o8 H; a. i, j+ ]! r
  36. getdriverfunc = getsqldrivermysql * _% U/ S2 Z8 z0 t3 h9 a6 f
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ) f) d% t% r1 o2 V# o  P
  38. libraryname = path_to_libsqlmy_libary 8 p0 D7 x& ]* q0 N, O( V! z6 y
  39. 积极= 1
    / }, t1 {. k# _: v  [9 |. s
  40. ---削减这里--- $ H) ^0 m5 u1 J, c" R: T4 b
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    4 b$ D  l( Z2 O3 [+ L% i& |* P' X
  42. ---例如---   a$ m/ u: ?' e' d, {- g! H
  43. [ dbexpress ] / l2 T+ n" |0 B1 Q
  44. sqldir = mysql_sql : x% N4 k2 e* Y; N% w6 a9 v
  45. drivername = MySQL中
    - c5 n: w5 W: ~* T+ `* @% O
  46. 数据库=测试
    ' C* F& i. m$ {9 v( A2 u3 V/ C& h
  47. 主机=本地主机
    1 a0 {* Z- r& A% l
  48. user_name = testuser
    2 k4 U) c" y; m4 D- I
  49. 密码= my_password
    ( t( C' t2 R# d/ b0 x5 ~6 Q- ]( ?
  50. getdriverfunc = getsqldrivermysql
    2 d% s/ O9 K# p; X) t) l: e0 x
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 % F+ |  e: q# @! a0 ]1 I# z3 ^. M$ \% L/ _
  52. libraryname =. / libsqlmy.so
    % K8 r" V  p. F' F; m9 X& A' N
  53. 积极= 1
    & }1 F; h% L7 R- M$ T) v
  54. ---例如--- ; l1 R( D* Z+ s3 @
  55. , r  v6 d; v. r8 k% Z, f. z
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    6 u" D( _* Z- Q8 s) U  V; c6 |' m! o
  57. ---例如---
    # `% R3 e, F# C- j7 c8 _
  58. [ dbexpress ] 6 `4 w0 W' T  T4 U
  59. sqldir = mysql_sql ( `" f6 C6 @) X) W$ v$ p9 t
  60. drivername = MySQL中
    8 Y3 K& ?' z  m" P- H! O3 N- v
  61. 数据库=测试! H7 B2 |( A/ D' m+ _
  62. 主机= 127.0.0.1 1 G8 n7 J% u  R0 N5 U+ ]) x: @' W
  63. user_name = testuser ' ~+ [! o) b* H" G4 X
  64. 密码= my_password
    3 P* {: d" Z- C4 F
  65. getdriverfunc = getsqldrivermysql ) m# ?0 [% e; w& D9 R. v: m
  66. vendorlib = libmysql.dll在  A6 k/ b1 P) a3 l( l
  67. libraryname = dbexpmysql.dll
    0 U$ ~% X  W9 l! T) ~* O
  68. 积极= 1 7 a# k, S, r8 T& C
  69. ---例如---- % `% a9 a1 @  _* _+ `0 b: s/ c- u8 S  z
  70. -写在0 2.03.04由p wk.linuxfan
    8 i$ O! |6 w! y* X7 a
复制代码
发表于 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
: ?4 c: P; s* L2 o. l4 S" b
" }# X& ]/ x! P4 p' J: rbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-31 13:34 , Processed in 0.110013 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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