I'm successfully logging into phpmyadmin with username root
and the password I created on installation but my application (codeigniter) cannot connect to the database. The application is installed in Apache2/htdocs
I have the right connection settings, and I can connect to database via the command line but not in php.
I'm getting no connection resource.
I tried username root
and localhost@root
or database localhost:3306
and nothing works..
Does anyone know what can be causing this issue?