No, you should run mysql -u root -p
in bash, not at the MySQL command-line.
If you are in mysql, you can exit by typing exit.
More Related Contents:
- Should I use the datetime or timestamp data type in MySQL?
- Delete all Duplicate Rows except for One in MySQL? [duplicate]
- MySQL string replace
- What is the difference between utf8mb4 and utf8 charsets in MySQL?
- How do I find the MySQL my.cnf location
- How do I get the current time zone of MySQL?
- What’s faster, SELECT DISTINCT or GROUP BY in MySQL?
- MySQL select one column DISTINCT, with corresponding other columns
- How do I create a sequence in MySQL?
- How to remove accents in MySQL?
- MySQL search and replace some text in a field
- Why is MySQL InnoDB insert so slow?
- How to create linked server MySQL
- Group mysql query by 15 min intervals
- MySQL FULL JOIN?
- How to fill in the “holes” in auto-increment fields?
- Using Count to find the number of occurrences
- Is there any reason to worry about the column order in a table?
- MySQL Incorrect datetime value: ‘0000-00-00 00:00:00’
- How to change MySQL table names in Linux server to be case insensitive?
- MySQL command line formatting with UTF8
- MYSQL select DISTINCT values in two columns
- MySQL Select ID’s which occur on different rows with multiple specific values for a column
- Use promise to process MySQL return value in node.js
- where does MySQL store database files?
- How can I achieve initcap functionality in MySQL?
- MySQL throws Incorrect string value error
- ORDER BY alphabet first then follow by number
- mysql create table dynamically
- Errno 121, duplicate key on write or update?