I was trying to use python to connect to Mysql db and execute sql queries to count total rows of multiple tables. The part of code that raised error is:
mysql