Nhật Hương
Member
How do I run a MySQL query in terminal?
Answer
Pro tip
Answer
Pro tip
- Execute MySQL Client using the following command: mysql -u root -p.
- It is important to Create a New Database first using the command: create database demo_db;
- Then you have to Authorize the Database using the command: grant all on demo_db.* to ‘testuser’ identified by ‘12345’;