Basically the files ib_logfile0,ib_logfile1 contains the databse table structure and responsible for identifying the path for database connection. You will be able to find all the databases in /var/lib/mysql but all the tables using innoDB database engine are corrupted and will show the database connection error, because of removal of ib_logfile0,ib_logfile1.
Therefore you have to recover table structure from .frm files with MySQL Utilities
I am sharing one link rest you have to find.
https://www.percona.com/blog/2014/01/02/recover-table-structure-frm-files-mysql- utilities
Other way is backup your all databases and try to recover it with force recovery.
edit
my.cnf file
and add beow line in your mysql configuration file
innodb_force_recovery = 1
now, start the mysql service. Under the mysqld section of the config file you can add innodb_force_recovery = 0 – 6.
Levels 1-4 are pretty safe as most data is preserved. Setting the level to 5 or 6 gets a bit more risky as you could lose some data.
Wish you LUCK.