Not sure what do you mean? What main database? Can you explain in more details what have you done and what are you trying to accomplish?
To remove whole Breadly remove all files and remove tables from the database. You can either remove tables manually or by issuing the following command:
php artisan migrate:reset
Note that the command will remove only tables created by Breadly during installation. Any custom made tables will remain in the database.
What are you trying to do with nano? I’m not using Windows, but as far as I remember, you need to close the command prompt window and open another one in order to reload the environment variables.