The error suggests one of:
- The database mylearningsqldb does not exist. (Which could be because you are connecting to a different instance than you intended to.)
- The database exists, but is in single-user mode or restricted mode.
- The database exists, but the principal you are trying to connect to does not have permission to the database.
I hope that this information will help you with further troubleshooting.