MySQL Forums
Forum List  »  Install & Repo

Re: Unable to start msyqld service after modifying datadir from default /var/lib/mysql to /u01/mysql
Posted by: Peter Brawley
Date: December 22, 2020 10:00AM

You did this?

Quote

Grant directory user and group ownership to the mysql user and mysql group, and set the directory permissions appropriately:

chown mysql:mysql mysql-files
chmod 750 mysql-files

-- https://dev.mysql.com/doc/mysql-linuxunix-excerpt/8.0/en/data-directory-initialization.html



Edited 1 time(s). Last edit at 12/22/2020 10:00AM by Peter Brawley.

Options: ReplyQuote


Subject
Written By
Posted
Re: Unable to start msyqld service after modifying datadir from default /var/lib/mysql to /u01/mysql
December 22, 2020 10:00AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.