I have different information related to installation new SSD.
If we will try search through Amazon help it shows that the disk Samsung SSD 860 EVO 500GB will work fine with MacBook Pro 13 inch Mid 2012:
Also I saw this video where all works good as well for similar system.
But my disk recognized as uninitialized in my Mac OS Mojave 10.14.4 (18E227):
I tried diskutil as well to format my disk and here is an error after some time waiting for creating portion map:
diskutil eraseDisk JHFS+ SAMSUNGSSD disk1 Started erase on disk1 Unmounting disk Creating the partition map Error: -69825: Wiping volume data to prevent future accidental probing failed
Also first time there was another error:
error: couldn't open device
Before this Samsung SSD 860 EVO I have KINGSTON SSD SATA3 240gb disk and all worked good for me. But few days ago Mac OS accidentally crashed and after restart I just saw flashed question-mark folder. I bought new Samsung SSD 860 EVO. Now I am trying to format my Samsung SSD 860 EVO but because of some reason I can't do it not at terminal nor using disk utility.
I read some information about replacing SATA cable, but not sure I need to do it as my previous KINGSTON SATA 3 SSD worked good with the same cable. Maybe port or cable is corrupted I don't know, but not sure if my cable model is different to one that user suggest to buy to make it work: