set @ROW = 0;UPDATE `visitorhistory` SET `id` = @ROW := @ROW+1 ORDER BY `id` ASC;
Shopify, Shopify Apps, Magento, WordPress, Codeigniter, Joomla, Big Commerce | PHP
Showing posts with label Reindex. Show all posts
Showing posts with label Reindex. Show all posts
Wednesday, 28 August 2019
Re-index primary key in Mysql database table
Thursday, 26 April 2018
How to reindex | Upgrade | static-content:deploy | Cache flush | Cache clean | Important commands in Magento 2
You need to put this command on CMD | Terminal
For Upgrade data in Magento 2
For Upgrade data in Magento 2
php -dmemory_limit=5G bin/magento setup:upgradeFor code compile
php bin/magento setup:di:compileFor Reindex data in Magento 2
php -dmemory_limit=5G bin/magento indexer:reindexFor Static Content Deploy data in Magento 2
php -dmemory_limit=5G bin/magento setup:static-content:deploy -fFor Flush Cache in Magento 2
php -dmemory_limit=5G bin/magento cache:flushFor Clean Cache in Magento 2
php -dmemory_limit=5G bin/magento cache:cleanFor generate a new image cache
bin/magento catalog:image:resizeFor Files and Directory Permission
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
find var pub/static pub/media generated/ app/etc -type f -exec chmod g+w {} \;
find var pub/static pub/media generated/ app/etc -type d -exec chmod g+ws {} \;
chown -R ubuntu:www-data .
chmod u+x bin/magento
chmod -R 777 .
Subscribe to:
Posts (Atom)