I am trying to run my Django server but I get error (2003, "Can't connect to MySQL server on '127.0.0.1' (61)"). I have found information in this topic that the problem can by caused by MySQL port. I had checked it using SHOW GLOBAL VARIABLES LIKE 'PORT'; and I got value 0. It seems to me that it may be a reason. I have checked in my.cnf default port but everything seems to look good port = 3306. I wonder what should I do now? Thanks in advance.
SOLUTION:
I commented line skip-networking in my.cnf file.