Reputation: 41
Using VS Code MySQL, I get this error:
client option 'pooling.maxidletime' does not support value 'nan'
The issue is coming from the SQLTools extension connection on VS Code.
Upvotes: 4
Views: 10178
Reputation: 1
create database database_name
and press enter.database_name
, and make sure that user is the same as when you're installing MySQL, the same goes to the password.Upvotes: 0
Reputation: 11
Try adding the connectionTimeout
parameter in your connection settings, like so:
{
"mysqlOptions": {
"authProtocol": "xprotocol"
},
"previewLimit": 50,
"server": "localhost",
"port": 33060,
"driver": "MySQL",
"name": "MySQL_v8",
"database": "some-db",
"username": "root",
"password": "123456789",
"connectionTimeout": 15
}
More on this in here.
Upvotes: 1