Arduino - MySQL - Get NoConnection

After spending hours of finding out the fault, I try to find help inside this tutorial. Using Arduino IDE 1.8.5
Reading a lot of articles to Connecting to MySQL even the hints of Dr. Charles A. Bell
Using the library - tried the scetch mysql-connect.ino
Having mysql db on a local maschine (localhost), of course open also the firewall and free the port 3306
Acess with an easy php script via browser is working

#include <ESP8266WiFi.h>
#include <Ethernet.h>
#include <MySQL_Connection.h>

//find out my mac_addr NodeMCU 8266
byte mac_addr = { 0x68, 0xC6, 0x3A, 0xD7, 0x44, 0x4F };

//find out my IP-Adress with ipconfig to
IPAddress server_addr(192,168,178,149);

char user = “root”; // MySQL user login username
char password = “”; // MySQL user login password - set to none

… and so on every thing like publishes in the standard sketch from dr.bell …

if (conn.connect(server_addr, 3306, user, password)) {
else {
Serial.println(“Connection failed.”);

Sketch is working without error, but getting no connection to mysql db

Have no further ideas, don’t know what to do else, has anybody help.
Thanks in advance.

Sketch is working without error, but getting no connection to mysql db

Then the sketch isn’t working, is it?

Can you be a little less vague about what actually happens? At a minimum, post your serial output and ALL of your code.

Thanks of course … sorry see the attachment

mysql-connect.ino (1.45 KB)

Forgot the message of serial monitor

.. Attempting to connect to SSID: bh-7490
Connected to Wifi...
Done ... IP Addresse:
Connection failed.

Sketch is running but serial output is printing
IP Adress of NodeMCU ist
Try to get Connection to MySql DB
Connection failed