1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[SQL] Operation not allowed when innodb_forced_recovery > 0 [SqlYog]

Discussão em 'Outras Linguagens' iniciado por Stack, Outubro 3, 2024 às 10:32.

  1. Stack

    Stack Membro Participativo

    I have created a table using SQLyog. When i insert values into it, it pops up following error message:

    Operation not allowed when innodb_forced_recovery > 0.


    My table consist only four columns including one primary key. Following is my create and insert queries:

    CREATE TABLE `news` (
    `id` int(10) NOT NULL AUTO_INCREMENT,
    `title` varchar(100) NOT NULL,
    `slug` varchar(100) NOT NULL,
    `descr` varchar(100) DEFAULT NULL,
    PRIMARY KEY (`id`)
    ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1

    insert into `test`.`news` (`title`, `slug`, `descr`)
    values ('titleOne', 'slugOne', 'descOne')

    Continue reading...

Compartilhe esta Página