简体   繁体   中英

After running query in phpmyadmin (xampp) when I click on Create view I get error 404

SELECT 
    make, 
    MIN(price) AS minimum, 
    MAX(price) AS maximum, 
    MAX(price) - MIN(price) AS price_range, 
    AVG(price) AS average, 
    COUNT(price) AS count 
FROM 
    cars 
    INNER JOIN makes USING (make_id) 
GROUP BY 
    make;

query runs fine but create view (phpmyadmin ver 4.7.9) brings this error:

Error in processing request
Error code: 404
Error text: Not Found (rejected)

It seems that the connection to server has been lost. Please check your network connectivity and server status.

Because there a lot of things that could be causing this I would advice you in the direction of reinstalling PMA to see if this fixes your issue. It might be just some installation issue.

I´ve been experiencing the same problem. My solution was quite simple: In PHPmyAdmin/SQL Edit, before de command SELECT just write de command CREATE VIEW

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM