WP CLI : Error establishing a database connection in LocalWP

If you are using localwp for your local WordPress development then you might be face this database error issue at first time in WP CLI connection. Same things happen to me. Thats why I am helping you out. Here is the simple solution. You need to replace your DB_HOST from your wp-config.php file like below.… Continue reading WP CLI : Error establishing a database connection in LocalWP

Solve mysql is not recognized as an internal or external command

In command terminal of windows 10, mysql command is not rea By default windows 10 command terminal does not recognize mysql command. You need to add your server mysql path in you environment variable. Go to you server mysql path like mine. Add the above path in you environment variable. If you don’t know how… Continue reading Solve mysql is not recognized as an internal or external command

Set up nvm in Windows 10

In order to use nvm you need to install in through .exe file. Here is the link to download nvm. Browse this link and download nvm-setup.zip file. Simply extract and install the exe file. Now playground is ready to play. In my case my node version was 12.18.2 . In my development process, there is… Continue reading Set up nvm in Windows 10