phpStudy2018 mysql startup failure problem

phpStudy2018 mysql startup failure problem

1. Enter services.msc in the win+R run window and check whether MySQLa is included in the service.

  • Yes , open the service

Insert image description here

  • If not , open the phpstudy panel, click on the other options menu -> Service Manager -> MySQL -> Install Service; then refresh the service panel and find that MYSQLa appears 2. If the above steps do not work,
    Insert image description here
    modify the MySQL port and
    open the phpstudy program interface - —>Other options menu—>MySQL tools—>Set or modify password
    Insert image description here
    port configuration, you can modify it to other ports
    Insert image description here
    Modify the config.sample.inc.php file
    Insert image description here
路径形如下面这样:
E:\RJ\PhpStudy2018\PHPTutorial\WWW\phpMyAdmin\config.sample.inc.php文件

把$cfg['Servers'][$i]['host'] = 'localhost';改为
$cfg['Servers'][$i]['host'] = 'localhost:3366(上一步修改的mysql端口)';

Insert image description here

Guess you like

Origin blog.csdn.net/qq_30163677/article/details/130987775