MySQL crear registros consecutivos

Para crear registros por medio de un loop

Para ejecutar la funcion

 

MariaDB on CentOS 7 – “Error in accept: Too many open files”

By default is seems the soft and hard open files limits on MariaDB in CentOS 7 are 1024 and 4096 respectfully. You can see these limits by first getting the process ID:

And then looking at the limits in the proc filesystem:

Notice the numbers for “Max open files”.

If you run into problems with MariaDB failing and you see errors like this in the log: