How to change the Database info

Hi,



I want to change my existing Mautic Database info.



Can you please send me the file path. where i can change it.



thanks

Hi,

I want to change my existing Mautic Database info.

Can you please send me the file path. where i can change it.

thanks

I founded the file.

thanks

i have done the database info in local.php file and still its showing the following error

Database connection error (code #1045)

Kindly please advise asap.

Thanks

Hi Mohitgarg

If you changed the config file you will definitely need to clear cache. you can do this by delete the app/cache directories. Assuming all your other database connection details are valid and the database is populated with all the necessary mautic tables, things should be up and running.

Thank you sir … its works now…

Can i ask how to clear the cache directories?

There is a command for it:

php app/console cache:clear

or delete the app/cache folder.

@mohitgarg i have also same issue … i also deleted the cache folder but still i have issue . and i am unable to send a mail also

I’m trying to find the file with the credentials, but can’t. Using 2.8.2. Anyone can tell the path on that version?