Phpmyadmin site on macOSSierra errno: 13 - Permission denied

When logging into phpmyadmin, the following error appears and several errors. At the same time, the database list is also empty. It also prevents new databases from being created.

in./libraries/dbi/DBIMysqli.php#184 mysqli_query (): (HY000 / 1018): Unable to read directory '.' (errno: 13 - Permission denied) Backtrace./libraries/dbi/DBIMysqli.php#184: mysqli_query (, string 'SELECT COUNT (*) FROM (SELECT DISTINCT SUBSTRING_INDEX (SCHEMA_NAME, \' _ \ ', 1) FRHOMAirst_level .SCHEMATA WHERE TRUE) t ', integer 0,

This was started after php and apache update in macOSSierra

+3


source to share


1 answer


It is an error when the / usr / local / mysql folder does not have sufficient permission. You can fix this by changing the permissions using the following command



chmod -R 755 ./mysql

      

+2


source







All Articles