return array('db' => array('driver'=> 'mysqli','dsn'=> 'mysql:dbname=zend;host=localhost',),'service_manager' => array('factories' => array('Zend\Db\Adapter\Adapter' => 'Zend\Db\Adapter\AdapterServiceFactory',),),
);
code of global.php
I just want to solve the error:
Fatal error: Uncaught exception 'Zend\ModuleManager\Listener\Exception\InvalidArgumentException' with message 'Config being merged must be an array, implement the Traversable interface, or be an instance of Zend\Config\Config. NULL given.
Can you please help me to solve this I want to create a page for the simple login page.also tell me the database connection way and configuration way. I'm new to zend.