Where is MySQL installed on Ubuntu?

Where is MySQL installed on Ubuntu?
Answer
Resolution
  1. Open up MySQL’s configuration file: less /etc/my.cnf.
  2. Search for the term “datadir”: /datadir.
  3. If it exists, it will highlight a line that reads: datadir = [path]
  4. You can also manually look for that line. …
  5. If that line does not exist, then MySQL will default to: /var/lib/mysql.
7 авг. 2017 г.
 

Tìm kiếm

Back
Top