找回密码
 注册
查看: 463|回复: 0

数据库mariadb删除表操作记录

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2022-10-26 09:58:51 | 显示全部楼层 |阅读模式
Database changed( u8 b+ T" h# S- H* r' I& `
MariaDB [zabbix]> show tables;
( k, u! f/ e% l- _$ N# P- ]4 n+------------------+! d2 L( a/ d; a- G
| Tables_in_zabbix |
/ A1 t  ~! p+ O! P% z7 ~+------------------+
. g- u; U% U$ S' r| group_discovery  |/ c; T# {$ c0 \# L9 V
| group_prototype  |
$ j6 I+ q$ w  _* y- \6 w, Q7 t| groups           |
. I4 f, @, Z$ x+ H+ t% }| hosts            |8 n0 L; L2 C& u
| maintenances     |
& S7 @8 h& Z6 @- S- w| screen_user      |  d; v( `; p& C( E+ h/ h
| screen_usrgrp    |
) K* ^# L0 m+ i+ w2 Q| screens          |
8 J; v( r) }- v| screens_items    |1 d) u8 m5 u0 W0 O. C/ {
| slideshows       |( F8 s; S3 u3 g# z! c' g
| users            |
7 F3 ~( B/ n( |+------------------+% W  d) \% \* \- M: k
11 rows in set (0.00 sec)+ k. A2 `0 q! i+ ?

- @# ]0 T' l8 @* jMariaDB [zabbix]> drop tables group_discovery group_prototype;
" s9 b) n! c  X6 S# @9 qERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'group_prototype' at line 1
4 a1 ]* i, q% c4 F2 G. C# cMariaDB [zabbix]> drop tables group_discovery,group_prototype;
, M+ f) J: C2 l- P. L2 o3 S+ UQuery OK, 0 rows affected (0.11 sec)
5 E/ C  I8 r' Q9 E7 @( c! W" R( w* V* N9 d
MariaDB [zabbix]> drop tables groups,hosts,maintenances, screen_user,screen_usrgrp,screens,screens_items,slideshows,users;& x8 O. P- @8 x- N
Query OK, 0 rows affected (0.28 sec), s3 x' |$ y- J$ @, G/ P3 u

6 R7 F5 B2 A3 W( J  ^MariaDB [zabbix]> show tables;1 L+ k* q5 S+ y% V" i
Empty set (0.00 sec)
9 ?- g" S$ c4 d8 [+ ~6 v- w
1 e, X4 K7 A% p& w" Y7 E0 L2 u: I9 N7 O
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 00:14 , Processed in 0.056325 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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