Hostinger mysql database connection issue

This section is for posting questions which are not directly related to WYSIWYG Web Builder.
Examples of off topics: web server configuration, hosting, programming related questions, third party scripts.

Note that these questions will generally not be answered by the administrators of this forum.
Post Reply
wwonderfull
 
 
Posts: 1276
Joined: Fri Aug 21, 2020 8:27 am

Hostinger mysql database connection issue

Post by wwonderfull »

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
User avatar
Pablo
 
Posts: 21712
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Hostinger mysql database connection issue

Post by Pablo »

This can only be a configuration issue.
Please make sure that the MySQL settings are correct.
wwonderfull
 
 
Posts: 1276
Joined: Fri Aug 21, 2020 8:27 am

Re: Hostinger mysql database connection issue

Post by wwonderfull »

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?
wwonderfull
 
 
Posts: 1276
Joined: Fri Aug 21, 2020 8:27 am

Re: Hostinger mysql database connection issue

Post by wwonderfull »

Done. Removed success page variables and now its working :|
User avatar
Pablo
 
Posts: 21712
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Hostinger mysql database connection issue

Post by Pablo »

I doubt that this is directly related.
wwonderfull
 
 
Posts: 1276
Joined: Fri Aug 21, 2020 8:27 am

Re: Hostinger mysql database connection issue

Post by wwonderfull »

Found the cause it was because of the php version of the web server. 7.3 works the 8.1 has the problems.
User avatar
Pablo
 
Posts: 21712
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Hostinger mysql database connection issue

Post by Pablo »

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.
wwonderfull
 
 
Posts: 1276
Joined: Fri Aug 21, 2020 8:27 am

Re: Hostinger mysql database connection issue

Post by wwonderfull »

The variables are now working :) the success page needed the php extension went passed the mind. It is now Perfect. Thanks pablo.
Post Reply