Solved

[Solved] MySQL service not starting – Job for mariadb.service failed because the control process exited with error code. journalctl -xe

Issue / Error:- [[email protected] ~]# service mysqld restart Redirecting to /bin/systemctl restart mysqld.service Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details. MySQL error logs:- [[email protected] ~]# cat /var/lib/mysql/server.the-d2.com.err 2019-10-20 10:12:56 1220654356911872 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2019-10-20 10:12:56 1220656458905792 [Note] InnoDB: Highest supported file format is Barracuda. 2019-10-20 10:12:56 1220656458905792 [Note] InnoDB: 128 out of 128 rollback segments are active. 2019-10-20 10:12:56 1220656458905792 [Note] InnoDB: Creating shared tab

Read More
Magento

Get BaseURLs from Database via CLI – Magento

Login to MySQL root or limited user, then use the database:- use the-d2.com_db; MariaDB > select * from core_config_data where path like '%base%url%'; +-----------+---------+----------+-----------------------------+------------------------------------------+ | config_id | scope | scope_id | path | value | +-----------+---------+----------+-----------------------------+------------------------------------------+ | 52 | default | 0 | web/unsecure/base_url | https://www.the-d2.com/ | | 53 | default | 0 | web/unsecure/base_link_url | {{unsecure_base_url}} | | 54 | default | 0 | web/unsecure/base_skin_url | {{unsecure_base_url}}skin/ | | 55 | default | 0 | web/unsecure/base_media_url | {{unsecure_base_url}}media/ | | 56 | default | 0 | web/unsecure/base_js_url | {{unsecure_base_u

Read More