rm -fR /usr/local/cpanel/3rdparty/etc/phpmyadmin
rm -fR /var/cpanel/userhomes/phpmyadmin
mkdir /usr/local/cpanel/3rdparty/etc/phpmyadmin
mkdir /var/cpanel/userhomes/phpmyadmin
chattr -ia /usr/local/cpanel/3rdparty/etc/phpmyadmin
chattr -ia /var/cpanel/userhomes/phpmyadmin
chown -R cpanelphpmyadmin:cpanelphpmyadmin /var/cpanel/userhomes/phpmyadmin ;
/scripts/upcp –force
service cpanel restart