No Extension None of the supported PHP extensions (MySQLi, MySQL, PDO_MySQL) are available

I’m also on Windows 10

Hi @thanimag,

Apologies for the trouble with Adminer!

If you create a new site, are you also unable to access its DB using Adminer?

It appears so. I get the same message that I get with my established site.

Still wanting to get a solution to this. Need to access the database. Any idea what’s going on?

@thanimag,

We’re still looking into the root cause of this since we’re unable to reproduce this on Windows 10 64-bit and 32-bit.

In the meantime, you can always connect to the database using a tool such as https://www.heidisql.com/ or https://wordpress.org/plugins/wp-dbmanager/.

I am also having this problem. I used the connection with WP Engine to pull down a site, but I can’t load the site and adminer says “None of the supported PHP extensions (MySQLi, MySQL, PDO_MySQL) are available.”

Any help here would be great.

Hi Jonathan,

Can you please provide your local-lightning.log file? See How do I retrieve Local's log file? for instructions on how to do so.

In the meantime, it may be worth trying to connect to the database using HeidiSQL if you’re running Windows. Here’s how: https://localbyflywheel.com/help-docs/how-to-use-heidisql-with-local/

Sorry for the delay in my response Clay. I didn’t get an email about your message. Here is what’s in the log when I try to access Adminer:

{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2020-02-03T12:55:01.720478Z 0 [System] [MY-010116] [Server] C:\\Program Files (x86)\\Local\\resources\\extraResources\\lightning-services\\mysql-8.0.16+3\\bin\\win64\\bin\\mysqld.exe (mysqld 8.0.16) starting as process 17316","timestamp":"2020-02-03T12:55:23.659Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2020-02-03T12:55:01.755186Z 0 [Warning] [MY-013243] [Server] --character-set-server: The character set UTF8MB3 is deprecated and will be removed in a future release. Please consider using UTF8MB4 instead.","timestamp":"2020-02-03T12:55:23.659Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2020-02-03T12:55:22.288296Z 0 [System] [MY-010229] [Server] Starting crash recovery...","timestamp":"2020-02-03T12:55:23.661Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2020-02-03T12:55:22.308758Z 0 [System] [MY-010232] [Server] Crash recovery finished.","timestamp":"2020-02-03T12:55:23.661Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2020-02-03T12:55:23.529198Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","timestamp":"2020-02-03T12:55:23.661Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2020-02-03T12:55:23.660587Z 0 [System] [MY-010931] [Server] C:\\Program Files (x86)\\Local\\resources\\extraResources\\lightning-services\\mysql-8.0.16+3\\bin\\win64\\bin\\mysqld.exe: ready for connections. Version: '8.0.16'  socket: ''  port: 10023  MySQL Community Server - GPL.","timestamp":"2020-02-03T12:55:23.663Z"}

Let me know if there is anything else I can do to help.

2 Likes

Now, I’m running Local “Lightning” on Windows 10, and have this issue too.

Same issue,

Now no database access to my sites

Same issue.

Fresh install of 5.2.3 on Windows 7 64-bit

Same issue and I had lost my username and password so a double whammy. Typically I would use the database to recover this. I had to use the terminal and WP-CLI to resolve the issue.

If you’ve lost your admin un and password this article will help you recover it. If you’re in the same situation this article explains how to create an admin un and pw via the terminal:

1 Like

I’m also on Windows 10, fresh install with Local 5.2.4 and have the same issue with Adminer. local-lightning.log file contents:

{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: C:\\Users\\robin\\AppData\\Roaming\\Local\\addons\\local-addon-notes\\lib\\main.js","timestamp":"2020-02-17T17:21:14.820Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: C:\\Users\\robin\\AppData\\Roaming\\Local\\addons\\local-addon-notes\\lib\\main.js","timestamp":"2020-02-17T17:21:14.835Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: C:\\Program Files (x86)\\Local\\resources\\extraResources\\lightning-services\\mailhog-1.0.0+3\\lib\\main.js","timestamp":"2020-02-17T17:21:14.850Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: C:\\Program Files (x86)\\Local\\resources\\extraResources\\lightning-services\\mailhog-1.0.0+3\\lib\\main.js","timestamp":"2020-02-17T17:21:14.884Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: C:\\Program Files (x86)\\Local\\resources\\extraResources\\lightning-services\\mariadb-10.4.10+3\\lib\\main.js","timestamp":"2020-02-17T17:21:14.896Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: C:\\Program Files (x86)\\Local\\resources\\extraResources\\lightning-services\\mariadb-10.4.10+3\\lib\\main.js","timestamp":"2020-02-17T17:21:15.328Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: C:\\Program Files (x86)\\Local\\resources\\extraResources\\lightning-services\\mysql-8.0.16+3\\lib\\main.js","timestamp":"2020-02-17T17:21:15.344Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: C:\\Program Files (x86)\\Local\\resources\\extraResources\\lightning-services\\mysql-8.0.16+3\\lib\\main.js","timestamp":"2020-02-17T17:21:15.637Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: C:\\Program Files (x86)\\Local\\resources\\extraResources\\lightning-services\\nginx-1.16.0+3\\lib\\main.js","timestamp":"2020-02-17T17:21:15.656Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: C:\\Program Files (x86)\\Local\\resources\\extraResources\\lightning-services\\nginx-1.16.0+3\\lib\\main.js","timestamp":"2020-02-17T17:21:15.891Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: C:\\Program Files (x86)\\Local\\resources\\extraResources\\lightning-services\\php-7.3.5+3\\lib\\main.js","timestamp":"2020-02-17T17:21:15.902Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: C:\\Program Files (x86)\\Local\\resources\\extraResources\\lightning-services\\php-7.3.5+3\\lib\\main.js","timestamp":"2020-02-17T17:21:16.139Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Compiling service configs...","level":"info","timestamp":"2020-02-17T17:21:37.787Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2020-02-17T17:21:42.023408Z 0 [System] [MY-010116] [Server] C:\\Program Files (x86)\\Local\\resources\\extraResources\\lightning-services\\mysql-8.0.16+3\\bin\\win64\\bin\\mysqld.exe (mysqld 8.0.16) starting as process 12120","timestamp":"2020-02-17T17:21:49.859Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2020-02-17T17:21:42.070429Z 0 [Warning] [MY-013243] [Server] --character-set-server: The character set UTF8MB3 is deprecated and will be removed in a future release. Please consider using UTF8MB4 instead.","timestamp":"2020-02-17T17:21:49.861Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2020-02-17T17:21:48.005767Z 0 [System] [MY-010229] [Server] Starting crash recovery...","timestamp":"2020-02-17T17:21:49.863Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2020-02-17T17:21:48.040589Z 0 [System] [MY-010232] [Server] Crash recovery finished.","timestamp":"2020-02-17T17:21:49.865Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2020-02-17T17:21:49.699600Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","timestamp":"2020-02-17T17:21:49.866Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2020-02-17T17:21:49.866041Z 0 [System] [MY-010931] [Server] C:\\Program Files (x86)\\Local\\resources\\extraResources\\lightning-services\\mysql-8.0.16+3\\bin\\win64\\bin\\mysqld.exe: ready for connections. Version: '8.0.16'  socket: ''  port: 10005  MySQL Community Server - GPL.","timestamp":"2020-02-17T17:21:49.868Z"}
1 Like

I have similar error messages.

Also MySQL Workbench is an option: https://dev.mysql.com/downloads/workbench/

Yet another “same here” report. Local is 5.2.3+2248. Failures happen on both imported sites and on “Add new” sites. Will try 5.2.4 shortly, to see if that Oct 7, 2019 fix made it in.

Adminer (4.7.6) is now working for me with Local 5.2.4+2399. Both for imported sites and an “Add New” site.

And is broken again in 5.2.5+2498. Looks like this update reverted back to Adminer 4.7.3.

UPDATE: 3/3/2020
I no longer care about this problem. Being frustrated with things working in one version and not working in the next, I’m moving to Laragon.

THANKS to all the helpful folks in the Local community.

Hi all,

We were able to track down the cause of this issue and we will have a fix coming in an update tomorrow.

Sorry for the wait regarding this issue! It took a while to figure out a way to replicate the issue on our end.

Hi everyone,

i want to access my database but when i clic on adminer in database tab, i get “adminer no extension error…”

How can i solve this bug ?

Thanks !