# MySQL database fails to install when I try to create new custom site

**URL:** <https://community.kinsta.com/t/mysql-database-fails-to-install-when-i-try-to-create-new-custom-site/1854>\
**Category:** Installation\
**Created:** [November 6, 2022, 5:25pm UTC](https://community.kinsta.com/t/mysql-database-fails-to-install-when-i-try-to-create-new-custom-site/1854 "2022-11-06T17:25:13Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![Kevin](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/kevin/32/808_2.png) [@Kevin](https://community.kinsta.com/u/Kevin)\
**Post date:** [November 7, 2022, 11:54pm UTC](https://community.kinsta.com/t/mysql-database-fails-to-install-when-i-try-to-create-new-custom-site/1854/21 "2022-11-07T23:54:47Z")

</div>

When you run the first command, you have to wait until Docker actually creates the container:

`docker container stop devkinsta_db && docker run --name devkinsta_reset_mariadb_root -v devkinsta_db_data:/var/lib/mysql/ -d mariadb:10.5.5 mysqld --skip-grant-tables`

It can take a few seconds. If it successfully creates it, this command should return a basic log:  
`docker container logs devkinsta_reset_mariadb_root`

Again, if you aren’t installing DevKinsta as the administrator, you’ll run into more issues.

[Previous page](https://community.kinsta.com/t/mysql-database-fails-to-install-when-i-try-to-create-new-custom-site/1854.md?page=1)
