Reputation: 2039
I am trying to connect to a MySQL database with haskell. I have tried to install hdbc-mysql
and mysql-simple
but I get a
setup.exe: The program 'mysql_config' is required but it could not be found
Can anyone please help with getting either of those installed or point me to an alternative that works.
I am on windows 10.
Upvotes: 2
Views: 822
Reputation: 337
Did you install mysql client?
If you didn't, install mysql client first.
If you did, then check whether mysql_config --version
prints version or not in cmd.
When above command didn't work, find the mysql_config program and add it to your path environment variable.
Upvotes: 1