- red onion – Medium size 1/2
- avocado – 1
- cucumber – 1
- tomato – 1
- bell pepper – 1
- olive oil
- black pepper
- Baby Spinach/Basil leaves
- Garlic – 2-3 cloves
- green chilli(optional) – 1-2
Wash the vegetables and cut them into thin slices as shown.
Spray olive oil. Sprinkle salt and pepper as per taste.
Grind spinach or basil leaves along with few garlic cloves and green chilli. Green chilli is optional based on your taste.
Take 2 slices of fresh wheat bread. Apply the spinach paste on one of the slice.
Arrange vegetables on it.
You can sprinkle pepper and salt as per taste.
Sandwich is ready to have 🙂 You can grill it too using sandwich grill.
Amazon RDS do not allow to export table content to a csv file using mysql command.
select * from desired_table
INTO outfile "/path/to/csv file/file.csv"
fields terminated by ',';
gives an error: “Error Code:1045 Access denied for user ***@***.rds.amazonaws.com using password=YES”
As it said access denied I tried to grant access using:
grant all privileges
identified by 'your_password';
But this did not work too.
There’s no issue from your end. MySQL creates the file on database server. It does not give permission to the client to create a file.
So a simple way to export the data to csv is by using unix sed command.
mysql -u username -p database_name -h ***.rds.amazonaws.com --port=3306 --batch -e "select * from desired_table" | sed 's/\t/","/g;s/^/"/;s/$/"/;s/\n//g' > filename.csv