Trouble logging back into MySQL database from my Joomla site on localhost

Discussion in 'Joomla' started by oceanrace, Apr 27, 2011.

  1. #1
    Hi everyone,

    I'm hoping one of you may be able to help me with a problem I'm having logging into the MySQL DB I set up for a joomla site I built on my localhost (the site is not yet hosted).

    when I go to my site at:

    http://localhost/Portfolio/administrator/index.php

    I now get this error:

    Database Error: Unable to connect to the database:Could not connect to database

    I'm quite new to Joomla but I remember a month ago I set up the database (called Portfolio) with user: admin (and a password) prior to installing the CMS.

    To try and spot the problem I went into phpMyAdmin but haven't had any luck, I don't think the password for my Portfolio database is listed anywhere in there. Even if I found it I'm not sure how I would put it back into the Joomla site since I am now unable to log into the backend.

    Any help would be greatly appreciated, I've put alot of time into building the site and now it seems inaccessible.


    Best regards,

    David
     
    oceanrace, Apr 27, 2011 IP