I have a php file that connects to a mysql database.
I need to create a condition that, if the database is not found, will create it.
I researched and I found how to create a database with PHP. However, I need to create one of the following criteria:
DB name, DB user, Password and all privileges
Is there any way to implement this?
seedg source
share