Error: Access denied for user (using password: NO)


#1

First of all, I’m a newbie, please be patient with me :joy:

I’m building a website with codeigniter,
I’ve put the database’s name, username, host, and password configuration in database.php
At first I imported the db , but then I tried to make new one on the databases.000webhost but it’s still showing the same error:

Message: mysqli::real_connect(): (HY000/1045): ProxySQL Error: Access denied for user ‘root’@‘2a02:4780:bad:f00d::b’ (using password: NO)

it’s working fine when I’m using localhost in my pc tho,
please heelppp

Thank you


#2

The credentials are incorrect :slight_smile:


#3

As @ckhawand has suggested!

Please seek the correct values from Manage Database > 000webhost.com

id123456_user id123456_database xxxxx for example.


#4

What do you mean by credentials?


#5

Please seek the correct values/credentials from Manage Database > 000webhost.com

id123456_user id123456_database xxxxx for example.