I upgraded from Windows 7 to Windows 10 recently, and installed WAMP. This is my first time working with WAMP.
I am getting following error message in one of my Codeigniter project I was working in windows 7 setup and I don't know what to make of it. The page keeps on loading and loading and then fails with the error message.
Message: mysqli::real_connect(): (HY000/2002): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Further done the page this is the message I get :
Unable to connect to your database server using the provided settings.
The hostname, username, password and database are correct.
But if I change dbdriver to mysql from mysqli then the website loads, but with the following error.
Message: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
What am I doing wrong ?
Note: Oh and yes, I can access phpmyadmin