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

1 Answer

0 votes
by (48.8k 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

+2 votes
1 answer
+2 votes
1 answer
+3 votes
1 answer

...