'installing laravel Project
iam Trying to Clone a laravel Project and use it on my local Server , https://github.com/hrshadhin/school-management-system iam following those steps, when i reach to thr point of php artisan fresh-install -d
i got those error: Illuminate\Database\QueryException : SQLSTATE[HY000] [1045] Access denied fo r user 'root'@'localhost' (using password: YES) (SQL: SHOW FULL TABLES WHERE tab le_type = 'BASE TABLE')
at C:\wamp64\www\cloudschool\vendor\laravel\framework\src\Illuminate\Database
Connection.php:669
665| // If an exception occurs when attempting to run a query, we'll
format the error
666| // message to include the bindings with SQL, which will make th
is exception a
667| // lot more helpful to the developer instead of just the databa
se's errors.
668| catch (Exception $e) {
> 669| throw new QueryException(
670| $query, $this->prepareBindings($bindings), $e
671| );
672| }
673|
Exception trace:
1 PDOException::("SQLSTATE[HY000] [1045] Access denied for user 'root'@'loca lhost' (using password: YES)") C:\wamp64\www\cloudschool\vendor\laravel\framework\src\Illuminate\Database \Connectors\Connector.php:70
2 PDO::__construct("mysql:host=127.0.0.1;port=3306;dbname=sms_2_0", "root", "root", []) C:\wamp64\www\cloudschool\vendor\laravel\framework\src\Illuminate\Database \Connectors\Connector.php:70
i don't have Good knowledge in laravel iam just trying to get the Project to run
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
