Downgrade MariaDB using Brew

I will raise your revenues or decrease your costs using solutions based on logic and in most cases, it will involve a computer. Design - Build - Improve.
I design solutions to your business problem, build it with you and your team and finally scale the solution to fix other related problems.
I use Javascript and Python as the main languages for development but I am eager and faster to learn anything that would be put a solution on the table.
After installing MariaDB 10.6+ I started getting errors such as: ERROR 4047 (HY000) at line 10: InnoDB refuses to write tables with ROW_FORMAT=COMPRESSED or KEY_BLOCK_SIZE. I needed to go back to the previous version but it was not easier to do so with brew. These are steps I have to take to downgrade it.
brew remove mariadb
brew cleanup
launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.mariadb.plist
rm ~/Library/LaunchAgents/homebrew.mxcl.mariadb.plist
rm -rf /usr/local/var/mysql
and then I reinstalled from scratch.
brew install mariadb@10.3


