mysql...tblState

is invalid syntax.  Use `dbname.tblState`, or

    USE dbname;
    
    INSERT INTO tblState