delete var/lib/mysql folders after dropping database via mysql
First, MySQL latest version is 8.x.x, so it's impossible for you to have 14.x, check that.
Second, maybe your data dir is not /var/lib/mysql. To check this variable run the following script and check the actual datadir for your instance.
mysql&gt; SHOW VARIABLES LIKE '%dir%';
&gt; +----------------------------+--------------------------------------------+
&gt; | Variable_name              | Value                                      |
&gt; +----------------------------+--------------------------------------------+
&gt; | basedir                    | /usr/local/mysql-max-4.0.13-pc-linux-i686/ |
&gt; | datadir                    | /usr/local/mysql/data/                     |

Also check for any errors when you run the DROP DATABASE sentence.