For some reason, when I create function, that creates new Article. I get this error:
An exception occurred in driver: SQLSTATE[HY000] [2002] Connection refused