Mysql driver is incompatible with DigitalOcean managed database #54470
-
Laravel Version11 PHP Version8.3 Database Driver & VersionMySql 8 DescriptionHello,
Internal usage of information_scheme makes projects incompatible with DigitalOcean Managed MySql databases. I'm not sure on which end this should be resolved, either by you or DigitalOcean, to me this should be resolved on DO end but if you can reach as a company rather than us as individual users things might be faster. Steps To ReproduceNo steps needed |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hey @kenarsuleyman. Im not too familiar with Laravel in general however I have managed a similar issue in the past. The error is occuring because Laravel's database schema management, particularly in the MySqlGrammar class, relies on querying the information_schema to perform certain operations. I personally decided to migrate to another database supported by the MySqlGrammar class include AWS RDS, PostgreSQL , MariaDB and Google Cloud SQL. other possible solution comprise customizing the configuration file at config/database.php, requesting Feature changes to digitalOcean. Another possibility is that there are some syntatic issues with the Database connection so I will urge you to review these files as well. |
Beta Was this translation helpful? Give feedback.
Hey @kenarsuleyman. Im not too familiar with Laravel in general however I have managed a similar issue in the past. The error is occuring because Laravel's database schema management, particularly in the MySqlGrammar class, relies on querying the information_schema to perform certain operations. I personally decided to migrate to another database supported by the MySqlGrammar class include AWS RDS, PostgreSQL , MariaDB and Google Cloud SQL. other possible solution comprise customizing the configuration file at config/database.php, requesting Feature changes to digitalOcean. Another possibility is that there are some syntatic issues with the Database connection so I will urge you to review…