In my local development Ubuntu box I use MySQL and phpmyadmin to work with the database.
Whenever phpmyadmin is idle for 1440 secs (24min) the session expires. I lose m
You should restart apache or httpd, not mysqld
sudo service httpd restart
or
sudo /etc/init.d/apache2 restart