This section will allow to insert the host's name and user account by default and set them up with the correct password, as allocated to them in the php.ini folder. Mysql> GRANT ALL PRIVILEGES ON *.* TO IDENTIFIED BY ' your current password ' WITH GRANT Insert the host and password To be able to reset the root rights, you should enter the following commands:
Step 3: Concerning the server commands, change $cfg = 'localhost' to $cfg = 'Localhost' Where $cfg = '' is displayed, alter the command to $cfg = 'localhost/phpmyadmin/' Step 2: Through phpMyAdmin/librarires, you should edit. That is, the user doesn’t have access permission to the file or the file is already used. This can be easily configured using the following steps: When accessing access denied, it means your system cannot retrieve the file that the user is requesting.
This happens when it requires you to enter a password and the user has either entered the wrong one or has not provided one at all. Beginners may face problems accessing MySql by the root.