Another problem with Digitalocean DB cluster
When i’m trying to install Prestashop on new droplet Ubuntu LTS, PHP 7.3, MySQl 8, i got this error during installation step test database connection

Your database login does not have the privileges to create table on the database "defaultdb".

That if i’m using doadmin user with defaultdb database

But if i’m using another DB user with another database then i got this error

Your database login does not have the privileges to create table on the database "ps17dev01". Ask your hosting provider:
Storage engine MyISAM is disabled (Table creation is disallowed).

Before i can doing this, i was altering the authentication method from to mysqlnativepassword because somehow if using the default authentication method which is cachingsha2password i can’t connect to my DB cluster via my Droplet.

How to fix this problem ?
How to Create New Database and associate specific user to the database from DB cluster Control Panel Tab Users & Databases ?

Why it’s so complicated to use Digitalocean MySQL DB cluster ?

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.

1 answer


It looks like PrestaShop is failing to pick up the correct MySQL engine storage and is defaulting to MyISAM which is disabled on the managed MySQL cluster.

To fix that you could do the following:

Edit this file:

  • Look for the following:
if ($engine === null) {
        $engine = 'MyISAM';
  • And update it to:
if ($engine === null) {
        $engine = 'InnoDB';

Hope that this helps!

  • Thanks for your reply.
    I’ve been doing that after posting this.
    Test database connection is ok but still no luck … the installation stop (error) on 12% of progress.
    see []
    seems another incompatibility

    Also the additional user seems to be working after I reset the password from the More menu option under Users & Databases tab … however this is odd

Submit an Answer