Report this

What is the reason for this report?

Can't log in to MySQL - Access denied for user 'foobar'@'localhost' (using password: NO)

Posted on March 17, 2019

Hello,

From shell, I am able to log in to mysql using both root and my custom mysql user (let’s call it ‘foobar’). However, I can’t log in via any external or local-based method such as phpMyAdmin, adminer, HeidiSQL, etc.

I see no errors in access.log nor error.log, but the error in the above programs seems to be of the 1045 type (Access denied for user ‘foobar’@‘localhost’ (using password: NO)). If it makes any difference, I am still using the IP via http, not domain name with https as my server is not yet production ready.

Could someone kindly point me to information on where I could try to figure out why this might be happening please?

Thank you

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.