Before runing this query please take your database backup.You may face too many redirect issue in category admin view. So that error please check any third party module is using the category data or not for ex.. mageplaza seo, amasty xsearch this type of module may cause some issue in category view page. Delete all customers at once. SET FOREIGN_KEY_CHECKS=0; -- Customers TRUNCATE TABLE `customer_address_entity`; TRUNCATE TABLE `customer_address_entity_datetime`; TRUNCATE TABLE `customer_address_entity_decimal`; TRUNCATE TABLE `customer_address_entity_int`; TRUNCATE TABLE `customer_address_entity_text`; TRUNCATE TABLE `customer_address_entity_varchar`; TRUNCATE TABLE `customer_entity`; TRUNCATE TABLE `customer_entity_datetime`; TRUNCATE TABLE `customer_entity_decimal`; TRUNCATE TABLE `customer_entity_int`; TRUNCATE TABLE `customer_entity_text`; TRUNCATE TABLE `customer_entity_varchar`; TRUNCATE TABLE `customer_grid_flat`; TRUNCATE TABLE `customer_log`; TRUNCATE TABL...
apt install docker docker-compose #if not installed then run this command in local for installing docker-compose up -d #To start docker services if not run 4-services then use this commands docker-compose down #To stop docker if requited docker exec -it php-fpm bash #enter in docker cli docker exec -it db bash enter database on cli then use it. sudo a2enmod proxy_http #enable proxy module ===import Db in Docker==== docker exec -i [your Docker db host] mysql -u [userName] -p[pswd] [yourDatabaseName] ==== VirtualHost for docker project : == create this virtual host using normal process as we create and put this code for docker project. ServerName [HostName] #xyz.local.com ServerAdmin webmaster@localhost ProxyPass / http://localhost:81/ ProxyPassReverse / http://localhost:81/ ProxyPreserveHost On ProxyRequests Off ProxyVia On ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined
Comments
Post a Comment