CREATE DATABASE IF NOT EXISTS village_db;
CREATE USER IF NOT EXISTS 'root'@'%' IDENTIFIED BY 'example';
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION;
FLUSH PRIVILEGES;

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'example';
FLUSH PRIVILEGES;

