Skip to content

how can I to configure SSL flag when creating a connection? #1178

@Zilev

Description

@Zilev

Will be something like this?, somebody can help me please?

var connection = mysql.createConnection({
  host     : 'localhost',
  user     : 'me',
  password : 'secret',
  database : 'my_db',
  ssl: true
});

I'm having this error:

[Error: Server does not support secure connnection] stack: [Getter]

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions