+ Reply to Thread
Results 1 to 6 of 6

Thread: PHP Warning: mysqli_connect():

  1. #1
    Master
    Join Date
    Oct 2019
    Location
    Hungary
    Posts
    403

    PHP Warning: mysqli_connect():

    Hi there.

    My hosting provider has switched to the Mariadb database and I don’t know how much it has to do with it, but since then I get the following errors every day.

    [23-Dec-2020 23:58:28 Europe/Budapest] PHP Warning: mysqli_connect(): (HY000/2002): Resource temporarily unavailable in /home/****/public_html/includes/classes/dbi.class.php on line 87
    [24-Dec-2020 00:54:32 Europe/Budapest] PHP Warning: mysqli_connect(): (HY000/2002): No such file or directory in /home/****/public_html/includes/classes/dbi.class.php on line 87
    Last edited by Jenő Kocsi; December 24, 2020 at 08:12 AM.

  2. #2
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    Hello,

    Have you contacted your hosting? What do they say?

  3. #3
    Master
    Join Date
    Oct 2019
    Location
    Hungary
    Posts
    403
    Unfortunately, they haven't answered yet.
    More importantly, the service provider is now using a php selector.
    I attach a picture of it.
    What seems to be that mysqli is not checked, nd_mysqli is instead. I don't know if that could affect it.
    Nevtelen.png

  4. #4
    Master
    Join Date
    Oct 2019
    Location
    Hungary
    Posts
    403
    I checked out mysqli. I removed nd_mysqli from the markup and so there is no error.
    However, they say there is a problem with the coding because nd_mysqli should already be working above php 7.0.

  5. #5
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    You can create a ticket if the problem happens again

  6. #6
    Master
    Join Date
    Oct 2019
    Location
    Hungary
    Posts
    403
    Ticket ID: QVZ-218740
    I created a ticket. I described the problem.

+ Reply to Thread