Posts

Fixed - The configuration file now needs a secret passphrase (blowfish_secret) | vetechno

Image
The configuration file now needs a secret passphrase (blowfish_secret).   How to fix Error "The configuration file now needs a secret passphrase (blowfish_secret)." You’ll see this error after every installation of phpmyadmin in Ubuntu 16.04, Ubuntu 18.04 and Ubuntu 20.04. This error message at the bottom of the page when you first log in to /phpmyadmin (using a previously setup MySQL username and password ) How to resolve secret passphrase (blowfish_secret) ? To resolve this issue you have to do some changes in config.inc.php. Just open /etc/phpMyAdmin/config.inc.php file  OR  /var/www/html/phpMyAdmin/config.inc.php   file (or rename config.sample.inc.php to config.inc.php if you haven’t done so yet ) and  look for following code :-  $cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */ Replace the  secret passphrase with a given below string that is at least 32 characters long: $cfg['blowfish_secret'] = ' /9pjjzGQy,]sG-NN00...

Visual Studio Code Black Screen Windows 7, 8.1 and 10

Image
Enable Ginger Cannot connect to Ginger Check your internet connection or reload the browser Disable in this text field Edit Edit in Ginger Edit in Ginger × Visual Studio Code Black Screen Windows 10 Due to compatibility issue of Visual Studio Code with Windows Operating system this type of errors generally comes. In this guide we will fix Visual Studio Code Black Screen on Windows 7, 8.1 and 10. Please follow the below steps: Also Read:-  How to Download and install Windows 11 on Virtual Box | VMware | Laptop How to Fix Visual Studio Code Black Screen Step1. Right-click on VS Code Shortcut ---> go to properties ---> add     --disable-gpu to Target: (Shown in screenshot below)      "C:\Program Files\Microsoft VS Code\Code.exe" --disable-gpu   Put same as shown in the above screenshot. Step2 . Now go to compatibility tab and in compatibility mode, tick the box "Run this program in compatibility mode for ". 1. For windows 7 :- Selec...

PhpMyAdmin error requested authentication method unknown to the client [caching_sha2_password]

Image
PhpMyAdmin error requested authentication method unknown to the client [caching_sha2_password] This error comes due to authentication problem. When you  try to login into MySQL by terminal, you  get the success . But when you try to login with PhpMyAdmin this error comes. To fix this issue you have to do ALTER user in table and provide complex password. Below is the two line of command that you have to enter into MySQL database. Replace your user and user_password with your own. mysql> ALTER USER 'user'@'localhost' IDENTIFIED WITH   mysql_native_password BY 'user_password'; mysql> FLUSH PRIVILEGES; mysql> exit If above is not fixed your error/issue then create a new user with grant privileges and login with new credentials. mysql> create user 'vetechno'@'localhost' identified by 'vetechno@@1234'; mysql> grant all privileges on . to 'vetechno'@'localhost'; mysql> ALTER USER 'vetechno'@'loc...

How to Downgrade PHP 7.4 to PHP 7.3 in Ubuntu 20.04 LTS?

Image
Downgrade PHP 7.4 to PHP 7.3 in Ubuntu 20.04 LTS In this blog we will learn how to downgrade PHP 7.4 to PHP 7.3 . Before we start make sure you have root access of the terminal. What we will do is simply disable PHP 7.4 and install or enable PHP 7.3 from the terminal. Following are the below steps to how to switch PHP 7.4 to PHP 7.3 :- Step1. First, Adding PPA repository sudo add-apt-repository ppa:ondrej/php Step2. Update the repository sudo apt-get update Step3. Install php 7.3 sudo apt-get install php7.3 Step4. Lastly Installing php 7.3 extension sudo apt-get install php7.3-cli php7.3-common php7.3-json php7.3-opcache php7.3-mysql php7.3-mbstring  php7.3-zip php7.3-fpm php7.3-intl php7.3-simplexml Step5. Disabling php 7.4 sudo a2dismod php7.4 Step6. Enabling php 7.3 sudo a2enmod php7.3 Step7. Restart Apache2 sudo service apache2 restart Now check  php version by typing php -v in the terminal vikash.ekka@vetechno:~/Desktop$ php -v PHP 7.3.2 (cli) (built: Oct 6 2020 15:47:5...

Your requirements could not be resolved to an installable set of packages. Composer Yii2 PHP extension - FIXED

Image
This is the output of error on the terminal when we are installing Yii2 on Ubuntu 20.04 LTS. vetechno@ubuntu:~$ composer create-project --prefer-dist yiisoft/yii2-app-basic test_demo1 Creating a "yiisoft/yii2-app-basic" project at "./test_demo1" Installing yiisoft/yii2-app-basic (2.0.35) - Installing yiisoft/yii2-app-basic (2.0.35): Loading from cache Created project in /home/vetechno/test_demo1 Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages. Problem 1 - codeception/codeception 4.1.5 requires ext-curl * -> the requested PHP extension curl is missing from your system. - codeception/codeception 4.1.4 requires ext-curl * -> the requested PHP extension curl is missing from your system. - codeception/codeception 4.1.3 requires ext-curl * -> the requested PHP extension curl is missing from your system. - codeception/co...

How to Install MySQL 8.0 on Ubuntu 16.04 LTS | vetechno

Image
How to Install MySQL 8.0 on Ubuntu 16.04 LTS This tutorial will help you how to install MySQL 8.0 on Ubuntu 16.04 LTS. MySql 8.0 is a free open source relational database server. It supports both SQL and NoSql. Enable Ginger Cannot connect to Ginger Check your internet connection or reload the browser Disable in this text field Edit Edit in Ginger Edit in Ginger × So first you have to  download .deb package of MySQL 8 . Then simply follow the below commands to install MySQL 8.0 on Ubuntu. wget https://dev.mysql.com/get/mysql-apt-config_0.8.10-1_all.deb   sudo dpkg -i mysql-apt-config_0.8.10-1_all.deb sudo apt-get update   sudo apt-get install mysql-server sudo mysql --verson Done!! You have successfully installed MySql 8.0 on Ubuntu 16.04. This method will also work on Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. If you have any doubt let me know in this comment box. Enable Ginger Cannot connect to Ginger Check your internet connection or reload the browser Disable in this...

How to reset forgotten password on Ubuntu/Linux Operating System.

Image
How to reset forgotten password  on Ubuntu In this tutorial post, we are going to reset the forgotten password on Ubuntu 20.04 LTS. This same method will also work on other Debian distro too.   All you need to restart your Ubuntu system and press/hold 'ESC' or 'Shift' key to open GNU GRUB menu. Then select Advanced option of Ubuntu . After that select 'Recovery Option' and hit 'Enter' . Now you need to select 'Root' and hit 'Enter' to get into terminal. Below are the following commands to reset the Ubuntu password Step1. mount -o remount,rw / Step2. ls /home Step3. passwd <your_username> Step4. reboot Enable Ginger Cannot connect to Ginger Check your internet connection or reload the browser Disable in this text field Edit Edit in Ginger Edit in Ginger × Enable Ginger Cannot connect to Ginger Check your internet connection or reload the browser Disable in this text field Edit Edit in Ginger Ed...