1. Make sure all of the following are correct when installing.
/** The name of the database for WordPress */
define( 'DB_NAME', 'database_name_here' );
/** MySQL database username */
define( 'DB_USER', 'username_here' );
/** MySQL database password */
define( 'DB_PASSWORD', 'password_here' );
/** MySQL hostname */
define( 'DB_HOST', 'localhost' );
/** Database Charset to use in creating database tables. */
define( 'DB_CHARSET', 'utf8' );
/** The Database Collate type. Don't change this if in doubt. */
define( 'DB_COLLATE', '' );
, then maybe you my hand is out of control switched the database to Mariadb, because wamp USES Mysql by default. Even though you have set up a corresponding database in Mariadb and have authorized it, it still doesn’t work.
switch back, right click, as shown in the picture below: