Quoted from radium:Use a good wood glue (like Titebond) and clamp. Make sure you get enough glue in there to fully coat the wood surfaces. Use a wide clamp so it doesnt indent the wood or snap the lip off. If you don't have a wide-face clamp, put a scrap piece of 1-by between the cabinet and the clamp. As you tighten, wipe off the glue that squeezes out with a damp paper towel until its fully tight. You might want to take that one leg off to make sure you get the whole seam.
If need long clamps, Bessey pipe clamps are good and cheap. You can never have enough clamps!
Yep, that is how you repair. If you want full details:
When putting in glue, over fill and use a cheap small paint brush (they are called chip brushes and use the 1" size, if you can find it) to push paint into the crack.
Wipe the surface of all excess glue with a warm, damp towel. Put a piece of wax paper between the cabinet and clamping block to prevent any squeeze out from gluing the clamping block to the cabinet.
Cut a wood block that is at least 2" larger than the repair area. You will be clamping on the block, not directly on the cab. The block prevents indenting the wood cab with the clamp and it also distributes the clamping pressure uniformly for a solid repair. I suggest simply using a 2x4 cut to size.
Use a pipe clamp. Preferably two for better clamping pressure distribution (you don't have to tighten 2 clamps as much as one to get the same pressure overall). Use a block on both sides of the clamp. NEVER clamp directly on to the work piece (cabinet) or you can damage it.
Make sure to wipe off any squeeze out when clamps are fully tightened. Last wipe should be with a totally clean, wet shop towel to remove any glue haze that will show up when drying.
If any excess glue is missed, use a sharp razor blade to trim. Make sure to let glue fully set.