# Whenever I am trying to add a site in DevKinsta I am getting this error "Something bad happened" this is happening on both my macbook and my windows laptop

**URL:** https://community.kinsta.com/t/whenever-i-am-trying-to-add-a-site-in-devkinsta-i-am-getting-this-error-something-bad-happened-this-is-happening-on-both-my-macbook-and-my-windows-laptop/6076
**Category:** Application Support
**Created:** [March 27, 2026, 10:33am UTC](https://community.kinsta.com/t/whenever-i-am-trying-to-add-a-site-in-devkinsta-i-am-getting-this-error-something-bad-happened-this-is-happening-on-both-my-macbook-and-my-windows-laptop/6076 "2026-03-27T10:33:51Z")
**Posts on this page:** 1
**Showing post:** 22

<div class="post-metadata">

### Author: ![Adrian\_L](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/adrian_l/32/2810_2.png) [@Adrian\_L](https://community.kinsta.com/u/Adrian_L)
#### Post date: [March 29, 2026, 10:59pm UTC](https://community.kinsta.com/t/whenever-i-am-trying-to-add-a-site-in-devkinsta-i-am-getting-this-error-something-bad-happened-this-is-happening-on-both-my-macbook-and-my-windows-laptop/6076/22 "2026-03-29T22:59:43Z")

</div>

@Gurvak_Singh

Upon reviewing the main.log file, I noticed that the Nginx server/container initially failed to restart, but the most recent and consistent error I now observe is a permissions issue for the user “root” in the database.

```auto
[2026-03-28 09:41:49.907] [error] [ipcMainStep] Error in operation SITE_CREATION, step database: Error: Error (1): UERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[2026-03-28 09:42:12.959] [error] [ipcMainStep] Error in operation SITE_CREATION, step database: Error: Error (1): UERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[2026-03-28 09:42:13.516] [error] [ipcMainStep] Error in operation SITE_CREATION, step database: Error: Error (1): UERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[2026-03-28 09:42:13.731] [error] [ipcMainStep] Error in operation SITE_CREATION, step database: Error: Error (1): UERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[2026-03-28 09:42:13.955] [error] [ipcMainStep] Error in operation SITE_CREATION, step database: Error: Error (1): UERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[2026-03-28 09:42:14.301] [error] [ipcMainStep] Error in operation SITE_CREATION, step database: Error: Error (1): UERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[2026-03-28 09:42:14.493] [error] [ipcMainStep] Error in operation SITE_CREATION, step database: Error: Error (1): UERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[2026-03-28 09:42:14.668] [error] [ipcMainStep] Error in operation SITE_CREATION, step database: Error: Error (1): UERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[2026-03-28 09:42:14.836] [error] [ipcMainStep] Error in operation SITE_CREATION, step database: Error: Error (1): UERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[2026-03-28 09:42:15.000] [error] [ipcMainStep] Error in operation SITE_CREATION, step database: Error: Error (1): UERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[2026-03-28 09:42:15.158] [error] [ipcMainStep] Error in operation SITE_CREATION, step database: Error: Error (1): UERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[2026-03-28 09:42:15.479] [error] [ipcMainStep] Error in operation SITE_CREATION, step database: Error: Error (1): UERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[2026-03-28 09:42:20.058] [error] Error - DK0051: DELETE_SITE_DATABASE: Error (1): UERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

```

To resolve this, can you please try the solution provided here:

> [@Error: Something bad happened - when trying to import site from myKinsta](https://community.kinsta.com/t/error-something-bad-happened-when-trying-to-import-site-from-mykinsta/5661/15):
>
> Hello @wpcreative-jwwaving_hand As discussed in our chat, I’m posting a complete step by step instructions, if needed in the future. @Seyed My colleague and I gave you the steps in the other threads, but I wanted to tag you here as well. Note: This applies to fixing the issues with site creation that are caused by database access error (in DevKinsta main.log, it’s → ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: YES) ). Part ONE - RESETING ‘root’ USER PASSW…

Let us know how it goes!

---

_[View the full topic](https://community.kinsta.com/t/whenever-i-am-trying-to-add-a-site-in-devkinsta-i-am-getting-this-error-something-bad-happened-this-is-happening-on-both-my-macbook-and-my-windows-laptop/6076)._
