Jump to content
Froxlor Forum
  • 0

Setup proccess failed. Access denied for user 'root'@'localhost'


AreYouLoco?
 Share

Question

Hi,

I am trying to setup froxlor on my Debian LAMP. I followed the guide from here: https://github.com/Froxlor/Froxlor/wiki/Install-froxlor-on-debian and and here https://github.com/Froxlor/Froxlor/wiki/Install-froxlor-from-tarball.

I am stuck on page that I need to provide credentials to the database. When I go forward I do get this:
5abfadcd634b8_Zrzutekranuz2018-03-3117-34-46.png.62aa1df941ddbbaa8729c54cf91bd791.png

I fill in my credentials; new password for froxlor database, new password for admin account, my root password that I can use to login locally via:

mysql -u root -p

Please help
5abfae66c71ed_Zrzutekranuz2018-03-3117-46-24.thumb.png.2bf609218497664d601918dbb4ab16dd.png

 

EDIT:
I did some research and I allowed remote root login.

MariaDB [(none)]> show grants;
+------------------------------------------------------------------------------------------------+
| Grants for root@localhost                                                                      |
+------------------------------------------------------------------------------------------------+
| GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED VIA unix_socket WITH GRANT OPTION |
| GRANT PROXY ON ''@'%' TO 'root'@'localhost' WITH GRANT OPTION                                  |
+------------------------------------------------------------------------------------------------+

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 2

Newer distros do this to avoid usage of the root user, to allow login run the following queries:

update mysql.user set password=password('YOUR_MYSQL_ROOT_PASSWD') where user='root';
update mysql.user set plugin='' where user='root';
flush privileges;

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...