Your software
My Mautic version is: 3.1.2
My PHP version is: 7.3.27-9
My Database type and version is: Ver 15.1 Distrib 10.3.25-MariaDB
Hello,
I’m unable to find SQL credentials in mautic config files in order to migrate mautic to another server.
I have tried to find local.php but it’s missing, i have opened and check inside config.php, config_prod.php, security.php, parameters.php.
I’m unable to find documentation with the location of the actual SQL credentials.
Anyone can help me with that?
Regards,
joeyk
2
Weird. Should be in /app/config/local.php
How can i do to migrate it without loss of data?
joeyk
4
You need:
- DB
- files of your Mautic folder (also invisible files starting with .)
- in your local.php
‘site_url’ =>
Make sure DB version is according to your local.php settings.
Ok, i just find out that i was in the wrong vhost…
Files are present (local.php too), the problem is that all the environment will change, do i need to change all path in the file ?
Like, for example :
'cache_path' => '/var/www/html/app/../var/cache',
'log_path' => '/var/www/html/app/../var/logs',
Do i need to search&remplace “/var/www/html/” to "/web/mutual/mautic1/ or only the “db_xxx” are important?
Can i after this, upgrade to mautic 3 ?
Thanks for your help.
EJL
6
Changing the path from previous path is required in local.php. I use replace all function in emeditor