Page 1 of 1

Cannot access to my localhost websites

PostPosted: 13. March 2010 00:20
by cascade27
I'm using xampp 1.7.1 and I have a few localhost websites. When I enter http://localhost in my browser, I get a xampp welcome page with the following message:

"Welcome to XAMPP for Windows Version 1.7.1 !
Congratulations:
You have successfully installed XAMPP on this system!

However, when I go to my test site where Joomla 1.5.15 is installed (e.g. http://localhost/test001/), I get an error "Database Error: Unable to connect to the database:Could not connect to MySQL".

When I go to a regular html site, I get an error "Restricted access".

I'm not sure what I'm doing wrong.

Re: Cannot access to my localhost websites

PostPosted: 15. March 2010 10:39
by brett
I'm getting the same problem. Although I'm using XAMPP 1.7.3 (same Joomla build).

Here's hoping someone can solve our problem!

Re: Cannot access to my localhost websites

PostPosted: 15. March 2010 22:54
by brett
Hi

I solved my problem.

In short, after multiple reloads of XAMPP and Joomla of course, not putting a password in the database configuration page of Joomla got me past the problem. (Which makes sense I discovered becuase my configuration of MYSQL on my localhost doesn't have/need a password.)

Hope it helps you cascade27.