mysql.sock does not seem to be located in $CAPM/mysql/data
In later versions this file is now located in the operating systems /tmp directory.
The socket moved there because that’s been the default and now the mysql scripts are pickier about the location, so if it wasn’t in /tmp a parameter needed to be added to every single script.