Dave Zavelson Posted July 17, 2015 Share Posted July 17, 2015 (edited) After successfully having done a prestashop install on a localhost, I am now trying my luck on my live site doing a brand new install to my hosting server (webhost4life.com). I'm going through the auto-install screens and I seem to be stuck on the Database Config screen. I have setup a new Sql database, added that information along with server address, name, password, etc. But when I click the "Test Database" button nothing happens at all. It doesn't seem like its even refreshing the page or anything. I'm using v1.6.1.0 just downloaded yesterday. I've also read about doing a php script to validate the Sql server address and I've created that and it seems to work without any error. Any ideas? Dave Edited July 17, 2015 by Dave Zavelson (see edit history) Link to comment Share on other sites More sharing options...
Zohaib-fk Posted July 21, 2015 Share Posted July 21, 2015 (edited) Hi Dave, Any error message showing on screen? One solution is try connecting database using simple php script. This will helps to know credentials are working or not. <?php $link = mysql_connect('localhost', 'mysql_user', 'mysql_password'); if (!$link) { die('Could not connect: ' . mysql_error()); } echo 'Connected successfully'; mysql_close($link); ?> Edited June 10, 2021 by Zohaib-fk (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