Please forgive me for being a beginner:
I am trying to enter my very first mySQL database that I installed with easyPHP on my Windows machine using the cmd line. I go to \ mysql \ bin and enter the command:
mysql -u root
to log in, but I get the following message:
error 1045 (28000) access denied for user 'root'@'localhost' (using password: YES)
Why does he use the password "YES"? Shouldn't have a password at all? Do I need to restart mySQL or something like that? If so, how do I do this? If this is relevant, I tried to create the database using phpmyadmin, but had some problems with entering the columns and decided that I had better work from the command line so that I could learn all the commands as I walked.
Please keep in mind that this is my first time ever trying to work with a database, so be so kind to me!
command-line mysql root
mavix
source share