title: Create a Database with ADOdb Active Record for PHP
body: <p>I'm trying to use ADOdb for PHP for the first time and I'm having trouble trying to find out how to create a new database.</p>
  
  <p>This is the code I have so far.</p>
  
  <pre><code>include_once('adodb/adodb.inc.php');
  include_once('adodb/adodb-active-record.inc.php');
  include_once('adodb/adodb-exceptions.inc.php');
  $db = NewADOConnection('mysql://'.$username.':'.$password.'@localhost/'.$newdb);
  ADOdb_Active_Record::SetDatabaseAdapter($db);
  </code></pre>
  
  <p>The error I get:</p>
  
  <pre><code>PHP Fatal error:  Uncaught exception 'ADODB_Exception' with message 'mysql error: [1049: Unknown database 'test'] in CONNECT(localhost, 'root', '****', test)'
  </code></pre>
  
  <p>I know the database doesn't exist, I want to know how to create it via code.
  Thanks.</p>