I am trying to connect my PHP code with my own external server (purchased from go daddy) - but i have run into a few problems and I hope that someone can please help.
I have purchased a package from go daddy and have tried to set a db_user for the PHPMyAdmin - however, this has not worked. So i reset everything in relation to db_user, and I still cannot connect. So what is the db_user? And where can I find it (i.e. CPanel, PHPMyAdmin)?
Any help is highly appreciated! I have tried so many different things but have reached a bottleneck! Thanks
This is what the browser gives me, as follows:
This is the code so far:
And this is what I am trying to achieve:
db_ user is Means Database user... go to mysql database in cpanel there you will find your database click on it you will find the user...
I think you are created user, but not given permission for the user on the db.
This will be required to do, to grant privileges for user on the DB.
Many hosting providers do not allow external connections; it's likely that your phpMyAdmin instance is located on their internal network (which is why it's working) but your application is getting rejected because it's on an external IP address. In this case, you'll need to ask your host for help connecting to your database.