How To Troubleshoot Issues in MySQL

I am a PHP Developer. I am using MySQL for Database. But, Whenever I tried to run then I am getting some trouble for my website.MySql shows "Troubles with Queries" but can't solve this problem. I need a suggestion. Please, can anyone have a solution to this problem? If yes then please suggest me?