NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

brianv's avatar
brianv
Aspirant
Jun 01, 2017

ReadyNAS 214 on 6.7.4 - MySQL app failed to start

Yesterday I updated the firmware on my ReadyNAS 214 to 6.7.4.  Once installed, the MySQL app stopped functioning.  I rely on that for my web-based business management software that I wrote.  Here's where I started:

 

1) Tried starting the app from the web interface.  Got an error "Aplication failed to initialize" with "Code: 22002010000"

2) Tried without success both a reboot, and a shutdown and restart.

3) Tried uninstalling MySQL, PHPMyAdmin and reinstalling - same result.

4) Checked file permissions for the /var/lib/mysql database directory - all say mysql

5) Checked file permissions for the /etc/mysql directory - all say root

6) Tried to check the status from command line with this result: 

'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'

 

Here's what fixed it:

1) So I made sure the processes were killed, ( sudo pkill mysqld; sudo pkill mysql )

2) removed the app from the web interface

3) purged it from the command line ( sudo apt-get remove --purge mysql\* )

4) Reinstalled the MySQL and PHP MyAdmin from the web interface

 

5) Everything worked again!! And my databases and MySQL users/permissions stayed intact. Yeah!

 

Don't know if that helps anyone else, but it did for me.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More