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

2834 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
- @% c- c5 T% c: @5 u" R/ P& [
5 L  W0 r. n+ ^" |' S: Q* T( |
  1. % e( h. s: r1 |" T. c/ g
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    7 `+ w# c' Q6 c3 @. W! W6 r0 N- _
  3. 2 J+ t' U* F6 F$ A+ e! Y- ]# b
  4. ### What we need ###
    & ^3 E6 m) W0 q8 }0 U4 \+ t
  5. Naturally, we will need a MySQL server to store the data for us, this document 3 F& p% u) b( K6 E6 g5 h
  6. will not explain how this can be done - there are documents out there for the
    % r! n2 g/ P9 K* h+ ~: H* S
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    5 b6 ^7 Z& i& C; R4 I8 y
  8. and a user account (username + password) that has the permissions to do stuff  ?" _1 ^; {5 f; [
  9. with the database. Additionally, you will need a vendor library installed on the
    4 d. ?- O% k8 d* W& o# n
  10. local machine, this came with my MySQL install.& V3 E/ Q0 G, i: m# a( z/ k! ]
  11. These instructions will not tell you how you might transfer your data from the
    1 Y( h8 `% A" G7 b
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL3 p  ]3 U6 g0 z9 D$ I
  13. database.& H) l) S0 {8 ?4 q7 R* e
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    0 ^4 j0 Z5 Z! G  ?
  15. the time of writing, there are still too many issues - check the current status
    & Y) C5 _" g; X1 q/ F
  16. in the TeamSpeak forums if you are interested.& `& S  Y2 M6 S5 Q: E- @
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    : p1 @& W4 Y; |. `4 t' S% b
  18. Borland was used. This driver can only interface with the client library that
    & A# }' U) V7 s0 M( o, o
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this/ Y0 H- Q$ D. [1 T2 [
  20. client library - basically all you have to do is to use a 3.x client library as + Q# Y+ U7 N/ l( m$ x
  21. "VendorLib" and a 4.x database to connect to.
    ( O, `2 y3 L+ g; {' U1 H. S
  22. If you need more info about dbExpress, you can contact Borland.% c+ v; x$ M6 v4 P6 o; S, m  {
  23. ( ]9 \+ f; r% R. A1 ?1 b
  24. ### Doing the work ###! M: g3 U( Y1 X0 P+ p- y' p& a
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    " k: b0 W  Q: ~% F3 z
  26. the perquisites right, just open your server.ini file, and add this section at
    ; f+ ?1 Y8 w/ M
  27. the end:& w$ W. T& c* ]4 f: V7 o
  28. ---cut here---
    ( t8 f* r( d  [* P
  29. [DBEXPRESS]
    $ m7 Y' `" {7 }: }+ |& ^8 @- K/ @
  30. sqldir=mysql_sql
      F0 _- P5 m5 Y6 M1 p! y
  31. Drivername=mysql
      `/ |% }4 ~* v1 `
  32. Database=Your_Database_Name_Here
    - k8 f, L( E* W) b% @: ^/ {6 N
  33. Hostname=The_PC_the_MySQL-Server_is_on* s# ~+ m9 S! ~1 A( {
  34. User_name=User_name_on_the_MySQL-Server
    7 Z( r& F9 x5 }, @4 j7 J
  35. Password=Password_to_go_with_above_user_name
    1 G0 r3 I- f, N& k+ S- P  I8 k/ m
  36. GetDriverFunc=getSQLDriverMYSQL  W$ }: b1 F% F: g; g1 Y+ D# H
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib$ z  _6 U2 M6 x7 }% U
  38. LibraryName=path_to_libsqlmy_libary
    1 k9 _7 u  ]" X% J
  39. Active=1
    1 N( i/ N/ ]- C# h
  40. ---cut here---5 D3 }4 v. P3 s; y4 e1 R
  41. In my environment (a linux box with a MySQL server running locally) I have:
    & n! K0 d! `9 @: K( P
  42. ---example---
      K# Q. ?& p4 d! f" N  j: b
  43. [DBEXPRESS]# O8 a0 z- |# `* w3 m
  44. sqldir=mysql_sql
    ) \% M( A! l* Y$ k% d% s
  45. Drivername=mysql
    1 H* Q. F! G/ A8 F' }/ H
  46. Database=test' D$ {0 U+ o) ^/ X& T2 q. ^: O, [  C
  47. Hostname=localhost" S1 D. U$ O! i
  48. User_name=testuser9 V0 f3 m* D: [; u9 o; U! Y! S
  49. Password=my_password  s1 i% S4 w* c5 v6 Q' Q2 w& _" _+ G' r
  50. GetDriverFunc=getSQLDriverMYSQL& v+ d& Z  s, n: F1 H
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0, o1 N9 s0 w# j% w
  52. LibraryName=./libsqlmy.so
    5 Z/ E" v+ t1 j1 I
  53. Active=1
    5 I$ p3 h- G9 C, J. n: h
  54. ---example---/ o' j1 m. x: E" V

  55. , K5 |0 Z  N% O: {1 M$ t8 U
  56. On a windows box, also running the MySQL server locally, it would be:
    8 D/ f, S! Y* F; S
  57. ---example---
    ) m5 ?# J4 Z8 ~# e( J6 N7 A; _4 W  ]
  58. [DBEXPRESS]# C, @3 k* A! u0 L: r; d. c7 I- @
  59. sqldir=mysql_sql
    / X$ ~: N8 j% Y  p
  60. Drivername=mysql: K' {: c2 Y! G9 ]8 A2 J; a
  61. Database=test8 {6 s) A+ G/ g4 s0 c
  62. Hostname=127.0.0.12 H! i9 V  V. T9 y
  63. User_name=testuser
    4 O0 x, n5 U8 J; V" n
  64. Password=my_password6 W- t5 E5 a: W. ~+ Q. O  _. w3 M7 d
  65. GetDriverFunc=getSQLDriverMYSQL
    $ ]# P' c/ X/ W$ q
  66. VendorLib=libmysql.dll7 }8 z9 Q6 c6 H0 U% Z- A) R
  67. LibraryName=dbexpmysql.dll3 C9 F2 ~; U* Q3 Z. F% \$ U( B+ W
  68. Active=1
    0 k: @) |7 ~% @) i6 T2 J
  69. ---example----
    ; J) T& @% W/ Q& k  y7 a* B0 P) G
  70. - written 02.03.04 by pwk.linuxfan6 x( u5 B/ b5 Q- q. g: Y

  71. , T* n4 r2 d4 Y5 @7 \8 j
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
- `) E) p- k4 [* f/ Y9 {

  1. + }6 K& {& f- n" ]( w7 c
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### , p, x: w0 v3 m7 k( g

  3. ! Z! [3 f' F7 m
  4. # # #我们所需要# # #
    / [( F8 D' G4 |# |2 O/ c- d! _6 k# Y  D
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件3 j) p! ~* \, K) g& `
  6. 不会解释如何做到这一点-也有文件存在,为
    1 M# s, u5 G) U+ e6 u1 c
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    - o. B6 B1 ]8 U$ m" c+ @) `3 P
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西4 X" m" R0 a8 Z4 {# b& h* O* D5 z7 M
  9. 随着数据库。此外,你需要一个卖方图书馆安装于4 E7 w) ^  P: o6 C! G
  10. 本地机器,这是我的MySQL安装。 # \; j6 ]" U  u& i9 p& [0 K) o
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    : t+ f5 x4 p) r: [0 {% l, b4 F
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 3 \9 a% I" a) T. D& F
  13. 数据库。
    8 N- C; Q$ H  {. ?
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    4 y. n% `3 h+ r9 Y
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    . d& b: n/ O5 I+ v
  16. 在teamspeak论坛,如果你有兴趣。
    2 a0 W& N. g: t, w5 R
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ' ^+ w1 k, j% S5 o6 C0 X+ k
  18. Borland公司使用。这个司机只能界面与客户端库
    & U( W: H1 Q- T# ]
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    $ ~# x9 y0 h1 ^# m& U
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    / n) K6 u& |- {0 m7 M3 m
  21. " vendorlib " ,并解数据库连接。
    + r2 Y% y( X5 I1 H
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 1 {3 N1 a$ K7 T( E) H) R
  23. 1 T/ F* `/ Z5 I* M2 o8 N, W( B
  24. # # #做好工作# # #
    ! c: ?* ?1 y; ~) E3 e, `
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ) {5 F5 Z9 ~, f! a# h$ |
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    9 x6 n% \2 `8 A3 n0 d& N3 g& ~
  27. 结束:
    # U; l5 W, }0 ^- c
  28. ---削减这里--- 9 i/ K6 G# e# |& Y2 g" s  ^
  29. [ dbexpress ] 9 F3 n. B" W( B6 }
  30. sqldir = mysql_sql 4 G, [% k- @! `8 h0 ?/ y; @
  31. drivername = MySQL中/ l) ^1 h) Y' C/ a: l/ z- ~/ N" K
  32. 数据库= your_database_name_here
    . I1 z! [/ Y+ Z1 t3 Y
  33. 主机= the_pc_the_mysql - server_is_on
    ( b: J; F+ G# ^7 |# J
  34. user_name = user_name_on_the_mysql服务器
    ) V, y2 B2 H' M( g; f9 S4 j$ i8 z
  35. 密码= password_to_go_with_above_user_name 4 a$ d& i4 x7 S& W  e# r# H
  36. getdriverfunc = getsqldrivermysql
    1 J  o+ I) b% y: c* S
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    + x3 C) @  x4 a2 F( A4 U
  38. libraryname = path_to_libsqlmy_libary
    ; B% u8 |! A9 d3 z0 b" N
  39. 积极= 1 3 R- m% V4 C3 U) {; u1 G& q. x) q
  40. ---削减这里---
    / i- Q6 e& {8 N# v/ o
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: * e8 o) f3 f: C# S# ?" K
  42. ---例如--- , g; D/ b& G* p* g: q- L4 O
  43. [ dbexpress ]
    & E* ^! ]: {4 s" V- A& J1 m
  44. sqldir = mysql_sql
    ) T: }9 s. U/ f. o, d
  45. drivername = MySQL中! d9 K) p, }3 _5 o  f8 j
  46. 数据库=测试
    , i$ w, o2 x( L! f- c
  47. 主机=本地主机
    ; @3 L; M  E" ?$ d$ y8 N
  48. user_name = testuser
    1 v* ]$ G5 a1 o5 C+ z
  49. 密码= my_password
    3 X: |0 h3 V! T! s( f8 h$ R6 V
  50. getdriverfunc = getsqldrivermysql
    + j+ @" U/ @6 g9 X4 G$ [6 `
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    6 v: U! D$ u, Y- ^4 O
  52. libraryname =. / libsqlmy.so ' q; s" d6 p/ q% `
  53. 积极= 1 % r5 x  ~0 j" B6 b: Z
  54. ---例如---
    3 d) m! U1 n  i2 q/ b/ [
  55. ' o. x$ |7 ~5 [. p* Q
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ! A6 y, U# O; J# h; B. o
  57. ---例如---   h# C$ L7 U- o# w' V
  58. [ dbexpress ] - ~9 Z3 A% b$ o9 h3 c5 O* h
  59. sqldir = mysql_sql
    7 ~5 M1 m/ Q$ |4 U3 i- V
  60. drivername = MySQL中
    7 Z# q3 A$ r8 B  _9 }! |
  61. 数据库=测试
    , {; P/ e+ T8 A" I  l4 g
  62. 主机= 127.0.0.1 2 c4 Y, ^3 p. R& _6 `: x
  63. user_name = testuser ; L3 Z/ M$ u: i+ Q1 U- m
  64. 密码= my_password
    / ~+ L) K& r: f, d, Z
  65. getdriverfunc = getsqldrivermysql
    5 P- [% j0 ?2 D, E5 A6 a
  66. vendorlib = libmysql.dll在+ Q- }% _- s8 ?( g/ H! }
  67. libraryname = dbexpmysql.dll - L4 b4 z, `2 d+ Z& m* x- }
  68. 积极= 1
    3 n8 V4 ~( Q& A/ K0 O, l
  69. ---例如----
    + e5 o; k. _7 u9 Q
  70. -写在0 2.03.04由p wk.linuxfan. o+ I/ j: i: {# E% 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
9 M- l* \/ c. D5 E, O9 P: B- `
4 o4 H2 D6 _# m2 v8 y3 g9 R3 Qbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-3 00:03 , Processed in 0.098653 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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