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

2533 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
  x* c4 ~  r. p5 G
( a* d* L/ `  O+ P9 t+ U* x" S

  1. - @5 ]" T4 D, `+ U
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ; \6 Y; `. b' K6 Y* U

  3. ( I3 l; P1 D" ^( E2 ]  t1 k+ i
  4. ### What we need ###
    # ~- a5 x1 f3 c8 @3 I
  5. Naturally, we will need a MySQL server to store the data for us, this document
    2 \, h$ O- z  d  j2 S0 }( b
  6. will not explain how this can be done - there are documents out there for the
    9 A1 M- G! L6 p/ j) X/ ^
  7. interested. The requirements include a (empty) database for TeamSpeak to use# s6 I0 A3 X, P5 q" {
  8. and a user account (username + password) that has the permissions to do stuff, F& }- ~4 ^5 a9 _: c
  9. with the database. Additionally, you will need a vendor library installed on the
    . |) I6 H" z! Q+ ]  ]- i( K: v: y
  10. local machine, this came with my MySQL install.& k3 p/ \& d3 L  I
  11. These instructions will not tell you how you might transfer your data from the+ p# [2 M) m- t& N& h
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    6 u' {( v) L2 a" W& Q
  13. database.
    " L. x& I* n( w& d: [, k8 N
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    : f' Z* \1 g% n1 K& |
  15. the time of writing, there are still too many issues - check the current status2 i  \. p5 T6 R- b
  16. in the TeamSpeak forums if you are interested.
    4 B- k) M7 ?5 `# S
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from8 @: R4 r5 c5 Z. n
  18. Borland was used. This driver can only interface with the client library that
    " u5 [1 j- N; O& [9 Q2 |9 l: D' S
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    7 j9 T* U# y! q% n- n
  20. client library - basically all you have to do is to use a 3.x client library as 4 [  x8 D$ w" y' J3 V
  21. "VendorLib" and a 4.x database to connect to.# R1 a" j5 I" @! A3 U8 Z1 B; j
  22. If you need more info about dbExpress, you can contact Borland.7 r. G0 t4 Q. @3 D* u
  23. ' Q+ k0 G: A4 z) _+ l; J
  24. ### Doing the work ###
    : y" \. [7 [7 W. P1 |
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    % `! G0 Q2 E) }/ {7 X
  26. the perquisites right, just open your server.ini file, and add this section at
      L$ x4 R' I/ [7 {+ I# x# r
  27. the end:
    % q$ s& w- s& t
  28. ---cut here---; W4 R/ h( T* X% {% ]. a- a
  29. [DBEXPRESS]
    7 d5 a5 z% A- m, l
  30. sqldir=mysql_sql
    " _" g* O& P8 V0 k4 w. ^' O
  31. Drivername=mysql
    3 B- I  L. e9 B: }
  32. Database=Your_Database_Name_Here
    ; d) S' b; K1 W
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ! K+ a, Z+ X! z5 }1 G' F5 t
  34. User_name=User_name_on_the_MySQL-Server
    0 _1 z7 V$ `0 G: w
  35. Password=Password_to_go_with_above_user_name% g7 X0 D# W6 i2 a
  36. GetDriverFunc=getSQLDriverMYSQL. G# h+ I, y$ O% }- }! ?
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    9 R/ V. C9 e; z$ t( o
  38. LibraryName=path_to_libsqlmy_libary0 ~# Z; y( Z* D2 U7 L2 M9 A
  39. Active=1" c8 k) d0 t5 b8 b) `
  40. ---cut here---
    6 f6 L( v9 b2 w2 I( C: B
  41. In my environment (a linux box with a MySQL server running locally) I have:
    6 x, q4 A! {* t" @) t' c, X
  42. ---example---- ]0 |' N: x: W9 p
  43. [DBEXPRESS]
    3 W/ p1 M- d) P8 d. ^9 e
  44. sqldir=mysql_sql
    7 ~+ O6 \3 {( b% }
  45. Drivername=mysql2 |* F3 |1 I/ e, E5 z! o
  46. Database=test
    4 J2 [" Y* ~( e
  47. Hostname=localhost( u- C# l' q9 h" j4 J
  48. User_name=testuser
    4 m/ y( B0 i# p5 ?' D/ y
  49. Password=my_password" L$ L, G2 f. V; K
  50. GetDriverFunc=getSQLDriverMYSQL
    8 J% S4 ]  j6 Z: `
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    $ u3 H$ H# U% ~$ X
  52. LibraryName=./libsqlmy.so! d, p8 r2 R( O3 w' Q
  53. Active=1. [/ E2 Q1 T; Y1 g  t, Y. f# I6 D
  54. ---example---
    ; b0 e0 Z3 \. e& r& }
  55.   U4 ]( p2 \* H! a- \
  56. On a windows box, also running the MySQL server locally, it would be:
    5 K& o: {+ D" ~2 l1 ~3 R
  57. ---example---& F4 Q$ p7 A5 W- f  u) n. K
  58. [DBEXPRESS]: L/ ]" V. q" C& Y
  59. sqldir=mysql_sql3 G7 q# p  N* d, H, c* U: X
  60. Drivername=mysql
    ! P- Y' v7 m- U# {2 J
  61. Database=test
    # A, b2 J0 J& A$ ?* Q
  62. Hostname=127.0.0.1
    & t' s* p! ?9 M) M+ Z3 k1 N7 ?
  63. User_name=testuser+ `* E' V9 M8 Y( t! s
  64. Password=my_password
    / P- r& M% f; d8 V2 w) w
  65. GetDriverFunc=getSQLDriverMYSQL
    & e$ ?/ z( J! A' X9 T0 f
  66. VendorLib=libmysql.dll
    - l9 X1 V8 c' t( m* h6 I
  67. LibraryName=dbexpmysql.dll: S6 Q- W9 z5 W9 R. l  {
  68. Active=19 Z! G/ x8 m. n3 ~3 F' T9 E: _! u4 u: h
  69. ---example----, a% e( h9 \, O/ k/ Y: U9 P9 [9 f) a
  70. - written 02.03.04 by pwk.linuxfan/ G; G* l: F3 ~7 m
  71.   Y. C( b9 l" @) {- ?% d5 J
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看' R( l6 N5 {0 N( K  r9 ~

  1. ; L* q) _3 e7 a3 a% i- w
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### , p4 H" i& p7 E. j
  3. 5 h% O" J) G* ~3 ]* Y  S- K
  4. # # #我们所需要# # #
    7 _# J, Y& A& i( R
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件' `/ m' E' Z/ Q; A1 t" O  U+ K3 \
  6. 不会解释如何做到这一点-也有文件存在,为9 p$ P7 L$ M& z* X2 n' S0 J8 [
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    + C4 t+ G9 x. `# o" b  ^8 h% v
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    0 b5 ?# }% P, g- h: n6 Z0 X) F, v
  9. 随着数据库。此外,你需要一个卖方图书馆安装于; F/ \. |7 [# k3 q
  10. 本地机器,这是我的MySQL安装。 - [' L* I  Z, G( ?3 H. _: }
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从, B# h: ?- x0 A) f/ d
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 9 Y' W7 O& U' c7 n4 b2 ?7 F9 s
  13. 数据库。 ' B& X) P+ J2 H  v) U4 W
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在8 p4 u* g0 _8 ^" J0 ]
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    2 b" z& w/ ?' U1 Q  B; u# H& p
  16. 在teamspeak论坛,如果你有兴趣。 ( D, w2 ~: t0 b" ?5 c3 T4 K
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    " X. p: [/ E4 g/ N
  18. Borland公司使用。这个司机只能界面与客户端库
    3 N) E$ w1 q% p2 N" y( y6 y  v* G# W
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这! W# ?$ z9 }& K4 g' _! E; O2 N
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    " e, {/ k) B* |; P" {3 q
  21. " vendorlib " ,并解数据库连接。 5 t4 t4 l3 T3 X0 Z3 ]% n
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 7 _( Y8 L5 Q# a3 M  b

  23. 4 j& ~* y* e, X: k
  24. # # #做好工作# # # ! H% ?! v. }7 d4 R5 x
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都" ^8 ~  c3 ^. R# Z  D
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    # K. R+ |  I  ^' C
  27. 结束:   l. Q( b' E7 X
  28. ---削减这里--- 6 z) U+ H  ?+ Q/ X6 `3 y
  29. [ dbexpress ]
    0 \" {( C$ w1 q4 g  O/ e
  30. sqldir = mysql_sql 6 I6 O: i9 u4 J- J+ M8 L5 z
  31. drivername = MySQL中
    - t$ w* N) s6 @! r4 R# x
  32. 数据库= your_database_name_here 6 l7 N, U2 w1 }1 f9 U5 s
  33. 主机= the_pc_the_mysql - server_is_on
    % p: [( [$ S0 p+ S
  34. user_name = user_name_on_the_mysql服务器
    + d' c8 r( k# R# O0 V
  35. 密码= password_to_go_with_above_user_name & W- _0 Q9 \* H  L
  36. getdriverfunc = getsqldrivermysql
    ) ?- y/ j+ d2 v. B
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib   b5 w% V6 ]7 H4 K6 \" @
  38. libraryname = path_to_libsqlmy_libary
    4 D: N) h* q$ @2 T0 }
  39. 积极= 1 $ y+ N2 k# D% @) y, s  K
  40. ---削减这里--- , g! s$ u# F2 [' P8 f- ]( a
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 9 c4 v# S- G) P+ l( ?
  42. ---例如---
    , j% b5 Q; S: ?: r
  43. [ dbexpress ]
    . g/ n9 i8 r- B
  44. sqldir = mysql_sql
    . o) h0 }# M. S1 x2 y1 D9 `8 j
  45. drivername = MySQL中3 l- |3 H  b. f# h& V
  46. 数据库=测试
    $ p* {2 B, l. R
  47. 主机=本地主机
    5 p3 q- H# \4 I& I3 ]
  48. user_name = testuser
    % x! j% q* D+ W- U/ S- {
  49. 密码= my_password   n0 H/ z8 k/ A2 F# U3 k3 C
  50. getdriverfunc = getsqldrivermysql . ]4 S7 q7 F1 e- Z* V$ W0 M" C
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    1 v5 W$ Q. v# p6 `5 g
  52. libraryname =. / libsqlmy.so , C2 x% C3 f( g& d
  53. 积极= 1 " W3 F* ?! {0 j2 H/ H
  54. ---例如---
    ; `( _/ z! v% s  [; `( B' S. _

  55. $ O9 H) I; N2 X( `
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    3 L- F# P, e5 ?" `2 S
  57. ---例如--- 6 _4 g1 s( y1 C/ m
  58. [ dbexpress ] 1 t* _+ j$ E9 s: m) S7 c
  59. sqldir = mysql_sql
    : b! j! v$ c; o4 x0 S; j8 K
  60. drivername = MySQL中( P% G; i8 f3 U0 W
  61. 数据库=测试
    % c$ c1 W7 \! Z$ E2 L2 s
  62. 主机= 127.0.0.1
    0 u$ {# l5 l+ m! @: ?2 ^4 o0 e
  63. user_name = testuser
    5 n% l7 n( p3 @  n$ m+ U6 @
  64. 密码= my_password
    5 e, w. h3 _4 y: F( s; i; v* F4 I
  65. getdriverfunc = getsqldrivermysql
    " l& W& v) x+ D" ?
  66. vendorlib = libmysql.dll在: \4 d/ H9 L$ W+ q6 p& J1 f
  67. libraryname = dbexpmysql.dll ) `& i/ Q2 n% W
  68. 积极= 1 & S  O2 N7 v7 B( T' U
  69. ---例如----
    ' \4 }! r) j" z, Q6 @) a. R
  70. -写在0 2.03.04由p wk.linuxfan
    6 C/ V" g% z" V, q
复制代码
发表于 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
- F; {+ U# V' e3 L3 @# C. N; I
4 B3 {7 F! n+ d9 Ybut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-19 07:05 , Processed in 0.113000 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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