0

I have been trying to start Airflow as systemd and I have run into a problem. I have followed the instructions in this post https://stackoverflow.com/a/48056403/9621172 and some others and somehow now I cannot logging into MySQL. I have seen a couple of post related (Cannot log into MySQL, Can't log into MySQL) but I cannot follow the instructions there.

With the following commands

sudo mysql -u root
sudo mysql -u ubuntu
sudo mysql
mysql

I get the error ERROR 1045 (28000): Access denied for user 'root/user'@'localhost' (using password: NO)

Even after stopping the server with sudo /etc/init.d/mysql stop and starting the mysqld configuration with sudo mysqld --skip-grant-tables & I am not able to enter to the database anymore. What could I do?

Thank you very much

1 Answers1

1

Have you tried adding -p after? So that it looks like this:

sudo mysql -u root -p
OnkelJ
  • 108