0

I'm building a web app that takes a file from a form and then uploads it to an MySQL database.

Each time I run the code, I receive the following error:

Warning: mysqli_connect(): (HY000/2002) with MySQL

I am running the code on localhost

My localhost is connected to Localhost via UNIX socket

Some of the answers on stackexchange refer to MAMP but I'm not using that. Any solutions?

Dharman
  • 30,962
  • 25
  • 85
  • 135
d-dripz
  • 85
  • 1
  • 7

0 Answers0