I have followed all the instructions and get this on the test of the mysql log file

cd: no such file or directory: /var/log/mysql

Which course are you on? What video? Any screenshots? With just this error and no context it is not possible to help. Please ensure you give all the details