Error with SQL:
  select
    m.make,
    m.make_id as make_id_db
  from car_makes m
  where exists (select 1 from car_ads a where a.make_id = m.make_id and expiry_date > sysdate() and dealer_id = 1002)
  order by make
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)