In this way, you can create the MySQL Databse in PHPMyAdmin. ![]() Select the Database you want to assign to the old user and then just click on the Go button given at the right bottom of the screen. Inside the Edit Privileges, click on the box given in front of the Global privileges option and click on the Database option given under the User account section. Here in this PHPMyAdmin tutorial, we are assigning the root user to our above created newly database. After that click on the Edit Privileges option. Go on User Accounts section from the Menu and then select the Database user which you want to assign your new Database. For that follow the steps: How to Assign an Old user to new Database in PHPMyAdmin ![]() You will get the confirmation on the above of your screen that the Database user has been created successfully and assigned to the Database.ĬREATE USER ‘ Test IDENTIFIED WITH mysql_native_password AS ‘***’ GRANT USAGE ON *.* TO REQUIRE NONE WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 GRANT ALL PRIVILEGES ON `s`.* TO ‘ suppose you don’t want to create a new Database user and need to assign some old MySQL database user to your newly created DATABASE. Secondly, if you want to give the Global privileges including the administrative rights then you can check the Global privileges option too.Īfter giving the privileges, just scroll down and click on the Go button. This will give all permission of your newly created database to the user you have created. Note: If you want to create a Database user without privileges then leave this step and directly click on the GO button.Ĭheck the box given in the front of Grant all privileges on the database. Note: You can also use the Generate button to create strong and some random password. Note: If you want to create a Database user without password or login then just click on the drop box given in front of the Password column and select the No Password option.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |