Did you explicitly set your MySQL instance to listen on port 3036, or is that a typo in your code? The default port for MySQL is 3306. Since the error message says you can't open the connection, I guess it's a typo in your code. Specify the correct port there.
However I see you already have another long thread in which the difference between 3036 and 3306 has been discussed at length. Please don't post the same problem in multiple threads, it is confusing and wasteful. I will close this one.