Open lijubehera opened 2 months ago
Brother you gotta update the database credentials with yours nah!
Go to init/init.php
and add your own DB credentials.
$servername = "localhost";
$username = "YOUR USERNAME";
$password = "YOUR PASSWORD";
Happy coding!
Awesome, thanks!
On Mon, 26 Aug, 2024, 11:22 pm Muhammad Ahmed, @.***> wrote:
Brother you gotta update the database credentials with yours nah!
Go to init/init.php and add your own DB credentials.
$servername = "localhost";$username = "YOUR USERNAME";$password = "YOUR PASSWORD";
Happy coding!
— Reply to this email directly, view it on GitHub https://github.com/SanchiSujithKumar/Canteen-Management-System/issues/1#issuecomment-2310749139, or unsubscribe https://github.com/notifications/unsubscribe-auth/BC2NLMO62A24A574VP3N6U3ZTNTOBAVCNFSM6AAAAABNEDFZHKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJQG42DSMJTHE . You are receiving this because you authored the thread.Message ID: @.*** com>
Hey bro
On Tue, 27 Aug, 2024, 12:19 am T072 Narayan Behera, < @.***> wrote:
Awesome, thanks!
On Mon, 26 Aug, 2024, 11:22 pm Muhammad Ahmed, @.***> wrote:
Brother you gotta update the database credentials with yours nah!
Go to init/init.php and add your own DB credentials.
$servername = "localhost";$username = "YOUR USERNAME";$password = "YOUR PASSWORD";
Happy coding!
— Reply to this email directly, view it on GitHub https://github.com/SanchiSujithKumar/Canteen-Management-System/issues/1#issuecomment-2310749139, or unsubscribe https://github.com/notifications/unsubscribe-auth/BC2NLMO62A24A574VP3N6U3ZTNTOBAVCNFSM6AAAAABNEDFZHKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJQG42DSMJTHE . You are receiving this because you authored the thread.Message ID: @.*** com>
register k baad error rahai Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO) in C:\xampp\htdocs\Canteen-Management-System-main\Canteen-Management-System-main\php\main_admin.php on line 22
Fatal error: Uncaught TypeError: mysqli_real_escape_string(): Argument #1 ($mysql) must be of type mysqli, bool given in C:\xampp\htdocs\Canteen-Management-System-main\Canteen-Management-System-main\php\main_admin.php:24 Stack trace: #0 C:\xampp\htdocs\Canteen-Management-System-main\Canteen-Management-System-main\php\main_admin.php(24): mysqli_real_escape_string(false, 'beheranarayancs...') #1 {main} thrown in C:\xampp\htdocs\Canteen-Management-System-main\Canteen-Management-System-main\php\main_admin.php on line 24