niclasf wrote:I try to do a clean install, but I get into trouble in Step 2 of 6 Mysql settings.
I have tried two alternatives, but none of them work.
First I drop the old homeautomation mysql database, drop database homeautomation;
I create a new, create database homeautomation;
and do the GRANT ALL ON-stuff.
I unpack the 3.0-version and move+chown it to /var/www/
In Step 2 I fill in localhost, homeautomation, <username>, <passwd>
and press "Test Mysql connection"
Then I get "Couldn't establish contact with database, please check the settings."
To ensure nothing has gone wrong with the database creation I try 2.0.2-version instead.
It passes Step 2 without any problems. This time I save the generated mysql_settings.php-file.
I go back to the 3.0-version and this time I copy the mysql_settings.php-file from the 2.0.2-version into the 3.0-version.
Same result after pressing the "Test Mysql connection"
How can I get more traces of what is going on?
Hi,
Thank you for your input!
I'm suspecting that the response from the Mysql check is corrupt by some error message from PHP. Could you please help us debug this by opening the developer console in Chrome (on Windows by clicking F12, on Mac I'm not sure about what key combination is used). When you have the developer console open do the following:
- Click Net tab
- Click Mysql test connection button
- A new row should appear in the console related to the MySql test, click this
- Click Response tab
- Copy paste the response here
Also have a look at this image which explains the same procedure
https://developers.google.com/chrome-de ... sponse.png
If you can't get the developer console output just let me know and I'll help you.