Cake is NOT able to connect to the database. Database connection "Mysql" is missing, or could not be created. SQLSTATE[42000] [1044] Access denied for user ''@'localhost' to database 'database_name'
<?php // Create connection $con=mysqli_connect("localhost","root","","database_name"); // Check connection if (mysqli_connect_errno($con)) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } else { echo "connected to MySQL " ; } ?>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)