wp-env mysqlcheck error:1130
In Ubuntu 20.04 wp-env is giving me error once i have installed it and while trying to start it with wp-env start
.The error showing is mysqlcheck: Got error: 1130: Host '172.29.0.5' is not allowed to connect to this MariaDB server when trying to connect
.
I have tried....... CREATE USER 'wp'@'%' IDENTIFIED BY 'newpass';
GRANT ALL PRIVILEGES ON *.* TO 'wp'@'%';
sudo service mysql restart
.
Changed the wp-config
with new user and password keeping the DB_HOST same as earlier ( ie; localhost
)
Still i am getting the same error . Can somebody please let me know what i have done wrong ?
Topic command-line Wordpress javascript
Category Web