Hello guys ,
I wanted to allow my host with the command
The FreeBSD is newly installed, the database is also new, is the standard one.
Edit:
Now I noticed when I try to log in with
I use MySQL 5.5 version, I used 5.6 version too, and the same problems.
I wanted to allow my host with the command
USE mysql; Update user set host='myhost.mydomain.net' where user='root'; FLUSH PRIVILEGES;. When I executed the command I got the error
Code:
USE mysql; Update user set host='myhost.mydomain.net' where user='root'; FLUSH PRIVILEGES;
Database changed
ERROR 1062 (23000): Duplicate entry 'myhost.mydomain.net-root' for key 'PRIMARY'
Query OK, 0 rows affected (0.00 sec)
Edit:
Now I noticed when I try to log in with
mysql -u root -p , it says
Code:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
I use MySQL 5.5 version, I used 5.6 version too, and the same problems.