Hostinger mysql database connection issue
-
-
- Posts: 1276
- Joined: Fri Aug 21, 2020 8:27 am
Hostinger mysql database connection issue
I tested the WWB mysql database in WAMP server it had no errors, connects perfectly submits data in database table. But in a new hostinger database it seems to say access denied for some reason for the user and password: yes . Any experienced hostinger user who may able to aid. Ty
Re: Hostinger mysql database connection issue
This can only be a configuration issue.
Please make sure that the MySQL settings are correct.
Please make sure that the MySQL settings are correct.
-
-
- Posts: 1276
- Joined: Fri Aug 21, 2020 8:27 am
Re: Hostinger mysql database connection issue
I think the myslq username password and hostname are correct if we only had the feature to verify Mysql Database Test Connection could have been 100% sure if there was any mistake on writing the informations. Or is it because hostinger is using mysql version 10? or the PHP 7.8?
-
-
- Posts: 1276
- Joined: Fri Aug 21, 2020 8:27 am
Re: Hostinger mysql database connection issue
Done. Removed success page variables and now its working
Re: Hostinger mysql database connection issue
I doubt that this is directly related.
-
-
- Posts: 1276
- Joined: Fri Aug 21, 2020 8:27 am
Re: Hostinger mysql database connection issue
Found the cause it was because of the php version of the web server. 7.3 works the 8.1 has the problems.
Re: Hostinger mysql database connection issue
WWB17 should be compatible with PHP 8.1
If not, then please share the exact error message so I can take a look.
But it is also likely that there is an error in the configuration of PHP 8 on the server.
If not, then please share the exact error message so I can take a look.
But it is also likely that there is an error in the configuration of PHP 8 on the server.
-
-
- Posts: 1276
- Joined: Fri Aug 21, 2020 8:27 am
Re: Hostinger mysql database connection issue
The variables are now working the success page needed the php extension went passed the mind. It is now Perfect. Thanks pablo.