If you got the problem After Copying Mysql table data files manually MySQL service not running then check owner of copied files, to work MySQL the owner must be MySQL
mysql data folder in linux /var/lib/mysql
root/backup# cp databasefolder /var/lib/mysql
root# chown mysql.mysql databasefolder
root# cd databasefolder
root/databasefolder# chown mysql.mysql *
mysql data folder in linux /var/lib/mysql
root/backup# cp databasefolder /var/lib/mysql
root# chown mysql.mysql databasefolder
root# cd databasefolder
root/databasefolder# chown mysql.mysql *
No comments:
Post a Comment