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
- 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,
modify the MySQL port and
open the phpstudy program interface - —>Other options menu—>MySQL tools—>Set or modify password
port configuration, you can modify it to other ports
Modify the config.sample.inc.php file
路径形如下面这样:
E:\RJ\PhpStudy2018\PHPTutorial\WWW\phpMyAdmin\config.sample.inc.php文件
把$cfg['Servers'][$i]['host'] = 'localhost';改为
$cfg['Servers'][$i]['host'] = 'localhost:3366(上一步修改的mysql端口)';