Pimcore Install - install-script not working

Hi,
I’m Trying to install pimcore (latest version 6.7.2) with demo-package

Composer create-project has worked.
Now I’m trying to execute ./vendor/bin/pimcore-install
After entering data I get: * Couldn't establish connection to MySQL: An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or directory

var/logs/prod.log is only full with this:
php.INFO: User Deprecated: Class "Pimcore\Console\ConsoleOutputDecorator" should implement method "Symfony\Component\Console\Output\ConsoleOutputInterface::section()": Creates a new output section. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Class \"Pimcore\\Console\\ConsoleOutputDecorator\" should implement method \"Symfony\\Component\\Console\\Output\\ConsoleOutputInterface::section()\": Creates a new output section. at /pimcore/pimtest/vendor/symfony/symfony/src/Symfony/Component/Debug/DebugClassLoader.php:204)"} []

no other error

In phpMyAdmin I can login with data given to installer-script.
Is there another way setting up needed data and installing tables, etc?
How can I setup mysql-host, cause db is on another host than localhost?

kind regards
Stefan

So I found the --mysql-host-socket paramter.
Install script installs db, etc and tells everything is fine.

After that, I try to start admin-page, as documented with url/admin
page not found - is all I get?

Any ideas?

@JustMe69 use mysql-host-socket option like ./vendor/bin/pimcore-install --mysql-host-socket=yourhost

Thanks for the hint - I did it and it was installed, all fine.
But now, when I try to reach admin with https://myhost/admin, I get 404