Jump to content
Froxlor Forum
  • 0
Hazard Droid

SQLSTATE[HY000] [1045] Access Denied For User

Question

Hi, I'm New To Linux And Froxlor And I Getting The This Error While The Installation SQLSTATE[HY000] [1045] Access Denied For User 'db'froxlor'@'localhost' (Using Password: YES)
So Whats The Problem And How To Fix This And Please Answer With Details Cause I'm New To Linux I'm Using Lubuntu 18.

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

1) why is there an ' character in the db username?

2) well the error message clearly tells you what the issue is: you either are not allowed to connect via localhost (maybe try 127.0.0.1) or your password is wrong

Share this post


Link to post
Share on other sites
  • 0
22 hours ago, d00p said:

2) well the error message clearly tells you what the issue is: you either are not allowed to connect via localhost (maybe try 127.0.0.1) or your password is wrong

that is no froxlor related error. I've done so many installations and in every default setup this works just fine. Can you verify that the user dbfroxlor can connect to localhost via CLI?

# mysql -u dbfroxlor -p -h localhost

 

Share this post


Link to post
Share on other sites
  • 0

I suddenly started getting such errors on an already Active FROXLOR installation in Production.

Though the error only appears while I try navigating to the Admin Settings page, every other pages works perfectly Okay.

What I did to remedy it was to edit FROXLOR's config file in /lib  directory and change  127.0.0.1   To   localhost .

Yet to really understand why that suddenly started anyway.

Share this post


Link to post
Share on other sites
  • 0
On 9/29/2018 at 5:04 PM, d00p said:

well the error message clearly tells you what the issue is: you either are not allowed to connect via localhost (maybe try 127.0.0.1) or your password is wrong

 

Share this post


Link to post
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



×