0

I'm a total beginner at this, and I just installed mySQL by following a tutorial. My problem is that the mysql command line crashes after I input my password without any error messages. It just straights up exits itself after I enter the password. I've tried the following solution based on what I've found on the internet:

  1. Windows key + R and type services.msc
  2. Double click MySQL80
  3. Change its startup type to Automatic

But the steps above don't work for me. What else can I do? (If possible, can you please give me a step-by-step guide?)

Thanks

Shadow
  • 33,525
  • 10
  • 51
  • 64
TheShin
  • 77
  • 5
  • These are related to the mysql service, but not to the mysql comand line. The latter is the plain mysql.exe – Shadow Jan 18 '22 at 13:23
  • Does this answer your question? [Running sql command from Command Prompt](https://stackoverflow.com/questions/10915018/running-sql-command-from-command-prompt) – Shadow Jan 18 '22 at 13:23
  • It allowed me to run the sql command from the command line, but when I tried to enter my password it just says "ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)" – TheShin Jan 18 '22 at 13:57
  • Then your user name or password is incorrect – Shadow Jan 18 '22 at 13:59
  • Welp. I just reinstalled it, and put in a new password. Seems like that worked. – TheShin Jan 18 '22 at 14:33

1 Answers1

0

I just reinstalled it and made a new password and it worked. :/

TheShin
  • 77
  • 5