I've just installed the mysql, and its default database (mysql and
performance_schema), so I connect with:
mysql -u root
Initialy there is not password.
and when I :
show grants for 'root'@'localhost';
I got :
GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' WITH GRANT OPTION
GRANT PROXY ON ''@'' TO 'root'@'localhost' WITH GRANT OPTION

On Friday, March 8, 2013, Reindl Harald <h.rei...@thelounge.net> wrote:
>
>
> Am 08.03.2013 15:53, schrieb frederic nivor:
>> I use mysql-5.6.10 on a cross-platform.
>> when I :
>> use mysql;
>> I got :
>> ERROR 1049 (42000): Unknown database 'mysql'
>> but when I :
>> select  User,Host,Password from mysql.user;
>> I got the right results.
>> Did I do something wrong in configuration ?
>
> what user?
> what permissions has the user?
>
>

Reply via email to