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

2245 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
. u' Q1 n/ Q: B/ W9 U4 o3 a6 c0 z$ T( o" }$ K/ U0 Z
  1. ' q+ l& \- Q* f1 A; @
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######5 @3 Q( n% p. X, L8 j
  3. 7 b! \1 r* G% m+ Y0 b' h7 c* O
  4. ### What we need ###
    $ e0 b/ u! u5 J
  5. Naturally, we will need a MySQL server to store the data for us, this document , @9 N) y3 x" Z% P" A
  6. will not explain how this can be done - there are documents out there for the - W/ ?# }) q% R+ _( _
  7. interested. The requirements include a (empty) database for TeamSpeak to use; n, _6 x! f! O8 u  [; s* I
  8. and a user account (username + password) that has the permissions to do stuff0 e$ o, f: \, _8 }0 K
  9. with the database. Additionally, you will need a vendor library installed on the. {  @- ?0 ]; X
  10. local machine, this came with my MySQL install.
    1 b7 q0 F9 Q7 @( W( {; G
  11. These instructions will not tell you how you might transfer your data from the
    4 E7 k) e; H$ j! [, w! f1 ~7 P
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    , x; R* \4 ~/ G/ K$ X- n( N1 o
  13. database.& Z: j! {1 P* R
  14. Some users have reported ways to import a SQLite database into MySQL, but at* w2 t& ~7 \& o9 L7 U
  15. the time of writing, there are still too many issues - check the current status8 o5 ?; d- I/ V6 s, z
  16. in the TeamSpeak forums if you are interested.
    4 }1 s' z* i6 A: ]0 a/ i5 @( X
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    7 M5 e/ C. {2 w) l- `+ i" X8 F5 k
  18. Borland was used. This driver can only interface with the client library that 0 @# \+ t+ ^4 k1 b* z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    $ t& ^" I, h% I) m
  20. client library - basically all you have to do is to use a 3.x client library as
    " X. I, H7 `: y7 t* H
  21. "VendorLib" and a 4.x database to connect to.
    3 s3 ]6 r$ A4 I$ {. b
  22. If you need more info about dbExpress, you can contact Borland.
    , X' U3 _$ V" n' S1 Y' M2 Y
  23. ; T* j/ f7 K3 _
  24. ### Doing the work ###) ]% ~6 O3 r& g  x! V" v6 t3 U
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ( l# H4 x* z' E" ]7 R, `
  26. the perquisites right, just open your server.ini file, and add this section at
    + y" R) O6 D; `+ ^& g5 k" A
  27. the end:$ c. q: i* P% B1 T8 J4 `
  28. ---cut here---8 L, C, Q1 w9 y5 g: k8 S1 l
  29. [DBEXPRESS]
    : s# g+ F8 }) {! \) P# }
  30. sqldir=mysql_sql; f9 H7 A9 ^$ C3 O4 e
  31. Drivername=mysql) g7 K/ y! \  |$ [
  32. Database=Your_Database_Name_Here
    1 z' V1 x- U5 z, ^. p5 U( ~
  33. Hostname=The_PC_the_MySQL-Server_is_on
    4 I4 J4 T- q" W
  34. User_name=User_name_on_the_MySQL-Server
      Q- U& X* V. \0 |% l8 V" T
  35. Password=Password_to_go_with_above_user_name
    ) b5 x7 S7 L  j
  36. GetDriverFunc=getSQLDriverMYSQL
    4 J) l1 e9 m4 G& i
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ! E& J4 |' i6 i; Z2 C2 P0 _7 ]$ D
  38. LibraryName=path_to_libsqlmy_libary- Q; }4 E0 B+ D; N4 L( l
  39. Active=1
    ; t- F4 f6 P! L
  40. ---cut here---* s7 w! ~9 d, L1 w, @) ^. ?
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ( w* x- [3 o& t9 h! E4 o
  42. ---example---7 G8 J# t0 Q4 t% L9 d5 N  c2 U- q
  43. [DBEXPRESS]" a: p' U3 }. a
  44. sqldir=mysql_sql
    9 H, P  W( u! s- D0 a1 L. @
  45. Drivername=mysql
    & \  v5 Y$ ~9 ^1 n$ s: a/ D
  46. Database=test
    " F; Z2 S, w& @
  47. Hostname=localhost# d" N. M' J" E. _9 Y
  48. User_name=testuser$ i5 b0 p$ H" {# T
  49. Password=my_password
    ( |9 G4 V& B" U
  50. GetDriverFunc=getSQLDriverMYSQL
    " k9 g6 [! |; K' o, I
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ! o' L  [8 c) J
  52. LibraryName=./libsqlmy.so2 z0 }4 {  S% |9 V% c# A; F! z
  53. Active=1
    - v5 s3 n5 X" K3 I' Y8 {
  54. ---example---5 h+ E3 m) x' t

  55. $ u, h& M2 Z) D
  56. On a windows box, also running the MySQL server locally, it would be:( m0 c* [/ J4 j1 l2 K% Z
  57. ---example---. |% R0 X: m- _& w7 B7 K$ k0 T
  58. [DBEXPRESS]9 h6 t: D4 W" G6 `$ W, C' W
  59. sqldir=mysql_sql- s5 v: C7 U5 x  o
  60. Drivername=mysql4 `  }2 A' S2 Y& H4 H, O/ U9 w9 w6 T, m
  61. Database=test
    ' A% b5 [9 a# X. b
  62. Hostname=127.0.0.1, g. G; F: D  ~  |
  63. User_name=testuser# R4 n+ Z% U# W/ @, Y$ @& w
  64. Password=my_password; J8 J: T% b3 O4 z/ n4 [
  65. GetDriverFunc=getSQLDriverMYSQL3 h# v1 u& S6 `  G3 s
  66. VendorLib=libmysql.dll
    . R3 S7 Q7 ]' h4 y1 n; ^4 l
  67. LibraryName=dbexpmysql.dll' H9 P, }# m$ O% K# p
  68. Active=1
    / S, q/ U2 l6 s' J) n  }' x
  69. ---example----
    & r! s5 y$ l' u% e1 E1 y5 R" ]
  70. - written 02.03.04 by pwk.linuxfan
    . |0 o3 p. ?8 I

  71. 3 B5 b# j2 c/ C/ o
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
4 n+ a5 _8 c& W) Y5 t

  1. $ z8 w- n+ E3 H( E% H
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### & Z( S9 M* X9 T8 B
  3. 5 g7 u, h0 }& b* \: F1 I
  4. # # #我们所需要# # #   S* t. Y& P# A4 r
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    2 Q  Z* D8 ~' N# ^* J
  6. 不会解释如何做到这一点-也有文件存在,为0 H+ ?0 Q! k. k. p. N7 H3 ]) i
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    # i0 s( u$ G/ C! e4 v
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西( m6 S9 R. g4 B' x! L
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    $ p1 V- l3 T. z* [; k
  10. 本地机器,这是我的MySQL安装。 9 y' m" k* r, N% j
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从$ f8 ~- W1 A& K2 b5 U
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    % i  q) P  _# T) r# [1 P
  13. 数据库。
    6 x; v$ i7 ?* e" P# S
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    2 c4 @& s. C8 `
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    + D. w, W9 _# t& y/ G  D5 L- Q
  16. 在teamspeak论坛,如果你有兴趣。 ) k9 b4 p1 g- v9 f
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机0 b; e, ?3 `, @3 Y7 B' M% y: M
  18. Borland公司使用。这个司机只能界面与客户端库% a8 }3 S) d* {+ n7 y. h
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这. h/ G1 j6 T, @
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为- V- T2 T) O; O7 l
  21. " vendorlib " ,并解数据库连接。
    9 t; M9 c9 ?9 m' g
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    - l: G6 y5 P* _5 v& I2 i, V  V
  23. 2 m' A% X3 P+ _. Y5 j' A3 X. b
  24. # # #做好工作# # #
    , C! C) S6 n8 @' e  z7 T* w" ~# q
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    * H) Q7 g# c4 }8 I+ P; [
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在3 o, E/ A4 ?0 h- x; }4 I4 s5 s
  27. 结束:
    0 U6 b3 M8 S! m4 P! x
  28. ---削减这里---
    3 e0 m+ C9 n9 Z
  29. [ dbexpress ] - e" w, T# L, n0 L% B: {) P
  30. sqldir = mysql_sql
    $ e- R2 D- l: J2 I1 a2 C
  31. drivername = MySQL中
    ( c% Q- w4 J; m
  32. 数据库= your_database_name_here
    ( I* g3 Z) i  W  y9 f; T( W/ F7 w, D
  33. 主机= the_pc_the_mysql - server_is_on
    / j$ d4 D, I; S6 v! E( a
  34. user_name = user_name_on_the_mysql服务器
    + U2 T" G$ J, p2 K) z8 g8 j, D
  35. 密码= password_to_go_with_above_user_name * N; S6 d- }$ ?. e! b. |6 [
  36. getdriverfunc = getsqldrivermysql 5 t3 N& d: T, g  S* A5 U+ F  ~
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    % Q; _3 i- o% x6 t* |
  38. libraryname = path_to_libsqlmy_libary 3 W6 V! g. U$ J4 c" E6 |* m
  39. 积极= 1
    ; a5 e/ C" ~+ M8 f# F1 ]2 D4 ^
  40. ---削减这里---
    . e3 \5 b: V! [5 {2 s
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    5 g. i( |7 _: W7 U1 h( H( k& l
  42. ---例如--- 0 A  S5 \7 @( x* Y5 b6 Q, A0 `
  43. [ dbexpress ] 6 o7 C% T; _# u# c- a7 Q
  44. sqldir = mysql_sql
    , |/ |1 n; |1 I6 R- _7 N
  45. drivername = MySQL中1 y! A3 k: n* _+ t, o0 r
  46. 数据库=测试
    0 C' v# q$ w/ |  P' [, M; `
  47. 主机=本地主机
    ' }( S' [2 ^0 E9 V) T
  48. user_name = testuser
    7 Q8 X2 f( p. t) X
  49. 密码= my_password
    0 |$ M3 Y, ]8 N' ]7 ?' t) d0 n
  50. getdriverfunc = getsqldrivermysql
    . d, M( R; q+ u( M3 C
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    . y; p# R* n# ]8 w$ a
  52. libraryname =. / libsqlmy.so
    * e6 U1 x3 x1 K$ x" n
  53. 积极= 1 ( L6 S& p) U, }7 N, M3 M' i
  54. ---例如---
    ; r* q! a, O8 m) U

  55. ' ]$ M3 ^% v* a- m0 P
  56. 对Windows中,也运行MySQL服务器本地的,那就是: & g  Q) `& _5 X
  57. ---例如---
    , j, t7 L: D' v% |- w
  58. [ dbexpress ] + q5 o. A! T/ l* a
  59. sqldir = mysql_sql ) x- G# y3 n: q* f
  60. drivername = MySQL中. A/ B" g# z1 u' c" k6 e+ i
  61. 数据库=测试" @$ ~; ?9 P, n" }
  62. 主机= 127.0.0.1
    8 |. s. A, T0 w9 f
  63. user_name = testuser 8 z" h. `6 b1 f: O/ r8 D3 N/ b4 B! d; S
  64. 密码= my_password $ n# ?1 ]" U1 I! q$ ?; E
  65. getdriverfunc = getsqldrivermysql 8 x. C- ^0 y: Q  u9 O0 J
  66. vendorlib = libmysql.dll在) Y* N6 D  c+ M0 \$ ^3 [6 G( G
  67. libraryname = dbexpmysql.dll 1 S1 Y7 d' V& t% A  `1 u
  68. 积极= 1
    . X) U7 y) X% j$ I$ g7 u3 z
  69. ---例如---- 4 T3 M6 a+ `7 v! T/ g: [
  70. -写在0 2.03.04由p wk.linuxfan9 p* F6 F5 F( d4 |, B1 N3 I7 q/ G
复制代码
发表于 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 words6 W# o, R* Y; o* Z# F7 A$ \" D2 [
$ |# `. z9 D) }! M! S3 ]
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-30 08:40 , Processed in 0.087540 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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