MySQL: how to change the data location -


this question has answer here:

i use mysql 5.2.36 ce. when installed it, software installed

c:\program files (x86)\mysql 

the database location given

d:\abc\mysql 

i hoping change database location to

d:\def\mysql 

any quick way it? use windows 7 pro 64-bit machine.

thanks , regards.

shutdown mysql, move data directory new location, open my.cnf , change value of "datadir" new path.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -