Help needed to connect to data base

Hi,

im getting this message when trying to log in the emopi to set up the new system. this is a brand new pre installed card:

 

Can't connect to database, please verify credentials/configuration in settings.php
Error message: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Morgai's picture

Re: Help needed to connect to data base

I'm getting exactly the same with a brand new installation on my own SD Card (32Gb). Any help would be appreciated.

Morgai's picture

Re: Help needed to connect to data base

Found this in another thread

As the file system is read only you will also need to issue the following...

sudo mount -o remount /

to allow you to write the file back to disk before you issue the sudo nano command to edit the file.

 
Hope this helps. I'm assuming that like me you have an older model B which you want to run this on :)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.