Moodle: MySQL database lokasi
Jump to navigation
Jump to search
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.