Looks like a standard bracket, it even has the slots ready to go!
Woodworking
A handmade home for woodworkers and admirers of woodworkers. Our community icon is submitted by @1985MustangCobra@lemmy.ca whose father was inspired to start woodworking by Norm and the New Yankee Workshop.
This is the best answer. If you are going to go with @dohpaz42@lemmy.world approach, just make sure to use a paddle bit to hog out the inset and use a washer so you can crank the bolts all the way.
YEAH BROTHER, HOG CRANKING.
AWOOOOOOOOO!
Is it hot in here?

I have the screws in my pocket.. now what?
Lacking the original hardware, how would you attach this table leg?
easily, confidently, without even looking, and incorrectly
I was about to say, if aesthetics are not a concern then a copious amount of duct tape.
If you have the skills, cut yourself a block of wood to go from each side. Drill holes in the middle of the block and use some bolts from your local hardware store. Screws should work for each end.
While buying the hardware is the right answer, I would likely cut 45 angles on a 2x4, leaving an edge to match the inner part of the leg. I'd drill pilots and connect them to the leg with a bolt if the receiving hardware still exists.
JB Weld
I realize this is already answered, but if you are looking to fix this fast and don't want to buy something like @jordanlund said to do (the better answer), you can cut a peice with two 45's in opposition, which will wedge into the corner, then put two holes, lined up with the table leg, to attach the through bolt to. Just make sure to use a hole saw or paddle bit to hog out the surface so you can get a larger washer in there for the bolt to act on.
There is a link to the hardware you are missing. You may need to fill the holes in the leg (glue & toothpicks) or a wooden dowel and re drill if the threaded bolt does not catch
I’m pretty sure I have exactly this same table. We got it from Ikea around 16 years ago (and it’s surprisingly good quality for Ikea).
That bracket you linked to looks exactly like the hardware on ours.
Where I live Ikea tends to give spare parts away pretty easily, might be worth a try
That would depend on what you have to work with. Some light steel and I would build a metal brace with two small peices attached on the sides with a longer piece welded across them at a 45. Drill two holes in the longer piece and attach to the leg. No welder then I would cut a 4x4 section with a jigsaw to match what I described above and reinforce with large washers or some square steel plate. It wont be as strong but It would work just fine.
Edit: Or after reading below I would order those brackets from amazon.
Cut a 2x4 to fit in the corner then buy two screws which will fit in the existing table leg holes. Screw the 2x4 to the leg and call it a day.
Or use a Craig jig and drill some pocket holes and screw or together.
Disconnect the two planks and drill two wholes in the sides touching the table leg. Drill matching holes on the leg and insert wooden plugs with some Elmer’s. Reassemble.
Sure would make future disassembly a bitch though
Then don’t put glue :)
Cheap option: Put wood glue between the leg and those 2 boards and use clamps or a ratchet strap to hold it square utill it dries. Then cut down a piece of 2x4 (or whatever you have) to fit in the corner, and glue that in. Once dried, it should be as sturdy as the original hardware. With the downside of it being a permanent attachment.
I mean if we're getting this jerry rigged why not just ratchet strap the leg on?
Never took wood shop I guess? A properly glued joint is stronger than the wood itself.
