I have successfully installed bench and bench is started properly as well. Also have installed the mariadb which is also successfully installed and when I start the mariadb and check the service status, it is showing me active.
But at the end I can get the below error:
Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
I checked and found that mysqld.sock file is not created. I checked in the /tmp but the file is not there as well.
Can anyone tell me that what I missed here and how can I fix it?
When I tried to run the server using 127.0.0.1:8001 or localhost:8001 it’s return me like not found. Is it something to related mariadb service connection error or what?
Could you please share a screenshot?
becuase Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2) is not enough to understand problem!
As per your previous message, I have completely removed the mariadb from my system and installed it again. Now, mysqld.sock file is create properly. But now after start the mariadb server and tried to open the server using 127.0.0.1:8001 in browser still I getting not found. When I go to log file I can see this:
ok my mistake I tried to connect with mysql. But I am able to connect with mariadb and also check the user and everything there. But last thing when I entered the url in the browser after start the bench and mariodb I still get this one:
Based on the screenshot you provided, you selected n for Change the root password?. That’s fine if a root password is already set in your database. However, if there’s no existing root password, you’ll need to choose Y and set one. Without it, you won’t be able to create, migrate, or restore your sites.