Where is mysql database stored Ubuntu?
Answer
The default data directory for the MySQL database server is
/var/lib/mysql as well. But the configuration file is different for MySQL database server. For MySQL, the configuration file is /etc/mysql/mysql.