Reemplace el valor nulo dentro de la columna MySQL
UPDATE `table` SET `somefield`=0 WHERE `somefield` is null
CodeHelper
UPDATE `table` SET `somefield`=0 WHERE `somefield` is null