Score:0

mysql server not connecting in command line

cn flag

When I try to connect to my local MySQL installation on Ubuntu 21.04, I receive the following error:

ERROR 1045 (28000): Access denied for user 'nishant'@'localhost' (using password: YES)

Screenshot of Error

If I don't execute the above command then it does not connect to the server by sending output as:

No connection. Trying to reconnect...
ERROR 1049 (42000): Unknown database 'system'
ERROR: Can't connect to the server

How can I connect to the local MySQL installation?

MySQL Server Version: 8.0.27
CPU: AMD Ryzen5 5600u

in flag
The second error does not seem connected to the first. That said, have you confirmed that there is a `nishant@localhost` account on the MySQL installation? This may be different from a `nishant@%` account, depending on how you've configured MySQL.
ThunderBird avatar
ru flag
Also, you should copy and paste that stuff from your terminal.
ghajini avatar
cn flag
@matigo , i have only one account named "nishant"
ghajini avatar
cn flag
@Thunderbird , i dont understand what stuff ? maybe this one ? [ https://drive.google.com/file/d/1eec1vPBcCVlHcaIl6fiTEuEtuOaq8xw1/view?usp=sharing ]
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.