Thank you. I had errors when I ran the commands. I also posted the errors.
Now I am running in problem when I installed the tar.gzfile for Magento 2.3.2. The installation hangs at 49% completion. It seems there are no solutions for this error? Nobody offered any solution.
Hello @deepakdeshp ,
There are two common methods by which we can setup Magento 2 Sample Data in your store. Composer and Magento CLI. You can use Magento Cli method:
Step 1: Make sure that Magento CLI path is exported. From store’s webroot, Issue the following command if Magento CLI’s path is not exported.
export PATH=$PATH:$(pwd)/bin
Step 2:
magento sampledata:deploy
Step 3:
magento setup:upgrade
Please try the above steps and if you get any error please let us know the error, so that we can check that.
If it helps you, please give us kudos and accept it as solution.
Thank you.
I havent followed the method given by Sarvagya.
I downloaded the tar.gz file with data and executed
create database magento; create user magento IDENTIFIED BY 'magento'; GRANT ALL ON magento.* TO magento@localhost IDENTIFIED BY 'magento'; flush privileges;
I installed using the web method and this time the install with data was successful.
Great
Thank you.