Database - Reset issue

If i reset database (rails db:migrate:reset) , It was shows the permission denied error like (Permission denied @ unlink_internal - D:/sampleapp/db/development.sqlite3). error%20-%20db%20reset


I recommend you to check the suggestions here: rails 5 db:reset not working

Good luck!

Hi Maniac,

I am using Rails 5.2.1


The principle is the same because it is fifth version after all.

Your suggestion was not success, give me the another possibility.

Try again with the following commands in this order:

rake db:drop:_unsafe
rake db:create
rake db:migrate

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs