Delete old smb folder from cli

Thanks for your answer, but the command mysql -e ‘select * from nextcloud.oc_storages’ , return nothing but variables and the help info.
When i run files_external:list only show my new smb folders mount. Not the old ones, and when i run files:cleanup return:
0 orphaned file cache entries deleted.