Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Got an error creating the test database: ERREUR: droit refusé pour créer une base de données

#When Django runs the test suite, it creates a new database, in your case test_finance. The postgres user with username django does not have permission to create a database, hence the error message.

#When you run migrate or syncdb, Django does not try to create the finance database, so you don't get any errors.

#You can add the createdb permission to the django user by running the following command in the postgres shell as a superuser

#connect to postgres
ALTER USER user_name CREATEDB;

#change user_name by your username
Comment

PREVIOUS NEXT
Code Example
Shell :: journalctl tial 
Shell :: see traffic github grepper 
Shell :: linux typing hebrew 
Shell :: rmazenamento de chaves JKS usa um formato proprietário. É recomendada a migração para PKCS12, que é um formato de padrão industrial 
Shell :: curl show powershell show full content 
Shell :: ubuntu auditd show process activity by rules 
Shell :: bash perform operation on all files in directory 
Shell :: codepush break native images 
Shell :: vs code toggle soft warap 
Shell :: read fingerprint ssh-keygen 
Shell :: arch remove package and dependencies 
Shell :: conda python versions 
Shell :: windows remove pip 
Shell :: docker remove all images with name <none 
Shell :: return to bash from zsh 
Shell :: install angular in ubuntu 
Shell :: loop through directories bash 
Shell :: how to close serveice on perticular port number 
Shell :: ubuntu install blender 
Shell :: linux ls directories only 
Shell :: linux permission denied jupyter notebook 
Shell :: mounting nvme disk on aws ec2 
Shell :: how to push code in the github repo for the first time 
Shell :: android studio adb path mac 
Shell :: nmap os and version detection 
Shell :: git fetch prune 
Shell :: docker bash command 
Shell :: kill apache Failed to restart apache: [apache] 
Shell :: bash return position of matching string 
Shell :: run tmux on startup 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =