According to the MySQL document, 2.10.1 Initializing the Data Directory:Change location into the top-level directory of your MySQL installation, represented here by BASEDIR:shell> cd BASEDIRBASEDIR is likely to be something like /usr/local/mysql or /usr/local. The following steps assume that you have changed location to this directory.You will find several files and subdirectories in the BASEDIR directory. The most important for installation purposes is the bin subdirectory, which contains the server as well as client and utility programs. I've checked /usr/local/mysql and /usr/local, but neither of them contains anything related to MySQL. which mysql returns /usr/bin/mysql, but I don't think /usr/bin would be MySQL's base directory.The document says I need to create a directory called mysql-files under BASEDIR, so I want to know where to find it.
Where is the BASEDIR for MySQL installed with APT on Ubuntu?
ubuntu;apt;software installation;mysql