Thursday, January 13, 2022

[FIXED] mysql errors when using mysql console

Issue

I am using wamp and i am trying to access to phpMyAdmin in order to dealing with database I get the error 1045 enter image description here

And when I try to solve it by using mysql console and typing "user mysql;" command I get the message error 1044 enter image description here

How I can solve this problem?


Solution

The syntax to select a database is use and not user

use <database-name>;

So for example

use mysql;


Answered By - RiggsFolly

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.