wildcherry Posted October 16, 2014 Share Posted October 16, 2014 (edited) Hello! I was working on local server with Ps 1.5.6 and downloaded MAMP. I've done few changings to html files. Now it's happened that I've deleted MAMP and have downloaded it again on my mac (version 1.9.6, same that I was using). Now when I put the link to my 127.0.0.1:8888/prestashop/admin as I usually do to go to my backoffice, I get this message "Link to database cannot be established: SQLSTATE[42000] [1049] Unknown database 'prestashop'". Same when I try to go to my front office. I've already checked file setting.inc.php (in config folder) and all is same as before, because I didn't do any change to prestashop files. When I edit localhost:8888 it takes me to the following page, but if I click on prestashop folder I get the same message as above. Index of / Name Last modified Size Description prestashop/ 07-Oct-2013 13:28 - Apache/2.0.64 (Unix) PHP/5.3.5 DAV/2 Server at localhost Port 8888 Can anyone help me to get back to my website please? Edited October 16, 2014 by wildcherry (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted October 16, 2014 Share Posted October 16, 2014 you deleted MAMP and re-installed it. I suspect that means that any databases you had are also deleted. Have you opened mysql database using mysql client or phpmyadmin and confirmed that the database actually exists? Link to comment Share on other sites More sharing options...
wildcherry Posted October 16, 2014 Author Share Posted October 16, 2014 Solved it!!!! I've deleted file setting.inc.php (since that is created when you install prestashop), then I put in my prestashop folder the folder install (i took it from a new download of prestashop, same version), then I put the url localhost:8888 and clicked on the prestashop folder. The installation process started and now I have my website back! 1 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