The reason seems to be that the Lazarus IDE somehow locks the libmysql.dll -- after starting the IDE, debugging the application works once; the next time I debug it, the mentioned error appears until I close Lazarus and restart it.
I also tried "connMySQL.Connected := true;" instead of "connMySQL.Connect;" -- which might be more reliable, I was told.