SQL Data Manager is a Java-based GUI application that allows users to manage SQL databases. Users can connect to a MySQL database by providing the database URL, username, and password directly in the GUI. The application supports executing SQL commands and displays the results in a table. It also allows users to export result as CSV file.
- Dynamic Database Connection: Connect to any MySQL database by entering the database URL, username, and password directly.
- SQL Command Execution: Execute SQL commands and view the results directly within the GUI.
- Results Management: Clear results and export them to CSV files for further analysis.
- Command History: Clear previous commands or export them to text files.
Before you begin, ensure you have installed:
- Java Development Kit (JDK): Version 8 or higher.
- MySQL Server: Ensure MySQL server is running and accessible.
When running or compiling the program, make sure to include the external library found in the 'lib' folder
- Enter the database URL, username, and password in the respective fields.
- Click the Connect to Database button to establish a connection.
If successful, the status will display as "CONNECTED".
- Type your SQL command in the command input area.
- Press the Execute Command button to run the command.
Results will appear in the table, or an update count will be shown for non-query SQL commands.
- Use the Clear Command button to reset the command input area.
- Use the Clear Result button to empty the results table.
- Use the Export Command or Export Result buttons to save data to files.
- Click the Disconnect from Database button to terminate the connection.