I created a user per the first command but cannot logon via localhost (linux). This link mysqldoc indicates that I need to create a second user by the same name, but usin
Basically yes, those are two different users with (possibly) different permissions and (possibly) different passwords.
A good read is the MySQL manual about connection access, it demonstrates how it works.