Creating a mysql db, user and set password to it from cli
While developing a CMS we don’t have phpmyadmin, plesk or cpanel rather a simple cli. So to create a quick DB with a user who has all privileges to the DB and a password to the user just give these commands. this method will works for mariadb too. $ mysql -u adminusername -p Enter password:… Read More »