+3 votes
in Databases by (5.8k points)
After connecting to the MySQL server, how can I access a specific database from the command line?

1 Answer

0 votes
by (25.0k points)

To access a specific database from the MySQL command line, type 'use database_name;' command. Replace database_name with the database you want to access.
E.g.

MySQL [(none)]> use database_name;

Related questions

...