sudo apt install mysql-server
sudo mysql -u root
ALTERUSER'root'@'localhost' IDENTIFIED BY 'root';
CREATEUSER 'root'@'127.0.0.1' IDENTIFIED WITH mysql_native_password BY 'root';
GRANT ALL PRIVILEGES ON*.* TO 'root'@'127.0.0.1';
FLUSH PRIVILEGES;
Comandos para migração:
dotnet tool install --global dotnet-ef
dotnet ef migrations add ClienteAdd
dotnet ef database update