Installing mysql on ubuntu 22.04

I’m installing mysql-server on ubuntu, but when i try to open it (using command prompt) it throws an error:
“ERROR 1045 (28000): Access denied for ‘root’@‘liacalhost’ (using passord: ).”
Can someone please tell me where should i go wrong in setting up mysql-server.

Hello @Ankita790

Ubuntu specific problem that one

In order to find answers one has to look in the appropriate location
Try link

Regards
artytux

2 Likes

I have also faced the same problem. Glad you asked.