posted 2 years ago
MySQL has very strict access controls. It's saying that you (the MySQL DBA) have not granted userid "root" access to employedb with password of "root" when connecting from the local machine (localhost).
Actually, it's not really a good idea to use "root" as your application's database userID anyway. It's better to CREATE USER a non-root userid/password. You can change ownership of employeedb to match that userid or at least grant rights for that user to access employeedb.
"Disappointing" and "Utterly Horrible" are not equal.