Where Is Mysql Stored Ubuntu?
Contents

It stores data as either MyISAM or InnoDB files, which are usually stored in /var/lib/mysql.

Where is mysql database stored Ubuntu?

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.

Where is the mysql database stored Linux?

MySQL stores DB files in /var/lib/mysql by default, but you can override this in the configuration file, typically called /etc/my. cnf , although Debian calls it /etc/mysql/my. cnf .

Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.

Share this article
Twitter Facebook Pinterest