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

2907 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
0 ]6 m( m. t. q4 a7 }/ i9 P" B& b# a
  1. ; a6 O9 b5 r$ s( {. U$ l/ p
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######4 \; }* |5 M3 Y; I. t9 ?5 Y
  3. : j7 k- c; C1 R7 i6 M0 r
  4. ### What we need ###+ E9 v9 a  n! K6 h
  5. Naturally, we will need a MySQL server to store the data for us, this document ( n* ^* S( z$ g9 C  T8 _% V
  6. will not explain how this can be done - there are documents out there for the
    8 c: t5 C8 n4 a' W% f  n+ {
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ; X; u# R. h8 Y! R) y% e2 y
  8. and a user account (username + password) that has the permissions to do stuff5 A* l, i1 b9 E' Z. i+ ?+ A
  9. with the database. Additionally, you will need a vendor library installed on the
      P+ \  h7 B' t6 N% J: D
  10. local machine, this came with my MySQL install.- l2 F, \. \2 }6 u; j5 i
  11. These instructions will not tell you how you might transfer your data from the3 f/ C& ]" @6 F5 s! I  ?1 |9 o
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL# e5 M: W- E+ K% o- k9 q5 Z9 C8 k
  13. database.
    / x, n8 {, U* |: T% z8 ^
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ! x5 w  U7 `+ c% ~' i* ~
  15. the time of writing, there are still too many issues - check the current status
    & ]4 i5 N5 z3 b  K& U+ U
  16. in the TeamSpeak forums if you are interested.+ V; ~( r+ c9 t: i& |2 ?2 v; `+ ]- a
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    / }. x  G7 i) ^: I* i
  18. Borland was used. This driver can only interface with the client library that
    4 L  W/ H- L$ ?! w# L
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this7 S8 b3 B3 C( R! n! p' A+ S+ v
  20. client library - basically all you have to do is to use a 3.x client library as
    % r8 q  n" \. w$ @9 i! a
  21. "VendorLib" and a 4.x database to connect to./ V" @& q! ?' f
  22. If you need more info about dbExpress, you can contact Borland.( X. A5 U# Q; ~0 S8 x$ O! p
  23. 9 \4 Z1 Y' S  u+ f
  24. ### Doing the work ###$ ^8 [" m! m8 L# N* R0 r
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all: Q8 ?( ~  _1 R; A& ?! s5 t
  26. the perquisites right, just open your server.ini file, and add this section at
    , J4 L4 t% i2 P2 w* p
  27. the end:
    & Z/ l6 e+ p* [! a" }' H
  28. ---cut here---
    ) J& H  x* T# ?0 A2 Q4 j
  29. [DBEXPRESS]
    1 j+ z$ j, y/ p* U$ b
  30. sqldir=mysql_sql0 C! N9 ~& x8 E0 C6 z; b1 Z
  31. Drivername=mysql
    0 B% I7 K& f% `) o* W' z
  32. Database=Your_Database_Name_Here) n6 g4 \7 n* K5 c
  33. Hostname=The_PC_the_MySQL-Server_is_on0 Z  X% n1 i# d- _
  34. User_name=User_name_on_the_MySQL-Server1 u) g1 T9 h) i6 p
  35. Password=Password_to_go_with_above_user_name& c9 c! r+ z5 o+ g: h# ?, d; f
  36. GetDriverFunc=getSQLDriverMYSQL: ^; k) a2 t3 t7 c1 Q0 U
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib! T2 H+ q7 [5 @9 C7 A: \5 v
  38. LibraryName=path_to_libsqlmy_libary
    0 f, J5 Z; j, _5 E/ d
  39. Active=1
    / K+ d/ J3 D( z" g! U; j
  40. ---cut here---
    $ O0 ]1 @  U; X& M# x& m8 p
  41. In my environment (a linux box with a MySQL server running locally) I have:
    4 d) p6 [  r" {  ~$ S
  42. ---example---2 S2 k" g; b; H3 G
  43. [DBEXPRESS]% V4 m* q; Q! I, L
  44. sqldir=mysql_sql
    0 F' S$ `! S* J, {8 t; R
  45. Drivername=mysql; K+ A5 L9 H8 R, R4 t
  46. Database=test
    8 F6 ]: y$ t0 w$ @# p3 F+ w
  47. Hostname=localhost' o  {, F" h' t1 O* W! x- |
  48. User_name=testuser
    / s- t1 ]" ^$ L1 n( R6 _
  49. Password=my_password
    # f; e8 t5 y, c, L
  50. GetDriverFunc=getSQLDriverMYSQL
    1 W3 n! ?" W% |  Z- e7 o
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0: l* Y' H  ^& ^4 `; X+ i
  52. LibraryName=./libsqlmy.so6 H+ Q8 n( y0 D. A! ]/ e
  53. Active=1
    & s5 D; ]5 L* M$ l9 N9 }
  54. ---example---2 Y9 g" W  E$ H
  55. * O( @: v; X4 j7 P) ~7 h: s
  56. On a windows box, also running the MySQL server locally, it would be:* ~  M8 U( W" T  x4 [
  57. ---example---
    . n, ~- [* |3 z' U; {- [
  58. [DBEXPRESS]
    & V' z. I, d' _# }$ U# M
  59. sqldir=mysql_sql. M; n8 U9 \% j8 r" ^! s* }! X5 W
  60. Drivername=mysql! ?) q& ?1 ]- _/ P) i
  61. Database=test
    # A) e  \9 c! p8 n# Q0 ]- l& h
  62. Hostname=127.0.0.19 g  |; D( ~. K( F) m
  63. User_name=testuser
    6 Z9 N4 y! h) O+ ~6 E* v
  64. Password=my_password
    % A+ [$ f( u2 ?' k' _9 l/ v
  65. GetDriverFunc=getSQLDriverMYSQL* {* W3 k, {+ H" Z8 x9 N' e
  66. VendorLib=libmysql.dll- n4 ~2 z' f5 w/ h; _1 M0 L5 }, j' }+ c
  67. LibraryName=dbexpmysql.dll
    3 ]7 h; C, j  K
  68. Active=1
    9 ]5 K& k; m1 Z. E' r8 w
  69. ---example----8 D# P' u& ?( e
  70. - written 02.03.04 by pwk.linuxfan8 [) J5 C3 s6 `- c# @, x
  71. + x$ p& \! x# C- Y/ s+ N+ Y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看6 W8 ~" _. o& }" R/ [, m
  1. 3 T; _2 f; R- K( Y
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    8 h0 G/ r# d" v- m- a! i( P

  3. * J1 M& A& q8 x- J2 e
  4. # # #我们所需要# # #
    + ~, c5 L1 |- {
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    2 f( i$ A6 w( U8 K
  6. 不会解释如何做到这一点-也有文件存在,为
    # M" r- N3 s! D" w4 \, P( W
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用# z" P6 Q# `! s
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    , B. H" C+ |+ c* B0 @3 B$ T
  9. 随着数据库。此外,你需要一个卖方图书馆安装于2 b: P3 |4 w4 R: S2 g
  10. 本地机器,这是我的MySQL安装。
    5 Z3 }8 i/ s5 [7 x+ T" m, H
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从1 S% C8 f5 v1 n: ~' s/ a4 X
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    : u3 \8 y4 H  d' R* \
  13. 数据库。
    ; |7 }" }, X  G# k0 o
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    : J8 s- C) ]7 J4 w
  15. 编写本报告的时候,仍然有太多的问题-检查现状7 V, A6 h) F$ x- W% g! f
  16. 在teamspeak论坛,如果你有兴趣。
    ( T9 b, u$ Y3 s) q0 K, \4 g
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ! R  i2 M' O& k$ B' h
  18. Borland公司使用。这个司机只能界面与客户端库8 ^* L6 _) N6 S0 s" ?/ V6 f% s
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这/ a  ?$ b. X7 G4 F
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为; [2 d$ y  B, J
  21. " vendorlib " ,并解数据库连接。 ; O0 d4 G6 E' G  t2 a$ P, V
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ' r" i* `3 g; a  _3 e) @- o
  23. : b: ]6 N5 j  ^/ b1 {
  24. # # #做好工作# # # ! Y8 X' C  s+ U" p1 L5 B/ I8 M( P5 G% |8 E
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    3 A, s/ X! U% e7 I
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在7 M/ P7 f3 h# @% j- b
  27. 结束:
    ; ^$ Z) c/ s) W6 O9 J* P: u
  28. ---削减这里--- : s& ?1 d5 w& O* u* T
  29. [ dbexpress ]
    + S' V( ?/ E2 M: d; m
  30. sqldir = mysql_sql
    1 L) M9 W" ]3 k$ o* o3 ]
  31. drivername = MySQL中
    ; W# C% M. v9 n7 k/ ?
  32. 数据库= your_database_name_here $ n5 K! f6 z, s2 Y
  33. 主机= the_pc_the_mysql - server_is_on ( [' S0 v8 b: }9 z  w( I
  34. user_name = user_name_on_the_mysql服务器- R8 W7 z& G" m
  35. 密码= password_to_go_with_above_user_name 5 a: k6 N) i3 g& R7 e% s
  36. getdriverfunc = getsqldrivermysql / Z2 u# d& u6 k. X$ @+ @
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    : x9 v& P7 C; ^' d7 }
  38. libraryname = path_to_libsqlmy_libary
    1 a* v2 F) b* J6 R2 _  ?) c
  39. 积极= 1
    + A# `/ S& H& x( f4 m$ t$ P
  40. ---削减这里---
    + z" u! K' O: `1 I( I
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    - v) b' @3 R; l; |/ M
  42. ---例如--- , A, s1 T( j* e6 A3 C
  43. [ dbexpress ] 6 D) {" Z/ Y4 h; a/ r+ ?
  44. sqldir = mysql_sql
    1 T& v1 m1 j! A) g4 F
  45. drivername = MySQL中
    $ N" |8 }8 p7 C8 S# h) @
  46. 数据库=测试  E+ j% P7 v. _( o% `
  47. 主机=本地主机
    2 ]4 }% t7 ]5 G! s, v& Q
  48. user_name = testuser
    2 t( N, Y6 [: w" y3 s
  49. 密码= my_password ' Q; {3 k3 {, l5 g; V
  50. getdriverfunc = getsqldrivermysql
    1 s) l' A& A8 @1 j1 k* Q) P# |
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    / V4 t, q" O) R6 o; u$ o6 C" \  h
  52. libraryname =. / libsqlmy.so
    4 a( r3 v# a* E1 J
  53. 积极= 1 + h+ |' _9 [0 Y2 U
  54. ---例如---
      h( }; [% M3 D* `" [
  55. 0 e7 }* I5 V7 u* Q
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    - J! `& g) o1 ~) a; P) `9 l# {9 l  W
  57. ---例如--- & ?& W* ]! {* r1 a( Z
  58. [ dbexpress ]   y* ~, x! k; X! n  J; y) N( R- L
  59. sqldir = mysql_sql 3 q( g8 V: G: x
  60. drivername = MySQL中" L9 w, y# J4 p; l& U; U
  61. 数据库=测试
    6 w# t; U' u5 A' z4 H! t
  62. 主机= 127.0.0.1
      J" {; p- |7 n; Q9 v1 ]' F% w
  63. user_name = testuser ) M& G) Z3 D7 D3 }
  64. 密码= my_password , p! U5 r$ }5 N0 }7 _8 i; b
  65. getdriverfunc = getsqldrivermysql
    9 O) |$ b( x' z1 ~' V
  66. vendorlib = libmysql.dll在5 C! \' ^: f6 n, A3 a& n3 _4 A
  67. libraryname = dbexpmysql.dll # l+ J& l5 U- \! `3 m4 G
  68. 积极= 1 ; Y' x+ _; j- _- H  o
  69. ---例如----
    ; v* y2 K2 u1 j8 E  q7 G4 A
  70. -写在0 2.03.04由p wk.linuxfan$ n+ |. u& v" p  h1 \1 K
复制代码
发表于 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 S. F# d& V( ]& e; e2 a
" g% m/ k. R8 M/ y$ {" u0 ^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-17 22:42 , Processed in 0.104434 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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