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
ERROR 1046 (3D000) at line 1: No database selected
Moderator: mike
-
voshiotse
- Posts: 1
- Joined: Thu Dec 18, 2025 10:51 pm
-
rusty725
- Posts: 430
- Joined: Thu Mar 29, 2018 4:19 pm
Re: ERROR 1046 (3D000) at line 1: No database selected
run
unl_wrapper -a backupdb
unl_wrapper -a restoredb
reboot
unl_wrapper -a backupdb
unl_wrapper -a restoredb
reboot