filmov
tv
SQLSTATE[HY000] [1045] Access denied for user 'root'@'127.0.0.1' (using password: NO) #php #laravel
![preview_player](https://i.ytimg.com/vi/eq63RO-J7aQ/maxresdefault.jpg)
Показать описание
Laravel 11 Database Connection Error: Access denied for user 'root'@'127.0.0.1' (Hostinger)
I'm encountering a database connection issue in my newly hosted Laravel 11 application on Hostinger. I've carefully configured the files and database in phpMyAdmin, but I'm getting this error:
SQLSTATE[HY000] [1045] Access denied for user 'root'@'127.0.0.1' (using password: NO)
this is my .env file configuration:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=crm_db
DB_USERNAME=root
DB_PASSWORD=
I'm encountering a database connection issue in my newly hosted Laravel 11 application on Hostinger. I've carefully configured the files and database in phpMyAdmin, but I'm getting this error:
SQLSTATE[HY000] [1045] Access denied for user 'root'@'127.0.0.1' (using password: NO)
this is my .env file configuration:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=crm_db
DB_USERNAME=root
DB_PASSWORD=