20 Breweries near ... where?

Access denied for user 'root'@'localhost' (using password: NO)
SELECT brewery.name, brewery.address1, brewery.city, administrativearea.nom AS statename, country.nom AS countryname, brewery.zip, brewery.latitude, brewery.longitude, 7917.52*ASIN(SQRT((SIN(ABS(RADIANS(0)-RADIANS(brewery.latitude))/2)*SIN(ABS(RADIANS(0)-RADIANS(brewery.latitude))/2))+(COS(RADIANS(0))*COS(RADIANS(brewery.latitude))*(SIN(ABS(RADIANS(0)-RADIANS(brewery.longitude))/2)*SIN(ABS(RADIANS(0)-RADIANS(brewery.longitude))/2))))) AS dist, brewery.geoprecision, brewery._id, brewery.address2, country.postalcode, country.postfix, brewery.phone, brewery.tollfree, brewery.hours, brewery.brewer, brewery.public, brewery.bar, brewery.beergarden, brewery.food, brewery.giftshop, brewery.hotel, brewery.retail, brewery.tours, brewery.internet, brewery.email, brewery.status, country.telcode, administrativearea.beermapping FROM country INNER JOIN administrativearea ON (country.country = administrativearea.country) INNER JOIN brewery ON (administrativearea._id = brewery.region) WHERE (((brewery.status)='open' OR (brewery.status)='planned')) ORDER BY dist LIMIT 20