how to fix my keyboard connector base broke on laptop motherboard toshiba?

You can try taking the keyboard connector out and then plugging it in again. It's possible that it got pushed in too far and needs to be pushed back in. If that doesn't work, then you'll need to replace the keyboard.