I have misplaced the phpmyadmin and mysql password in linux CentOS, i have reset it before manually but i have forgotten how to run mysql with --skip-grant-tables option on a lampp(linux xampp) server.
I tried the following
/opt/lampp/lampp startmysql --skip-grant-tables
service mysqld start --skip-grant-tables
using both of these mysql -u -root -p still asks for a password
All i need to know is how to start mysql with skip grant tables