chown -R mysql: mysql / var / lib / mysql change file owner and group by chown.
Format:
chown [option] ... [Owner] [: [group]] files ...
-R handle the specified directory and all files in subdirectories
chown -R mysql: mysql / var / lib / mysql change file owner and group by chown.
Format:
chown [option] ... [Owner] [: [group]] files ...
-R handle the specified directory and all files in subdirectories