MeowSQL is an attempt to port a very useful GUI database client HeidiSQL to C++/Qt (with aim to be run natively at least on Linux)
Download installer for Windows or AppImage(how to run) for Linux on releases page.
The app is in development stage at the moment and was never carefully tested, though it can be run and do some work (warning: do not use in production!!!).
- Works on Windows and Linux, in theory can be compiled on any platform with Qt5 and mysql-client support
- At the moment supports MySQL and PostgreSQL (early stage).
- Sessions manager: managing multiple connections (warn: no password encryption!)
- Connection to multiple sessions (=servers) at once (with multiple databases).
- Tree of db objects like databases and tables/views/striggers/functions/procedures - (MySQL + Postgres).
- Table: view columns (editable), indexes (editable) and foreign keys (editable) - (MySQL only).
- Table: view data (basic edit) - (MySQL + Postgres).
- SQL: editor with simple syntax highlighting (no autocomplete).
- SQL: execute multiple statements at once and see results of SELECT statements
- Create and drop tables - (MySQL only)
- Making dumps - (MySQL only via mysqldump)
- Initial SQLite 3 support (read-only)
MeowSQL is a port of HeidiSQL, so just clone the sources and start rewriting Delphi code to Qt/C++ :
- Pick up any issue or any feature from roadmap.
- Replace TODOs with working code 😸
- Test the app and report bugs
- Star the repo ⭐
Use/subbranch develop, not master branch.
Note: both QMake and CMake are supported at the moment
Linux:
- You need gcc (or other compiler) with c++11 support
- Qt (tested with 5.6-5.15, apt-get install qt5-default) and QMake (Optionally: Qt Creator) or CMake
- Clone the repo
- libmysqlclient library, for deb-based distros: apt-get install libmysqlclient-dev
- (Optional) Debian: sudo apt-get install mysql-server
- (Optional) Install test db: https://dev.mysql.com/doc/sakila/en/
- PostgreSQL client library libpq, for deb-based apt-get install libpq-dev postgresql-server-dev-all
- As an option use Qt Creator - just open ./meow-sql.pro or ./CMakeLists.txt
Windows:
- Download and install Qt via online-installer https://www1.qt.io/download-open-source/#section-2 Version that worked for me is Qt 5.6.2 win32-msvc2013
- You would need a cpp compiler of course, I've got MS Visual Studio 2013 (Community)
- You should have QMake (plus I used Qt Creator) or CMake
- I've downloaded MySQL Connector C 6.1 (C not C++), and seems put all necessary files into third_party/
- I've downloaded PostgreSQL's libpq, and seems put all necessary files into third_party/ (Note: seems CMAKE still looks into C:/Program Files, so try to download and install PG 10.7 32bits here https://www.enterprisedb.com/downloads/postgres-postgresql-downloads)
- As an option use Qt Creator - just open ./meow-sql.pro or ./CMakeLists.txt
- After build (only release worked for me), run windeployqt (or copy all libs from installed app)
Mac OS:
- Install XCode
- Download and install Qt via online-installer https://www1.qt.io/download-open-source/#section-2 Install Version 5.9.8
- You need to download MySQL Connector C and libpq. I recommend to use homebrew and simply use
brew install mysql-connector-c libpq
- make sure header files are available in /usr/local/include. If you installed via homebrew just create symlink
ln -s /usr/local/opt/mysql-connector-c/include /usr/local/include/mysql/mysql
andln -s /usr/local/opt/libpq/include /usr/local/include/postgresql
- open ./meoq-sql.pro in Qt Creator and build
- If you get errors about missing .dylib Files (e.g. libJPEG.dylib) make sure you uncheck "Add build library search path to DYLD_LIBRARY_PATH and DYLD_FRAMEWORK_PATH" in Project Settings in Qt Creator (see https://stackoverflow.com/questions/35509731/dyld-symbol-not-found-cg-jpeg-resync-to-restart)
This project is licensed under the GPL 2.0 License
- HeidiSQL developers - now on github
- peek was used for GIF recording
- linuxdeployqt was used for AppImage creation