I downloaded an Event management software and install wamp server.Everything is fine but when i try to sign up into the website ,it is showing me this

( ! ) Warning: mysqli_connect(): (HY000/1049): Unknown database 'eventmanagmnt' in C:\wamp64\www\Emsp\connection.php on line 2

Call Stack
#   Time    Memory  Function    Location
1   0.0507  403176  {main}( )   ...\Login.php:0
2   0.1265  404264  include( 'C:\wamp64\www\Emsp\connection.php' )  ...\Login.php:2
3   0.1266  404264  mysqli_connect ( )  ...\connection.php:2

enter image description here

1 Answers

0
psycho developer On

In your connection.php line 2 verify your credentials if they're correct for your localhost.

mysqli_connect("localhost","your_username","your_password","your_database_name");

When we download such a project we first have to check the connection for the database. If you could provide me with your php version and a snippet from your connection.php file.