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

2074 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
; w" d4 B6 H5 u5 `! ^2 G* B, r' q) Z! W& j) Q: \8 w: B  G
  1. % L  b" |3 U+ z; }3 F
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    7 S# M) u% w2 w8 w+ A5 x0 D

  3. % s0 j& J* }9 m+ d5 Q7 U! q5 f
  4. ### What we need ###
    " Q7 O0 n; ]; i; P
  5. Naturally, we will need a MySQL server to store the data for us, this document & P' E2 d6 h; Q- }
  6. will not explain how this can be done - there are documents out there for the 0 E6 R" @: @! F5 @5 J5 f
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    / |( C! V- n  {4 @2 c
  8. and a user account (username + password) that has the permissions to do stuff
    ' o) c+ d* L9 p( R+ {$ b" Y
  9. with the database. Additionally, you will need a vendor library installed on the9 h" P; J+ e3 C  \1 ]* ~; ~! y
  10. local machine, this came with my MySQL install.
    - T+ Q+ r3 `, \! I+ E2 E/ L; d) l
  11. These instructions will not tell you how you might transfer your data from the
    " m  V& S$ x- g! z& M% C3 t
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    6 j( {1 ~' ^% ^# M
  13. database.
    . D: S! B' a  a* I& v6 n, T
  14. Some users have reported ways to import a SQLite database into MySQL, but at4 R. o* W3 j& w
  15. the time of writing, there are still too many issues - check the current status
    9 z5 B% {2 ^; D7 h# C6 S
  16. in the TeamSpeak forums if you are interested.' c5 V! E! E1 ^: K1 Z+ J
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from2 n4 I9 a/ M  n% y* x( o
  18. Borland was used. This driver can only interface with the client library that & q9 V; x% V. ^9 m
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    & v8 d4 ?- V2 E: T  p
  20. client library - basically all you have to do is to use a 3.x client library as " W% x' u$ D# V/ J! X! V4 H( R: l
  21. "VendorLib" and a 4.x database to connect to.. t- s+ Q9 E: O- M9 R
  22. If you need more info about dbExpress, you can contact Borland.  O/ S. [) V' q! J& l

  23. 6 |/ o2 |' t& @6 o- g+ x6 X
  24. ### Doing the work ###
    ! T  U+ y. k/ {0 B# U% F6 B
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    * f- ^% ?- `3 @7 E
  26. the perquisites right, just open your server.ini file, and add this section at
    ) v* V7 h  s2 U
  27. the end:
    6 A; x$ Y; I8 S4 f
  28. ---cut here---
    1 g- ~7 d9 _  T$ Q) e4 Y' f2 B
  29. [DBEXPRESS]
    3 x  v+ B0 {& U/ K) _8 l
  30. sqldir=mysql_sql8 N9 d! S- P# Z8 ~$ L, C
  31. Drivername=mysql
    + B! `* E! ^) B( M8 D
  32. Database=Your_Database_Name_Here
    ! t1 H. e6 V. i( f
  33. Hostname=The_PC_the_MySQL-Server_is_on2 L  _3 J' S1 |5 f# ?
  34. User_name=User_name_on_the_MySQL-Server
    2 q" d- c. Z! T1 _6 {
  35. Password=Password_to_go_with_above_user_name
    ( \9 h3 U/ n( C" B
  36. GetDriverFunc=getSQLDriverMYSQL
    ) r* w, M: ]* M# t
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib+ \# x5 |0 @+ i! }
  38. LibraryName=path_to_libsqlmy_libary. R6 k( _4 ?3 ]
  39. Active=1
    - U4 D4 `7 d' H( @* D) D- h
  40. ---cut here---
    7 |0 L1 k8 S- l1 J5 Y" {" A
  41. In my environment (a linux box with a MySQL server running locally) I have:
    9 o( Z. G: }* E5 p
  42. ---example---3 ]" M7 T# U3 |  D
  43. [DBEXPRESS]
    : T4 u+ H$ P4 `9 t
  44. sqldir=mysql_sql+ H  t+ \% j7 w9 w3 a- B5 l6 ~1 V
  45. Drivername=mysql
    # z) y7 K6 O  r+ D$ p* B
  46. Database=test$ K6 m: p- a# I; I0 B0 o9 H% P8 j8 L
  47. Hostname=localhost  E) q5 p3 y% ^8 p, }% K2 X! H
  48. User_name=testuser) N; j  f7 c8 ~; ]
  49. Password=my_password  @* j: c6 N" p' }. @
  50. GetDriverFunc=getSQLDriverMYSQL: [% o  ~2 T7 _# A
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    1 T4 s6 V/ n$ X9 e; x# [
  52. LibraryName=./libsqlmy.so
    % @' ^; U" b/ w! {9 y5 |
  53. Active=1
    * C$ f2 m3 d+ x# i6 B
  54. ---example---
    2 u8 {2 ]' {0 G1 @

  55. 0 y7 u! b' }! S; i9 y4 g! e+ ^
  56. On a windows box, also running the MySQL server locally, it would be:" H+ n/ c4 F7 D! V: _7 F$ |
  57. ---example---
    : T& o0 h8 L* V- z! t
  58. [DBEXPRESS]3 J/ U/ Y4 E2 S
  59. sqldir=mysql_sql
    1 ^7 X0 ?  Q) d( v
  60. Drivername=mysql
    + O$ d, i) G8 n5 h
  61. Database=test
    0 x! c3 i% T* M! G
  62. Hostname=127.0.0.1
    . Q3 o3 b) d2 H9 |. b. I
  63. User_name=testuser4 B6 Y/ Z# y! l( I# c
  64. Password=my_password
    1 a$ p% P+ H' D; }0 L5 D
  65. GetDriverFunc=getSQLDriverMYSQL
    + t& Q  Q1 p2 X
  66. VendorLib=libmysql.dll
    : P& x+ }0 V/ c4 S% A
  67. LibraryName=dbexpmysql.dll" P4 S* }3 h- X5 a* F/ J- f* I
  68. Active=1
    , F" a0 {, |, f' i8 w# z! {9 x
  69. ---example----: i, h# W" p& \8 l
  70. - written 02.03.04 by pwk.linuxfan
    3 ^4 K5 ]) t: ?7 l( I
  71. , t* }! r9 v6 A, s  d/ a
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看9 Y' J4 X. U- b) [  t2 \

  1. 0 w; |- h" b" p, S
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 3 ^+ j! @3 u( ^- l- A

  3. & \! M& L$ a: r
  4. # # #我们所需要# # # & W3 X8 j4 n% r) m6 {
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ; h2 J( E% f/ x
  6. 不会解释如何做到这一点-也有文件存在,为
    9 A! W& p0 G$ M4 V3 O% X* M$ ~
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    7 A9 B! O1 d2 T  Q/ M: x
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西5 \* y& w5 Y' P3 [) j  t
  9. 随着数据库。此外,你需要一个卖方图书馆安装于, @' R' r6 R2 w. O
  10. 本地机器,这是我的MySQL安装。
    / i6 h! q5 s) z- p/ F8 T
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ( V4 t& E3 b4 @2 T0 t. L
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ' E# u0 r5 [1 ]# o
  13. 数据库。
    9 f3 R" S% |/ ?' z1 h7 R
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ( F- G+ O+ c. H! r& k% C3 p" H
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    : j$ V; P8 o; n) ~" S- ~. [
  16. 在teamspeak论坛,如果你有兴趣。
    2 r3 P. w* O9 t/ G
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    - ]4 A" T1 ]0 f0 Z# y* y; W' }
  18. Borland公司使用。这个司机只能界面与客户端库  q$ C6 z% s+ c2 j$ w
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这5 V9 y5 D  ^2 o& O, k  L
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    1 D( C- y' J: u+ y2 _$ u
  21. " vendorlib " ,并解数据库连接。 , Z: e) w) I3 }/ l0 }7 W
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 / z) \. d/ r9 \2 \- D0 W& d
  23. . o, ]0 m6 Z6 Q6 `1 l9 i4 o; I% e2 o) ]
  24. # # #做好工作# # # + H) _) y- L& P7 }9 c: ?0 i3 B$ U
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    * ]4 i/ z' r: C- |, I
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在, V! A4 I& N8 d* Y! z. G
  27. 结束: ; Z; ^  S' @8 ~1 d+ M1 `
  28. ---削减这里--- 1 g' o$ M. W- y8 B9 `
  29. [ dbexpress ]
    7 f4 \! b/ M( \/ Y. `6 o
  30. sqldir = mysql_sql
    , e/ I  ~6 B5 x  b8 o. z" |9 ~
  31. drivername = MySQL中! F2 b) Y/ U# S4 u
  32. 数据库= your_database_name_here ' O; e  [/ X) f7 @
  33. 主机= the_pc_the_mysql - server_is_on
    6 q5 B# V. s9 y6 G- p- E1 g
  34. user_name = user_name_on_the_mysql服务器* }) i* Q) B' T
  35. 密码= password_to_go_with_above_user_name 8 E% }) b; t! r: @! o
  36. getdriverfunc = getsqldrivermysql
    5 I7 k+ u% G4 g! P
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib & l/ D# Q1 P6 k- L& I  }
  38. libraryname = path_to_libsqlmy_libary . h- X' {* {0 X+ e
  39. 积极= 1
    " @, y3 v  w, x
  40. ---削减这里--- 4 j" R; ^; v9 Z# U6 U; E# }2 `
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ; n! [- P- `$ {$ l6 t( Z
  42. ---例如---
    . {2 u$ l$ G4 {* i
  43. [ dbexpress ]
    / U6 Q  H. G# G3 u* v: M. A; ^
  44. sqldir = mysql_sql
    " D5 U' z9 s2 O0 q: e$ x/ [' z
  45. drivername = MySQL中) p! y1 p( Z! ~1 R
  46. 数据库=测试
    9 o/ Q8 o( a2 G% Y9 U8 N
  47. 主机=本地主机
    - ]5 k. q3 U+ l, |: n
  48. user_name = testuser 2 L3 H$ O" ^1 a7 j1 s0 x6 w
  49. 密码= my_password
    2 G3 H' g2 e$ v9 L
  50. getdriverfunc = getsqldrivermysql
    / z& m& b& h" ?$ g9 H4 i- }
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    3 Z% S! U7 d  S5 J
  52. libraryname =. / libsqlmy.so ; K& U3 g/ Q6 {8 N6 j2 I$ `9 ]! f
  53. 积极= 1
    / k: z8 d$ W7 U' t% {
  54. ---例如---
    : p5 P' N7 p) A" @7 h" k

  55. $ \0 ~3 B2 ~8 J$ R2 G- y, Q1 {
  56. 对Windows中,也运行MySQL服务器本地的,那就是: * N* C2 P2 S# f! D  D) X' K
  57. ---例如--- % C2 X4 y( P& \
  58. [ dbexpress ]
    : M- l* L; f: k( C. d! j0 t
  59. sqldir = mysql_sql
    ( n, k- n' ]( k( W& j; `& R5 |
  60. drivername = MySQL中
    , z, X! P* E7 z" Z% ~
  61. 数据库=测试+ `, h- I% j5 N+ c. q9 ?
  62. 主机= 127.0.0.1
    8 Z7 m# |/ ^0 l# r0 G7 J
  63. user_name = testuser ' `! \* M# z0 q+ B; P
  64. 密码= my_password " L1 g6 ?8 n' z" B& A5 i
  65. getdriverfunc = getsqldrivermysql
    ; I. m, P. j5 A  }4 P; h8 h
  66. vendorlib = libmysql.dll在
    8 f' ~/ e/ r0 K( [# h: a+ b
  67. libraryname = dbexpmysql.dll
    8 C* r+ I- o/ j7 [# k2 W. \
  68. 积极= 1
    $ e$ `1 D: {- n+ R6 o
  69. ---例如----
    , L6 J; j0 U" B4 R" K  v
  70. -写在0 2.03.04由p wk.linuxfan
    ' u5 u$ o4 S9 w/ n* D& W
复制代码
发表于 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
7 {% w5 m  U/ I! M# t, D& G: N! i4 ~5 F( t. f6 z% M9 w/ w
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2025-7-11 08:57 , Processed in 0.092430 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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