The physiological and biochemical responses of organisms, including cyanobacteria, are greatly influenced by environmental change. Salinity significantly affects global rice output, and cyanobacteria are major contributors to rice productivity. Therefore, in our study, we explore the effects of varying concentrations of three (i.e., MgSO