I have built an SQL query and sent it to the MySQL Server using a PHP program/script. Everything was working fine and the connection was good until I attempted to CREATE DATABASE. Then I got this error:
Error: Access denied for user ''@'localhost' to database 'petcatalog'
Does anyone know why I am not connecting and how I fix this?
Thanks
P.S.
I know I can use the command prompt to build a database but I would like to complete this project of building a database using php scripts to connect with mysql server.
Error: Access denied for user ''@'localhost' to database 'petcatalog'
Does anyone know why I am not connecting and how I fix this?
Thanks
P.S.
I know I can use the command prompt to build a database but I would like to complete this project of building a database using php scripts to connect with mysql server.
Comment