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

2841 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
% v5 W9 d+ R+ P# n  U4 h
/ x( M& l* j, P

  1. ( i. y6 Q" p1 r  X; [$ k. y4 P
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######& g4 `/ F4 S  f4 D5 x* u. N7 v
  3. " ~. n; m3 v1 u6 j" y
  4. ### What we need ###$ H4 v4 o0 g3 q
  5. Naturally, we will need a MySQL server to store the data for us, this document
    : ]: n8 T$ w6 x6 R/ e7 p# r. u
  6. will not explain how this can be done - there are documents out there for the
    : [7 C+ B4 }; P
  7. interested. The requirements include a (empty) database for TeamSpeak to use2 Z, b; W& [7 n1 y. \1 M' n' I4 x
  8. and a user account (username + password) that has the permissions to do stuff. K+ w, a) T1 i
  9. with the database. Additionally, you will need a vendor library installed on the( `+ M$ t' V' x0 J. C
  10. local machine, this came with my MySQL install.
    9 t; P6 J' k, h* T, W$ v3 j
  11. These instructions will not tell you how you might transfer your data from the
    6 ?6 T5 e7 \6 P1 a/ w' e
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    * Y* Z: A( g+ V1 y9 q$ u. W
  13. database.
    9 F- k7 x$ X5 L, A. E7 w# J
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    5 M0 ^# s5 P2 F" s5 H; N
  15. the time of writing, there are still too many issues - check the current status
    9 f5 M  S3 j8 d) Y2 B5 {
  16. in the TeamSpeak forums if you are interested.2 t3 _, V2 s. G7 h" [. k  Y
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from$ C) d& _; c& e4 k2 w
  18. Borland was used. This driver can only interface with the client library that & p5 s- |9 w$ J" M! `
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this- _5 Y9 Y4 e1 E; R; |
  20. client library - basically all you have to do is to use a 3.x client library as
    . `9 z+ R& O; \1 R1 R. \
  21. "VendorLib" and a 4.x database to connect to.& d3 [0 e+ i5 `
  22. If you need more info about dbExpress, you can contact Borland.
    ! w2 Q+ E0 Q) {0 D- y

  23. : h* }% H" q9 b1 ]* W' e
  24. ### Doing the work ###
    0 @* [" @# F! f1 L
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all  L" [" F& r8 ]3 J- v
  26. the perquisites right, just open your server.ini file, and add this section at
    5 m* F/ H1 s- d" E  @( c' Y
  27. the end:
    ' T7 w+ s& G9 w
  28. ---cut here---' Y" Y* z. B' z& P) C' A
  29. [DBEXPRESS]
    . I: @! l: l2 Z
  30. sqldir=mysql_sql1 h1 t4 C8 y6 V
  31. Drivername=mysql; p6 I3 U) Y5 f
  32. Database=Your_Database_Name_Here6 K( D0 B: @+ q8 s
  33. Hostname=The_PC_the_MySQL-Server_is_on- ~% J/ J6 `) p/ {7 `+ g
  34. User_name=User_name_on_the_MySQL-Server
    ; f. ?7 d5 G1 e* v
  35. Password=Password_to_go_with_above_user_name
    ; a; U- w% c( m+ j9 `2 ?$ V( R0 P% U
  36. GetDriverFunc=getSQLDriverMYSQL2 l- K& _5 k7 j+ F
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib* h9 H' v' {( T9 ]
  38. LibraryName=path_to_libsqlmy_libary; y# ~3 T1 a) l
  39. Active=1
    . ^3 U0 |+ z  O" ]
  40. ---cut here---
    6 Y1 G4 q" j, Y' D/ `( J/ q
  41. In my environment (a linux box with a MySQL server running locally) I have:
    " E3 U% J# j* B4 b) r! G  i" M/ X
  42. ---example---
    5 I8 n; \, J' r0 c% U8 h4 l
  43. [DBEXPRESS]
    6 B2 k: \$ I; R# T9 E, @! ?2 C' v
  44. sqldir=mysql_sql
    : \9 y* r% S& ~' x1 z* M6 I
  45. Drivername=mysql' W' O. N' F6 m8 o* f
  46. Database=test3 l: L5 q9 d; C. \8 N, B* ?8 J
  47. Hostname=localhost* m3 R0 {& @! k
  48. User_name=testuser7 a$ ~5 \2 i2 w& W
  49. Password=my_password
    & \6 j0 V! w! G3 a. A( ~. A/ ^+ H
  50. GetDriverFunc=getSQLDriverMYSQL3 H% E2 X- @8 N3 I! \5 w
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.07 H3 O  I& K0 f+ v* d% S
  52. LibraryName=./libsqlmy.so
    - J9 V6 [; a2 [
  53. Active=13 Y( e) E, c. D; C3 M* Y. P
  54. ---example---
    0 z& L+ e, {0 X
  55. * M. Q' t- ?) W. |
  56. On a windows box, also running the MySQL server locally, it would be:
    3 V' k" e+ c- s; ~0 z/ j
  57. ---example---
    4 o, L5 s9 Y* k( B
  58. [DBEXPRESS]" R& C- k, T# g) l3 |" ?8 ~4 M. p
  59. sqldir=mysql_sql
    # i' M0 V: [4 B& U- Y$ g0 ^' t
  60. Drivername=mysql) K9 j$ \5 w* d. g" h" K& D2 U
  61. Database=test" h4 S# d: O. d7 o( C7 f
  62. Hostname=127.0.0.1
    2 U/ m) r7 A! o$ y1 w
  63. User_name=testuser+ ]5 I& v, u- S0 J& x
  64. Password=my_password
    2 L8 X4 ~* y4 j5 u; V" M' U2 Y
  65. GetDriverFunc=getSQLDriverMYSQL
    & C* u! j" O  V0 [7 }; z; l- t
  66. VendorLib=libmysql.dll
    / s7 g6 m+ F  @, A/ C" m0 U" G
  67. LibraryName=dbexpmysql.dll+ D& B: w3 w: ~, ?
  68. Active=11 N" `3 R$ n3 p+ X/ b# Y
  69. ---example----
    % R7 ]2 _. `* G  ^1 a2 S
  70. - written 02.03.04 by pwk.linuxfan: t) v% ?. i3 f& R: m9 C

  71. # w& t9 k  E$ f, ]0 E' C  Q
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看. U! e' \4 [7 k) N. d2 Z/ A6 p

  1. $ n2 g* D4 Q3 C, l# \+ Z" [1 m4 F: O
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### + ?. K, [: R% d" p

  3. " i* c/ s* s1 s1 M7 s+ @- x
  4. # # #我们所需要# # # 2 g- {% O8 i1 X: i, i1 i
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    * D3 B. ?" \4 V; a' M6 ?
  6. 不会解释如何做到这一点-也有文件存在,为
    * i  ^9 J8 k- |% o6 ]: B% ]
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    & v: X4 o$ o: b8 t3 t# D" h9 w
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西, ?' v" i6 K& x7 v/ Q0 n
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    % N9 U7 t, y9 A! K' Y
  10. 本地机器,这是我的MySQL安装。 0 b, |3 A3 U! l( e7 w
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    0 z% A' T) Z& z# A( I& G1 b
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    % f/ s- A8 N- Z
  13. 数据库。
    ! w7 L) F, S$ g# ]9 y" o
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在4 \; W5 H. o" d5 n
  15. 编写本报告的时候,仍然有太多的问题-检查现状
      x- ~- G- @4 N+ y; y5 g! C( U  A+ L
  16. 在teamspeak论坛,如果你有兴趣。 . d4 p) A* a. n" }: [
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    1 j" I  m' b$ [& N
  18. Borland公司使用。这个司机只能界面与客户端库
    * r7 {. m: q# K/ W  k4 A! {6 o
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    + l% w+ B, t' A% d
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    : U. X3 K/ I3 W+ o
  21. " vendorlib " ,并解数据库连接。 : m: Z# k& b: e& r
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ) U0 F# h; \% Q( z# {8 ~$ r
  23. ' B+ }! u; c: U# c; e/ z2 T+ @
  24. # # #做好工作# # #
    ' \5 g  L1 ]7 i. m
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    8 S7 L' P" o. d& A6 G& K. d& ?; V
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    # `; M" X& ^' T6 T* n  Z1 _0 J
  27. 结束:
    , D' n# @. m3 t0 U. G
  28. ---削减这里--- 7 U+ V; u/ {  K; U! A
  29. [ dbexpress ]
    : p9 w: H+ ?8 w6 y) s  ^
  30. sqldir = mysql_sql
    5 D5 P/ C; |, L+ n
  31. drivername = MySQL中7 p, r! s1 Q: E
  32. 数据库= your_database_name_here 9 t! W' _; B8 |# X3 B
  33. 主机= the_pc_the_mysql - server_is_on
      t& Z: j* [% [9 T# F6 i4 r
  34. user_name = user_name_on_the_mysql服务器
    : Y0 f# N. b1 q$ i8 ]) G% T9 R- `6 q
  35. 密码= password_to_go_with_above_user_name / L/ {# C2 Q% z# {- u
  36. getdriverfunc = getsqldrivermysql   X  e% Q: \$ o' ^; [
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    3 |; g* W* ]9 A7 t6 w1 _6 w: b1 a
  38. libraryname = path_to_libsqlmy_libary
    4 i" h: J" c3 Q# N) F7 K
  39. 积极= 1   a2 B" p' W- ?* j5 G* W( ]& O/ x- H
  40. ---削减这里--- # P9 Q, Q. R8 X9 Z$ \
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ! [; N( t$ M/ z& D% A' K  S
  42. ---例如--- # a# t) G, g, y. X9 [) ~8 {
  43. [ dbexpress ] + D/ V  Q) E( K0 z: x# i! w' N
  44. sqldir = mysql_sql 9 U7 E2 \; T4 I3 z' f8 e4 g
  45. drivername = MySQL中
    . z/ c5 i2 D$ G$ l6 }: F6 m
  46. 数据库=测试
    4 z# k1 H7 y3 j0 |4 n1 ~0 ~
  47. 主机=本地主机
    , g/ X" \8 I  P
  48. user_name = testuser
    + A  Y5 q2 p1 m
  49. 密码= my_password
    $ ^3 v5 d! f7 W% O$ r3 D( ~
  50. getdriverfunc = getsqldrivermysql
    8 C& H" k( ?9 h7 h3 b' o- s# L
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 $ X, M7 r) B0 c) b9 P8 {
  52. libraryname =. / libsqlmy.so ( w, A! ~, m/ F8 N- v& z
  53. 积极= 1 6 e% U& X, ?" ?  |$ h! y% [
  54. ---例如--- - Q9 e# z$ F- Z9 z3 P
  55. " {/ ~2 A6 G. }; _! ]9 M* \7 I
  56. 对Windows中,也运行MySQL服务器本地的,那就是: # {7 ?% h5 W6 |/ A! `
  57. ---例如---
    ( J4 n( [4 f, q6 `8 n! w& H# i9 U
  58. [ dbexpress ] # a! H" v8 K) G5 T
  59. sqldir = mysql_sql
    * G+ l& z# R# n$ ~6 ~2 h
  60. drivername = MySQL中
    ; d4 U* l1 E2 M
  61. 数据库=测试
    . l6 p* s; t# I
  62. 主机= 127.0.0.1 " s% |3 |  n* J4 x2 Z
  63. user_name = testuser 1 J' ]# p4 A! ]& t2 [( B
  64. 密码= my_password 1 F: s' g7 U0 l- p* E
  65. getdriverfunc = getsqldrivermysql
    ) p# d( A- U/ {) ^
  66. vendorlib = libmysql.dll在6 E6 [+ l  }$ u/ w
  67. libraryname = dbexpmysql.dll
      x3 o: j8 @  J  e7 X" D
  68. 积极= 1 6 r- ?$ i, T0 F( L/ H
  69. ---例如---- 3 s* Z. }. U% J4 c
  70. -写在0 2.03.04由p wk.linuxfan% b/ r8 h* }& ?$ c7 D
复制代码
发表于 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* P" H6 \, m, s1 ~% p5 K

) {5 k3 V4 @8 e0 i3 {) 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-4 19:07 , Processed in 0.096509 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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