Hi Craig,
The SX1012 switches don't support Stacking, it does support MLAG, can you try reviewing the below article (if you haven't reviewed it already).
HowTo Configure MLAG on Mellanox Switches
Also - after doing that - please paste the configurations of both switches here and indicate each port and it's what it's connected to.