---
title: "Discussion on \"Resolving MYSQLdb.OperationalError\" | Hashnode"
description: "Discussion on \"Resolving MYSQLdb.OperationalError\". While testing my code for ALx's MySQLdb Object-relational Mapping task, I encountered the error below:\nvagrant@ubuntu-focal:~/alx-higher_level_programming/0x0F-python-object_relational_mapping$ ./0-select_states.py root root hbtn_0e_0_usa\nTraceback (..."
url: "https://hashnode.com/posts/resolving-mysqldboperationalerror/641b1e78b51c79edaaaaa707"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Resolving MYSQLdb.OperationalError](https://gbeminiyi.hashnode.dev/resolving-mysqldboperationalerror?utm_source=hashnode&utm_medium=feed)

While testing my code for ALx's MySQLdb Object-relational Mapping task, I encountered the error below: vagrant@ubuntu-focal:~/alx-higher\_level\_programming/0x0F-python-object\_relational\_mapping$ ./0-select\_states.py root root hbtn\_0e\_0\_usa Traceback (...

Mar 22, 2023 · 2 min read · gbeminiyi.hashnode.dev  
Read the article

-   [#alx-software-engineering](https://hashnode.com/tag/alx-software-engineering)
-   [#alx](https://hashnode.com/tag/alx)
-   [#mysql](https://hashnode.com/tag/mysql)
-   [#mysqldb](https://hashnode.com/tag/mysqldb)

## Written by

[Oluwagbeminiyi Samagbeyi](https://hashnode.com/@Gbeminiyi)

@Gbeminiyi

  
[View profile](https://hashnode.com/@Gbeminiyi)

Software Engineering Student @ALx

## Responses 1

Markdown supported · ⌘↵ to post

[Yassir Elyasini](https://hashnode.com/@yassir01)

[Apr 25, 2024](https://hashnode.com/posts/resolving-mysqldboperationalerror/641b1e78b51c79edaaaaa707/comment/662a830fae6e3927feb0eaf9)

thank you so much . you save my time
