Start off with login to mysql with root
$ mysql -u root -pUser your own username and password.
mysql> GRANT ALL PRIVILEGES ON *.* TO 'username'@'localhost' IDENTIFIED BY 'password';Log in using your new credentials.
$ mysql -u username -p
Comments
Post a Comment