We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
python: 2.7.15+
ubuntu: 18.10
Mysql: 5.6.36
used CREATE DATABASE my database CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
CREATE DATABASE my database CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
instead of CREATE DATABASE dbname OWNER dbuser ENCODING 'utf8'; (it was giving the error)
CREATE DATABASE dbname OWNER dbuser ENCODING 'utf8';
used IP address like 127.1.0.1 instead of localhost for the hostname in db configuration.