Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Database Server
  • Search

(HY000/1045): Access denied for user 'phpmyadmin'

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
Bubblecatcher
Posts: 37
Joined: Tue Mar 06, 2018 8:38 am

Os: Debian 8x
Web: apache
(HY000/1045): Access denied for user 'phpmyadmin'
  • Quote

Post by Bubblecatcher » Thu Jul 12, 2018 1:27 pm

Hi, needed to reset database root password.

Have checked /usr/local/vesta/conf/mysql.conf and the correct password is there.

Can create a new database fine in vestacp, but when loading myphpadmin i see error messages

Code: Select all

The phpMyAdmin configuration storage is not completely configured, some extended features have been deactivated. Find out why.
Or alternately go to 'Operations' tab of any database to set it up there.
Open new phpMyAdmin window
mysqli_real_connect(): (HY000/1045): Access denied for user 'phpmyadmin'@'localhost' (using password: YES)
Connection for controluser as defined in your configuration failed.
mysqli_real_connect(): (HY000/1045): Access denied for user 'phpmyadmin'@'localhost' (using password: YES)
Connection for controluser as defined in your configuration failed.

Any clues where to look?

thanks
Top

Bubblecatcher
Posts: 37
Joined: Tue Mar 06, 2018 8:38 am

Os: Debian 8x
Web: apache
Re: (HY000/1045): Access denied for user 'phpmyadmin'
  • Quote

Post by Bubblecatcher » Tue Aug 14, 2018 9:31 am

No ideas?
Top

Bubblecatcher
Posts: 37
Joined: Tue Mar 06, 2018 8:38 am

Os: Debian 8x
Web: apache
Re: (HY000/1045): Access denied for user 'phpmyadmin'
  • Quote

Post by Bubblecatcher » Mon Oct 15, 2018 2:40 pm

Hi, i had this and other phpmyadmin issues after install and eventually found this cleared them:


run
mysql_secure_installation

ensure all files are using correct password
/root/.my.cnf
/usr/local/vesta/conf/mysql.conf

remove mysql root password (dpkg-reconfigure -plow phpmyadmin fails with root pw error)
mysql -uroot -p
SET PASSWORD FOR root@localhost=PASSWORD('');
quit

reconfigure phpmyadmin
dpkg-reconfigure -plow phpmyadmin

rerun
mysql_secure_installation

log into phpmyadmin with no errors

:)
Top

clu55ter
Posts: 7
Joined: Sun Dec 06, 2015 4:25 pm

Re: (HY000/1045): Access denied for user 'phpmyadmin'
  • Quote

Post by clu55ter » Fri Mar 29, 2019 2:57 pm

I have this issue but when I run the mysql_secure_installation comand I get Error: MySQL server has gone aways

Any ideas?
Thanks
Top

clu55ter
Posts: 7
Joined: Sun Dec 06, 2015 4:25 pm

Re: (HY000/1045): Access denied for user 'phpmyadmin'
  • Quote

Post by clu55ter » Wed Apr 17, 2019 1:39 pm

Thank you for the guide but any ideas on where to find the root password for mysql?
I have tried both my vestacp admin password and the password that's located in /root/my.cnf but am getting Access denied for the root user on both occasions.

Any help would be appreciated.

Thanks
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “Database Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password