5
Good afternoon,
I’ve been trying to run a website through a Raspberry to access with remote access. I installed OS Pipplware, along with Lamp and phpmyadmin. I sent through Filezilla the website database and everything went perfect. The phpmyadmin appeared with errors, what prevented me the import of the database for there, but after a reconfiguration I managed to put everything to work. However, the Website still has the same error:
Access denied for user 'root'@'localhost' (using password:NO)
And while trying to solve, I noticed that in mysql, both in user
mysql -h localhost -u user -p database_name
as in root,
mysql -u localhost -u root -p database_name
Same error 1045 (28000) continues to appear: Access denied for user 'root'@'localhost' (using password:NO) Does anyone know about this mistake or know how to fix it? I appreciate all the help you offer.
Try restarting Mysql as mysqld_safe. Also, flush the permissions.
– Inkeliz
try using sudo before starting mysql
– Ruggi