The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › Other › Page outside of WordPress won’t connect to the database › Re: Page outside of WordPress won’t connect to the database
change wp-load.php with wp-blog-header.php
require(dirname(CABSPATH).’/wp-blog-header.php’);