• Resolved mityakoval

    (@mityakoval)


    Hi! I’m having an issue after successful deployment. When I click “Test Site” I get two warnings:
    Warning: mysqli_real_connect(): (HY000/2002): No such file or directory in /Users/mityakoval/Sites/embassi/wp-includes/wp-db.php on line 1379

    Warning: mysql_connect(): No such file or directory in /Users/mityakoval/Sites/embassi/wp-includes/wp-db.php on line 1409

    And also this line:
    `Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /Users/mityakoval/Sites/embassi/wp-includes/wp-db.php on line 1409′

    The page shows “Error establishing a database connection”.
    Install report doesn’t show any errors or warnings during the deployment.
    I’m sure that all credentials are right otherwise it wasn’t be able to deploy. I have restarted everything a bunch of times, recreated the database and user and still nothing. I have also checked wp-config and it is OK.

    Can you help me please with it?
    Thanks.

    https://wordpress.org/plugins/duplicator/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Error establishing a database connection after successful deployment’ is closed to new replies.