# Something bad happened - Creating MYSQL Database

**URL:** https://community.kinsta.com/t/something-bad-happened-creating-mysql-database/6272
**Category:** Bug Reports
**Created:** [May 15, 2026, 5:26pm UTC](https://community.kinsta.com/t/something-bad-happened-creating-mysql-database/6272 "2026-05-15T17:26:41Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Andrew](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/andrew/32/2792_2.png) [@Andrew](https://community.kinsta.com/u/Andrew)
#### Post date: [May 17, 2026, 1:29am UTC](https://community.kinsta.com/t/something-bad-happened-creating-mysql-database/6272/3 "2026-05-17T01:29:39Z")

</div>

Hi @Niall,

Thank you for sending us the main.log file from your DevKinsta installation! I have reviewed the log file and I am seeing the following error occurring during the site creation process:

```auto
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

```

This is indicating that the password for the MySQL root user maybe out of sync, and the incorrect password is trying to be used during the site creation process.

Our team has seen a similar error before, and a solution to try can be found at the link below:

> [@Error at creating MySQL](https://community.kinsta.com/t/error-at-creating-mysql/2815/31):
>
> Thank you. Our team dig more through the main.log, it looks like the database (MariaDB) password is successfully reset on each startup. Possible that when trying to authenticate, it still tries with some old password. To continue troubleshooting, you could try to manually login to MariaDB using Docker. To do this: Open Docker Desktop while DevKinsta is running Select devkinsta\_db container and attach a shell to it (see picture below) In the shell, log in with mysql: mysql -u r…

Please give these steps a try to see if it helps resolve the error you are seeing.

If you continue to experience any issues or have any questions however please don’t hesitate to reply. We are happy to help!

Take care!

---

_[View the full topic](https://community.kinsta.com/t/something-bad-happened-creating-mysql-database/6272)._
