Please note that if you don’t have a database selected whatsoever changes you perform will apply to current database which database is selected by default. in order to find out which database is selected currently you would want to run following command line.

Please make sure you are logged in to the MySQL first if you are not logged you can log in using following command.

mysql -u root -p

Now Enter the password and proceed with select database command

SELECT database();

If you get result NULL like this conselho

| database() |
| NULL       |
1 row in set (0.01 sec)

This means that no database is selected so any action performed will not be applied to any database
Lets move on to selecting a database first.

USE your_new_database;

Success Response will be as follows

Database changed

Now repeat following command line and see if the database was selected successfully.

SELECT database();
| database()   |
| new_database |
1 row in set (0.00 sec)

Awesome cialis generika 20mg preis! You managed to select database successfully now you can perform desired actions. cheers!

(Visited 27 times, 1 visits today)