nbarnum Posted February 11, 2015 Share Posted February 11, 2015 I have a test subdomain set up. The subdomain is directed to a folder where I added a test copy of prestashop. Before uploadig to the server I set the site in Maintenance mode/Disable shop. In the ps_shop_url table i set the domain to be test.domain.com. The physical uri is directed to the folder /test/prestashop/ I have the db set up and everything was working on my local test server. The password and db name match in the settings.inc.php file. However I keep getting this error: Link to database cannot be established: SQLSTATE[28000] [1045] Access denied for user 'dbusername'@'localhost' (using password: YES) What could I be missing? FYI my hosting service uses localserver as the _DB_SERVER_ name. Link to comment Share on other sites More sharing options...
mckm Posted February 13, 2015 Share Posted February 13, 2015 (edited) Try setting the database server to 127.0.0.1 (instead of localhost). i.e. Change _DB_SERVER_ value in the settings.inc.php to be as follows. define('_DB_SERVER_', '127.0.0.1'); Edited February 13, 2015 by mckm (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now