Trying to create simple stored procedure in phpmyadmin through 'Routines' tab as
BEGIN
SELECT * FROM tbl_user;
END
throws errors as Column count of mysql.proc is wrong,expected 21 found 20, please use mysql_upgrade to fix this error
What I already tried
1 - tried couple of way to use mysql_upgrade , but as I am using xampp I was not able to find a way to upgrade mysql as mysql is replaced by maridb
2 - tried upgrading phpmyadmin to latest by following this
3 - Uninstalled xampp and installed latest version '7.3.8'
4 - Formatted the system and installed latest ubuntu '19.04' (lol that was't needed though)
5 - tried to make changes in mysql.proc, added new column as 'aggregate' , which I found here now which throws error as can not load from mysql.proc, the table is probably corrupted
Now I am left with only one option which is uninstall xampp and install mysql workbench.
I am using xampp as most of my projects are php based, How can I use mysql_upgrade Or can fix this issue Any help would really appreciate.