Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • I found another way.

    How to Fix MariaDB Error 1130 with wp-env and Docker – Greys
    https://greys.co/how-to-fix-mariadb-error-1130-wp-env-docker/

    1. Find container name by docker ps.
      Container name is about 30 alphanumeric characters like ‘cf510f85552bd2693a6907b36da3b3a3’
    2. Move folder cd ~/.wp-env/<container name>/.
    3. Execute docker comand, docker-compose down -v
    4. docker-compose up
    5. Move your project folder cd ~/my_project and run wp-env start
    • This reply was modified 4 years, 11 months ago by akiya.
    • This reply was modified 4 years, 11 months ago by akiya.
    • This reply was modified 4 years, 11 months ago by akiya.
    • This reply was modified 4 years, 11 months ago by akiya.

    My coworker had similar problem.

    ✖ Error while running docker-compose command.
    Creating 089135d6fcdff73270753921a88fbffc_cli_run …
    Creating 089135d6fcdff73270753921a88fbffc_cli_run … done
    mysqlcheck: Got error: 1045: Access denied for user ‘root’@’172.18.0.6’ (using password: NO) when trying to connect
    2

    If there were wp-config.php in folder that executewp-env start, solved by remove wp-config.php and runwp-env start.

    And, If wp-config.php existed ~/.wp-env/<containerId>/<execute wp-env folder>/, remove that wp-config.php too and regenerate by wp-env start.

    Regenerating wp-config.php solved my coworker’s error.

    Perhaps, this problem occur after update wp-env v3 or lower to v4.

    • This reply was modified 4 years, 11 months ago by akiya.
    • This reply was modified 4 years, 11 months ago by akiya.
    • This reply was modified 4 years, 11 months ago by akiya.
    • This reply was modified 4 years, 11 months ago by akiya.
    • This reply was modified 4 years, 11 months ago by akiya.
Viewing 2 replies - 1 through 2 (of 2 total)