The statement '
			SELECT	COUNT(*) AS nts_count
			FROM	yb_map AS m
			WHERE	 (m.nts_block = 105 AND m.nts_sheet = 'A' AND m.nts_map IS NULL AND m.nts_compass IS NULL) ;
		' has an error:
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)