This tutorial will show how to find the number of employees under manager.
This tutorial will show how to list all employees even when an employee is not tagged to any department.
This tutorial will show how to find the managers who are having specified minimum number of employees working under them.
If you get an error message like this:
Access denied for user: 'username@localhost' (Using password: YES)
then the problem is that user can not access the database. This can have several causes:
First of all, you use the correct name and password of your MySQL user for connecting to your database.
Secondly, make sure the your database user has the password and it is not blank. If your database user does not have any password then create a password for your database user by following the steps below.
Start the MySQL server instance or daemon with the
--skip-grant-tables option (security setting).
Continue reading “MySQL error – Access denied for user ‘root’@’localhost’”