I created an installer for my system it installs normal, but before the installation finishes the error occurs
Error Number: 1046
No database selected
CREATE TABLE IF NOT EXISTS 'auditoria' ( 'id' int(11) NOT NULL AUTO_INCREMENT,
'usuario' varchar(45) NOT NULL,
'data_hora' timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
'operacao' varchar(45) NOT NULL, 'query' text NOT NULL,
'observacao' text NOT NULL, PRIMARY KEY ('id') ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
Filename: C:\wamp\www\ehpcms\system\database\DB_driver.php
Line Number: 330
Follow my controller install.php