Restore Master with Leaf Data

Hello,

I need your help. Somehow I deleted the Master Node and after restarting and adding it again I see this error on show cluster status;

Can’t connect: Master database not found

When I try to “enter” the DB I got this error:

ERROR 1049 (42000): Unknown database ‘db_name’

Have some a idea how to fix this?

Thanks in advance!

As you deleted the MA, it means that all the reference databases are gone. If there is no CA in the cluster you could promote, your only chance is to restore the database from a backup. The MA holds a unique set of data - if the MA is gone and there is no CA to promote, there is no way how to rebuild the MA and its data.