Change data folder in MariaDB: From your paths, I can safely assume the following: Please run the following in a DOS Window: You will see some sample my.ini files. However, if there is no file named my.ini in that folder, you must create one. Whether one exists or not, please run this: If you are asked to create it, please do so. Next, create the following entry under the [mysqld] group header in my.ini: Next, stop mysql from the DOS command line like this: Next, make a copy of the entire data folder in the new location Last step, start up mysql Try logging into mysql. Once you can login to mysql successfully, run this command: If F:\naveen\data shows up as the datadir, CONGRATULATIONS, YOU HAVE DONE IT RIGHT !!! |