Logo

dev-resources.site

for different kinds of informations.

TableSavvy ( MYSQL DATABASE MANAGEMENT SOFTWARE )

Published at
12/18/2024
Categories
webdev
mysql
python
database
Author
mayankchawdhari
Categories
4 categories in total
webdev
open
mysql
open
python
open
database
open
Author
15 person written this
mayankchawdhari
open
TableSavvy ( MYSQL DATABASE MANAGEMENT SOFTWARE )

TableSavvy is a user-friendly Python application designed for easy management and visualization of database tables. Built with PyQt5 and MySQL, TableSavvy provides an intuitive graphical interface to connect to MySQL databases, view tables, and manage data seamlessly. This tool is ideal for database administrators, developers, and anyone who needs an efficient way to interact with their database tables.
glitch

Features

  • Easy Database Connection: Connect to MySQL databases with a straightforward interface. Just enter your host, username, password, and database name.
  • Table Management: View and select tables from the connected database.
  • Data Visualization: Load and display table data in a clean and organized table view.
  • Column Information: See column names and structure for selected tables.
  • Progress Feedback: Visual feedback of connection status through a progress bar.
  • Error Handling: Alerts on connection failures with error messages.

Installation

  1. Clone the Repository
   git clone https://github.com/yourusername/TableSavvy.git
Enter fullscreen mode Exit fullscreen mode
  1. Navigate to the Project Directory
   cd TableSavvy
Enter fullscreen mode Exit fullscreen mode
  1. Install Dependencies

Ensure you have Python installed, then install the required packages using pip:

   pip install -r requirements.txt
Enter fullscreen mode Exit fullscreen mode

The requirements.txt file should include:

   PyQt5
   mysql-connector-python
Enter fullscreen mode Exit fullscreen mode

Usage

  1. Run the Application
   python main.py
Enter fullscreen mode Exit fullscreen mode
  1. Connect to a Database
  • Enter the host, username, password, and database name in the respective fields.
  • Click on the "Connect" button to establish the connection.
  1. Manage Tables
  • Once connected, select a table from the dropdown menu to view its columns and data.

Code Overview

main.py

The main application file uses PyQt5 to create a graphical interface for interacting with MySQL databases.

  • DatabaseViewer: Main widget class handling the UI and database operations.
  • connect_to_database(): Initiates the connection process and updates UI based on connection status.
  • load_tables(): Fetches and displays database tables.
  • load_columns(): Retrieves and shows columns of the selected table.
  • load_data(): Loads and displays data from the selected table.

db_connector.py

Handles MySQL database connections and queries.

  • connect(host, user, password, database): Connects to the MySQL database.
  • get_tables(): Retrieves all tables from the database.
  • get_columns(table_name): Retrieves column information for a specified table.
  • disconnect(): Closes the database connection.

Contributing

  1. Fork the repository.
  2. Create a feature branch (git checkout -b feature-branch).
  3. Commit your changes (git commit -am 'Add new feature').
  4. Push to the branch (git push origin feature-branch).
  5. Open a Pull Request.

Contact

For any issues or suggestions, please open an issue on the GitHub repository or contact [email protected].

mysql Article's
30 articles in total
Favicon
MySQL ONLY_FULL_GROUP_BY Error: Easy Fixes and Best Practices
Favicon
Getting started on MOCO, the MySQL Operator for Kubernetes Part 1
Favicon
Configuring a Virtual IP (VIP) ensures seamless failover and high availability for MariaDB Galera Cluster on Ubuntu 24.04 LTS
Favicon
December 2024: How Releem Is Making MySQL Monitoring & Performance Tuning Easier
Favicon
A Top HR Service Company Replaces its System Seamlessly with BladePipe
Favicon
MySQLTuner for Windows: Common Issues and Better Alternatives
Favicon
Configure MariaDB Galera Cluster in ubuntu 24.04 LTS
Favicon
Laravel Eloquent ORM in Bangla Part-3 (Models Retrieving)
Favicon
How to Use SUBSTRING_INDEX in MySQL
Favicon
What is the current market demand for Laravel?
Favicon
Laravel Eloquent ORM in Bangla Part-1(Generating Model Classes)
Favicon
Choosing the Right Time Series Database for Your Use Case
Favicon
Subqueries
Favicon
Relational Database Design: DBMS
Favicon
How to Install MySQL on Ubuntu
Favicon
Try new challenge toh improve your self 😉👍
Favicon
Avoiding the Pitfalls of Duplicate Indexes in MySQL
Favicon
Continuación del Hilo: Cómo Crear una Aplicación de Finanzas Personales Integrando Google Drive, MySQL y Node.js
Favicon
Triggers in MySQL: Benefits and Drawbacks
Favicon
Can anyone help me with this? I'm working on xampp to setup my php using mysql. Even gtp is not able to solve this issue.
Favicon
HadiDB: A Lightweight, Horizontally Scalable Database in Python
Favicon
วิธีทำ Auth API ด้วย Express, JWT, MySQL และ Prisma
Favicon
When Should You Create Views in Your Database?
Favicon
MySQL Master Slave Replication in Windows using XAMPP MySQL
Favicon
How NL2SQL Tools Like Chat2DB Simplify Data
Favicon
TableSavvy ( MYSQL DATABASE MANAGEMENT SOFTWARE )
Favicon
Error
Favicon
Top 5 Text2SQL Tools for Effortless SQL Generation
Favicon
Introduction To MySQL & SQL QUERIES
Favicon
5 Reasons to Choose KLUSTERFIRST for Your MSSQL Database Needs

Featured ones: