GoGreen PC TuneUp™
Learn More

Insta-Install™
this is how we code sign our software and ssl encrypt our websites from our affiliate partner SSL.com
MTNCOMP | List | Table

myBlog

myBlog Home

Blog


Linux Tux SQL

Mariadb SQL service times out on Linux Mint (Ubuntu 18.04) (tricia)

by Mountain Computers Inc., Publication Date: Friday, June 5, 2020
View Count: 255, Keywords: Linux Mint (Ubuntu 18.04), MariaDB, Service Timeout, App Armor, Hashtags: #LinuxMint(Ubuntu18.04) #MariaDB #ServiceTimeout #AppArmor



Yep, lots of different opinions on this one problem, and it has happened a lot of times. something MSSQL would never do - yet MariaDB 10 does on Linux mint (Ubuntu 18.04) (tricia) and this worked.

(base) andyf@MTN-SYS:~$ Job for mariadb.service failed because a timeout was exceeded.
See "systemctl status mariadb.service" and "journalctl -xe" for details.
[1]+ Exit 1 systemctl start mariadb
 
sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/
 
REF: 
https://askubuntu.com/questions/750604/why-does-mariadb-keep-dying-how-do-i-stop-it
--------------------

	
 (base) andyf@MTN-SYS:~/web/dns$ systemctl status mariadb
● mariadb.service - MariaDB 10.1.44 database server
Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
Active: activating (start) since Fri 2020-06-05 08:36:57 PDT; 13min ago
Docs: man:mysqld(8)
https://mariadb.com/kb/en/library/systemd/
Process: 12973 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`/usr/bin/galera_recovery`; [ $? -eq
Process: 12969 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Process: 12965 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS)
Main PID: 13054 (mysqld)
Tasks: 29 (limit: 4915)
CGroup: /system.slice/mariadb.service
└─13054 /usr/sbin/mysqld

Jun 05 08:36:57 MTN-SYS systemd[1]: Starting MariaDB 10.1.44 database server...
Jun 05 08:36:57 MTN-SYS mysqld[13054]: 2020-06-05 8:36:57 139746446814336 [Note] /usr/sbin/mysqld (mysqld 10.1.44-MariaDB-0ubun
 

if you found this article helpful, consider contributing $10, 20 an Andrew Jackson or so..to the author. more authors coming soon
FYI we use paypal or patreon, patreon has 3x the transaction fees, so we don't, not yet.

© 2021 myBlog™ v1.1 All rights reserved. We count views as reads, so let's not over think it.