Anyone tried to connect a database from PlanetScale to a WordPress site ? #214
-
Hi, If someone can help, it will be really awesome ! Thx
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 19 replies
-
Hi @sebbeauchamp, After adding the following configuration directive, you should be all set and able to connect:
|
Beta Was this translation helpful? Give feedback.
-
Sorry @fooforge , I maybe though everything was find a little too quick after the installation, there was an issue with the table creation and I got this message "direct DDL is disabled" have you ever got this message ? Thx again |
Beta Was this translation helpful? Give feedback.
-
How did you get on with this? I tried it on a WordPress install running WooCommerce, albeit on the free tier, and the performance was abysmal.10 seconds to load some pages. |
Beta Was this translation helpful? Give feedback.
-
I keep getting this error when trying to import the wordpress db to planetscale: external database settings are not compatible with PlanetScale: "binlog_format" must be "ROW", but found: "MIXED" has anyone come across this? |
Beta Was this translation helpful? Give feedback.
-
Thanks for the response. I managed to migrate the DB but i can't connect from WordPress. I keep getting this error. I've double checked my connection settings (DB_NAME, DB_USER, DB_PASSWORD, DB_HOST) in wp config and ive added the line define( 'MYSQL_CLIENT_FLAGS', MYSQLI_CLIENT_SSL ); |
Beta Was this translation helpful? Give feedback.
Hi @sebbeauchamp,
After adding the following configuration directive, you should be all set and able to connect: