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’

Subscribe
Share

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

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.

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