Trying to get simple count from table results in exception bellow. Tried different select statemens which also makes exception: \"SELECT * FROM goods\", but \"<
SELECT * FROM goods
I had same problem using .net core 2.1, mysql, nhibernate.
After i added "Allow User Variables=True" to connection string in appsettings.json my problem solved.
"Allow User Variables=True"