Fix, defining if we should run the programm mysql driven or not, not functional yet. redefinition on failing connection isnt working.