Quote:
Originally Posted by LordAdakos
it tells me: ERROR 1046: No database found.
|
Error 1046 is No Database Selected.
Before you do the INSERT, you need to tell it which database to use. For example, if you called your database peq, you would type:
use peq;
and then execute the INSERT command.
I use Linux, and my current DB is called Ykesha, so this is what it looks like, but it is similar under Windows:
Code:
xxxxx@yyyyy ~ $ mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 39 to server version: 5.0.26-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> use ykesha ;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql>
After it says 'Database changed'. type in the INSERT INTO VARIABLES command for minilogin.