无权在 Windows 上删除 SQLite3 开发数据库 Rails 5.0 [英] No permission to drop SQLite3 development database Rails 5.0 on windows

查看:27
本文介绍了无权在 Windows 上删除 SQLite3 开发数据库 Rails 5.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为 Windows 上的 Rails 5.0 项目重置我的开发数据库,​​但是当我运行时(与 rake db:drop 相同)

I am trying to reset my development Database for my Rails 5.0 project on Windows, but when I run (same as rake db:drop)

rails db:drop

我收到以下错误:

Errno::EACCES 权限被拒绝@ unlink_internal

Errno::EACCES Permission denied @ unlink_internal

我已经重新启动了我的电脑以确保 rails 没有运行

I restarted my PC already to make sure that rails was not running in anyway

推荐答案

您只需要退出 Rails Server.

You just need to exit the Rails Server.

这篇关于无权在 Windows 上删除 SQLite3 开发数据库 Rails 5.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆