SVKpneux Posted November 9, 2018 Share Posted November 9, 2018 Hello I need help a lot please. I try to login to BO and result is: Link to database cannot be established: SQLSTATE[HY000] [2002] Cannot assign requested address I don´t know, what is it. My provider said me, that server is O.K without problem. Please help me, my e-shop doesn´t work. Pete Link to comment Share on other sites More sharing options...
razaro Posted November 9, 2018 Share Posted November 9, 2018 Hi That usually happens when MySQL server is down so hosting should know in that case or there is wrong database credentials entered in settings.inc.php in config folder. Do double check them. Link to comment Share on other sites More sharing options...
SVKpneux Posted November 10, 2018 Author Share Posted November 10, 2018 Thank you for yours reply. I wrote to customers support of my hosting and they wrote me, that everything is fine. NO problem with hosting also with database. Next, in file settings.inc.php, I didn´t make any changes. Now, my FO and BO works fine (i didn´t make any changes from yesterday). Yesterday, we had more visitors and orders. Could be causes by these? Sorry for my English. Peter Link to comment Share on other sites More sharing options...
musicmaster Posted November 10, 2018 Share Posted November 10, 2018 If it happens always - even in the middle of the night - it obviously isn't a too crowded website. My approach would be to create a minimalistic php file that connects to the database. Just to check that your login data fit. It gives better error messages and it is easier to communicate about with your hosting provider. Link to comment Share on other sites More sharing options...
SVKpneux Posted November 11, 2018 Author Share Posted November 11, 2018 18 hours ago, musicmaster said: If it happens always - even in the middle of the night - it obviously isn't a too crowded website. My approach would be to create a minimalistic php file that connects to the database. Just to check that your login data fit. It gives better error messages and it is easier to communicate about with your hosting provider. Thank you for yours approach, but I am not a programator and I don´t know, how to program this minimalistic php file. Can you show me any sample? Thank you very much. Link to comment Share on other sites More sharing options...
SVKpneux Posted November 11, 2018 Author Share Posted November 11, 2018 2 hours ago, mdekker said: Is it shared hosting? Yes, it is. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now