No database selected while create tabeles code example Example: mariadb error 1046 (3d000) no database selected USE database_name;