As long as it has cyanoacrylate in it, which i'm pretty sure krazy glue does, it's safe. However, mushrooms are quite slimy so gluing them tends to not work very well. You may want to get a closed container with some holes in it (for water flow), some rock rubble, and your shroom in it, and the mushroom will attach itself to the rock naturally.