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

3207 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
% z7 I1 {3 k# [% e1 \; G1 Q. ~" E- {4 q; [

  1. ( J! o% S/ z* ]6 d4 a
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    7 h5 K& k9 Y0 z, I$ E( {; E$ W
  3. # Z) z, O6 B4 j5 i' J' w
  4. ### What we need ###7 \1 p. a- d4 L# X) G' M5 l) @
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ; n, r3 G/ Z. ?2 g! c3 P
  6. will not explain how this can be done - there are documents out there for the 2 G2 f; {$ o9 b% D+ j7 A+ {2 d+ u
  7. interested. The requirements include a (empty) database for TeamSpeak to use. t$ Q; j" B; {0 p
  8. and a user account (username + password) that has the permissions to do stuff2 m" {* j  D# ]/ y/ ?% F8 e$ H
  9. with the database. Additionally, you will need a vendor library installed on the
    ; o: t8 \  E  x
  10. local machine, this came with my MySQL install.; p  b! M; z9 D6 f5 f
  11. These instructions will not tell you how you might transfer your data from the
    3 P/ L, Q; B0 {; a- |
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL; K1 F% ^3 [9 W- j7 {  H
  13. database.
    ; R8 j* p8 ~. r( M6 R7 h
  14. Some users have reported ways to import a SQLite database into MySQL, but at8 w, {! S8 \' `9 i8 x
  15. the time of writing, there are still too many issues - check the current status+ v, E  w2 V0 _1 O( n
  16. in the TeamSpeak forums if you are interested.
    ' \% b5 Y3 j4 }) Q" a, c
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ) L1 r* z6 |. w7 K0 [
  18. Borland was used. This driver can only interface with the client library that 8 b- }: b1 y% B
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
      }: g) e/ x4 B3 W7 X! J. Y' k% z  R# t
  20. client library - basically all you have to do is to use a 3.x client library as # @3 z1 R$ D% ^2 d# m
  21. "VendorLib" and a 4.x database to connect to.
    ) M& b1 i" l- ^: b% a* k* D
  22. If you need more info about dbExpress, you can contact Borland.. ~, U; \2 S2 L; k
  23. 2 X/ O, q: x( R* s" i, o8 G- b+ B) V
  24. ### Doing the work ###
    & w) n; v$ H/ @- W/ ^" j: r1 n9 R0 R
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all# Q( \8 Z2 J: R: {! T$ `2 `# e
  26. the perquisites right, just open your server.ini file, and add this section at+ }0 p( s" j0 p- C
  27. the end:
    6 p: J, o9 i6 X6 |$ s% a
  28. ---cut here---. P. A: e; g; c$ [' P3 j
  29. [DBEXPRESS]
    4 F+ f( O" W/ k$ J8 z* d
  30. sqldir=mysql_sql
    2 R! D5 a$ x% H& U
  31. Drivername=mysql" @8 D+ e3 K) r- C
  32. Database=Your_Database_Name_Here
    4 N  D& ]! ?) W" F, W7 w
  33. Hostname=The_PC_the_MySQL-Server_is_on
    8 B$ v2 @7 ?; Q/ ^, h5 T
  34. User_name=User_name_on_the_MySQL-Server. W) i9 _) ]3 l* v
  35. Password=Password_to_go_with_above_user_name
    1 v1 P1 _0 V; K
  36. GetDriverFunc=getSQLDriverMYSQL
    4 R2 P0 Q$ k$ J4 p+ R4 X
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib* `$ O. S7 n# x( i- V5 t9 k
  38. LibraryName=path_to_libsqlmy_libary
    $ q( E) k( g" ]8 ]* V. T) C6 [
  39. Active=1! t! I" N+ p; R
  40. ---cut here---2 ]' g  t3 w2 j9 E( L
  41. In my environment (a linux box with a MySQL server running locally) I have:7 X0 D7 i/ c8 F5 P$ M& S
  42. ---example---
    1 {4 y/ X8 [( [
  43. [DBEXPRESS], s" v2 g/ P( f1 m4 S
  44. sqldir=mysql_sql8 c8 Z, @6 _2 z+ `# g4 [
  45. Drivername=mysql; j  z# F/ l, a  P% s: \& q
  46. Database=test
    * ^; j# p/ i8 n4 T3 G
  47. Hostname=localhost+ s; H$ k) ~+ R6 @  F
  48. User_name=testuser$ b6 o6 R5 W6 [7 J- A1 |# }
  49. Password=my_password! w0 M0 r& K$ p. ?  n5 Y3 Y: w
  50. GetDriverFunc=getSQLDriverMYSQL( e6 o$ W( \' g4 k( ]$ B
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0% ^, f# E3 s2 I3 [
  52. LibraryName=./libsqlmy.so6 A: B1 E: U' C8 ^$ L0 i0 h/ d
  53. Active=1
    2 X, _; t- `4 ~! |$ }6 x7 |
  54. ---example---
    - @5 z5 s8 M* ^1 n

  55. " R9 E2 r1 \' i% b/ v
  56. On a windows box, also running the MySQL server locally, it would be:3 `8 ]2 @8 l& N
  57. ---example---0 |+ D) E& N8 k/ U! a6 F$ d2 }
  58. [DBEXPRESS]
    2 e7 ]5 |, ?' ~
  59. sqldir=mysql_sql' e% [0 k( C! H  D5 x: j
  60. Drivername=mysql
    2 R$ P8 v1 v" p3 U4 A) _  L5 ^' V
  61. Database=test
    8 V% D/ g1 P3 X5 h: M, Z
  62. Hostname=127.0.0.1; q* S( f* l- ?
  63. User_name=testuser
    ; j. |/ O1 c4 K' A; [: n! l% ?
  64. Password=my_password
    9 m, A) n$ @" n4 Z
  65. GetDriverFunc=getSQLDriverMYSQL
    , j& Q2 u2 l6 e& M2 J. b& e1 P5 |
  66. VendorLib=libmysql.dll
    , |( l* }1 s+ \* e
  67. LibraryName=dbexpmysql.dll
      I0 i3 [6 M/ g' b  j
  68. Active=1& R  V8 k' p8 q( X  E/ u
  69. ---example----
    " f3 N! B% I3 ~+ C4 c6 p
  70. - written 02.03.04 by pwk.linuxfan9 a! Z( i9 o7 S% U, S

  71. 4 m2 p; [( V7 ]" U
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
: U: m4 H  Z8 {, H
  1. # _' G: H( d7 S; L
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 7 p; w1 ]& g: S; r

  3. " K3 N& A8 I( w4 _8 L, l8 r1 U2 ?
  4. # # #我们所需要# # #
    - Z# p& `$ B: r' _& y: Y# k
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    % c3 _: N7 y* K8 k' N5 o/ e% X0 X
  6. 不会解释如何做到这一点-也有文件存在,为
    - G5 d# l9 Q; ?
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用$ \* s$ Y* h; u7 o
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西* i. f  t$ s5 f. B% w7 q1 @2 p9 I- D
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ) f- L9 ~+ s$ G8 \4 m
  10. 本地机器,这是我的MySQL安装。 / A, U" S  F2 Q3 f6 O
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从! b1 ~- V, I. l, s  g" ]
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    : Q2 s* ]! B2 _
  13. 数据库。
    8 x  N. P/ S' f3 t+ p
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ' R4 @4 P; d& _" R
  15. 编写本报告的时候,仍然有太多的问题-检查现状" A7 L$ J. m- n1 L. O) y+ ^& M
  16. 在teamspeak论坛,如果你有兴趣。
    " M* `3 \. G- R4 W0 b/ i
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机8 l( n! x6 B  g; C4 I
  18. Borland公司使用。这个司机只能界面与客户端库
    # B: c7 F: T$ b/ G  i* _+ g
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    " d# [; _, W! q2 W& b; J  V( x
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ! y# g# R. X, d3 s" d+ F
  21. " vendorlib " ,并解数据库连接。
    1 F  Y+ L$ a" h
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    - n" S+ l( P5 G$ T+ V

  23. + k" Q& D& S! E
  24. # # #做好工作# # #
    6 e: u; P! j6 j* R/ O9 a8 B8 ^! J3 ?
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ' }) H- i( L( M' t; ^) P$ k9 H* z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在- q5 M# [3 ]+ q6 L) ~$ i3 Q
  27. 结束:
    $ ]: @5 [" {& x  l& u8 l! ]
  28. ---削减这里---
    % {# g/ |4 I6 x) m$ J7 v% @) b1 J) i
  29. [ dbexpress ] ; J' b7 N% n5 ~( X
  30. sqldir = mysql_sql 2 f6 T: x% u' A3 ^
  31. drivername = MySQL中$ ]9 n4 q3 ?! a  p7 j
  32. 数据库= your_database_name_here
    # x( O% A1 \$ k: q2 e& R& Y- q
  33. 主机= the_pc_the_mysql - server_is_on " L/ k& P; w, Y2 Q2 w6 b4 G3 P/ b; @
  34. user_name = user_name_on_the_mysql服务器
    : k* J% X4 u  w( P1 h% d
  35. 密码= password_to_go_with_above_user_name - j& q- A: o8 ~! H+ i( v1 w
  36. getdriverfunc = getsqldrivermysql 3 j- n: Y, B! D8 q' c
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    9 |  h/ L, S& l6 e- p) R
  38. libraryname = path_to_libsqlmy_libary 1 z$ S, J8 {- A' ~4 N+ O
  39. 积极= 1
    ( \( J1 C' L6 U4 N. m" n9 h! h, d
  40. ---削减这里--- " L8 u$ [3 W/ i9 B4 }0 ~
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    8 k/ M* ?& r# G4 J
  42. ---例如---
    " z) r; ?0 ~; y& S( m2 _5 ]3 I' G6 @
  43. [ dbexpress ]
    ; \+ O9 ~0 k. \6 E! `' Z
  44. sqldir = mysql_sql ' K" K4 _/ n4 M% V
  45. drivername = MySQL中
    ' o6 v9 G% A/ Z/ C% n1 B7 I
  46. 数据库=测试% S9 F5 B: n! k/ R
  47. 主机=本地主机% s6 y! r0 V0 O6 @$ W! `2 \( v
  48. user_name = testuser
    , O0 h& d+ I) ^# t2 J
  49. 密码= my_password 6 ^0 m* n4 I: ^; ^# h; T3 m
  50. getdriverfunc = getsqldrivermysql
    / n! o; f8 v: a  l# c
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    , N# w) f: E& ?; o% U+ _& e8 i
  52. libraryname =. / libsqlmy.so
    4 G! r; N; F) c, }0 v+ J& }& o
  53. 积极= 1
    $ a; q& K* W$ u3 D7 k8 B! Y
  54. ---例如--- 2 a1 v1 e6 s2 B) ?# i* N

  55. $ y& @) |/ Y% }3 ?
  56. 对Windows中,也运行MySQL服务器本地的,那就是: $ t4 q$ |: @) [% W4 O) @
  57. ---例如--- 6 k# _1 {; x0 Z# a3 l
  58. [ dbexpress ]
    7 m. g9 N$ i7 k
  59. sqldir = mysql_sql / {8 }6 m( i/ I3 _+ \
  60. drivername = MySQL中% b& j( g" X. ^" R9 e  K7 Z
  61. 数据库=测试
    " L- j2 o8 v- T4 d  i) c& \
  62. 主机= 127.0.0.1
    . }, L! _: Y1 [- i
  63. user_name = testuser ' \4 N& S. Q- n
  64. 密码= my_password ! l% T  O% N, D4 m: _
  65. getdriverfunc = getsqldrivermysql 2 }% z5 S4 \, L/ F( F
  66. vendorlib = libmysql.dll在+ ?' j. q1 Y( A9 }1 `
  67. libraryname = dbexpmysql.dll 8 j- w/ y' x' v9 d" P6 R- n- l8 k$ {
  68. 积极= 1 / {* P" F9 ~+ s, o9 p4 _5 X
  69. ---例如----
    - p( [/ e2 Z# }5 |* y1 F# o- c
  70. -写在0 2.03.04由p wk.linuxfan
    6 d( r. n& b4 {, `% N
复制代码
发表于 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 N9 A. P1 z6 ?, D' U1 z& T. n) |- ]( I$ u& \
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-22 21:46 , Processed in 0.100543 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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