most actions done for mysql setup