Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Error establishing a database connection & Localhost links #3

@wuffo

Description

@wuffo

Getting the following in the log. Plus, Wordpress links go to localhost [i.e. Wordrpress opens in the browser at the .dev URL, but at the home page, all links are then localhost.]. Kinda new at this - possible it's an easy fix. Gotta read more.... Thanks for any pointers.

up to date, audited 1 package in 273ms

found 0 vulnerabilities

> vscode-remote-try-wp@0.0.1 build
> echo "No build script specified" && exit 0

No build script specified
Setting up WordPress at https://wuffo-vscode-remote-try-wp-9v4962gv4-8080.githubpreview.dev
Error: Failed to get current SQL modes. Reason: ERROR 2002 (HY000): Can't connect to MySQL server on 'db' (115)

Error: Error establishing a database connection. This either means that the username and password information in your `wp-config.php` file is incorrect or we can’t contact the database server at `db`. This could mean your host’s database server is down.
Activate vscode-remote-try-wp
Error: Error establishing a database connection.
le '/var/www/html/xdebug.log' could not be opened.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions