title: Error 1046 No database Selected, how to resolve?
body: <p>Error
  SQL query: </p>
  
  <pre><code>--
  -- Database: `work`
  --
  -- --------------------------------------------------------
  --
  -- Table structure for table `administrators`
  --
  CREATE TABLE IF NOT EXISTS `administrators` (
  
  `user_id` varchar( 30 ) NOT NULL ,
  `password` varchar( 30 ) NOT NULL ) ENGINE = InnoDB DEFAULT CHARSET = latin1;
  </code></pre>
  
  <p>MySQL said:  </p>
  
  <pre><code>#1046 - No database selected
  </code></pre>
  
  <p>need some help here.</p>