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

3597 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
+ w6 T# }( D; ^8 w* Q6 |5 }6 U. k9 p. P5 V

  1. 6 j- E* j! R5 A2 S1 V. @5 w' `
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######$ H  m( R) e# }, n& o
  3. 2 {; {% y8 [4 u) Q" ?6 S- d# \
  4. ### What we need ###
    5 V" Z/ x5 K% K7 V  `  N
  5. Naturally, we will need a MySQL server to store the data for us, this document
    2 w" T5 X6 f0 u* G
  6. will not explain how this can be done - there are documents out there for the 4 R* |' l9 A7 ]
  7. interested. The requirements include a (empty) database for TeamSpeak to use" Z, W2 l! f4 c! A2 X9 j
  8. and a user account (username + password) that has the permissions to do stuff
    , ~2 m: T$ r+ `- j
  9. with the database. Additionally, you will need a vendor library installed on the% z/ g. A* R, U. H/ L6 W
  10. local machine, this came with my MySQL install.
    9 V8 x  t7 `( \; U
  11. These instructions will not tell you how you might transfer your data from the
    % }# l6 M3 h4 v- S
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    : O% q, C/ J0 \  }6 Z% x. k
  13. database.0 H/ h, i7 k' A# p  U* @( k8 G
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    * p! A5 u3 U3 ?. G& @% o+ c8 [
  15. the time of writing, there are still too many issues - check the current status' ^# n9 p  u; r& O* z' r
  16. in the TeamSpeak forums if you are interested.
    4 P* x5 v) f; S9 X% h# [& O
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    8 w6 A+ w! n6 W
  18. Borland was used. This driver can only interface with the client library that
    2 m. V  h4 W' U, f
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this" b+ i, p2 X5 G6 ]9 U
  20. client library - basically all you have to do is to use a 3.x client library as
    " y5 N5 \) {) f$ O8 {- c
  21. "VendorLib" and a 4.x database to connect to.2 P- s1 d3 G, U
  22. If you need more info about dbExpress, you can contact Borland.
    9 T; y. A! L. h

  23.   T! l' [: I& [3 z7 Q% X  i4 w/ A
  24. ### Doing the work ###
    ! j8 o  X; j5 V
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ) a! w; E. c3 _8 x8 g8 X& s
  26. the perquisites right, just open your server.ini file, and add this section at  ?  X, a* f5 {( `
  27. the end:
    ' R- h  F+ p4 ^
  28. ---cut here---
    9 U* R) k/ b0 h! H. b2 U
  29. [DBEXPRESS]' o; S/ B) }6 r( a# ~( G
  30. sqldir=mysql_sql6 Y  P/ y1 {" w& ^8 Q9 t( q" E
  31. Drivername=mysql
    3 q; b& R. Z  |& L' C
  32. Database=Your_Database_Name_Here
    0 w0 K# p/ K: |$ T0 x: q8 {
  33. Hostname=The_PC_the_MySQL-Server_is_on
    8 V8 g* m: V* {' L$ l* A& g" Y" D
  34. User_name=User_name_on_the_MySQL-Server8 z0 a3 K5 P0 ~/ `
  35. Password=Password_to_go_with_above_user_name% a1 }7 n& a; L: R( k5 N, w+ k7 |3 S* K. S
  36. GetDriverFunc=getSQLDriverMYSQL
    9 O) r  }0 T* o
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib/ R& e6 v7 {6 E: G# D8 W  ^" p1 a
  38. LibraryName=path_to_libsqlmy_libary. ?* O# W; J6 R# c3 C' M  a
  39. Active=1
    . y' T2 ^$ H1 v! `' V6 \* i. C
  40. ---cut here---* f8 e1 c- b; A3 p. k6 k$ |2 X
  41. In my environment (a linux box with a MySQL server running locally) I have:& M. C2 |6 B# `( I1 S2 ~
  42. ---example---+ Q1 R, r) R% R# M8 f; h1 w
  43. [DBEXPRESS]
    , i9 J5 |9 l! n1 z: B0 y. Z% \
  44. sqldir=mysql_sql
    - F0 O! d6 u6 ]
  45. Drivername=mysql4 c3 J) l) t. d3 g
  46. Database=test
    . _! k) f) b1 \! P! U
  47. Hostname=localhost
      ~  P( V2 X- K0 U* z& p0 s5 B
  48. User_name=testuser
    & @6 S3 @, }8 X9 Y% F; U
  49. Password=my_password: S7 l4 U& a  M; u, j4 @/ s( ^
  50. GetDriverFunc=getSQLDriverMYSQL
    $ D% h6 G$ \0 F+ f
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0* U8 @3 h( G9 j8 o) b, @1 m" g3 w
  52. LibraryName=./libsqlmy.so
    : y) _4 J- p5 {, X" C) K# i! ^
  53. Active=14 z, T7 {  Q2 i  h( R. _$ G
  54. ---example---
    ) l) l! x; w" a2 ^7 a
  55. 6 ?! Q( B1 {6 |/ U4 a) A
  56. On a windows box, also running the MySQL server locally, it would be:
    9 s7 e- f9 w5 W4 g
  57. ---example---
    0 E7 x: F, J# n5 b
  58. [DBEXPRESS]- Z' w4 D( W2 C/ k
  59. sqldir=mysql_sql
    # U. Q6 X9 y" p
  60. Drivername=mysql
    7 @& C4 P9 y8 o9 ?1 F; d
  61. Database=test
    $ J  e, d+ @! \* L$ z% _! z. h; Q
  62. Hostname=127.0.0.1
    ) v9 R% D" q* [- R/ D! p
  63. User_name=testuser$ u) _7 E- h( H4 Y! b1 i6 W5 z- i+ e
  64. Password=my_password
    , c9 F5 c9 p+ D5 e+ m
  65. GetDriverFunc=getSQLDriverMYSQL" r" v7 p( I" h6 G4 J2 F
  66. VendorLib=libmysql.dll
    ' r/ Y2 R) J& q2 {9 ~
  67. LibraryName=dbexpmysql.dll7 U4 q8 ?% x% G- v$ p. H* h: w% i3 V
  68. Active=1
    " Q! h/ B  ]9 b/ d, G3 {
  69. ---example----7 j2 [+ l6 `$ W( p. \
  70. - written 02.03.04 by pwk.linuxfan
    8 B0 k! |5 k2 ^5 p: \( h( C
  71. 6 P% `) r) N5 C
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看0 \# W- J4 x7 B( _* ^& e, `

  1. # [/ {, K& B5 Z8 B# t& `
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 0 n' B8 X& l! f/ }

  3. 7 J% v0 m! }1 N
  4. # # #我们所需要# # #
    , J4 U% m  }; _
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ( I; d3 O. G2 S' B$ C
  6. 不会解释如何做到这一点-也有文件存在,为4 r: t' S2 U' P* W6 K
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用# {( v- a6 }, Q" N
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    " B" Q7 f, v1 ]. P/ @
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    0 `2 c3 ?  y* n. c& `: n# m
  10. 本地机器,这是我的MySQL安装。
    ' G! ]& _6 C; s$ {
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从8 D! e& t/ [- w. d9 d# o- H
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    4 {5 r4 K  K  n$ O0 x7 q
  13. 数据库。
      L3 u: j, r; n7 o9 n0 C. b! Q
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    , |+ d" e2 _3 }4 q2 `
  15. 编写本报告的时候,仍然有太多的问题-检查现状; l/ K1 Y# ?" L; i) i
  16. 在teamspeak论坛,如果你有兴趣。 . n$ k; i2 J) {7 ]0 \$ K5 t3 X
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机0 V3 K1 L- K$ H! ?3 R
  18. Borland公司使用。这个司机只能界面与客户端库
    $ |9 [! Q4 F5 F
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这# T0 L& H0 O, v/ u; V
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为- N" d9 Z* W4 K
  21. " vendorlib " ,并解数据库连接。
    : A2 V3 L+ k1 C' i
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    9 U$ }2 e' l( Z7 l$ ^: T

  23. ; \6 J; o- B* T& A! ]; t
  24. # # #做好工作# # # 6 y% c3 ]& I5 Y0 M' w- o/ F  v
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ) ]: R1 w  O1 z; @0 R0 c& \
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在3 M3 s5 V2 ^1 M3 l2 F  \; F
  27. 结束: 3 n  F" f: }/ Q4 s2 z3 V. ]
  28. ---削减这里---
    3 b9 \0 _) O8 i$ L
  29. [ dbexpress ] " w5 j; z% j( A/ L; W
  30. sqldir = mysql_sql
    " z: H1 {* N& S4 R
  31. drivername = MySQL中- M2 P8 R4 i6 x! N5 }0 Z* {; w
  32. 数据库= your_database_name_here
    % {) J9 \% _1 I0 I( S
  33. 主机= the_pc_the_mysql - server_is_on - E5 D" y5 i4 Q0 J6 p
  34. user_name = user_name_on_the_mysql服务器
    ' @. E# V$ C, I
  35. 密码= password_to_go_with_above_user_name " S3 R( f6 }" f! D- _( W6 G# L
  36. getdriverfunc = getsqldrivermysql * W' E, l) E9 w- ~
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib * {8 q$ c2 _) Z
  38. libraryname = path_to_libsqlmy_libary / g! f' H7 `7 Y( |, A
  39. 积极= 1
    ( J: l) m$ m" r2 C
  40. ---削减这里---
    0 _7 Y! r+ m: C+ ?" B; E- ?, k
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ( e/ A7 t6 y  t6 W3 I2 i
  42. ---例如---
    6 p$ e& F# a# X
  43. [ dbexpress ]
    , K0 T- q0 O! x9 }
  44. sqldir = mysql_sql 6 F; g5 n. ~9 F6 r8 k  ^
  45. drivername = MySQL中& G2 y% w3 k/ \
  46. 数据库=测试
    8 X) x) h. \7 M- y* U4 A, @
  47. 主机=本地主机2 i, f$ b. @0 X8 R0 d! @
  48. user_name = testuser 8 L/ X8 {% g8 G! t
  49. 密码= my_password   f4 b5 l  M7 I( Q; S% R
  50. getdriverfunc = getsqldrivermysql
    . I& W/ F  ~9 T& `
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ) G' k7 m8 i. J9 Z7 y- M3 [
  52. libraryname =. / libsqlmy.so 9 e; V7 r! W% Q& U5 N* a+ k, @
  53. 积极= 1 5 r! J1 {: e/ O9 ?
  54. ---例如--- 3 u) r: M- |5 \. V
  55. , b5 z: b* E' h" W: f5 x' a
  56. 对Windows中,也运行MySQL服务器本地的,那就是: % ?, P" v( q- `( P; q/ G  w  h
  57. ---例如---
    - Z, J! Y6 d" u* q) E. L6 l6 E) j3 I
  58. [ dbexpress ]
    9 U1 G- d/ \: ]$ o7 c
  59. sqldir = mysql_sql
    : e, L) I5 W1 c
  60. drivername = MySQL中
    4 `4 A$ s! o0 i' t
  61. 数据库=测试
    : n$ A4 E6 b& r' N
  62. 主机= 127.0.0.1 5 R0 C  g! c+ _9 u% E, c
  63. user_name = testuser
    $ W/ o; @1 P: R8 h1 d
  64. 密码= my_password " ?- i1 X" e9 D) @8 T* {) m
  65. getdriverfunc = getsqldrivermysql 6 K1 j" {+ M3 c: T) b) J, J
  66. vendorlib = libmysql.dll在
    7 i- D# k% K  j
  67. libraryname = dbexpmysql.dll
    5 \; {6 q( y0 ]( P+ E% G: j
  68. 积极= 1
    ) q; v$ v  ~8 `' k) \( d) p
  69. ---例如---- * n' g4 g' o, y% b
  70. -写在0 2.03.04由p wk.linuxfan
    - l3 i9 z" i$ s* U% 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 words
( m) o) O4 F, i( V+ c1 S% P$ s4 R% v" _4 t8 h- p* q5 L. @) t
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-12-1 04:34 , Processed in 0.061200 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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