I have a php file which connects to mysql database.
I need to create a condition, which if the database is not found, it will create it.
I researched and I found how to create a database with PHP. However, I need to create one with the following criteria:
DB Name, DB User, Password and all privileges granted
Is there a way how I can implement this?