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)