Hi,
I am a newuser on pythoneverywhere.
I am experiencing the following error when I try to create a superuser on bash console python manage.py createsuperuser The Error is as follows django.db.utils.OperationalError: (1227, 'Access denied; you need (at least one of) the SYSTEM_VARIABLES_ADMIN or SESSION_VARIABLES_ADMIN priv
I have tried giving my access through various means as create user command as below but I keep getting the command
ERROR 1227 (42000): Access denied; you need (at least one of) the CREATE USER privilege(s) for this operation
Any help very much appreciated. My user Steps so far
Go to https://www.pythonanywhere.com/user/Bill/databases/ 1. create database mfdw_db 2. set password xxx
I know the database is created and that I have the packages installed as I run the following commands from a bash console Tempwap is my username
mysql -u *Tempwap -h Tempwap.mysql.pythonanywhere-services.com -p 'Tempwap$mfdw_db'*;
output message Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 23475310Server version: 8.0.32 Source distributionCopyright (c) 2000, 2022, Oracle and/or its affiliates.Oracle is a registered trademark of Oracle Corporation and/or itsaffiliates. Other names may be trademarks of their respectiveowners.Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
Its then when I try the following to give myself access I get repeated errors create user 'Tempwap'@Tempwap.mysql.pythonanywhere-services.com' IDENTIFIED BY 'xxx';
ERROR 1227 (42000): Access denied; you need (at least one of) the CREATE USER privilege(s) for this operation
How should I go about resolving the errors - any help much appreciated ?