Question

rake aborted! The driver encountered an error: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown database 'dbapp_development'

what should be done?

i've created the database using rake db:create

Was it helpful?

Solution

Although you created the db by doing rake db:create, the creation of database has failed silently.

In this case you need to create the database manually just like I did going into mysqlyog or mysql workbench or as what you got. This is the known bug and is discussed in knowledge base.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top