PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, January 13, 2022

[FIXED] mysql errors when using mysql console

 January 13, 2022     access-denied, mysql, phpmyadmin, wamp     No comments   

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
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

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

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing