tango-controls / TangoSourceDistribution

4 stars 5 forks source link

"tango start" doesn't work for new MariaDB versions #84

Closed Diego91RA closed 4 years ago

Diego91RA commented 4 years ago

I've noticed that on MariaDB 10.4+ there is no proccess called "mysqld". So simple "tango start" command doesn't work as it supposed to.

image image

mliszcz commented 4 years ago

Maybe we could remove the check for mysqld process presence, because it does not do anything useful except printing a message. And a message will be printed anyway by DataBaseds when it cannot connect to database (reason = CANNOT_CONNECT_MYSQL).

Checking for specific process name is not reliable as it can easily be broken by creating a symlink to mysqld/mariadbd.

t-b commented 4 years ago

I'll handle that.