Skip to content
Advertisement

Tag: amazon-ec2

(“SQLSTATE[HY000] [1045] Access denied for user ‘root’@’localhost’ (using password: NO)”)

I tried deploying my project to an AWS EC2 server but when I tried to run php artisan migrate I am getting the following error. PDOException::(“SQLSTATE[HY000] [1045] Access denied for user ‘root’@’localhost’ (using password: NO)”) PDO::__construct(“mysql:host=127.0.0.1;port=3306;dbname=myDb”, “root”, “”, []) The following is my .env file: Answer Okay, so I got it fixed. All I did was run php artisan config:clear.

php file automatically renamed to php.suspected

Since last 4 days, we are facing strange issue on our Production server (AWS EC2 instance) specific to only one site which is SugarCRM. Issue is /home/site_folder/public_html/include/MassUpdate.php file is renamed automatically to /home/site_folder/public_html/include/MassUpdate.php.suspected This happens 2-3 times in a day with 3-4 hours of gap. This issue occurs only in case of specific site, even it doesn’t occur for staging

Advertisement