Category: MySQL

Unfortunately, we come across a situation where our root user become unprivilege what does it mean? root user does not have rights to perform operations on databases. There is one solution, if you have any other privilege user so you can assign all privileges to root user but the case become worse when you don’t have any other user except root user.

The solution is simple you need to update all root privileges fields in user table (mysql database) but you can’t perform that operation because your root user don’t have rights instead of directly updating or executing query you could use mysqld — mysql daemon (service which is running in the background).

Now your root become privileged and will have rights to perform any sort of operation.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners