Error establishing a database connection after moving local wordpressmultisite from one directory to another

Thanks for sharing the issues. I will share you how can you move the wp website another folder. Please follow my instruction step by step.

Step 1: Copy the all source code this folder location “http://localhost/Wordpress/buddha” file.
Step 2: When you copy all file then Pleas paste the all source file this folder location “http://localhost/wp-buddha“.
Step 3: Create a new database from “http://localhost/phpmyadmin“. Then import the database.
Step 4: Open the config.php file and change the only database name.

define(‘DB_NAME’, ‘write_db_name_here’);

/** MySQL database username */
define(‘DB_USER’, ‘root’);

/** MySQL database password */
define(‘DB_PASSWORD’, ”);

Step 5: Please go to the database table “wp_options” change the URL link.

Please follow the screenshot instructions. Hopefully, it will be working fine.

https://drive.google.com/drive/folders/1RXW633LYUWuPdSBfj-UNKqCA_kzV–8N?usp=sharing