can you connect to phpmyadmin using the root login? is the password blank?
Post By:user_14277 | Reply
I am having the same problem through the installer. Exact same message. "Could not connect to the database. Connector returned number: 2"
I deleted the old database, created a new one & still the same message. Can't get past that step. Have installed Joomla! numerous times in the past but never had a problem until now. :-(
On localhost the database will be created according to the name you give during install. No need to create it manually.
1. Installer will create the database if you set the parameters correctly. Host = localhost, Database = mysql, user= root, password = blanks
2. create a database in phpMyAdmin on the home screen under MySQL Localhost Create Database. If phpmyadmin prompts for a password, you need that password in your installer for joomla.