Yesterday, I was installing LAMP stack on my local machine to get some work done. For some weird reasons, I thought I would be able to access the database as the root user through a non-root process. Here are some notes about that just in case I encounter such issues again in future. Installation First thing first, we need mysql binary to be able to create and manipulate databases. Let me get that from Arch Package Repository.