I have a installation of magento 2.2 in linux mint, I'm using lampp.
I am wanting to change the installation language and when I try to execute the command: php bin/magento setup:static-content:deploy es_AR I have the following error.
It also happens to me with other commands like the following:
php bin/magento cache:clean
php bin/magento cache:flush
Someone has an idea that it may be happening or that the problem is due.
Thank you very much.
Have you tried to do actions from the Magento Documentation page?
Please look through these instructions and try to fix your problem.
It can be handled by changing 'localhost' to '127.0.0.1'.
First go to folder where you installed the xampp and find out config.inc.php. (mine is /opt/lamp/phpmyadmin/config.inc.php.
After take a look to $cfg['Servers'][$i]['host'] = '127.0.0.1';.If it is localhost change by '127.0.0.1'
Also see below linkhttps://stackoverflow.com/questions/42484504/magento-installation-sqlstatehy000-2002-no-such-file-or...