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
Category: Quick Fix
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
Solve no such file or directory problem in WP CLI
We all are used to update all plugins and themes from the admin panel of our WordPress site. It’s so easy. Enter to your dashboard, open plugin page and update individual plugin. Update theme or plugin from WP CLI is also so easy. But at first time, most of the dev face some issue to… Continue reading Solve no such file or directory problem in WP CLI
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
How to fix primordials is not defined
This primordials issue occurs when you have some different version for gulp and node. If you are using node 12 and gulp 3, then this problem happen while you automate your task. Here is the quick solution for you. If you are using yarn then add below snippet for in you package.json file and install… Continue reading How to fix primordials is not defined