I was wondering if there is any way to create a new MYSQL database on my godaddy shared hosting account through a php script? I am trying to do this but I keep on getting the following error:
ERROR - 2017-10-04 12:39:50 --> Query error: Access denied for user 'athanasios'@'localhost' to database 'db_531064720577264' - Invalid query: CREATE DATABASE db_531064720577264 CHARACTER SET utf8 COLLATE utf8_general_ci
I have created a user on MYSQL named athanasios which is associated with a password. I have tried everything, but it seems like it is not possible to create a database on a godaddy server using PHP. I would really appreciate a step by step on how to create a new database on MYSQL server running on godaddy shared hosting.
Thank you,
Tommy