Mysql not logging in on Ubuntu after setting Passcode

I just installed my sql using the terminal and after setting the password it is giving an error after typing mysql in the terminal.

1 Like

After setting the passcode, typing mysql in the terminal will give you a error.
You need to type mysql -u (username) -p
then the passcode (it is default root if you left it blank)
That Should Give You access to the Local Server :smiley:

6 Likes

Oh... Yeah its like a basic Mistake I made, thank you for your time.