I have tried:
use information_schema
update referential_constraints set delete_rule='cascade';
but got the following error:
ERROR 1044 (42000): Access denied for user ‘root’@’localhost’ to database ‘information_schema’
I have all privileges.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Information_schemais exactly that: information. It reports on the the objects in your databasesTo changes the object in your database you need to run ALTERs on them. You can’t do it via the
Information_schemaviews