Database Not Found
Previous  Top  Next

When install.php is run, the following AShop error message appears.
Database name is incorrect. Check the settings.

1.Verify that the database settings are correct in config.inc.php.  
Note: Some new versions of AShop Software now have automatic path detection and setting within the install.php script. There will not be a path variable setting within config.inc.php for these versions. If this is the case, all of the configuration settings are now stored within the database table 'preferences', which can be managed by using a free program named phpMyAdmin
. This program or something similar is included with most virtual hosting services.

2.The config.inc.php file starts with <? instead of <?php and this server is configured to only allow <?php. As of version 3.6, all AShop scripts will begin with <?php. If you are installing an earlier version, open the script in a text editor and add the letters "php".  

3.The user in config.inc.php may not have permission to use the database. It is unusual for virtual hosting service to have this type of problem. We have only run into this on dedicated servers (at Rackspace hosting) so far. One way to fix this is by running the GRANT command from the command line MySQL client. This is typically performed by a server adminstrator.