GuusS Posted July 13, 2010 Share Posted July 13, 2010 Hi, while installing Prestashop 1.3.1 on PHP 5.2.13 and MySQL 5.0.91 the installer tells me it can't find the database server. I've tested with a simple php file to connect to the database and to select the right database, this test was succesful but still the installer can't find the database server.Database server name: localhostDatabase name: rvspaleis_dbLogin: rvspaleis_userPassword: *****The database exists, so does the user for this database, password is ok too since the simple test is succesful.I've tried the IP number of the site and I've tried 127.0.0.1 instead of localhost but to no avail.The code of the test file is: <?php $link = mysqli_connect('localhost', 'rvspaleis_user', '********'); if (!$link) { die('Unable to connect to the database server.'); } else { echo ' Database found.'; } if (mysqli_select_db($link, 'rvspaleis_db')) { echo 'db selected'; } ?> Anyone any idea?Edit: went on by creating the exact same situation on my local LAMP server and installed Prestashop in a breeze. There are small differences in version php and mysql (5.2.6 and 5.045) but this can't be the cause. Well mailed the provider to see if they can think of anything.SOLVED:Apparently the troubles were caused by safe_mode = on I requested this setting at my provider because the system administrator guide (http://www.prestashop.com/wiki/System_administrator_guide/) says so. Now we turned safe_mode off and all is well. Link to comment Share on other sites More sharing options...
boylibre Posted August 13, 2010 Share Posted August 13, 2010 I also got stuck at step 3, there is no indication that it can't find the server, it just didn't move (http://www.prestashop.com/forums/viewthread/65672/#284814).Referring to System Administration Guide, it mentions that it has to be done after installing PS, not before.But I will give it a try anyway, who know it solves the problem.Cheers,boylibre 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