Ibshas25 Posted November 1, 2010 Share Posted November 1, 2010 config.php file does the problem lie here it wont seem to connect to the database and gives me the code above <?php define( "DB_DSN", "mysql: host=vega.soi.city.ac.uk;dbname=abhr428"); define( "DB_USERNAME", "abhr428" ); define( "DB_PASSWORD", " i have taken password out" ); define( "PAGE_SIZE", 5 ); define( "TBL_USERS", "users" ); define( "TBL_ACCESS_LOG", "accesslog" ); ?> Link to comment https://forums.phpfreaks.com/topic/217505-connection-failed-sqlstate28000-1045-access-denied-for-user-abhr428loca/ Share on other sites More sharing options...
joel24 Posted November 2, 2010 Share Posted November 2, 2010 does your password contain any special characters? $, @, # etc? Link to comment https://forums.phpfreaks.com/topic/217505-connection-failed-sqlstate28000-1045-access-denied-for-user-abhr428loca/#findComment-1129232 Share on other sites More sharing options...
Ibshas25 Posted November 2, 2010 Author Share Posted November 2, 2010 just numbers....... i thought it could be the way in which the DSN was set up with the host ???? Link to comment https://forums.phpfreaks.com/topic/217505-connection-failed-sqlstate28000-1045-access-denied-for-user-abhr428loca/#findComment-1129353 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.