![]() Run the following commands to grant the user privileges to do anything: GRANT ALL ON *.* TO WITH GRANT OPTION However, you won’t be able to do anything with the user yet because we haven’t assigned it any privileges. You should now be able to connect with DBeaver using admin for the user name and whatever strong password you set above. Run the following commands to create a user called admin: USE mysql ĬREATE USER IDENTIFIED BY 'my very strong password' Run the mysql command with sudo so that you connect with the root user: sudo mysql Step 1: Connect to The MySQL Command-Line Client with root This tutorial will show you how to create an admin user that can be used by tools like DBeaver to create new users and databases. Perfect for development environments and practice labs.Īfter installing MySQL 8 on Ubuntu 20.04 you will notice there’s no way to create databases using tools like DBeaver because the root user is only accessible from the mysql client on the local machine.Ī good way to solve this problem is to create a superuser that can administer MySQL and leave the root user as is, so that you can always connect from the mysql client with root should you need to. Run Linux, macOS, vSphere and more on a single PC or Mac. Run Multiple Operating Systems on PC and Macĭownload VMware's Powerful desktop virtualization tool for Developers and IT Professionals.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |