//edit: I don't know what happened, but I decided to delete the whole instant rails folders, and do everything from scratch, and it worked.. but thanks anyway
Hi,
I just set up a project using instant rails 2.0, but I can not acces the PHPMYADMIN ( Access denied for user 'root'@'localhost' (using password: NO) )
I did not add any database yet, and in the window of instant rails, the apache and mysql icons are both already green. I tried to set up a simple controller(look) and view(at.rhtml), and accessed it in localhost:3000/look/at, it's is accessible also. If there is a problem with sql, it should show error, so i suppose that the sql is working fine.
in config.inc.php under the instantrails folder, I did not change anything, so everything is default
$cfg['Servers'][1]['user'] = 'root';
$cfg['Servers'][1]['password'] = '';
Isn't the phpmyadmin should be accessible without any additional configuration? Or do I need another installation for mysql that is separated with instant rails? (if I see the green light icon of mysql in instant rails, I suppose not? )
//edited I tried using a password
C:\Users\heike\Desktop\learn\InstantRails-2.0-win>mysql -u root -p Enter password: password
got into the mysql promt
and I tried to open the InstantRails subfolder C:\Users\heike\Desktop\learn\InstantRails-2.0-win\phpmyadmin\config.inc change
// local configuration
$cfg['Servers'][1]['user'] = 'root';
$cfg['Servers'][1]['password'] = 'password';
restart everything but still showing the same error .. How can I access the phpmyadmin via instantrails?
Thanks for any response
//edited again I don't know what happened, but I decided to delete the whole instant rails folders, and do everything from scratch, and it worked.. but thanks anyway