Home  >  Q&A  >  body text

phpstudy cannot start mysql?

phpstudy cannot start mysql, but under the cmd command, running net start mysql can start it

AScorpioAScorpio2484 days ago2032

reply all(6)I'll reply

  • 向前冲

    向前冲2018-01-24 23:47:58

    learned

    reply
    0
  • AScorpio

    AScorpio2018-01-21 15:20:00

    The reason has been found. When upgrading mysql to version 5.7, a MySQL service is registered. This service cannot coexist with MySQLa installed by phpstudy.

    Just uninstall the MySQL service.

    Running sc delete in Windows PowerShell is invalid. You need to run sc delete under the cmd command instead. I hope no one will step on my trap.

    reply
    2
  • 七月夜半

    How to solve it? I'm in the same situation.

    七月夜半 · 2018-06-10 16:09:07
    七月夜半

    sc delete mysql Okay, it turns out it’s that simple, I learned it

    七月夜半 · 2018-06-10 16:15:01
  • Day

    Day2018-01-21 13:29:58

    Check whether your Mysql path has been modified!

    reply
    0
  • AScorpio

    No, it's still in the original position. I use net start mysql in cmd, and the icon in phstudy will also turn green.

    AScorpio · 2018-01-21 14:04:57
  • Cancelreply