I have drupal setup on my local machine (Aquia dev desktop). I created a table in my database called "pin_code". I want to write a php script that would involve connecting to the database. I have used the values from my settings.php file. Unfortunately i get the error "No connection could be made because the target machine actively refused it."
Please what could i be doing wrong?