βοΈCommon WordPress Installation Errors
β
1. Wrong database name, user, or password
define( 'DB_NAME', 'wp_lab' );
define( 'DB_USER', 'wp_user' );
define( 'DB_PASSWORD', 'password' );
define( 'DB_HOST', 'localhost' );β
2. MariaDB is not running
sudo systemctl status mariadbsudo systemctl start mariadbβ
3. User doesnβt have permissions
β
4. Wrong DB host
β
5. Socket issues
β
6. Test the database connection manually
Last updated