From the little info that you have given here are my suggestions --

#I am guessing that you are trying this on your local machine , if so , the username should be 'root' and no password is required

#If you are trying this on a live server , in that case you need to provide a password to connect to the DB ... (ofc the user 'gfxhotra' needs to be added with proper privileges to the DB you are trying to connect with)
mintcold Reviewed by mintcold on . Re: #1130 - Host 'localhost' is not allowed to connect to this MySQL server Re: #1130 - Host 'localhost' is not allowed to connect to this MySQL server How can solve this :facepalm: Rating: 5