Jump to content
Froxlor Forum
  • 0

SQLSTATE[HY000] [1045] Access Denied For User


Hazard Droid

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.

Link to comment
Share on other sites

15 answers to this question

Recommended Posts

  • 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

 

Link to comment
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.

Link to comment
Share on other sites

  • 0
7 minutes ago, kulli said:

immer noch das gleiche problem in 2023

auch mit komplexerem passwort und 

# mysql -u dbfroxlor -p -h localhost

bricht die installation hier ab.

So viel hilfreiche Information in einem Thread der 5 Jahre alt ist...bitte starte einen neuen Post und gib Infos zu OS und Versionen und eine konkrete Fehlermeldung an, inklusive was du schon versucht und gemacht hast.

Link to comment
Share on other sites

  • 0
vor 6 Minuten schrieb d00p:

So viel hilfreiche Information in einem Thread der 5 Jahre alt ist...bitte starte einen neuen Post und gib Infos zu OS und Versionen und eine konkrete Fehlermeldung an, inklusive was du schon versucht und gemacht hast.

habe die datenbank manuell angelegt dann geht es. Danke für die umfangreiche Hilfe.

Ich wollte nur mal drauf hinweisen dass die Installation immer noch an der gleichen Stelle mit der gleichen Fehlermeldung abbricht: Debian 12 maria db

Link to comment
Share on other sites

  • 0
vor einer Stunde schrieb d00p:

Nö funktioniert wunderbar...ich mach das mehrmals die Woche. Und manuell lege ich da auch keine Datenbank an, das macht die Installation 

Also ich bin über die Jahre hinweg jedesmal drüber gestolpert, mit den verschiedensten Anbietern von Servern. Dass es bei Dir jedesmal funktioniert liegt bestimmt daran dass es Deine eigenen Server sind mit einer speziellen Konfiguration.

Der normale DummUser wie ich besorgt sich einen Vserver und versucht nach der Anleitung zu installieren und da kommt eben die besprochene Fehlermeldung beim Installationsvorgang.

Link to comment
Share on other sites

  • 0

Standard Debian oder Ubuntu...und nein, sind nicht nur "meine eigenen".

Kann man jetzt ewig hin und her diskutieren, ohne mehr Info deinerseits kann ich dir leider nur das sagen was hier im thread schon zig Mal gesagt wurde:

Die Fehlermeldung (von pdo/MySQL) sagt das Passwort für den User ist falsch. Ohne weitere Details ist es erstmal genau das.

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


×
×
  • Create New...