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

1 Answer

+2 votes
by (354k points)
selected by
 
Best answer

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

...