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

2633 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan + L* C  U0 |5 K  ?1 C) U- A9 j
, s! b- a; s4 e5 \  g1 I5 f1 G
  1. 7 u6 i+ A9 ^. r
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    / b: u! A5 e3 @, d0 i' @$ L
  3. 4 U6 b. H' {- H
  4. ### What we need ###
    : p* B* K; a0 L# S  V  Z
  5. Naturally, we will need a MySQL server to store the data for us, this document
      I7 K1 i# V' v; j, G/ U" J- d9 G7 J
  6. will not explain how this can be done - there are documents out there for the / h0 [' u! L" G# j6 M
  7. interested. The requirements include a (empty) database for TeamSpeak to use& u2 r& Z' D7 R! T0 _
  8. and a user account (username + password) that has the permissions to do stuff
    ' {9 C6 d# L) Y) w5 w! E( O
  9. with the database. Additionally, you will need a vendor library installed on the6 ^0 C1 ^3 G- R" O8 f3 v
  10. local machine, this came with my MySQL install.
    % G1 k) Y9 V8 @) C
  11. These instructions will not tell you how you might transfer your data from the
    - P& d9 a/ ^; ^6 r
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL: x3 K$ _  _" |6 V# O  L( }
  13. database.9 |  x1 r! a, h
  14. Some users have reported ways to import a SQLite database into MySQL, but at# Q* ^$ ]) U# z6 ?6 H
  15. the time of writing, there are still too many issues - check the current status' ~8 @! ~8 ~8 l5 K# b# y
  16. in the TeamSpeak forums if you are interested.7 F% ~: T2 u" `3 }2 \
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    8 D3 T! n7 A$ U' p& Y3 p
  18. Borland was used. This driver can only interface with the client library that
    " f% W, h/ I  \# \, f$ G* O
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    4 M) s9 B. _( `2 p+ i
  20. client library - basically all you have to do is to use a 3.x client library as
    / M" Y/ x1 Q4 V+ e0 K% a" k! ]
  21. "VendorLib" and a 4.x database to connect to.
    5 v+ Q; J' g' C
  22. If you need more info about dbExpress, you can contact Borland.+ |/ t8 C' l7 z

  23. 2 G0 j8 K% K. y
  24. ### Doing the work ###
    ) q1 b7 D( g7 D
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    : I9 x$ a6 b9 X6 b* @" s! _$ [
  26. the perquisites right, just open your server.ini file, and add this section at& I: H0 I/ Y; `
  27. the end:
    1 O6 I, `% @* n( k
  28. ---cut here---/ ]& _" U% r6 ~- [
  29. [DBEXPRESS]8 j  q( F6 q5 G- E2 i% Y" V+ E4 |# |
  30. sqldir=mysql_sql- `( Y% g+ }  @7 R4 b) _
  31. Drivername=mysql! y3 h% F7 Z& _' K, i
  32. Database=Your_Database_Name_Here# x7 v5 E% V3 R# X' J
  33. Hostname=The_PC_the_MySQL-Server_is_on; P( m7 k0 A% K* t
  34. User_name=User_name_on_the_MySQL-Server% U) l" S' Y# ?' l" V: U+ E0 l
  35. Password=Password_to_go_with_above_user_name
    # ?9 K" b! d6 N4 F% ]
  36. GetDriverFunc=getSQLDriverMYSQL& s" S8 I* h5 ]6 e& c9 b* T
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    6 H# C2 I5 T* h! `
  38. LibraryName=path_to_libsqlmy_libary
    ( K+ w" E6 ^! A: |
  39. Active=1
    9 \: L  ?" A6 \8 O' U: e; q
  40. ---cut here---
    ' V! \! R3 ?- S) {
  41. In my environment (a linux box with a MySQL server running locally) I have:. V3 ~$ x! T8 i7 k( n! h) }6 {" }
  42. ---example---
    $ W$ s5 l$ `: [. S
  43. [DBEXPRESS], m' w7 }' h6 s- x3 e3 x
  44. sqldir=mysql_sql
    ( L6 f2 [% t% o5 u- J% E/ C
  45. Drivername=mysql; r! b9 H7 T; ^7 g$ T# ]8 [
  46. Database=test$ l( {, f' O! ^$ Y
  47. Hostname=localhost
    ( y8 e3 X9 Y. x5 W5 N! a. }
  48. User_name=testuser
    ) P/ |# K* ~9 j7 {! e4 u
  49. Password=my_password
    ! q* d' D3 y, y0 L) ]
  50. GetDriverFunc=getSQLDriverMYSQL
    9 m- q8 K* X4 \5 P6 @  j
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0. z. J8 Q8 L9 n$ ]. M( R! ~/ U
  52. LibraryName=./libsqlmy.so
    , d  {# g; y( C7 E
  53. Active=19 M2 B, u. C: T$ L7 S" K: _# ?/ n
  54. ---example---. ^) H, d: f0 [9 Z% V/ S* z4 l

  55. 9 B2 }6 E7 {) M6 e
  56. On a windows box, also running the MySQL server locally, it would be:3 }* ]& q* S, u. P, G' w0 @
  57. ---example---6 W' C0 z2 A8 Y' r4 N
  58. [DBEXPRESS]
    ; v& P, h8 R/ L2 W' y& N' C
  59. sqldir=mysql_sql
    % p. `1 Z4 g! h' R% @: b* A8 J
  60. Drivername=mysql# z$ ]7 ]6 I: Y5 O
  61. Database=test
    % P( Y  D; @3 P- E
  62. Hostname=127.0.0.1
    , ^& {. Y, o% e$ |. S1 q5 C7 Q( g
  63. User_name=testuser
    " D! X- y2 T0 _2 \# W0 U9 C: V. ~
  64. Password=my_password) B) G* N3 t( a, n/ m  T2 k
  65. GetDriverFunc=getSQLDriverMYSQL# R, q* [! P. r+ s7 Y
  66. VendorLib=libmysql.dll
    3 V3 l. D3 ]7 q: t
  67. LibraryName=dbexpmysql.dll
    . h! u6 `/ H/ W7 ]# t6 U: f
  68. Active=1! ^" a* Y( S4 B7 @% w! Y, L  g
  69. ---example----
    ' r3 C$ `/ S# v. F( r- _8 x
  70. - written 02.03.04 by pwk.linuxfan! G5 y4 m3 v: C

  71. . U0 e+ O* q, L# x1 l
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看+ k% M( D- [9 F& }9 ~
  1. : {" `1 y. N9 G, h* q/ ^. p
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    3 ~0 u0 p9 o" r2 l. S

  3. - N: J& e7 |- U# a- B+ |
  4. # # #我们所需要# # #
    : u3 ^8 _+ q$ C: h/ D& B& a# T3 M
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件3 l; @  j6 N1 P  G& }( _1 T5 I
  6. 不会解释如何做到这一点-也有文件存在,为" `4 q0 I0 F3 f( w1 a3 d8 Q4 Q
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    4 i9 I) {5 g' _3 h
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西' S  P$ n  i" s% A
  9. 随着数据库。此外,你需要一个卖方图书馆安装于- l' s4 D$ R2 V( I4 p4 F7 p
  10. 本地机器,这是我的MySQL安装。
    - f% F- x; X5 |; z+ z7 I
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    7 w# j; e& j2 \$ a( {2 t# D4 F$ K7 Z
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL : K! V6 K5 d# P2 Z, Z
  13. 数据库。
    5 z, D) ~' }' C" l
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在5 d1 W: T/ M: |% W/ |5 f
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    % j7 x: b: g' {: l; V3 t. }; F$ S
  16. 在teamspeak论坛,如果你有兴趣。 , N, m' R0 _& q. U) N4 V
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    " u  T0 _5 P3 x4 H
  18. Borland公司使用。这个司机只能界面与客户端库
    ; P4 q9 t, K% _& T# }; x
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这4 j0 |" _# `8 i) e' V; e! t) l
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    % z' A5 U* R& I% r4 z  g
  21. " vendorlib " ,并解数据库连接。
    & }- ]1 X& J0 F( @. t+ x3 h
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ) e6 C! z8 V; R
  23. 1 ?# b* E; D$ \: L$ [
  24. # # #做好工作# # #
      I5 m: T& Z  {( i  e
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    $ J) J8 q. m! H; i1 }. v6 T
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    & D4 q; o& O7 P# J0 Y" x* E
  27. 结束: ; [3 J  d* Y( [/ `2 M/ {, A% r/ W
  28. ---削减这里--- ; |7 w8 s9 r  i6 m* a
  29. [ dbexpress ]
    ) ^3 M: A2 {2 E! o
  30. sqldir = mysql_sql
      X! h, r& o) I% R- ]  A  ^
  31. drivername = MySQL中" e% `4 A$ k. v+ k% l
  32. 数据库= your_database_name_here ' o* Q# t+ g; Y$ p' |: Z- c
  33. 主机= the_pc_the_mysql - server_is_on & Y6 c. ]/ Z$ |$ n( V
  34. user_name = user_name_on_the_mysql服务器
    / j2 @1 v5 P9 z. a1 H
  35. 密码= password_to_go_with_above_user_name 8 l7 w$ Q6 I+ [; P
  36. getdriverfunc = getsqldrivermysql
    3 j$ A7 J" |$ s$ e$ P) M3 h" a/ x
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    # n/ n3 R& T" I/ C; L
  38. libraryname = path_to_libsqlmy_libary 9 o+ ]1 z2 L: r4 V. [
  39. 积极= 1 ) @+ w5 |: O' v! K
  40. ---削减这里--- ) Q0 G6 L5 ~- r% u! J8 a& `# I; C! a6 b
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    0 |3 Z/ m/ g/ Z% `$ D$ n' d2 v
  42. ---例如--- ) d0 L4 O* I3 h8 Z& S
  43. [ dbexpress ] " f6 H; S" O$ b+ R5 B
  44. sqldir = mysql_sql
    % P9 `/ t+ X; b$ T2 p( H
  45. drivername = MySQL中
    ' J5 p# c3 E# O( q& B" U
  46. 数据库=测试# f6 E' J! ]+ e  u6 B
  47. 主机=本地主机
    7 A3 c7 B: S4 Q4 z2 @
  48. user_name = testuser
    ) ~4 o6 K* y4 {  c
  49. 密码= my_password ' g+ l9 U* ?2 }+ i" E% o, l; ?
  50. getdriverfunc = getsqldrivermysql
    ( X$ u4 e$ _* [) A% U( t# i4 l
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 % {# h( N  u1 ^9 N
  52. libraryname =. / libsqlmy.so $ ]& a- a2 j& S) H7 I2 d
  53. 积极= 1 , L. R% k7 M! _# d( A
  54. ---例如--- : ?3 Z# |2 h/ i6 t4 n

  55. 1 J1 _7 r0 P: x
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    1 z0 E) A9 A6 p3 L6 o
  57. ---例如--- ; T# |6 O4 H+ W! L
  58. [ dbexpress ] ) {& a( S. W' N
  59. sqldir = mysql_sql 6 L) W. Z4 b  Y9 Y% J
  60. drivername = MySQL中' m9 ~: r% o6 r; j! r) G5 [
  61. 数据库=测试
    3 A$ z, Q: v2 B
  62. 主机= 127.0.0.1
      \+ L* N" ^3 a& O! J" {# e$ [
  63. user_name = testuser * G; `" I1 X4 P* C- ]1 ]5 M
  64. 密码= my_password $ _- ~6 U! o1 [- c
  65. getdriverfunc = getsqldrivermysql 4 G( x/ B  r6 o* W$ \3 W
  66. vendorlib = libmysql.dll在/ v, i/ P3 m! ?2 G4 w( R$ I% c) B
  67. libraryname = dbexpmysql.dll
    % `4 Q1 Y1 Q! Z7 D8 f" B% S
  68. 积极= 1
    : b, b' {9 v3 j
  69. ---例如---- & v4 c5 r5 ~2 a" _! X
  70. -写在0 2.03.04由p wk.linuxfan
    ) z) n: s/ Y# A/ }
复制代码
发表于 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
% _' @; S# B. c+ P- n% K0 X
3 i5 Q& j" o8 G2 D2 abut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-18 06:45 , Processed in 0.104689 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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