Stop mysqld_safe Safely
After running “mysqld_safe –skip-grant-tables” you may notice that the process is still running. Instead of killing the process by running: kill -9 process ID you can safely kill mysqld_safe by running the following command: mysqladmin shutdown