Issue with MariaDB on creating site

Hey, this issue is caused by the ip addresses linked to the user. For some reason, they change anytime you restart erpnext but stay the same in the database. here is a solution to this issue:

you need to rename the user to removed the linked host ip and ensure it can access the database from all host.