Error in openscholar installation
Upon running Openscholar web-based installation, I got a message saying that the
connection to the mysql dbase had failed. i.e. could not connect to the (remote)
mysql server from the php-code.
Could not connect: Can't connect to MySQL server on 'MYSQL.SERVER' (13)
When I trid to connect from command line on the
same server the connection succeeded.
The problem turned out to be SElinux.
Had to run the following command:
setsebool -P httpd_can_network_connect_db=1