title: Easy PHP and mysql ..php cannot see database on local pc (all works on server)
body: <p>I have a website written in php and mysql (written by someone else) and I need to alter it- just for your interest it is bridgetjonesart.co.uk. So I thought I would download it to my desktop pc and use easy php and mysql locally to make changes then upload it again.</p>
  
  <p>I seem to have downloaded everything okay. I first just tried to run existing php using Easy Php and got</p>
  
  <pre><code>Warning: mysql_connect(): Access denied for user 'runningc'@'localhost' (using password: YES) in C:\Program Files (x86)\EasyPHP-12.1\www\backup from runningc\public_html\bridgetjonesart.co.uk\mysqlLogin\mysql_connect.php on line 6
  Could not connect to database. Error
  </code></pre>
  
  <p>I have the sql database as a file 'runningc_bjart.sql' in the root directory but I think the php cant see it so I  tried to use easy php administration, phpmyadmin and thought perhaps I should import the 'runningc_bjart.sql' file.  So I tried and got an error message ...</p>
  
  <pre><code>Error
  SQL query:
  
  --
  -- Table structure for table `Blog`
  --
  DROP TABLE IF EXISTS  `Blog` ;
  
  
  MySQL said: Documentation
  
  #1046 - No database selected
  </code></pre>
  
  <p>I am not sure what to try next, any help would be really appreciated.
  Thank you. Bridget</p>