Closed Vaibhav4697 closed 2 years ago
I think the error message is very clear. The user vimbadmin does not have the permissions it requires. Or you use a wrong password.
Yeah, I know that but I have granted all the permission to this user in mysql and I have also verified the password many times.
In your application.ini
file, you'll have config like:
resources.doctrine2.connection.options.driver = 'pdo_mysql'
resources.doctrine2.connection.options.dbname = 'vimbadmin'
resources.doctrine2.connection.options.user = 'vimbadmin'
resources.doctrine2.connection.options.password = 'password'
resources.doctrine2.connection.options.host = 'localhost'
Taking these exactly as they are and on the same server as ViMbAdmin, this should work:
mysql -h localhost -u vimbadmin -ppassword vimbadmin
I have been following the steps and when I am trying to create the database with the command below, it throwing me such error.
Database Creation Now that your configuration is set and you have setup a database and user in MySQL, you need to create the database schema:
cd $INSTALL_PATH ./bin/doctrine2-cli.php orm:schema-tool:create
Error: Can you please give it a look, what is it about?