Posts

Showing posts from August, 2020

Fix MySQL Daemon startup #Fixit 01 🛠️🕵️

 Fixit? In my Fixit series I'll write about quick solutions to problems that I encounter every now and then. Problem Brief: MySQL daemon fails to start Details: So, I recently installed MariaDB (Community fork of MySQL) on my Manjaro system and when I started the system with: sudo systemctl start mysqld This is the error I get: Job for mariadb.service failed because the control process exited with error code. Let's look at journalctl -xe : A start job for unit mariadb.service has finished with a failure. Not very helpful, let's look at mysqld's status with:  systemctl status mysqld  InnoDB: The innodb_system data file 'ibdata1' must be writable Ah, there's the culprit mysql doesn't have write access to this file. Solution  A quick look at the man page and after some google searches the solution I came up with was simple: sudo chmod -R 777 /var/lib/mysql If you are facing any issues while running mysql_secure_installation , you can run  mysql_upgrade -u r...

Manage all your GitHub repositories easliy 🗃️☁️

Image
Do you have a lot of repositories on GitHub and are always making changes to them?  Do you work on multiple machines, and are struggling to keep the repositories in sync? Have you ever moved to a new machine and spent what seems like an eternity cloning all your projects one by one? If your answer to any of these questions was yes, well I have a solution for you.  Introducing  GHPM - GitHub Project Manager It is a utility to fix a few problems a developer faces while managing GitHub projects. GHPM allows you to clone all the repositories in a user's GitHub profile, saving you lots of time. All the repositories will be cloned in the current directory. It lets you pull and push changes for all the git repositories in a directory, saving you lots of cd and git pull/push. It also has a option to quickly change the remote repository protocol from http to ssh, so you don't have to manually use it. You can find all the installation and usage information here . If you...