Moodle: MySQL database lokasi
Revision as of 10:59, 19 April 2024 by Onnowpurbo (talk | contribs) (Created page with " By default, MySQL stores database files in the /var/lib/mysql directory, but this can be changed in the configuration file. The file is usually /etc/mysql/mysql.conf.d/my...")
By default, MySQL stores database files in the
/var/lib/mysql
directory, but this can be changed in the configuration file. The file is usually
/etc/mysql/mysql.conf.d/mysqld.cnf
To find the current data directory, use the command
mysql> select @@datadir
at the mysql prompt.