How to connect my database wich is create in mysql in terminal?
1 Answer
You need to rephrase your question:
- if you need to connect via phpMyAdmin, you need to have it properly properly configured
- if you need to connect via command line you need either MySQL Shell or MySQL Utilities (for older versions)
From command line you need to follow these simple steps. For (a well configured) phpMyAdmin you have to connect with known credentials (regularly without root) and choose a database. https://www.tecmint.com/wp-content/uploads/2016/09/Disable-Root-Login-in-PhpMyAdmin-1.png