Cannot login as new user on MariaDB
Try granting to 'myuser'@'127.0.0.1', @'::1', or even @'%'.  In your logs, you will see 'Access denied for user' and what IP address you were trying to connect from.