Our mysql servers are currently running version 8.0+. However, our vagrant instance is set to use mysql 5.6. Functions like REGEXP_REPLACE are only implemented for mysql 8.0+. It would be a good idea to match our mysql versions between dev and prod instances.