Issue #1447: Cli audit_database.php not detecting database name, and failed to create audit tables when run from fresh due to invalid indxees. MySQL was complaining about the key not all being NOT NULL for a PRIMARY key as opposed to being UNIQUE