Answers for "how to create a mysql root user in debian"

SQL
2

create user mysql debian 10

mysql -u root -p
--enter password--
CREATE USER 'user'@'localhost' IDENTIFIED BY 'password';
CREATE DATABASE `myDB`;
GRANT ALL PRIVILEGES ON myDB . * TO 'user'@'localhost';
FLUSH PRIVILEGES;
Posted by: Guest on December-22-2020
0

how to connect to the database as root user in linux

GRANT ALL PRIVILEGES ON *.* TO 'username'@'localhost' IDENTIFIED BY 'password';
Posted by: Guest on May-26-2020

Code answers related to "how to create a mysql root user in debian"

Code answers related to "SQL"

Browse Popular Code Answers by Language