ERROR 1046 (3D000) at line 1: No database selected

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
voshiotse
Posts: 1
Joined: Thu Dec 18, 2025 10:51 pm

ERROR 1046 (3D000) at line 1: No database selected

Post by voshiotse » Thu Dec 18, 2025 10:55 pm

I get the error "ERROR 1046 (3D000) at line 1: No database selected" after typing echo "INSERT INTO users VALUES ('admin',NULL,'root@localhost',-1,'Eve-NG Administrator','85262adf74518bbb70c7cb94cd6159d91669e5a81edf1efebd543eadbda9fa2b',NULL,'','admin','',0,-1,'internal',-1,-1,0,-1);" | mysql --
I ran this command so that I can login into the GUI with the default admin credentials

rusty725
Posts: 430
Joined: Thu Mar 29, 2018 4:19 pm

Re: ERROR 1046 (3D000) at line 1: No database selected

Post by rusty725 » Thu Dec 18, 2025 11:20 pm

run
unl_wrapper -a backupdb
unl_wrapper -a restoredb
reboot

Post Reply