but am using the same site set up in both 2015 and 2017 and 2017 isnt having this problem
The only error I am getting is when trying to create a recordset or use a server behaviour/binding that requires it to use the db connection. For example, trying to create a mysql recordset I get this: http://prntscr.com/evq7zc and when I try to create a mysqli one I get this: http://prntscr.com/evq8f9