#1036 - Table 在 phpMyAdmin 中是只读的
#1036 - Table is read only in phpMyAdmin
我正在使用带有 phpMyAdmin 的数据库主机。此主机不是我的。
我在这个主机的 phpMyAdmin 中执行了这段代码:
INSERT INTO `fronton`(`id`, `Name`, `number`, `cover`, `ligth`, `type`, `height`, `widht`, `lenght`, `latitude`, `longitude`, `status`, `time`, `price`) VALUES (NULL , 'Barrikako Frontoia', '9', '1', '2', '0', NULL , NULL , NULL , '0,3454232', '0,32243243', '0', '0', '0')
出现这个错误:
1036 - Table 'fronton' is read only
我已经搜索了很多关于它的信息,但我什么也没找到。有谁知道我能做些什么吗?
已更新:
现在我正在使用名为 Hostinger 的主机服务,我遇到了同样的问题。
非常感谢!
我找到了问题的解决方案。而不是使用此代码:
ENGINE=MRG_MyISAM DEFAULT CHARSET=utf8mb4;
我必须使用:
ENGINE=innoDB DEFAULT CHARSET=utf8;
这是一个引擎错误。
如果您使用的是 windows 服务器,那么您在 my.ini
中注释行 innodb_force_recovery = 1
至 #innodb_force_recovery = 1
对我有用。
我正在使用带有 phpMyAdmin 的数据库主机。此主机不是我的。
我在这个主机的 phpMyAdmin 中执行了这段代码:
INSERT INTO `fronton`(`id`, `Name`, `number`, `cover`, `ligth`, `type`, `height`, `widht`, `lenght`, `latitude`, `longitude`, `status`, `time`, `price`) VALUES (NULL , 'Barrikako Frontoia', '9', '1', '2', '0', NULL , NULL , NULL , '0,3454232', '0,32243243', '0', '0', '0')
出现这个错误:
1036 - Table 'fronton' is read only
我已经搜索了很多关于它的信息,但我什么也没找到。有谁知道我能做些什么吗?
已更新:
现在我正在使用名为 Hostinger 的主机服务,我遇到了同样的问题。
非常感谢!
我找到了问题的解决方案。而不是使用此代码:
ENGINE=MRG_MyISAM DEFAULT CHARSET=utf8mb4;
我必须使用:
ENGINE=innoDB DEFAULT CHARSET=utf8;
这是一个引擎错误。
如果您使用的是 windows 服务器,那么您在 my.ini
中注释行innodb_force_recovery = 1
至 #innodb_force_recovery = 1
对我有用。