Sure, try ..
DB::getConnection()->statement('CREATE DATABASE :dbname', array('dbname' => $DatabaseName));
// or
DB::getConnection()->statement('CREATE DATABASE ' . $DatabaseName));
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community