This video includes renaming database and how to resolve error 4064 in the SQL Server. When login's default database is renamed by any reason , if that login is trying to connect SQL Server then error 4064 will occur. At the end of video you have solution to resolve error 4064 .