Cant connect my database to Craft CMS 3? on windows

Hi, i have been using this blog https://medium.com/@madebyraygun/a-quick-and-easy-local-environment-for-craft-3-4fd7c7ff5815 as a referene but i can not seem to connect to my database and get Craft working? the .dev connection gives me error and when i click on start site i get a 503? please help me