Question

connection error or privileges to connect prestashop to database service

Your database access does not have the privileges to create tables in the “presta_shop” database. Check with your hosting provider: Storage engine MyISAM is disabled (Table creation is disallowed). You must have read permission on the “presta_shop” tables in the database. Ask your hosting provider to enable it. Unknown table ‘presta_shop.ps_test’


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello,

In case you are using a Managed Database cluster and you’ve created a new database user, you can follow the steps here on how to grant privileges for that new database user to your presta_shop database:

https://docs.digitalocean.com/products/databases/mysql/how-to/manage-users-and-databases/

In case that you are not using a managed database, then you can follow the steps form this tutorial here instead:

https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-20-04#step-3-creating-a-dedicated-mysql-user-and-granting-privileges

Let me know how it goes!

Best,

Bobby