An error in getting started

My URL is vegansakartvelo.com.
I did everything normally, but it didn’t work. I don’t know why. There was a problem with Setting up the SSL. And Exit code 1.
How can I fix it?

Please post code in a code block so it is easily readable: the </> button in the forum editor.

It looks like SSL setup failed, but you’ve provided insufficient information about the error and your setup.

  • What’s your URL? This is the easiest way for others to debug your issue
    veganing.ge
  • What browser?
    Safari
  • What errors or information do you see in the console?
? Enter your blog URL: https://veganing.ge
✔ Configuring Ghost
✔ Setting up instance
+ sudo useradd --system --user-group ghost
+ sudo chown -R ghost:ghost /var/www/ghost/content
✔ Setting up "ghost" system user
✖ Setting up "ghost" mysql user
+ sudo mv /tmp/veganing-ge/veganing.ge.conf /etc/nginx/sites-available/veganing.ge.conf
+ sudo ln -sf /etc/nginx/sites-available/veganing.ge.conf /etc/nginx/sites-enabled/veganing.ge.conf
+ sudo nginx -s reload
✔ Setting up Nginx
? Enter your email (For SSL Certificate) loyrrrut@gmail.com
+ sudo mkdir -p /etc/letsencrypt
+ sudo ./acme.sh --install --home /etc/letsencrypt
+ sudo /etc/letsencrypt/acme.sh --issue --home /etc/letsencrypt --server letsencrypt --domain veganing.ge --webroot /var/www/ghost/system/nginx-root --reloadcmd "nginx -s reload" --accountemail loyrrrut@gmail.com
+ sudo openssl dhparam -dsaparam -out /etc/nginx/snippets/dhparam.pem 2048
+ sudo mv /tmp/ssl-params.conf /etc/nginx/snippets/ssl-params.conf
+ sudo mv /tmp/veganing-ge/veganing.ge-ssl.conf /etc/nginx/sites-available/veganing.ge-ssl.conf
+ sudo ln -sf /etc/nginx/sites-available/veganing.ge-ssl.conf /etc/nginx/sites-enabled/veganing.ge-ssl.conf
+ sudo nginx -s reload
✔ Setting up SSL
+ sudo mv /tmp/veganing-ge/ghost_veganing-ge.service /lib/systemd/system/ghost_veganing-ge.service
+ sudo systemctl daemon-reload
✔ Setting up Systemd
+ sudo systemctl is-active ghost_veganing-ge
+ sudo systemctl start ghost_veganing-ge
+ sudo systemctl stop ghost_veganing-ge
✖ Starting Ghost
One or more errors occurred.

1) ConfigError

Error detected in the production configuration.

Message: Access denied for user 'root'@'localhost' (using password: YES)
Configuration Key(s): database.connection.user / database.connection.password
Current Value(s): root / 632b442a9c6d7e4d94795573d19730c5ed4a88b933ec5fd2

Help: You can run `ghost config` to re-enter the correct credentials. Alternatively you can run `ghost setup` again.


2) GhostError

Message: Ghost was able to start, but errored during boot with: Access denied for user 'root'@'localhost' (using password: YES)
Help: Unknown database error
Suggestion: journalctl -u ghost_veganing-ge -n 50

I did everything with the instruction: entered in the terminal “ssh root@my ip”, typed my password, then pressed Enter, entered my website address and my email. But I don’t understand why it doesn’t work…

The console errors are clear:

✖ Setting up "ghost" mysql user

Message: Access denied for user 'root'@'localhost' (using password: YES)
Configuration Key(s): database.connection.user / database.connection.password
Current Value(s): root / 632b442a9c6d7e4d94795573d19730c5ed4a88b933ec5fd2

Check your MySQL credentials, and permissions.

Incidentally, please continue the original thread rather than starting another. I have merged the posts.