The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Tue Jan 10, 2012 4:38 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Jan 10, 2012 4:22 pm
Posts: 1
Hi folks, I'm installing Joomla 1.5 on a localhost but it's giving me an error "Could not connect to the database. Connector returned number: Unable to connect to the database:Could not connect to MySQL." Please I need your assistance. Thank you.


Top
 Profile  
 
PostPosted: Tue Jan 10, 2012 5:41 pm 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Fri Aug 19, 2005 2:26 am
Posts: 2352
Location: Lancaster, Lancashire, United Kingdom
Is MySQL definitely installed?
Is the MySQL service definitely running at the moment?
Are you connecting using MySQLi the 'improved' php mysql connector - does your PHP definitely have the correct extensions/modules installed or enabled?


Dean

_________________
Dean Marshall Consultancy - six Joomla experts - http://www.deanmarshall.co.uk/

Check whether your website is Hacked Or Not (beta): http://www.hackedornot.com/


Top
 Profile  
 
PostPosted: Wed Jan 11, 2012 5:51 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Jan 11, 2012 4:59 pm
Posts: 5
Location: Germany
Hello,
ich have this Problem:
"Database Error: Unable to connect to the database: Could not connect to MySQL"

the db data are correct insert

thx


Top
 Profile  
 
PostPosted: Mon Feb 27, 2012 7:08 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon Feb 27, 2012 7:03 am
Posts: 1
Just wondering if you have created a new user in MySQL for Joomla or not. If yes, have you set your user in MySQL's host to 'localhost'?
Alex


Top
 Profile  
 
PostPosted: Sat Mar 17, 2012 7:38 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sat Jan 30, 2010 11:59 pm
Posts: 214
If you are on MAMP in Mac OS X, make sure you use root as db user and root as db pswd

_________________
Make the best out of it...
http://www.news.935radio.gr


Top
 Profile  
 
PostPosted: Mon Jun 25, 2012 2:25 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Jun 24, 2012 8:45 pm
Posts: 26
Thank you pontikos. Your advice got me past the "connect to db" page.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 



Who is online

Users browsing this forum: No registered users and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group