我在运行django单元测试时遇到了一个错误,我以前没有经历过这种情况,并且一直在使用Google搜索整个下午。 Error: Database test_unconvention couldn't be flushed. Possible reasons:
* The database isn't running or isn't configured correctly.
此问题是基于this thread。 我运行不成功 sudo mysql
\. /users/cs/SO_db/posts.sql
我得到的错误 ERROR 1146 (42S02): Table 'personal.posts' doesn't exist
MySQL's manual说 A five-character SQLSTATE value ('42S02'). The va