For MySQL you need to run queries from your PHP Files only and do not need anything special folder access. phpMyAdmin would be there in your control panel to see the databases, create them and other stuff.