Access without password why?

Hi. i installed mariadb on centos7, after i use mysql_secure_installation, i delete test db, i set root pwd but now i can login into mysql simply by:

  1. mysql without -u root -p

but if i add those it ask me for root pwd. i checked already mysql.user and there is noone user without pwd.

Any help plz.

Answer Answered by Tony Soprano in this comment.

Resolved, there was an hidded .my.cnf into /root made by iredmail installation

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.