OPENemr freezes at step 3

I have installed and setup up mysql and loaded openemr into the WWW file. I started the installation setup. However, when I get to Step 3, the setup freezes at “Connecting to mysql server” and goes nowhere from there. Where can I find the error trail so I can resolve this? I am using the latest Ubuntu (22) and sql server 8.0.30.