ERROR 1046 (3D000) at line 1: No database selected code example Example: mariadb error 1046 (3d000) no database selected USE database_name;