Fixed the problem; caused by not using right mysql credentials