Query: Access denied for user

Dear community,

please help, because I am totally frustrated of 000webhost’s PHP. Iam getting mysqli_query error “Access denied for user ‘id6846457_subscriber’@’%’ to database ‘SubscriptionList’”. Here are many topics with the same problem on the forum. But no solution. The code is so simple that it does not make sense to copy it here. Yes, I typed correct host, user name, password etc. Database exists and is valid too. My only explanation is that the problem is at 000webhost. Did they block basic MySql functions if I test with free service?

Thanks!
AG

There can’t be a database called “SubscriptionList” it has to be id123456_databasename etc

Yes, my fault … I know it is not DB name. I rewrote the block of code so many times that I got lost in names at all. Sad that MySQL not fall while connecting to non-exist database and returns true.

This topic was automatically closed after 26 hours. New replies are no longer allowed.