The LNMP environment guide database under centos prompts Unknown storage engine 'InnoDB'

mysql> show engines;

Found that InnoDB is displayed as NO

Open the file /etc/my.cnf

Modify two locations:

innodb=ON

#skip-innodb 

Check again and find that InnoDB is displayed as YES

 Restart mysql to take effect:

lnmp mysql restart

Guess you like

Origin blog.csdn.net/tiging/article/details/127232360