Skip to content

Estoy trabado.. #10

@Facu-mattiassi

Description

@Facu-mattiassi

Archivos de rutas
router.post('/add', async (req, res) => {
const { title, url, description } = req.body;
const newLink = {
title,
url,
description,

};
await pool.query('INSERT INTO links set ?', [newLink]);
req.send('recibided');
});

la consola muestra:
(node:9104) UnhandledPromiseRejectionWarning: Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions