I have recently upgraded my macOS to Monterey (version 12.6) and mariadb (mysql) stopped working. I tried to run brew services restart mariadb and it didn't show any error so I thought everything works fine. However, when I tried to access the mysql using either mariadb or mysql I was getting this ERROR 2002 (HY000): Can't connect to local server through socket … [Read more...] about Fix mariadb ERROR 2002 (HY000): Can’t connect to local server through socket ‘/tmp/mysql.sock’ (2) on macOS Monterey 12.6 using homebrew
Fix WordPress login redirect loop when accessing wp-admin
There are several ways you can fix a redirect loop in WordPress. However, I was facing a redirect loop problem when trying to login to wp-admin. The solution #4 was the one that helped me log in to wp-admin without any ssl redirect loop. 1. Replace .htaccess content Make a backup of your .htaccess by copying and pasting it under a different name or download it to your … [Read more...] about Fix WordPress login redirect loop when accessing wp-admin
Fix easyengine error for global-nginx-proxy
If you have your sites on easyengine and none of your sites are down, you have to check if nginx is running fine. So I refreshed the services but then I got an error: It definitely looks like something's broken with the easyengine. I've googled the similar error code and found some results that suggested to restart the ngingx-proxy itself so I did: However, that was … [Read more...] about Fix easyengine error for global-nginx-proxy
Replace WordPress Widget Title Tag
Why would you need to replace the WordPress widget's title tag? There are situations when you purchase a theme or get a free theme that was created without any SEO in mind so the widgets title tags are either an h2 or an h3 and you certainly don't want that. How can you replace the WordPress widget title tag? If you want to change the heading h1-h6 tags to a paragraph … [Read more...] about Replace WordPress Widget Title Tag