MySQL Forums
Forum List  »  Newbie

Can't connect anymore to mysql after grant
Posted by: Olivier Meunier
Date: February 12, 2016 04:51AM

Hi,

I was doing a Silex tutorial and I execute this commande :

create database if not exists microcms character set utf8 collate utf8_unicode_ci;

use microcms;

grant all privileges on microcms.* to 'root'@'localhost' identified by 'secret';

And then I can't access mysql as root anymore. It says "Access denied". I've put in the my.ini the line "password = 'secret'" but no changes. Before that the root user did not have password.

Thanks a lot

Options: ReplyQuote


Subject
Written By
Posted
Can't connect anymore to mysql after grant
February 12, 2016 04:51AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.