tried install process today on three different versions (all supported ), of mysql
5.6.36
5.7.17
5.7.3
Under
5.6.36
When this version of database was used, script stopped at the following piece of code:
if [[ -z `echo "${pluginlist}" | grep -i auth_socket` ]]; then
$mysqldaemon stop &>>${LOG}
mysqld_safe --skip-grant-tables >>${LOG} 2>&1 &
sleep 5
if echo "$command" | eval mysql >>${LOG} 2>&1
then
log "Prepare for uds finished"
else
echo_log "FAILURE: Unable to prepare UDS. MySQL command failed."
log "Failed command $command"
log "logging memory status before exiting"
free -m &>> ${LOG}
exit 1
The reason was, that it wasn’t unable to start up mysql database. But after it failed, I was able to start it up manually, using the same code as in the script.
5.7.17
For this version of database, script worked almost flawlessly … Almost. Cause when it tried replacing original my.cnf with my.cnf file from the netapp rpm. It used two deprecated (in version 5.7.4, so .13 ‘little’ versions earlier) values, and mysql startup eventually failed, causing the rest of the script to fail. And btw for this version, I spent almost whole day (previously), clearing all the other errors that script produced.
5.7.3
I tried this version, as a workaround for dealing with depreceted values (5.7.17 version), script reported an error in completely different place.
For three supported databases (which btw are almost the same), it reported different errors.