test if mysqld is connectable before creating user