Why am I getting a 'Access denied for user' error when accessing a MySQL database on Laravel through CyberPanel?

213 Views Asked by At

I build a laravel project and deployed it in cyberpanel vps. I clear the cache and set all configurations and environment.

I create a database in my host "chih_chihab2023" and give it password, I copied the database infos to my .env file and import the sql file in phpmyadmin in the host. but this problem is appearing. I tried many solutions but no one get a result please help me. image of error

I want to know the causes of this problem and methods to solve it. Thanks!

0

There are 0 best solutions below