Database Error Was Encountered
A database connection is required. Check the database is properly configured and migrated before trying again.
Getting this error after INSTALLATION SUCCESSFUL message when visiting the site.
mysql> CREATE DATABASE hotel;
Query OK, 1 row affected (0.00 sec)
mysql> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER
-> ON hotel.*
-> TO hotel@localhost
-> IDENTIFIED BY 'password';
Query OK, 0 rows affected, 1 warning (0.01 sec)
mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)
Tried manually changing the datapase.php file in /config but still same error.
How can i get to the error source?