• Resolved maximeba

    (@maximeba)


    Hello, i use BackwpUp for many website, but on the last one, i have an error that i never seen before and i don’t know how to fix it. It seems backwup cannot connect to server and database, however i’ve checked name of server and database. I give you a part of the error message that i get.
    Any idea will be welcome
    Regard

    AVERTISSEMENT : mysqli::real_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known
    [11-Feb-2019 01:02:55] AVERTISSEMENT : mysqli::real_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known
    [11-Feb-2019 01:02:55] ERREUR : Impossible de se connecter au serveur à la base de données MySQL 2002: php_network_getaddresses: getaddrinfo failed: Name or service not known
    [11-Feb-2019 01:02:55] 2. Tentative de sauvegarde de la base de données…

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support happyAnt

    (@duongcuong96)

    @maximeba
    Please show me your server configuration by go to BackWPUp -> Settings -> Infomation -> and press “Get debug info”
    Thanks!

    Thread Starter maximeba

    (@maximeba)

    Version WordPress : 5.0.3
    Version BackWPup: 3.6.7
    Version PHP: 7.2.15 (64bit)
    Version MySQL: 5.5.60-0+deb7u1-log
    Version cURL: 7.38.0
    Version SSL cURL: OpenSSL/1.0.1t
    URL WP-Cron: https://daphne-interim.com/wp-cron.php
    Connexion au serveur: Réponse au test positive
    Document root: /kunden/homepages/11/d75876****/htdocs/www
    Dossier temporaire: /homepages/11/d75876****/htdocs/www/wp-content/uploads/backwpup-c412cc-temp/
    Dossier des fichiers journaux: /homepages/11/d75876****/htdocs/www/wp-content/uploads/backwpup-c412cc-logs/
    Serveur: Apache
    Système d’exploitation: Linux
    PHP SAPI: cgi-fcgi
    Utilisateur PHP actuel: u953106**
    Temps maximum d’exécution: 50000 secondes
    Temps maximum d’exécution d’un script de BackWPup: 25 secondes
    WP Cron alternatif: Off
    WP Cron désactivé: Off
    CHMOD Dir: 493
    Heure du serveur: 13:49
    Heure du site web: 14:49
    Fuseau horaire du site web: Europe/Paris
    Décalage temps avec le site web: 1 heures
    Langue du site: fr-FR
    Type d’encodage du client MySql: utf8mb4
    Limite mémoire de PHP: -1
    Limite mémoire de WP: 128M
    Limite mémoire maximum de WP: -1
    Mémoire utilisée: 98,50 MB
    Extension PHP chargées?:: Core, PDO, Phar, Reflection, SPL, SimpleXML, bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dba, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, intl, json, libxml, mbstring, mysqli, mysqlnd, openssl, pcre, pdo_mysql, pdo_sqlite, posix, session, shmop, soap, sodium, sqlite3, standard, tidy, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, zlib

    Plugin Support happyAnt

    (@duongcuong96)

    @maximeba
    could you try to uninstall BackWPUp then reinstall it again?
    If it not help, I think the issue may be related to the server :/, please contact your hoster and ask them about that.
    Hope that help ??

    Thread Starter maximeba

    (@maximeba)

    It doesn’t work after reinstall.
    Did you ever seen this problem before?
    It seem backwup can’t access to the database server, however the website is online, if it can access to the database my website won’t works isn’t it?

    Anyway thank you for your help

    Plugin Support happyAnt

    (@duongcuong96)

    @maximeba
    I’m never got an issue like this before :/ kinda weird to me.
    Please try to modify wp-config.php , find these lines:

    /** MySQL hostname */
    define('DB_HOST', 'localhost');

    and replace define('DB_HOST', 'localhost'); with define('DB_HOST', '127.0.0.1');

    Save the change then run the job again. Is that help?

    Thread Starter maximeba

    (@maximeba)

    No, it makes it crash the website, it can’t access to the database. So i put i back the original wp-config

    Plugin Support happyAnt

    (@duongcuong96)

    Hi @maximeba
    Sorry about the delayed response, could you please contact your hoster and ask them about why the issue: AVERTISSEMENT : mysqli::real_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known happens?
    Thank you very much!

    Thread Starter maximeba

    (@maximeba)

    ok i’ll do and i’ll come back to you when i’ll know more about it. Thank you for you help

    Thread Starter maximeba

    (@maximeba)

    hi, i contacted my hoster, he told me that it seem Bacwpup can’t connect to the database, but he doesn’t really know why. He asks me to try to downgrade php version, is this a good idea?
    He told me that this database function ( mysqli::real_connect() )seems to be functional but he told me that :

    “Otherwise this call function of the database must have the data of the base which must be informed, it would be necessary to be able to control the exactitude of its information.”

    And then, he asks me to contact plugin support ??

    Thank you

    Plugin Support happyAnt

    (@duongcuong96)

    Hi @maximeba
    Sorry about the delayed response, could you please try disabled: pdo_mysql and mysqli
    and enabled: nd_pdo_mysql and nd_mysqli
    in cPanel PHP module Options?

    If you can’t do that, try to downgrade php version to see if it works

    Plugin Support happyAnt

    (@duongcuong96)

    @maximeba

    since we haven’t heard back from you, I’m going to mark it as resolved.
    If you’re still having problems, feel free to let us know ;),

    Btw, If you find BackWPUp is useful for you, we would really appreciate if you leave a positive review and rating.
    This would encourage us to develop new free features and provide free support ??
    https://www.ads-software.com/support/plugin/backwpup/reviews/

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Error database’ is closed to new replies.