I apologise. I meant to say that when I run it, and the database already exists, it shows an error.
Here is the error it is showing, when running `create_database("default")`
{
"heading":"A Database Error Occurred",
"message":[
"Error Number: 1007","Can't create database 'default'; database exists","CREATE DATABASE `default` CHARACTER SET utf8 COLLATE utf8_unicode_ci",
"Filename: ....\/system\/database\/DB_driver.php",
"Line Number: 691"
]
}
`CREATE DATABASE IF NOT EXISTS` however does not show an error, so I added that option