I'm wondering if it is possible to set an "Expire" time or date when creating a table in mysql.
For example a table is created and will expire/auto-delete in 2 hours. Something to that effect. Google didn't give any answer so its probably not as simple as I'm hoping.
Need: I'm making a site with cart functionality. Users can add items to the cart if they are not signed in. This info is stored in a temp table that will then be migrated to a specific users table or orders once they log in. Well I was trying to find a way to remove the temporary table if say the user never signs in or completes an order and then leaves the site permanently. That way I wouldn't end up with a bunch of temporary tables cluttering things up.