How to setup mysql in parrot

i am receiving this error when i try to run mysql any help please # am using mariadb server

(base) ┌─[root@parrot]─[/home/ricks]
└──╼ #mysql
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2)


  • ParrotOS iso in use:

  • Application used for flashing the iso:

  • Logs/Terminal output (use pastebin or similar services):

  • Screenshots:

Try to install graphical mode of phpmydamin you will automatically set up the password for MySQL : and then in the terminal you will only enter : MySQL -u root -p