Reputation: 21
I have looked for an easy way to start a mysql from the command line.
I know about
" shell> "C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld" The path to mysqld may vary depending on the install location of MySQL on your system. "
But I want something more like linux where you can type "sudo service mysql stop/start/status"
I have the mysql path setup so I can run mysql commands like "mysql -u root -p"
I am not sure if it is possible either. I want to know if anyone has a way to do this.
Upvotes: 1
Views: 6110
Reputation: 21
Using the help from the comments I have solved my issue, for anyone else.
Mine is called "MySQL57" (this meant mine was already a service. If your's isn't I would follow this: Mysql service is missing although I can't guarantee it worked)
If you aren't sure you can open services with: windows key + R then type in "services.msc"
Upvotes: 1