initialize mysql and set root user and a temporary password to it.
when i want to connect to mysql server it show me error:
mysql.client -uroot -p
Using config file: /home/hamid/snap/mysql/common/conf/my.cnf
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)