Press "Enter" to skip to content

Posts tagged as “Linux”

How to move database directory for mariadb

# Create new directory for MySQL data mkdir /new/dir/for/mysql # Set ownership of new directory to match existing one chown --reference=/var/lib/mysql /new/dir/for/mysql # Set permissions…

How to login single user mode in ubuntu

How to login single user mode in Ubuntu 1. Go to GRUB screen and pass “e” key 2. See ro change to rw init=/bin/bash and…