Warning
Error Code:
3565
MySQL Error 3565: Missing Spatial Reference System
Description
This error occurs when MySQL cannot find a definition for a specified Spatial Reference System Identifier (SRID) within its internal system tables, such as `st_spatial_reference_systems`. It typically happens when a spatial function, operation, or column definition references an SRID that is either invalid, mistyped, or not properly registered in the database.
Error Message
There's no spatial reference system with SRID %u. The axis order is unknown.
Known Causes
4 known causesUndefined SRID
The Spatial Reference System Identifier (SRID) specified in your SQL statement or table definition does not exist or is not recognized by the MySQL server.
Incorrect SRID Value
A typographical error or an incorrect numeric value for the SRID was provided, leading MySQL to search for a non-existent system.
Missing SRS Definitions
The necessary definitions for common Spatial Reference Systems might be missing or corrupted within MySQL's internal `st_spatial_reference_systems` table.
Incomplete Migration/Upgrade
After a database migration or MySQL server upgrade, the spatial reference system definitions may not have been fully populated or updated.
Solutions
Coming SoonGeneral Troubleshooting Tips
- Check the error message carefully for specific details
- Review recent changes that might have caused the error
- Search for the exact error code in the official documentation
- Check log files for additional context
- Try restarting the application or service