Before installing Magento I installed Apache, PHP and the MySQL 5.7.26-0ubuntu0.18.04.1 for Linux on x86_64 Ubuntu. And created the database.
For verify the
mysql -u magento -p It prompted password, I give the both Password that i’ve set for mysql and this database(magento) too. But it’s giving:
Error: ERROR 1045 (28000): Access denied for user 'magento'@'localhost' (using password: YES)
I’ve search for the solution that i got to change local.xml file or env.php But I’ve not found these file on Ubuntu. I’m new with Both Magento and Ubuntu Please guide me to Solve this.