search

Home  >  Q&A  >  body text

The problem that mysql service cannot be restarted after mysql upgrade

After upgrading mysql, you must use the command line net stop MySQL, arnet start MySQL to restart. How to solve it

_MAN_MAN2414 days ago1840

reply all(3)I'll reply

  • PHP中文网

    PHP中文网2018-04-24 20:38:17

    Manual upgrade MYSQL service is not added to PHPSTUDY

    reply
    1
  • _MAN

    Well, I found a problem, because the mysql service name in the phpstudy environment is MySQLa, and when mysql is upgraded, mysqld --install is not specified and the service name defaults to MySQL, so you only need to delete the previous MySQL service and re-specify the service name. , attach the command mysqld --remove MySQL mysqld --install MySQLa

    _MAN · 2018-04-26 09:58:23
  • _MAN

    _MAN2018-04-24 09:25:15

    Additionally, in the phpstudy integrated environment. (I didn’t notice that the question asked is no longer on the phpstudy official website)

    reply
    0
  • Cancelreply